@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk&display=swap');
.body {
  font-family: 'Hanken Grotesk', sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

/* navbar styling */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px 60px; /* Add padding to the sides */
  background-color: #ffffff;
  font-family: 'Hanken Grotesk', sans-serif;
  z-index: 3; /* Add a higher z-index value */
  border-bottom: black solid 1px;
}

.navbar .max-width {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0%;
}

.navbar .top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}
.top .lefthome{
  display: inline-flex;
  align-items: center;
}
.home{
  display: inline-flex;
}
.navbar .home a {
  font-size: 35px;
  font-weight: 700;
  color: black;
  cursor: pointer;
  margin-right: 50px;
}
.mailto a{
  text-decoration: none;
  color: #2E2BC3;
}
.mailtomobile{
  display: none;
}
.navbar .menu {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.navbar .menu li {
  list-style: none;
}

.navbar .menu li a {
  color: black;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

/* home transition*/
.navbar .home a:hover {
  color: #2E2BC3;
}

.navbar .home a:active {
  color: #2E2BC3;
}

.navbar .menu li {
  list-style: none;
  display: inline-block;
  align-items: center;
  position: relative;
}

.navbar .menu li a {
  color: black;
  font-size: 20px;
  font-weight: 500;
  margin-left: 50px;
  position: relative;
}

/* mobile */
/* Position toggle button on the right */
.toggle-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
}


@media (max-width: 1000px) {
  .toggle-button {
    display: flex;
  }

  .navbar {
    padding: 5px 20px; /* Add padding to the sides */
    align-items: center;
  }
  .navbar .top .lefthome{
    width: 100%;
    justify-content: space-between;
    padding-right: 20px;
  }
  .navbar .home a {
    font-size: 32px;
    font-weight: 700;
    color: black !important;
    cursor: pointer;
  }
  .navbar .home a {
    margin-right: 30px;
  }
  .mailto{
    display: none;
  }

  .navbar .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    margin: 0px;
    width: 100%;
    height: 100vh; /* Adjust the height as needed */
    justify-content: center;
  }
  .navbar .menu li{
    margin: 40px;
  }
  .navbar .menu li a{
    font-size: 26px;
    margin: 0%;
  }

  .navbar .max-width {
    flex-direction: column;
    justify-content: space-between;
    max-width: 100%;

  }
  .menu.active{
    display: flex;
  }
  #homepage {
    display: block;
    margin-top: 20px; /* Adjust spacing as needed */
  }
  
}
/* tablet */
@media (min-width: 1001px) and (max-width: 1700px) {
    .navbar {
        padding: 5px 40px; /* Add padding to the sides */
      }
}

/* home styling*/
.homepage{
    padding-left: 200px;
    padding-right: 200px;
    font-family: 'Hanken Grotesk', sans-serif;
    max-width: 100%;
    background-color: #ffffff;
    
}
.homepage .container{
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    padding-top: 20px;
}
.left-side{
    max-width: 50%;
    padding-top: 300px;
    padding-right: 80px;
    padding-left: 80px;
    background-image: url(portfolioimages/bg.jpg);
}
.left-side .all-text .text-1{
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}
.left-side .all-text .text-2{
    font-size: 70px;
    font-weight: 500;
}
.left-side .all-text .text-2 span{
    font-weight: 700;
}
.left-side .all-text .text-3{
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
}
.left-side .all-text .text-4{
    font-size: 24px;
    font-weight: 500;
}
/*buttons*/
.all-buttons{
    padding-top: 30px;
    justify-content: space-between;
    display: inline-flex;
    align-items: center;
    width: 55%;
    top: 0;
    z-index: 100;
}
.resume-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    background-color:#2E2BC3;
    color: white;
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
}
.all-buttons .social{
    list-style: none;
    display: inline-block;
    align-items: center;
    background-color: white;
}
.all-buttons .social a{
    margin: 0 35px;
}
.container .right-side{
    max-width: 50%;
    padding-top: 50px;
}
.container .right-side img{
    width: 100%;
    height: auto;
    max-width: 100%;
}
.image-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1; /* Add this line */
}
.second-image{
  display: none;
}
.hover-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 2; /* Add this line */
}

.image-wrapper:hover .hover-image {
  opacity: 1;
}



