*{
    margin: 0;
    padding: 0;
}

body{
    background-color: #F8F2EA;
    font-family: 'lato', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

.body-container{
    margin: 0 20px;
}
.hero{
    position: relative;
    width: 100%;
}

.line{
    width: 100%;
    height: 2px;
    background-color: rgba(255, 111, 97, 0.8);
    margin: 20px 0;

}

#logo-red{
    width: auto;
    height: 20px;
    margin: 0 auto;
    margin-right: 125px;
}

#logo-white{
    width: auto;
    height: 20px;
    margin: 0 auto;
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    list-style-type: none;
    align-items: flex-start;
}

nav li{
    color: #FF6F61;
    margin-right: 125px;
    font-size: 16px;
}

nav li a{
    font-family: 'montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #FF6F61;
}

nav{
    display: flex;
}

h1{
    font-family: 'poppins', sans-serif;
    font-size: 10em;
    margin: 0;
    padding: 0;
    color: #FF6F61;
}

h2{
    font-family: 'lora', sans-serif;
    font-size: 2em;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

h4{
    font-family: 'montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 20px;
}

p{ 
    line-height: 1.5;
    font-size: 1em;
}

a{
    font-family: 'montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #FF6F61;
}

section{
    margin-top: 20px;
    margin-bottom: 90px;

}

footer{
    background-color: #FF6F61;
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

footer p, .back-to-top{
    color: #F8F2EA;
    font-size: 12px;
    text-transform: uppercase;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer__button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.footer__button a {
    text-decoration: none;
    color: #f8f2ea;
    border-radius: 4px;
}

html {
    scroll-behavior: smooth;
}
.navigation-mobile{
    display: flex;
    justify-content: space-between;
}

.nav-hamburger img{
    width: 30px;
}
.navigation-mobile ul li {
    display: flex;
    flex-direction: column;
    top: 60px;
    left: 0;
    width: 100%;
    margin:20px 0;
}


.navigation-mobile a{
    color: #FF6F61;
    font-size: 16px;
    margin: 0;
    text-align: left;
}

.nav-line{
    width: 100%;
     
}

.nav-ul ul{
    list-style-type: none;

}

.nav-ul{
    display: none;
    height: 100vh;

}
.nav-ul.show {
    display: block;
}
.navigation-mobile{
    display: none;
}


@media (max-width: 1024px) {
    .hero-content h1 {
    font-size: 8em;
    }
    h2 {
    font-size: 2em;
    }
    p{
        font-size: 1em;
    }

}


@media (max-width: 768px) {
    .navigation-mobile{
        display: flex;
    }
   
    /* Adjust navbar */
    nav li {
      display: none;
    }
  
    /* Hero Section */
    .hero-content h1 {
      font-size: 3.5em;
    }
    h2 {
      font-size: 1.5em;
    }
    p{
        font-size: 1em;
    }
  
    /* Projects container */
    .projects-container {
      flex-direction: column;
      align-items: left;
    }

    /* Project details */
    .projects-details {
     max-width: 100%;
    }

    .projects-images {
        display: none;
    }
    /* About section */
    .about-content {
      flex-direction: column;
      align-items: center;
    }

    .about-section1{
        flex-direction: column;
    }

    .about-image{
        display: none;
    }

  
    /* Contact section */
    .contact {
      text-align: center;
    }
  
    .contact-text h1 {
      font-size: 3em;
    }
  
    .contact .mail {
      font-size: 1.5em;
      display: block;
      margin-top: 10px;
    }
  
    /* Footer */
    footer {
      padding: 20px;
      text-align: center;
    }
  
    /* Adjust footer button */
    .footer__button a {
      font-size: 0.8em;
      padding: 10px 15px;
    }
    .navigation{
        display: none;
    }
      .about-section2{
        width: 100%;
    }
     .about-text-hobbies{
        display: none;
    }
    
  }
