@font-face{
    font-family: 'Work';
    src: url('Fonts/WorkSans-VariableFont_wght.ttf');
    font-weight: 300;
}
@font-face{
    font-family: 'Work2';
    src: url('Fonts/WorkSans-VariableFont_wght.ttf');
    font-weight: 400;
}
@font-face{
    font-family: 'Allura';
    src: url('Fonts/Allura-Regular.ttf');
}
a{
    text-decoration: none;
}
#top-page{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #ddadab;
    height: 100vh;
}
#top-page img{
    width: 25%;
    padding-top: 15px;
    max-width: 180px;
}
#menu{
    display: inline-block;
    padding-top: 5px;
}
#pages{
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

#pages li{
    display: inline;
    padding-bottom: 20px;
}
#pages a{
    text-decoration: none;
    color: white;
    font-family: 'Work';
    transition: color 0.3s;

}
#small-pages{
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#small-pages li{
    display: inline;
}
#small-pages a{
    font-size: 1.2rem;
    text-decoration: none;
    color: #ddadab;
    font-family: 'Work';
    transition: color 0.3s;

}
#small-pages a:hover{
    font-family: 'Work2';
}
li h3{
    color: #875755;
    font-family: 'Work';
    margin-top: 3rem;
}
#pages a:hover{
    color: #875755;
}
#pages a:active{
    text-decoration: underline;

}
#drop-list{
    position: absolute;
    top: 2rem;
    left: 30%;
    background-color: #865558;
    display: none;
}
#drop-list:hover{
    display: block;
}
#drop-list li{
    display: block;
    padding-bottom: 0.3rem;
}
#drop-list ul{
    padding: 0.3rem 1rem;
}
#drop:hover #drop-list{
    display: block;
}
#drop:hover .fa-caret-down{
    color: #865558;
}
#small-submenu li{
    display: block;
    text-align: left;
}
#small-submenu a{
    color: #865558;
}
#small-submenu{
    margin-top: 1rem;
    padding-left: 30%;
}

.fa-brands, .fa-solid{
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
}
.scroll{
    overflow: hidden;
}
#small-menu .fa-brands, #small-menu .fa-solid{
    color: #865558;
    font-size: 1.5rem;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    margin-top: 1rem;
}
#socials{
    position: absolute;
    right: 15%;
    top: 5rem;
}
#socials li{
    list-style: none;
}
#socials ul{
    padding: 0%;
    margin: 0;
}
#small-menu{
    display: none;
    height: 100vh;
    position: fixed;
    margin-left: 20%;
    width: 70%;
    background-color: white;
    right: -100%; /* Start off the screen to the right */
    animation: slide 1s forwards;
}
.current-page{
    font-family: 'Work2';
}
.btn{
    position: absolute;
    left: 15%;
    top: 5rem;
    font-family: 'Work';
    font-weight: 0;
    font-size: 1rem;
    color: #fff;
    background-color: #865558;
    padding: 15px 30px;
    border: solid #865558 2px;
    box-shadow: rgb(0, 0, 0) 0px 0px 0px 0px;
    border-radius: 1px;
    transition : 1000ms;
    transform: translateY(0);
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    }
    .btn:hover{
    transition : 1000ms;
    transform : translateY(-0px);
    background-color: #fff;
    color: #865558;
    border: solid 2px #865558;
    }
@keyframes slide {
    to {
        right: 0; /* Move to the right edge of the screen */
    }
}

/* MENU */

.menu-btn{
    opacity: 0;
    top: 1rem;
    left: 20px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all .5s ease-in-out;
}
.menu-btn_shape{
    width: 35px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all .5s ease-in-out;
    z-index: 2;
}
.menu-btn_shape::before,
.menu-btn_shape::after{
    content: '';
    position: absolute;
    width: 35px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all .5s ease-in-out;
}
.menu-btn_shape::before{
    transform: translateY(-13px);
}
.menu-btn_shape::after{
    transform: translateY(13px);
}

/* ANIMATION */

.menu-btn.open .menu-btn_shape{
    transform: translateX(-50px);
    background: transparent;
    box-shadow: none;
}
.menu-btn.open .menu-btn_shape::before{
    transform: rotate(45deg) translate(35px, -35px);
}
.menu-btn.open .menu-btn_shape::after{
    transform: rotate(-45deg) translate(35px, 35px);
}

@media screen and (max-width: 800px){
      .btn{
        display: none;
    }
}

@media screen and (max-width: 550px){
    .menu-btn{
        opacity: 1;
        }
      #menu{
        display: none;
      }
    #socials{
        position: absolute;
        right: 20px;
        top: 3rem;
    }
    .fa-brands, .fa-solid{
        color: white;
        font-size: 1.3rem;
        margin-left: 0.5rem;
    }
}