/* mobile */
@media (max-width: 1000px) {
    /* Reversed layout for mobile devices */
    .homepage{
        padding-left: 20px;
        padding-right: 20px;
    }
    .homepage .container {
      flex-direction: column-reverse;
      align-items: center;
      justify-content: center;
    }
    
    .left-side {
      padding-top: 0;
      padding-right: 0;
      max-width: 100%;
      padding-left: 0%;
      background-image: none;
    }
    
    .left-side .all-text,
    .left-side .all-buttons {
      width: 100%;
    }
    .left-side .all-text .text-2{
      font-size: 40px;
      font-weight: 500;
    }
    .left-side .all-text .text-3{
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 25px;
  }
    .all-buttons {
        padding-top: 30px;
        padding-bottom: 30px;
        justify-content: center;
    }
    .all-buttons .social{
        display: none;
    }
    .all-text .text-1{
        text-align: center;
    }
    .all-text .text-2{
        text-align: center;
        margin-bottom: 10px;        
    }
    .all-text .text-3{
        text-align: center;
    }
    .left-side .all-text .text-4{
        font-size: 20px;
        font-weight: 500;
    }
    .container .right-side {
      max-width: 100%;
      margin-bottom: 10px;
    }
    .first-image{
      display: none;
    }
    .hover-image{
      display: none;
    }
    .second-image{
      display: block;
    }

  }
/* tablet */
@media (min-width: 1001px) and (max-width: 1700px) {
    .homepage {
      padding-left: 40px;
      padding-right: 40px;
    }
    .left-side{
        max-width: 50%;
        padding-top: 200px;
        padding-right: 80px;
    }
    .all-buttons .social{
        display: none;
    }
    .left-side .all-text .text-4{
        font-size: 20px;
        font-weight: 500;
    }
  }

/*works section styling*/
.works{
    padding-top: 150px;
    padding-left: 200px;
    padding-right: 200px;
    padding-bottom: 100px;
}
.works .max-width{
    font-family: 'Hanken Grotesk',sans-serif;
    max-width: 100%;
    padding: 0%;
}
.works .max-width .text-2{
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 80px;
}
.works .topic-1{
    background-color: white;
}
.works .works-container{
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    
}
.works .description{
    max-width: 60%;
}
.description .decathlon img{
    max-width: 100%;
    padding-right: 40px;
}
.description .decathlon1 img{
  max-width: 100%;
  padding-right: 40px;
}
/* CSS for the hover effect */
.image .decathlon1 img {
  display: none;
}

.image:hover .decathlon img {
  display: none;
}

.image:hover .decathlon1 img {
  display: inline-block;
}


.works .text-and-buttons{
    max-width: 50%;
}
.text-container h1{
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-top: 0px;
    border-bottom: black solid 1px;
}
.text-container p{
    font-size: 24px;
    font-weight: 400;
}
.text-container p span{
    font-size: 24px;
    font-weight: 600;
}
.read-behance {
    display: inline-block;
    margin-top: 0px;
    margin-right: 30px;
}
.reading-buttons .read-behance a {
    display: inline-block;
    padding: 8px 20px;
    font-size: 20px;
    border: #2E2BC3 2px solid;
    color: #2E2BC3; /* Update the default font color */
    text-decoration: none;
    border-radius: 2px;
    font-weight: 500;
  }
.works .work-2{
    background-color: bisque;
}

.max-width {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns with equal width */
  grid-gap: 20px; /* Spacing between images */
}

.image-grid img {
  max-width: 100%; /* Make sure images fit within their container */
  height: auto; /* Maintain aspect ratio */
}
.otherprojects{
  margin-top: 200px;
}
.row-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.work-container {
  width: 100%;
}

.text-container {
  margin-bottom: 0px;
}
.otherprojects .text-container h2{
  margin-top: 10px;
  border-bottom: 1px solid black;
  margin-bottom: 20px;
}

.image-container img {
  width: 100%;
  height: auto;
  max-width: 100%;
}
.future-artifacts img{
  max-width: 100%;
}
.a1{
  margin-bottom: 200px;
}

/* mobile */
@media screen and (min-width: 320px) and (max-width: 347px) {
    .read-behance {
      margin-right: 10px; /* Decrease the right margin */
    }
  }
@media (max-width: 1000px) {
    .works{
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
    }
    .works .works-container{
        margin-bottom: 100px;
        
    }
    .works .description{
        max-width: 100%;
    }
    .works .text-and-buttons{
        max-width: 100%;
    }
    .works .max-width .text-2{
        font-size: 30px;
        font-weight: 400;
        margin-bottom: 80px;
    }
    .works .works-container{
        flex-direction: column;
        
    }
    .description .decathlon img{
        max-width: 100%;
        padding: 0px;
    }
    .text-container h1{
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 20px;
        padding-top: 20px;
    }
    .text-container p{
        font-size: 20px;
        font-weight: 400;
    }
    .text-container p span{
        font-size: 20px;
        font-weight: 600;
    }
    .read-behance {
      margin-top: 0px;
    }
    .row-2{
      flex-direction: column;
    }
    


}
/* tablet */
@media screen and (min-width: 1001px) and (max-width: 1218px) {
    .read-behance {
      margin-right: 10px; /* Decrease the right margin */
    }
  }
