/* 
ON EVERY PAGE 
----------------
*/


/* 
FONTS
----------------
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins&family=DM+Sans&display=swap");


/* 
TAG
----------------
*/

h1 {
    font-family: "DM Sans", Verdana, sans-serif;
    font-size: 2rem;
}

h2 {
    font-family: "DM Sans", Verdana, sans-serif;
    font-size: 1.7rem;
}

h3 {
    font-family: "DM Sans", Verdana, sans-serif;
    font-size: 1.4rem;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    border-radius: 1em;
    border: 0;
    border-color: transparent;
    aspect-ratio: 16/9;
    width: 100%;
}

body {
    margin: 2% 5% 2% 5%;
    background-color: #291637;
    color: white;
    font-family: "Poppins";
    -ms-overflow-style: none;
    scrollbar-color: #32243c #200f2c;
}

p, ul, li {
    padding: 0 3px;
    font-size: 1.1rem;
}

hr {
    margin: 0% 10% 0% 10%;
    background-color: #200f2c;
    border: none;
    height: 3px;
}


/*
FADE TRANSITION
----------------
*/

#page-transition {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    z-index: 1000;
    pointer-events: none;
    transition: opacity 2s ease;
    animation: fadeOut 1.5s ease;
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* 
LINK 
----------------
*/
a {
    text-decoration: none;
    color: #0fd153;
}

a:hover {
    color: #adf7c7;
}

a:active {
    color: #d6ffe4;
}

/* 
ELEMENTS
----------------
*/
.group {
    
    overflow: hidden;
    margin: 2% 5% 2% 5%;
    background-color: #200f2c;
    border-radius: 15px;
    padding: 30px;
    filter: drop-shadow(0px 4px 2px rgba(0, 0, 0, 0.5));
}

.group hr {
    margin: 2% 0% 2% 0%;
    background-color: #442e50;
    border: none;
    height: 3px;
}


/* 
NAVBAR 
----------------
*/
#nav {
    font-size: 1em;

    z-index: 100;

    filter: drop-shadow(0px 0px 5.5px rgba(0, 0, 0, 0.6));

    margin: 2% 2% 2% 2%;

    height: 8em;

    position: sticky;
    top: 0.5em;

    display: flex;
    justify-content: left;

    overflow-x: auto;
    overflow-y: hidden;

    white-space: nowrap;

    background-color: #104122;
    border-radius: 15px;

    align-items: center;
    scrollbar-color: #0fd153 #0c2612;
}

#nav a {
    text-align: center;
    padding: 16px;
    margin: 6px;
    text-decoration: none;
    border-radius: 15px;
    min-width: fit-content;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1s;
}

#nav a:hover {
    background-color: #196935;
}

#nav img {
    vertical-align: middle;
    overflow: hidden;
    max-height: 5em;
    padding: 0.1em 0.1em 0.1em 0.1em;
}

/*
BOTTOM TEXT
----------------
*/

#bottomText {
    text-align: center;
    color: #a99fc1;
    font-family: "Poppins";
    font-weight: lighter;
    font-size: 0.7em;
}

/*
IS MOBILE
----------------
*/

@media screen and (max-width: 1000px) {    
    h1, h2, h3 {
        font-size: 155%;
    }

    #nav, p, li {
        font-size: 115%;
    }

    html {
        scrollbar-width: none;
    }

    .group {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    #hide-mobile {
        display: none;
    }
}