
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a[href^="#"] { 
  scroll-behavior: smooth;
}
body{
  font-family: 'Ubuntu', sans-serif;
  background-color: rgb(27, 31, 31);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center; /* Center align the text */
  transition: 0.6s;
  z-index: 100000;
  background-color: rgb(23, 21, 28);
  padding: 35px 0;
}

.menu-toggle {
  display: none;
  flex-direction: column; /* Stack lines vertically */
  justify-content: center;
  align-items: center;
}

.menu-toggle .line {
  width: 25px;
  height: 2px;
  background-color: #fff;
  margin: 4px 0;
  transition: 0.4s;
}

header ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

header li {
  list-style: none;
}

header li a {
  position: relative;
  margin: 12px 22px;
  text-decoration: none;
  color: rgb(231, 255, 170);
  align-items: center;
  letter-spacing: 2px;
  font-weight: 500px;
  transition: 0.5s;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Show the toggle button */
    cursor: pointer;
  }

  header ul {
    display: none; /* Hide the menu by default */
    position: absolute;
    top: 100%; /* Position the menu below the header */
    left: 0;
    right: 0;
    background-color: rgb(23, 21, 28);
    flex-direction: column;
    text-align: center;
    padding: 20px 0;
  }

  header ul.active {
    display: flex; /* Show the menu when active */
  }

  header li {
    margin: 15px 0; /* Adjust margin as needed */
  }
}
header a:hover,
header a.active{
  text-decoration:underline;
} 
.banner{
  position: relative;
  width: 100%;
  height: 10vh;
}
#sec-name{
  padding: 100px 0 50px 0;
  color: rgb(203, 200, 209);
  background-color: rgb(41, 43, 43);
}
#nameAndPic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:0 0 0 100px;
}
.name-cont{
  flex: 1;
  max-width: 50%;
}
.profile-photo1{
  flex: 1;
  margin-right: 250px;
  text-align: right;
}
.profile-photo1 img {
  border: solid 3px;
  border-color: gold;
  width: 400px;
  height: 400px;
  border-radius: 45%; /* Optional: make the profile photo circular */
}
#sec-name ul{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
#sec-name li{
  position: relative;
  list-style: none;
  justify-content: center;
  align-items: center;
}
.about-via1{
  /* border: ; */
  padding: 12px 30px; 
  margin: 10px;
  color: rgb(41, 36, 66);
  background-color: rgb(168, 168, 197);
}
.about-via{
  /* border: ; */
  padding: 12px 30px; 
  margin: 10px;
  color: rgb(41, 36, 66);
  background-color: rgb(168, 168, 197);
}
#sec-name li a{
  list-style-type: none;
  text-decoration: none;
  color: rgb(245, 255, 171);
  position: relative;
  margin: 12px 22px;
  align-items: center;
}
#sec-name li a img{
  width: 40px;
  height: 40px;
}
#about-container{
  text-align: center;
}
.about-section{
  background-color: rgb(27, 31, 31);
  color: rgb(205, 205, 205);
}
#sec-about{
  color:rgb(202, 202, 202);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  margin: 30px auto;
}
#sec-about h1{
  text-align: center;
}
.profile-photo img {
  border-radius: 50%;
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-right: 60px;
}
.profile-info {
  max-width: 900px;
}
.profile-info p {
  margin: 0 0 20px;
  font-size: 20px;
}
.profile-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-info ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.profile-info ul li strong {
  display:inline-block;
  width: 80px;
}
.profile-info ul li a {
  color: rgb(210, 210, 210);
  text-decoration: none;
}
.profile-info img{
  width: 30px;
  height: 30px;
}
/* JOURNEY */
.jouney-sec{
  background-color: rgb(41, 43, 43);
}
.container{
  /* width: 100%; */
  padding: 35px 10%;
  display: flex;
  margin-left: 280px;
}
main.row{
  display:grid;
  grid-template-columns: 1fr;
  grid-column-gap: 20px;
}
.col header.title{
  font-family: 'Courier New', Courier, monospace;
  color:aliceblue
}
.col .contents{
  padding: 0px 30px;
  border-left: 1px solid whitesmoke;
}
.col .contents .box{
  position: relative;
  padding: 20px;
  border: 1px solid rgb(255, 213, 2);
  border-radius: 10px;
  background-color: rgb(229, 255, 255);
  cursor: pointer;
  transition: all 0.4s;
  margin-bottom: 50px;
  width: 600px;
}
.col .contents .box:hover{
  box-shadow: 0px 3px 5px 0px azure;
  border: 1px solid transparent;
}
.col .contents .box::before{
  content:'';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  right: calc(100% + 22px);
  top: 0;
  background-color: rgb(0, 127, 206);
  border: 2px solid white;
}
/* SKILL */
.sec-skills {
  display: grid;
  background-color: rgb(27, 31, 31);
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px; /* Adjust based on your container size */
  margin: 0 auto; /* Center the grid */
}
.skill {
  text-align: center;
}
.skill img {
  width: 150px; /* Adjust based on your image size */
  height: 150px; /* Adjust based on your image size */
  object-fit: contain;
  padding: 5px;
  border-radius: 30%;
  border: 2px solid;
  box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.3);
}
.skill p {
  margin-top: 6px;
  margin-bottom: 15px;
  font-size: 16px; /* Adjust based on your preferred font size */
  color: #b3f5e6;
}
.skill img:hover{
  width: 160px; 
  height: 160px;
  box-shadow: 3px 3px 5px 0px rgba(210, 211, 212, 0.3);
}
.sec-hobby {
  display: grid;
  background-color: rgb(27, 31, 31);
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1200px; /* Adjust based on your container size */
  margin: 0 auto; /* Center the grid */
}
.hobby {
  text-align: center;
}
.hobby p {
  margin-top: 6px;
  margin-bottom: 15px;
  font-size: 16px; /* Adjust based on your preferred font size */
  color: #b3f5e6;
}
.hobby img {
  width: 100px; 
  height: 100px; 
  object-fit: contain;
  padding: 5px;
  border-radius: 30%;
  border: 2px solid;
  box-shadow: 10px 10px 15px 0px rgba(0, 0, 0, 0.3);
}
.sec-portfolio{
  background-color: rgb(41, 43, 43);
}
.portfolio-display{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 1300px; 
  margin: 0 auto;
}
.port {
  text-align: center;
}
.port a{
  color:rgb(255, 255, 255);
  text-decoration: none;
  display: inline-block;
  width: 380px;
  height: 100px;
  margin: 10px 0px 60px 0px;
  line-height: 100px; 
  text-align: center;
  border-radius: 10px;
  font-size: 20px;
  background-color: rgb(23, 21, 28); 
  border: 3px solid rgb(0, 0, 0);
}
.port a:hover{
  width: 385px;
  height: 102px;
  box-shadow: 3px 3px 5px 0px rgba(210, 211, 212, 0.3);
  font-size: 22px;
}
.sec-contact{
  background-color: rgb(27, 31, 31);
  color: antiquewhite;
}
.contact-form {
  margin: auto; 
  width: fit-content; 
  border: solid 5px gold;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  font-size: 20px;
}
.contact-form input, textarea{
  padding: 20px;
  margin: 15px;
  width: 500px;
  border-radius: 10px;
  background-color: rgb(195, 195, 195);
}
.contact-form select{
  padding: 20px;
  margin: 10px;
  width: 115px;
  border-radius: 10px;
  background-color: rgb(195, 195, 195);
}
.contact-form #number{
  padding: 20px;
  margin: 8px;
  width: 360px;
  border-radius: 10px;
  background-color: rgb(195, 195, 195);
}
.contact-form button{
  padding: 15px;
  margin: 25px;
  width: 150px;
  border-radius: 10px;
  background-color: cornflowerblue;
}
.footer h1{
  text-align: center;
}
.footer{
  padding: 50px 0 5px 0;
  color: rgb(203, 200, 209);
  background-color: rgb(41, 43, 43);
}
#sec-footer ul{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
#sec-footer li{
  position: relative;
  list-style: none;
  justify-content: center;
  align-items: center;
}
#sec-footer li a{
  list-style-type: none;
  text-decoration: none;
  color: rgb(245, 255, 171);
  position: relative;
  margin: 12px 22px;
  align-items: center;
}
#sec-footer li a img{
  width: 40px;
  height: 40px;
}
.copyright{
  text-align: center;
  margin-bottom: 15px;
}
.copyright a{
  color: azure;
  text-decoration: none;
}
.s1{
  font-size: 35px;
}
.s2{
  font-size: 65px; 
  color: gold;
}

