@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
* {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: 'Nunito';
}
body {
    margin: 0;
    padding: 0;
    background: url(./bg.png) #222;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: center;
    background-attachment: fixed;
    width: 100%;
    display: flex;
} 
app {
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(60px) brightness(40%);

} nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: min-content;
    background: rgba(0,0,0,.5);
    padding-top: 3px;
} nav > .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 7px 0;
    cursor: pointer;
    transition: opacity .4s, transform .4s;
    user-select: none;
} nav > .nav > span {
    font-size: 1.1rem;
} nav > .nav > svg {
    height: 30px;
    width: 30px;
    padding: 0px 7px;
    border-radius: 100px;
    transition: padding .4s, background .4s;

} nav:hover > .nav:not(:hover)  {
    opacity: .6;
} nav > .nav.active > svg {
    background: rgba(225, 150, 255, 0.2);
    padding: 0px 15px;
}



main {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
} main > * {
    transition: transform .2s, opacity .2s;
}


/* DEFAULT */
.mhead {
    padding: 30px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background: linear-gradient(rgba(0,0,0,.6), transparent); */
} .bw {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-bottom: 40px;
}
.bw > h2 {
    font-family: 'Great Vibes';
    font-weight: normal;
    font-size: 70px;
    text-shadow: #000 -3px -3px 10px;
} .bw > .w1 {
    z-index: 1;
    transform: translateX(5px);
} .bw > .w2 {
    z-index: 2;
    transform: translateY(20px);
} .bw > .w3 {
    z-index: 3;
    text-shadow: #000 -3px 3px 10px;
    transform: translateY(10px) translateX(-10px);
} .mhead > p {
    font-size: 1.2rem;
    text-align: center;
} .mhead > p.nm {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 10px 20px;
    background: rgba(225, 150, 255, 0.2);
    border-radius: 1000px;
    color: #f6deff;
} .mhead > p.nm > svg {
    margin-left: 10px;
    fill: #f0c8ff !important;
}
.mdisp {
    margin: 0 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.mdisp.tb {
    margin: 30px 10px 0;
    background: rgba(0,0,0,.3);
    border-radius: 10px;
} .mdisp > svg {
    background: rgba(225, 150, 255, 0.2);
    height: 40px;
    width: 40px;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 7px;
} .mdisp > p {
    font-size: 1.2rem;
} .mdisp > p > span {
    background: rgba(225, 150, 255, 0.1);
    padding: 0 6px;
    border-radius: 7px;
} .mcp {
    margin-top: 50px;
    text-align: center;
    /* opacity: .7; */
} .mcp > p {
    color: #f8e6ff;
}


/* TASKS (demo) */
.taskd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
} .taskd > h2 {
    margin-top: 30px;
    font-weight: normal;
    font-size: 1.8rem;
    text-align: center;
} .taskd > .tinp {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 20px;
    background: rgba(225, 150, 255, 0.1);
    padding: 0 10px;
    border-radius: 1000px;
} .taskd > .tinp > input {
    padding: 5px 10px;
    background: transparent;
    color: #fff;
    font-size: 1.5rem;
    outline: none;
    border: 0;
    width: 100%;
} .taskd > .tinp > input::placeholder {
    color: #a9a;
} 
.taskd > button {
    background: rgba(225, 150, 255, 0.2);
    border: 0;
    font-size: 1.3rem;
    padding: 7px 20px;
    border-radius: 100px;
    cursor: pointer;
    transition: transform .1s;
} .taskd > button:hover {
    background: rgba(225, 150, 255, 0.3);
} .taskd > button:active {
    transform: scale(.93);
} .taskd > .warning {
    opacity: 0;
    transition: opacity .3s;
    user-select: none;
    margin-top: 10px;
    font-size: 1.2rem;
    background: rgba(255,0,0,.2);
    padding: 10px 20px;
    border: solid 2px #822;
    border-radius: 100px;
    display: flex;
    align-items: center;
} .taskd > .warning > svg {
    fill: #fcc;
    margin-right: 12px;
} .taskd > .warning > span {
    color: #fcc;
}

