*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Desktop Nav */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.3rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.logo{
    color: #F7C359;
    font-size: 2.4em;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.navbar a{
    color: #F7C359;
    text-decoration: none;
    margin-left: 2.5rem;
}

#check {
    display: none;
}

.icons{
    position: absolute;
    font-size: 2.8rem;
    right: 5%;
    cursor: pointer;
    display: none;
    color: #F7C359;
}


.about{
    display: flex;
    margin-top: 10em;
}

/*Mobile Navigation*/

@media (max-width: 992px){
    .header {
        padding: 1.3rem 5%; 
    }
}

@media (max-width: 768px){
    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon{ 
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .header{
        background-color: rgba(0, 0, 0, .1);
        backdrop-filter: blur(.20em);
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background-color: rgba(0, 0, 0, .1);
        backdrop-filter: blur(4em);
        overflow: hidden;
        transition: .3s ease;
    }

    #check:checked~.navbar {
        height: 17.7rem;
    }

    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
        transform: translateY(-50px);
        transition: 3s ease;
    }

    #check:checked~.navbar a{
        transform: translateY(0);
    }

}


/*About Section*/

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    height: 100vh; /* Make body take the full height of the viewport */
  }

  .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 800px; /* Limit maximum width of content */
    width: 100%; /* Ensure content takes full width of container */
    padding: 20px;
  }

  .image {
    flex: 1;
    order: 1; /* Image comes first by default */
  }

  .image img{
    height: 100%;
    width: 23em;
  }

  .text p{
    margin-left: 2em;
  }

  h1{
    margin-left: 1em;
    color:#C44E37;
  }

  h2{
    margin-left: 1.30em;
    color:#C44E37;
  }

  .text {
    flex: 1;
    order: 2; /* Text comes second by default */
    padding: 0 20px; /* Add some space around the text */
  }

  .text p{
    line-height: 1.8;
  }

  .text .p1, .p2, .p3 {
    margin-top: 1em;
    color: #C44E37;
  }

  /* Media query for mobile devices */
  @media (max-width: 768px) {
    .container {
      flex-direction: column; /* Stack items vertically on smaller screens */
      padding: 10px;
    }

    .image, .text {
      order: initial; /* Reset the order */
      width: 100%; /* Make sure both items take full width */
    }

    .image{
        margin-top: 35em;
    }

    .image img{
        margin-left: -.40em;
    }

    .text h2{
        margin-top: 1em;
    }
    
    .text{
        margin-top: .2em;
    }

    .text p{
        margin-left: 1em;
        margin-right: 1em;
    }

    .text h2{
        margin-left: .70em;
    }

    h1{
        margin-left: 1em;
        text-align: left;
    }
}

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0; /* Ensure footer starts from the left edge */
    right: 0; /* Ensure footer ends at the right edge */
    width: 100%;
    padding: 20px 0; /* Adjust padding as needed */
    text-align: center; /* Center-align the content */
}

.social-icons {
    display: inline-block; /* Ensure social icons are displayed in a line */
    margin-bottom: 10px; /* Adjust margin as needed */
}

.social-icons img {
    height: 30px;
    margin: 0 10px; /* Adjust margin as needed */
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    footer {
        padding: 0px 0; /* Adjust padding as needed */
    }
}