@media (max-width: 1160px) {
  /* header {
    padding: 20px 0;
    flex-direction: column;
  }

  header ul {
    flex-direction: column;
  }

  header li a {
    margin: 10px 0;
  } */
  #sec-about {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 20px auto;
  }

  .profile-photo img {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .profile-info {
    max-width: 100%;
    text-align: center;
  }

  .profile-info p {
    font-size: 18px;
  }

  .profile-info ul li {
    flex-direction: column;
    align-items: center;
  }

  .profile-info ul li strong {
    width: auto;
  }
  .sec-skills {
    grid-template-columns: repeat(2, 1fr);
  }

  .skill img {
    width: 130px;
    height: 130px;
  }

  .skill img:hover {
    width: 140px;
    height: 140px;
  }
  .sec-hobby {
    grid-template-columns: repeat(2, 1fr);
  }

  .hobby img {
    width: 70px;
    height: 70px;
  }
  .portfolio-display {
    grid-template-columns: 1fr;
  }
  .port a {
    width: 250px;
    height: 80px;
    font-size: 16px;
    line-height: 80px;
  }

  .port a:hover {
    width: 255px;
    height: 82px;
    font-size: 18px;
  }
  .contact-form {
    width: 90%;
    padding: 10px;
  }

  .contact-form input, .contact-form textarea, .contact-form #number {
    width: 80%;
    margin: 10px 0;
    padding: 10px;
  }

  .contact-form select {
    width: 85%;
    margin: 10px 0;
    padding: 10px;
  }

  .contact-form button {
    width: 50%;
    margin: 10px 0;
    padding: 10px;
  }
  .container{
    margin-left: 20px;
  }
  .col .contents {
    padding: 0px; /* Reduce padding on small screens */
    border-left: none; /* Remove border on small screens */
  }

