@import url('https://fonts.googleapis.com/css2?family=Afacad:wght@500;700&display=swap');

/* For the all website */
html{
    scroll-behavior: smooth;
}
body{
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

:root{
    --shadow: hsla(0, 0%, 0%, .12);
    --orange: #ff8229;
}

.majorT{ font-weight: 800; font-size: 2.25rem;}
.minorT{ font-weight: 500; font-size: 1.375rem;}
.linedT{ text-decoration: line-through; opacity: .5; }
.paragraph{ opacity: .8; font-weight: 500; font-size: 1.125rem;}
.span{ opacity: .8; font-weight: 500; font-size: 1.125rem ;}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Afacad', sans-serif;
    /* overflow-x: hidden; */
}
::-webkit-scrollbar {
    display: none;
}

#backToTop{
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /*Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    backdrop-filter: blur(10px);
    backdrop-filter: saturate(115px);
    border-radius: 50px;
}

#backToTop #backToTopBtn{
    width: 63px;
    display: none;
    padding: 17px;
    background: transparent;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 20px var(--shadow);
    transition: .3s;
}
#backToTop #backToTopBtn:hover{
    transition: .3s;
    transform: scale(1.1,1.1);
}

#separator{
    width: 100vw;
    height: 20vh;
}
/* NavBar Desktop */

#navbar{
    width: 100vw;
    background: #fff;
    position: sticky;
    display: flex;
    top: 0; 
    z-index: 1;
}
#navbar #logo{
    margin: 0 100px 0 25px;
}
#navbar #logo img{
    width: auto;
    height: 10vh;
}
#navbar #btns{
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 25px;
}
#navbar #btns a{
    padding: 2px 16px;
    font-size: 20px;
    color: black;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: .3s;
}
#navbar #btns a:hover{
    transform: scale(1.15,1.15);
    transition: .3s;
}
#navbar #btnMobile{
    display: none;
}

/* NavBar Mobile */

#mobile #mobileOptions{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#mobile #mobileOptions div{
    width: 100vw;
    padding: 10px;
    display: flex;
    justify-content: center;
}
#mobile #mobileOptions div:hover{
    background: #dddddd;
}

@media only screen and (max-width: 512px) {
    body{
        background-color: #fff;
        overflow-x: hidden;
    }

    #navbar{
        width: 100vw;
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 0; 
        z-index: 1;
    }
    #navbar #btns{display: none;}
    #navbar #btnMobile{
        display: block; 
        margin: 30px 25px 0 25px;
    }
    #navbar #btnMobile button{
        border: none;
        background: transparent;
    }

    #mobile{
        position: absolute;
        top: 65px;
        z-index: 1;
    }
    #mobile #mobileOptions{
        z-index: 1;
        background: #fff;
    }
    #mobile #mobileOptions div{
        padding: 2px 16px;
        font-size: 20px;
        color: white;
        border: none;
        cursor: pointer;
        text-align: center;
        background: #ffffff;
        transition: .3s;
        overflow: hidden;
        z-index: 1;
    }
    #mobile #mobileOptions div:hover{
        transform: scale(1.15,1.15);
        transition: .3s;
        z-index: 1;

    }
    #mobile #mobileOptions div a{
        color: black;
        z-index: 1;
    }
}