@media (min-width: 1001px) and (max-width: 1700px){
    .works{
        padding-top: 200px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 0px;
    }
    .works .works-container{
        margin-bottom: 100px;
        
    }
    .works .max-width .text-2{
        font-size: 30px;
        font-weight: 400;
        margin-bottom: 80px;
    }
    .description .decathlon img{
        max-width: 100%;
        padding-right: 10px;
    }
    .text-container h1{
        font-size: 30px;
        font-weight: 600;
        margin-bottom: 20px;
        padding-top: 20px;
    }
    .text-container p{
        font-size: 20px;
        font-weight: 400;
    }
    .text-container p span{
        font-size: 20px;
        font-weight: 600;
    }
    
}
  
/*about section styling*/
.about{
    padding-top: 150px;
    padding-left: 200px;
    padding-right: 200px;
    padding-bottom: 100px;
}
.about .max-width{
    font-family: 'Hanken Grotesk', sans-serif;
    max-width: 100%;
    padding: 0%;
}
.about .max-width .text-2{
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 80px;
}
.about-description{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about-description .para{
    padding-right: 100px;
    font-size: 24px;
    font-weight: 400;
    max-width: 100%;
}
p{
  margin-bottom: 20px;
}
.photo img{
  max-width: 100%;
}
/* mobile */
@media (max-width: 1000px) {
    .about{
        padding-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 30px;
    }
    .about .max-width .text-2{
        font-size: 30px;
        font-weight: 400;
        margin-bottom: 80px;
    }
    .about-description{
        flex-direction: column;
    }
    .about-description .para{
        padding: 0%;
        font-size: 20px;
        font-weight: 400;
        margin-bottom: 40px;
    }
}
/* tablet */
@media (min-width: 1001px) and (max-width: 1700px) {
    .about{
        padding-top: 200px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 0px;
    }
    .about .max-width .text-2{
        font-size: 30px;
        font-weight: 400;
        margin-bottom: 80px;
    }
    .about-description .para{
        padding: 0%;
        font-size: 20px;
        font-weight: 400;
        margin-bottom: 40px;
        margin-right: 20px;
    }
}

/* contact styling*/
.contact{
    max-width: 100%;
    padding-top: 450px;
    padding-left: 200px;
    padding-right: 200px;
    padding-bottom: 400px;
}
.contact .max-width{
    font-family: 'Hanken Grotesk', sans-serif;
    padding: 0%;
}
.contact .text-2{
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 270px;
}
.contact .all-buttonsc{
    display: flex;
    justify-content: center;
    gap: 60px;
    max-width: 100%;
}
/* CSS code for blue outline circle with white icon on hover */
.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px; /* Adjust the size as needed */
    height: 55px; /* Adjust the size as needed */
    border: 2px solid #2E2BC3; /* Adjust the border color */
    border-radius: 50%; /* Make it a circle */
    text-align: center;
    transition: all 0.3s ease; /* Add smooth transition effect */
  }
  
  .icon svg {
    fill: #2E2BC3; /* Set the default fill color to blue */
  }
  
  .icon:hover {
    background-color: #2E2BC3; /* Change the background color to blue on hover */
    border-color: #2E2BC3; /* Change the border color to blue on hover */
  }
  
  .icon:hover svg {
    fill: white !important; /* Change the icon color to white on hover */
  }
/* mobile */
@media screen and (max-width: 420px) {
    .contact .all-buttonsc {
      flex-direction: column; /* Stack icons vertically */
      align-items: center; /* Center the icons horizontally */
    }
    
    .contact .all-buttonsc .icon {
      margin-bottom: 20px; /* Add some spacing between icons */
    }
    
    .contact .all-buttonsc .icon:last-child {
      margin-bottom: 0; /* Remove bottom margin from the last icon */
    }
  }
  
  @media (max-width: 1000px) {
    .contact {
      padding-top: 100px;
      padding-left: 20px;
      padding-right: 20px;
      padding-bottom: 80px;
    }
    
    .contact .max-width .text-2 {
      font-size: 30px;
      font-weight: 400;
      margin-bottom: 80px;
    }
    
    .contact .all-buttonsc {
      display: flex;
      justify-content: center;
      gap: 30px;
      max-width: 100%;
    }
  }
/* tablet */
@media (min-width: 1001px) and (max-width: 1700px) {
    .contact {
        padding-top: 450px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 300px;;
      }
      
      .contact .max-width .text-2 {
        font-size: 30px;
        font-weight: 400;
        margin-bottom: 250px;
      }
}

/* footer */
footer {
  text-align: center;
  font-family: 'Hanken Grotesk';
  color: grey;
}