.col .contents .box {
  position: relative;
  padding: 20px;
  border: 1px solid rgb(255, 213, 2);
  border-radius: 10px;
  background-color: rgb(182, 182, 182);
  cursor: pointer;
  transition: all 0.4s;
  margin-bottom: 50px;
  width: 100%; /* Make box full width */
  max-width: 600px; /* Add a max-width */
  box-sizing: border-box; /* Include padding and border in width */
}

.col .contents .box:hover {
  box-shadow: 0px 3px 5px 0px azure;
  border: 1px solid transparent;
}

.col .contents .box::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  right: calc(100% + 22px);
  top: 0;
  background-color: rgb(0, 127, 206);
  border: 2px solid white;

}
}
@media (max-width: 1150px) {
  .col .contents .box {
    width: 100%; 
    max-width: none; 
  }
  /* #sec-name{
    padding: 130px 0 50px 0;
    color: rgb(203, 200, 209);
    background-color: rgb(41, 43, 43);
    text-align: center;
  }
  #nameAndPic {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:0 0 100px 0;
  }
  .name-cont{
    flex: 1;
    max-width: 100%;
  }
  .name-cont h2{
    margin: 120px 0 10px 0;
  }
  .name-cont h4{
    margin: 10px 0 0px 0;
  }
  .about-via1{
    display: inline-block;
    padding: 12px 12px; 
    margin: 0px 0px 10px 0;
    color: rgb(41, 36, 66);
    background-color: rgb(168, 168, 197);
  }
  .about-via{
    display: inline-block;
    padding: 12px 22px; 
    margin: 0px 0px 10px 0;
    color: rgb(41, 36, 66);
    background-color: rgb(168, 168, 197);
  }
  .s1{
    font-size: 20px;
  }
  .s2{
    font-size: 45px; 
    color: gold;
  }
  #sec-name ul{
    margin-top: 0;
    margin-bottom: 30px;
  } */
    #sec-name{
      padding: 90px 0 10px 0;
      color: rgb(203, 200, 209);
      background-color: rgb(41, 43, 43);
      text-align: center;
    }
    #nameAndPic {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 0 0 50px 0;
    }
    .profile-photo1{
      order: -1; /* This ensures the profile photo appears first */
      text-align: center;
      margin-bottom: 20px; /* Add some space below the photo */
      margin-right: 0; /* Reset margin-right for center alignment */
    }
    .profile-photo1 img {
      border: transparent 3px;
      width: 200px;
      height: 200px;
      border-radius: 45%; /* Optional: make the profile photo circular */
    }
    .name-cont{
      flex: 1;
      max-width: 100%;
    }
    .name-cont h2{
      margin: 20px 0 10px 0; /* Adjust margin as needed */
    }
    .name-cont h4{
      margin: 10px 0 0px 0;
    }
    .about-via1{
      display: inline-block;
      padding: 12px 12px; 
      margin: 0px 0px 0px 0;
      color: rgb(41, 36, 66);
      background-color: rgb(168, 168, 197);
    }
    .about-via{
      display: inline-block;
      padding: 12px 22px; 
      margin: 0px 0px 0px 0;
      color: rgb(41, 36, 66);
      background-color: rgb(168, 168, 197);
    }
    .s1{
      font-size: 20px;
    }
    .s2{
      font-size: 45px; 
      color: gold;
    }
    #sec-name ul{
      margin-top: 0;
      margin-bottom: 30px;
    }
  
}