/* MATERIALS */
.mtr {
    padding: 15px;
    font-size: 1.2rem;
} 
.mtl {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
} .mat {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,.3);
    padding: 20px;
    border-radius: 10px;
} .mat > svg {
    background: rgba(225, 150, 255, 0.2);
    height: 40px;
    width: 40px;
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 5px;
} .mat > button {
    background: rgba(225, 150, 255, 0.2);
    border: 0;
    width: fit-content;
    margin-top: 4px;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform .2s;
} .mat > button:hover {
    background: rgba(225, 150, 255, 0.3);
} .mat > button:active {
    transform: scale(.94);
}
.mat.tr3 {
    width: 100% !important;
}
.mtr > .back {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    padding-bottom: 20px;
} .mtr > .back > svg {
    margin-right: 10px;
} .mtr > .download {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 100px;
    background: rgba(225, 150, 255, 0.1);
    transition: transform .2s;
    margin-bottom: 10px;
} .mtr > .download > .info {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
} .mtr > .download > .info > svg {
    margin-right: 10px;
    background: rgba(225, 150, 255, 0.2);
    padding: 5px;
    border-radius: 100px;
} .mtr > .download > .info > p {
    font-size: 1.3rem;
} .mtr > .download > .dlicon  {
    padding: 5px;
    border-radius: 100px;
}
.mtr > .download:hover > .dlicon {
    background: rgba(225, 150, 255, 0.2);
    padding: 5px;
    border-radius: 100px;
} .mtr > .download:hover {
    background: rgba(225, 150, 255, 0.2);
} .mtr > .download:active {
    transform: scale(.98);
}

.error {
    user-select: none;
    margin: 10px;
    background: rgba(255,0,0,.2);
    padding: 10px 20px;
    border: solid 2px #822;
    border-radius: 10px;
}


/* AWARDS */
.mgalr {
    display: flex;
    flex-direction: column;
} .gall {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 700px;
} .gall > .list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
} .gall > .list > img, video {
    width: 100%;
    border-radius: 15px;
    cursor: pointer;
} .wmt > .mat {
    height: fit-content;
} .mgalr > video {
    border-radius: 15px;
    margin-top: 15px;
    max-width: 700px;
} .mgalr > .vids {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
} .mgalr > .vids > video {
    width: 100%;
    border-radius: 15px;
}


/* OVERLAY */
overlay {
    position: fixed;
    z-index: 100;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0,0,0,.9);
    transition: opacity .3s;
    display: none;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    
} overlay > .content {
    max-width: 90%;
    max-height: 85%;
    display: flex;
    margin-bottom: 20px;
} overlay > .content.media > * {
    height: fit-content;
    max-height: 100%;
    max-width: 100%;
    border-radius: 15px;
} overlay > button {
    border: 0;
    padding: 7px 15px;
    background: rgba(255, 255, 255, 0.226);
    font-size: 1.15rem;
    border-radius: 100px;
    transition: transform .3s;
    /* backdrop-filter: blur(5px); */
    cursor: pointer;
} overlay > button:hover {
    background: rgba(255, 255, 255, 0.3);
} overlay > button:active {
    transform: scale(.93);
}


/* DESKTOP */
@media (min-width: 700px) {
    app {
        flex-direction: row-reverse;
    } nav {
        flex-direction: column;
        width: fit-content;
        align-items: center;
        height: 100%;
        gap: 10px;
        padding-top: 10px;
    } nav > .nav {
        padding: 5px 10px;
        width: fit-content;
    } nav > .nav > span {
        font-size: 1rem;
    } .mat {
        width: calc(50% - 25px);
        display: flex;
        flex-direction: column;
        background: rgba(0,0,0,.3);
        padding: 10px;
        border-radius: 10px;
    }     
}
/* MINIWIDTH */
@media (max-width: 380px) {
    nav > .nav > span {
        font-size: 0.8rem;
    } nav > .nav > svg {
        height: 20px;
        width: 20px;
    } .bw > h2 {
        font-size: 50px;
    }
}


/* ANIMATIONS */
@keyframes overlay_hide {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(.9);
        opacity: 0;
    }
}
@keyframes overlay_show {
    0% {
        transform: scale(.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


@keyframes hide_to_left {
    0% {
        opacity: 1;
        transform: 0;
    }
    100% {
        opacity: 0;
        transform: translateX(-40px);
    }
}
@keyframes hide_to_right {
    0% {
        opacity: 1;
        transform: 0;
    }
    100% {
        opacity: 0;
        transform: translateX(40px);
    }
}

@keyframes show_from_right {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: 0;
    }
}
@keyframes show_from_left {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: 0;
    }
}
@keyframes show_from_top {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: 0;
    }
}

/* SCROLL */
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
*::-webkit-scrollbar-thumb {
    background: rgba(255, 201, 255, 0.8);
    border-radius: 100px;
    cursor: pointer;
}
*::-webkit-scrollbar-track {
    background: rgba(0,0,0,.5);
}