@font-face {
  font-family: "CustomFont";
  src: url('Fonts/Raleway-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;

}


:root {
  font-family: 'CustomFont';
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


body {
  background: linear-gradient(135deg, #000000, #0F172A);
  font-family: 'CustomFont';
  margin: 0;
  display: flex;
  flex-direction: column;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

.TopDiv
{
  
  width: 95%;
  display:flexbox;


  img
  {
   
    margin:10px;
    float: left;
    margin-top: 1em;
    margin-left: 10%;
    margin-bottom: 20px;
    
    border-style: solid;
    border-radius: 5px;
    border-width: 5px;
    border-color: rgb(185, 185, 185);
    
    max-width: 30vw;
    width: auto;
    height: auto;
  }
  div
  {
     background-color: rgb(48, 47, 47);
    border: 5px solid rgb(185, 185, 185);;
    border-radius: 15px;
    margin: 10px;
    /*
    background-color: rgb(99, 96, 96);     CHANGE COLOR OF BOXES HER      
    border-radius: 10px;          
    padding: 5px;                   
    */
    
    margin-top: 1em;
    margin-right: 10%;
    float: right;
    
    /*
    border-style: solid;
    border-radius: 5px;
    border-width: 5px;
    border-color: rgb(0, 255, 55);
    */
    
    h1
    {
      font-size: 3vw;
      text-align: center;
      width:35vw;
      overflow-wrap: break-word;
    }
  }
  .TextBox
  {
    border-color:rgb(185, 185, 185);
    /*
    margin-right: 10%;
    font-size: 2.6vw;
    */
    float: right;
    width: 35vw;
    text-align: center;
    overflow-wrap: break-word;
    p1
    {
      font-size: 1.5vw;
    }
  }
  .ContactInfo
  {
      display:flexbox;

  
      /*
      border-style:solid;
      border-radius: 1px;
      border-width: 1px;
      border-color: rgb(255, 255,255);
      */
      text-align: center;
      align-content: center;
      
      .ContactTextBox
      {
        font-size: 1vw;
        border: 0px;
        float:left;
        margin-left: 7vw;
        margin-top: 1px;
        text-align: left;
      }
      
  }
}

/*      PROJECTS SECTIONS     */


.projectsdivbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #444; /* grey background */
  border: 5px solid rgb(185, 185, 185); /* black border */
  border-radius: 15px; /* curved edges */
  padding: 16px;
  max-width: 350px;
  margin: 20px auto;
  color: white; /* white text */
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projectsdivbox:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.project-image {
  display: block;
  width: 100%;
  border-radius: 12px;
  height: auto;
  object-fit: cover;
  border: 2px solid black; /* optional border for image */
}

.project-content {
  text-align: center;
  margin-top: 12px;
}

.project-title {
  font-size: 1.3em;
  margin-bottom: 8px;
  color: white;
}

.project-description {
  font-size: 1em;
  color: #e0e0e0; /* slightly lighter grey for contrast */
  margin-bottom: 12px;
}

.project-link {
  display: inline-block;
  background-color: rgb(48, 47, 47); /* dark button */
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  border: 2px solid rgb(0, 0, 0);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.project-link:hover {
  background-color: white;
  color: black;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* space between boxes */
  margin: 40px auto;
  max-width: 1200px; /* keeps layout centered and clean */
}

.projectsdivbox {
  flex: 1 1 300px; /* allows boxes to shrink/grow and wrap nicely */
  margin: 0; /* remove the old auto margin so they align side-by-side */
}

.button-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
}

.custom-button {
  background-color: rgb(48, 47, 47); /* dark background */
  color: white;
  border: 4px solid rgb(185, 185, 185);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.custom-button:hover {
  background-color: white;
  color: black;
  transform: scale(1.05);
}

.custom-button:active {
  transform: scale(0.98); /* small press effect */
}



/*      SKILLS SECTION        */
.skills-section {
  background-color: #444;
  border: 2px solid rgb(185, 185, 185);
  border-radius: 16px;
  color: white;
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.skills-title {
  font-size: 2em;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skills-box {
  background-color: #333;
  border: 5px solid rgb(185, 185, 185);
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skills-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.skills-box h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.2em;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
}

.skills-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skills-box li {
  font-size: 1em;
  color: #ddd;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skills-box li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/*      EDUCATIONS AND EXPERIENCES SECTIONS*/
.education-section {
  background-color: #444;
  border: 5px solid rgb(185, 185, 185);
  border-radius: 16px;
  color: white;
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.education-title {
  font-size: 2em;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.education-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.education-box {
  background-color: #333;
  border: 5px solid rgb(185, 185, 185);
  border-radius: 12px;
  padding: 20px;
  width: 420px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.education-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.education-box h3 {
  color: #fff;
  font-size: 1.3em;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.education-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.education-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  color: #ddd;
}

.education-box li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.education-box strong {
  color: white;
  font-size: 1.05em;
}

.education-box em {
  color: #bbb;
  font-style: italic;
  font-size: 0.9em;
}

.education-box p {
  font-size: 0.9em;
  margin-top: 4px;
  color: #ccc;
}



/*
    
{
  border: 5px outset rgba(255, 0, 174, 0.59);
  background-color: lightblue;
  text-align: center;
}
*/
