*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 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);
    }

}

/* Image Section */
.image-section {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: flex-start;
    margin: 2em auto;
    max-width: 1200px;
    width: 90%;
    margin-top: -16em;
}

.big-square {
    width: 60%; /* Increase width for the big square */
}

.stacked-squares {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18%; /* Decrease width for stacked squares */
    margin-left: 1em; /* Adjust margin */
    height: 30%;
}

.stacked-squares .image {
    height: calc(100% / 3); /* Make each stacked image 1/3 of the container height */
    margin-bottom: 1em; /* Adjust margin between stacked squares */
    transition: transform 0.3s ease; /* Add transition for smooth effect */
}

.stacked-squares .image:hover {
    transform: scale(0.9); /* Scale down the image on hover */
}

.image {
    display: block;
    width: 100%;
    height: auto;
    border: none; /* Remove the white box around the images */
}
