body{
    background: #A64149;
    background: linear-gradient(155deg, rgba(166, 65, 73, 0.19) 0%, rgba(242, 219, 187, 1) 69%, rgba(217, 217, 217, 1) 100%);
    font-family: "Red Hat Display", sans-serif;
    margin: 0;

}
body.loaded .logo {
    opacity: 1; 
    transform: translateY(0);}

#navBar {
    width: 100%;
    height: auto;
    background-color: rgb(61, 60, 64, 0);
    color: #3D3C40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
    position: relative;
    top: 0;
    left: 0;
    z-index: 100;
    font-size: 4vh;
    font-weight:520;
}


#navBar.fixed {
    position: fixed; /* Switch to fixed position */
    background-color: rgba(61, 60, 64, 0); /* Solid background when fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays on top */
}




.logo {
    font-size: 5vh;
    font-weight: bolder;
    font-family: "Dancing Script", cursive;
    color: #A64149;
    text-shadow: #A64149;
    transform: translateY(20px); 
    transition: opacity 2s ease, transform 2s ease; 
}

.menu-icon {
    display: none; /* Hidden by default */
    font-size: 3vh;
    cursor: pointer;
    color:#A64149;
}

.navItems {
    display: flex;
    gap: 2.252vh;
}

.navItems a {
    text-decoration: none;
    color: inherit;
    padding: 5px 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.navItems a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #D9525E;
}


@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .navItems {
        display: none; 
        flex-direction: column; 
        gap: 15px;
        width: 100%; 
        background-color: rgb(217, 82, 94); 
        position: absolute;
        top: 100%; 
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navItems a {
        padding: 10px 20px;
        font-size: 2.5vh;
        text-align: left;
        font-family:"archivo", sans-serif;
        color: #FAE5E3; 
    }

    .navItems.show {
        display: flex; 
    }
}


h1{
    font-size: 8vh;
    font-weight: 700;
    color: #A64149;
    text-align: center;
    margin-top: 20px;
}

p{
    font-size: 5vh;
    color: #3D3C40;
    text-align: center;
    margin: 10px 0;
}

.project1, .project2, .project3{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
}

.project1 img, .project2 img, .project3 img{
    width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}
.project1 img:hover, .project2 img:hover, .project3 img:hover{
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}
#footer{
    display: flex; 
     align-items: center; 
     justify-content: center;
     text-decoration: none;
 }


 #footer a {
     text-decoration: none; 
     color: #3D3C40; 
     font-size: 3vh; 
     margin: 0 15px; 
     transition: color 0.3s ease; 
 }
 
 #footer a:hover {
     color: #A64149; 
 } 

 @media (max-width: 768px) {
    #footer {
      
        gap: 10px; 
    }

    #footer a {
        font-size: 3vh; 
    }
}


@media (max-width: 480px) {
    #footer {
       
        gap: 3px; 
    }

    #footer a {
        font-size: 3vh;
    }
}

@media (max-width: 768px) {
    .project1, .project2, .project3 {
        height: auto;
        margin-bottom: 20px;
    }

    .project1 img, .project2 img, .project3 img {
        width: 90%; 
        height: auto; 
    }
}


@media (max-width: 480px) {
    .project1, .project2, .project3 {
        height: auto; 
        margin-bottom: 10px;
    }

    .project1 img, .project2 img, .project3 img {
        width: 100%; 
        height: auto; 
    }
}