/* 

<--- INDEX --->
--GENERAL--
FONTS
ROOT
STATUS
TEXT & BUTTONS
HEADER & FOOTER

--PROJECT SPECIFIC STYLES--
GENERAL
INSTRUCTIONS
REGISTER
STATS
PLAYER
SITUATIONS
BADGES
IDEAS
RESOURCES
RANKING
CLOSE POPUP MESSAGE

*/


/* FONTS */
@font-face {
    font-family: 'Montserrat-Light';
    src: url('../fonts/Montserrat-Light.woff') format('woff');
    font-style: normal;
    font-weight: 100;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.woff') format('woff');
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'Montserrat-Medium';
    src: url('../fonts/Montserrat-Medium.woff') format('woff');
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat-Bold.woff') format('woff');
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: 'Montserrat-Black';
    src: url('../fonts/Montserrat-Black.woff') format('woff');
    font-style: normal;
    font-weight: bolder;
}


/* ROOT */
:root {
    /* TYPOGRAPHY */
    --ft-h1: 3.25rem;
    --ft-h2: 1.875rem;
    --ft-text-lg: 1.75rem;
    --ft-text-md: 1.5rem;
    --ft-text-sm: 1.25rem;

    /* COLORS */
    --clr-primary: #FF636C;
    --clr-primary-darker: #c9474e;
    --clr-secondary: #5D2576;
    --clr-text-dark: #939393;
    --clr-text-light: #FFFFFF;
    --clr-bg: #FFF8F9;
    --clr-bg-blur-dk: rgba(0, 0, 0, .85);
    --clr-bg-blur-lt: rgba(255, 255, 255, .3);
    --clr-grad: linear-gradient(90deg, rgba(255,99,108,1) 0%, rgba(93,37,118,1) 100%);
    --clr-area: linear-gradient(133deg, rgba(253,99,108,1) 0%, rgba(166,59,75,1) 76%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'Montserrat-Regular';
}

body {
    color: var(--clr-text-dark);
}

a,
a:visited,
a:hover, 
a:active,
a:focus {
    text-decoration: none;
    outline: none;
}


/* TEXT & BUTTONS */
.supertitle {
    font-size: 3.5rem;
    font-family: 'Montserrat-Bold';
    color: var(--clr-primary);
}
.title {
    font-size: var(--ft-h1);
    font-family: 'Montserrat-Bold';
    color: var(--clr-primary);
}
.subtitle {
    font-size: var(--ft-h2);
    font-weight: normal;
    color: var(--clr-primary);
}
.text {
    font-size: var(--ft-text-lg);
    color: var(--clr-text-light);
}
.text-i {
    font-size: var(--ft-text-lg);
    color: var(--clr-text-dark);
    margin-top: 16px;
}
.text-resource {
    font-size: var(--ft-text-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.btn {
    background: rgb(255,99,108);
    background: var(--clr-grad);
    color: var(--clr-text-light);
    border-radius: 40px;
    border: none;
    padding: 12px 32px;
    cursor: pointer;
    transition: transform 0.25s ease;
    font-size: 32px;
    font-weight: bold;
}
.open-info,
.exit-course,
.audio-course {
    height: 60px;
    top: 40px;
    cursor: pointer;
    transition: transform 0.25s ease;
}
.open-info {
    right: 180px;
}
.audio-course {
    right: 110px;
    display: none;
}
.exit-course {
    right: 40px;
}
.open-info:hover,
.audio-course:hover,
.exit-course:hover,
.navigate-next:hover,
.navigate-previous:hover,
.player-ranking:hover,
.area-hotspot:hover,
#btnStart:hover,
.situation-hotspot:hover,
.go-back:hover,
.close-instructions:hover,
.goBackRank:hover,
.situationNav:hover {
    transform: scale(1.1);   
}
.situationNav{
    cursor: pointer; 
}
#btnNext:hover {
    transform: translateX(-50%) scale(1.1);   
}


/* HEADER & FOOTER */
header#slide-header,
footer#slide-footer {
    display: none;
}
main#slide-container {
    top: 3em;
    top: 0;
    bottom: 0;
    height: calc(100% - 6em);
    height: calc(100% - 3em);
    height: 100%;
}
.logo {
    top: 40px;
    left: 40px;
    width: 135px;
}
.logo-countdown {
    width: 100px;
}


/* SPECIFIC PROJECT STYLING */
/* COUNTDOWN SCREEN */
.slide-countdown {
    background-image: url('../images/background/sound-bg.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}
.blob-countdown {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    z-index: 2;
}
.title-countdown,
.countdown,
.thanks {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    text-align: center;
}
.title-countdown {
    font-size: 2rem;
    color: var(--clr-primary);
    margin-top: 70px;
    font-weight: bold;
    font-family: 'Montserrat-Bold';
}
.countdown,
.thanks {
    font-size: 1.25rem;
    color: var(--clr-text-dark);
    margin-top: 130px;
}

/* GENERAL */
.ranking,
.situation-info,
.situations-area,
.ideas-area,
.instructions-area {
    display: none;
}
.game,
.situations-area,
.ideas-area,
.instructions-area,
.resources-area {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    color: var(--clr-text-dark);
}
.game {
    background-image: url('../images/background/game-bg.png');
}

.logo,
.stats,
.player,
.situation-info,
.ranking,
.logo-game,
.btn,
.parallax-clouds {
    z-index: 9;
}

.open-info,
.exit-course,
.audio-course,
.intro-clouds,
.player-ranking,
.new-badge,
.ideas-area,
.resources-area {
    z-index: 99;
}

.instructions-area {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.cloud-curtin,
.cloud-curtin-left,
.cloud-curtin-right,
.wrapper{
    z-index: 999;
}

.logo-game {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 5%;
}
.stats,
.player {
    left: 40px;
    gap: 20px;
    border-radius: 75px;
    padding-right: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.player {
    background-image: url('../images/icons/stats-bg.png');
    background-size: contain;
}
.stats {
    background-image: url('../images/icons/stats-player-bg.png');
}
.player-name,
.total-players {
    color: var(--clr-primary);
    font-family: 'Montserrat-Regular'!important;
    font-size: 16px;
}

/*
.cloud-curtin {
    left: -125%;
    top: 0;
}
*/

.cloud-curtin-left {
    /* display: none; */
    left: -150%;
    top: -20px;
    width: 150%;
}
.cloud-curtin-right {
    /* display: none; */
    right: -150%;
    top: -20px;
    width: 150%;
}
.wrapper {
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
[class|="confetti"] {
    position: absolute;
}
.pink {
    background-color: var(--clr-primary);
}
.red {
    background-color: var(--clr-primary-darker);
}
.purple {
    background-color: var(--clr-secondary);
}

.intro {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.sound {
    background-image: url('../images/background/sound-bg.png');
}
.welcome {
    background-image: url('../images/background/welcome-bg.png');
}
#btnStart,
#btnNext {
    font-family: 'Montserrat-Bold';
    font-weight: bold;
}


/* SOUND SCREEN */
.sound .sound-info,
.sound .headphones {
    left: 50%;
    transform: translatex(-50%);
}
.sound .sound-info {
    top: 480px;
    text-align: center;
    gap: 24px;
}
.sound .headphones {
    max-width: 400px;
    top: 150px;
}
.intro .title,
.intro .subtitle,
.intro .text {
    margin-top: 16px;
    margin-bottom: 16px;
}
.intro .text {
    color: var(--clr-text-dark);
}
.instruction .supertitle,
.instruction .text {
    margin-bottom: 32px;
}


/* WELCOME SCREEN */
.welcome,
.intro-clouds,
.parallax-clouds,
#btnNext {
    display: none;
}
.intro-clouds {
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    text-align: center;
}
.intro-clouds {
    top: -70px;
}
.floating-cloud {  
    animation-name: floating-cloud;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

#btnNext {
    left: 50%;
    transform: translateX(-50%);
    bottom: 140px;
}

.parallax-clouds {
    top: 0;
    left: 0;
    animation: parallax 100s linear infinite;
}


/* INSTRUCTIONS */
.instructions {
    background-image: url('../images/background/instru-bg.png');
    border-radius: 40px;
}
.instruction-slide {
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 20px;
}
.instruction-slide-content {
    left: 50%;
    top: 150px;
    transform: translateX(-50%);
    text-align: center;
}
.navigation {
    width: 100%;
    text-align: center;
    gap: 30px;
    bottom: 180px;
    left: 0;
    right: 0;
}
.navigate-next.inactive,
.navigate-previous.inactive,
.continue.inactive {
    pointer-events: none;
    filter: grayscale(1);
}
.navigate-next,
.instructions #btnContinue {
    width: 200px;
}

.instructions-chapter {
    left: 50%;
    transform: translateX(-50%);
    top: 280px;
}

#instruction-slide-0-2 .instructions-chapter {
    top: 255px;
}
#instruction-slide-0-3 .instructions-chapter {
    top: 215px;
}

#instruction-slide-0-0 .instructions-chapter {
    width: 35%;
    margin-top: 90px;
}

#instruction-slide-0-0 .instructions-chapter-alt {
    width: 20%;
margin-top: 110px;
}


#instruction-slide-0-4 .instructions-chapter,
#instruction-slide-0-5 .instructions-chapter,
#instruction-slide-0-7 .instructions-chapter,
#instruction-slide-0-8 .instructions-chapter,
#instruction-slide-0-10 .instructions-chapter,
#instruction-slide-0-11 .instructions-chapter,
#instruction-slide-0-4 .text,
#instruction-slide-0-5 .text,
#instruction-slide-0-7 .text,
#instruction-slide-0-8 .text,
#instruction-slide-0-10 .text,
#instruction-slide-0-11 .text,
#instruction-slide-0-4 .supertitle-label,
#instruction-slide-0-7 .supertitle-label,
#btnBooklet {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
#instruction-slide-0-4 .instructions-chapter,
#instruction-slide-0-7 .instructions-chapter {
    top: 230px;
}
#instruction-slide-0-5 .instructions-chapter,
#instruction-slide-0-8 .instructions-chapter,
#instruction-slide-0-11 .instructions-chapter {
    top: 300px;
}
#instruction-slide-0-10 .instructions-chapter {
    top: 300px;
}
#instruction-slide-0-4 .text,
#instruction-slide-0-7 .text {
    top: 420px;
    width: 120%;
}
#instruction-slide-0-5 .text {
    top: 140px;
    width: 100%;
}
#instruction-slide-0-8 .text {
    top: 140px;
    width: 160%;
}
#instruction-slide-0-4 .supertitle-label,
#instruction-slide-0-7 .supertitle-label {
    top: 490px;
    width: 100%;
}
#instruction-slide-0-10 .text {
    top: 150px;
    width: 900px;
}
#instruction-slide-0-11 .text {
    top: 170px;
    width: 800px;
}
#btnBooklet {
    top: 110px;
    width: 660px;
}
.pagination {
    align-items: flex-end;
}
.pagination-current {
    font-size: var(--ft-text-lg);
    font-family: 'Montserrat-Bold';
    color: var(--clr-primary);
    line-height: 28px;
}

.pagination-total {
    font-size: var(--ft-text-sm);
    font-family: 'Montserrat-Regular';
    color: var(--clr-text-dark);
}


/* INSTRUCTIONS POPUP */
.instructions-area .instructions {
    width: 70%;
    height: 72%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color:#fff;
    background-image: none;
}
.instructions-area .instruction-slide-content {
    top: 50px;
    width: 100%;
}
.instructions-area .instructions-chapter {
    top: 220px;
    width: 25%;
}
.instructions-area .navigation {
    bottom: 60px;
}

.instructions-area #instruction-slide-0-1 .instructions-chapter {
    width: 70%;
}
.instructions-area #instruction-slide-0-2 .instructions-chapter,
.instructions-area #instruction-slide-0-6 .instructions-chapter,
.instructions-area #instruction-slide-0-9 .instructions-chapter {
    top: 200px;
    width: 20%;
}
.instructions-area #instruction-slide-0-9 .instructions-chapter {
    top: 230px;
    width: 20%;
}
.instructions-area #instruction-slide-0-3 .instructions-chapter {
    top: 200px;
    width: 40%;
}
.instructions-area #instruction-slide-0-4 .instructions-chapter,
    .instructions-area #instruction-slide-0-7 .instructions-chapter {
    top: 200px;
    width: 30%;
}
.instructions-area #instruction-slide-0-4 .text,
    .instructions-area #instruction-slide-0-7 .text {
    top: 360px;
}
.instructions-area #instruction-slide-0-4 .supertitle-label,
    .instructions-area #instruction-slide-0-7 .supertitle-label {
    top: 400px;
}
.instructions-area #instruction-slide-0-5 .instructions-chapter {
    top: 220px;
    width: 18%;
}
.instructions-area #instruction-slide-0-5 .text {
    top: 120px;
}
.instructions-area #instruction-slide-0-10 .instructions-chapter {
    top: 260px;
    width: 35%;
}
.close-instructions {
    right: 16px;
    top: 16px;
    width: 4%;
    cursor: pointer;
}


/* REGISTER */
.register {
    background-image: url('../images/background/instru-bg.png');
    text-align: center;
    gap: 56px;
}
input {
    border: 1px solid var(--clr-primary);
}
input[name='name'],
input[name='email']  {
    width: 800px;
}
input:focus-visible {
    outline: var(--clr-primary) auto 1px;
}
label {
    font-weight: bold;
    font-size: var(--ft-text-md);
    margin-bottom: 16px;
}
::placeholder {
    color: grey;
    opacity: .4;
}
::-ms-input-placeholder {
    color: grey;
}

.name-warning,
.email-warning,
.avatar-warning,
.opt-warning {
    color: var(--clr-primary);
    margin-top: 6px;
    font-size: 18px;
    display: none;
}

.opt-warning {
    bottom: 190px;
}

input,
.avatars {
    text-align: center;
    border-radius: 40px;
    font-size: var(--ft-text-md);
    padding: 4px;
}
.name {
    top: 190px;
}
.email {
    top: 320px;
}
.avatar {
    top: 450px;
    gap: 20px;
}
.avatars {
    gap: 32px;
}
.avatars-bg {
    left: 50%;
    transform: translateX(-50%);
    top: 500px;
}
.avatar-img {
    border-radius: 50%;
}
.avatar-img:hover{
    filter: drop-shadow(6px 8px 4px grey);
    cursor: pointer;
}
.btn-submit {
    top: 85%;
}
.avatarSelected {
    filter: drop-shadow(6px 8px 4px grey);
}

.checkbox-label {
    left: 50%;
    transform: translateX(-50%);
    top: 735px;
    text-align: left;
    gap: 8px;
    margin-top: 5rem;
    color: var(--clr-text-dark);
    font-size: 28px;
    width: 100%;
}

.checkbox-label input{
    width: 35px;
    height: 35px;
    margin-right: .25rem;
    cursor: pointer;
}


/* STATS */
.stats {
    top: 25px;
}
.stats,
.stats .stats-points,
.stats .stats-stars {
    justify-content: flex-start;
}
.stats .stats-badge {
    width: 100px;
}
.stats .stats-points,
.stats .stats-stars {
    gap: 8px;
    background-color: #fff;
    padding: 8px 40px;
    border-radius: 40px;
    border: 1px solid var(--clr-primary)
}
.stats .stats-points .stats-points-total,
.stats .stats-points .stats-points-label,
.stats .stats-stars .stats-stars-total,
.stats .stats-stars .stats-stars-label {
    font-size: var(--ft-text-sm);
}
.stats .stats-points .stats-points-total,
.stats .stats-stars .stats-stars-total {
    font-family: 'Montserrat-Bold';
}


/* PLAYER */
.player {
    bottom: 40px;
    justify-content: flex-start;
}
.player-avatar {
    width: 150px;
}
.player-ranking {
    left: 145px;
    bottom: 40px;
    cursor: pointer;
    width: 50px;
}
.civic-level-label {
    font-family: 'Montserrat-Bold';
    font-size: var(--ft-text-md);
    color: var(--clr-primary);
}
.civic-level-bar-current {
    margin-top: 7px;
    margin-left: 35px;
    max-width: 445px;
    height: 22px;
    border-radius: 75px;
    background-color: var(--clr-primary);
}
#closing-window-message .civic-level-label {
    font-size: 12px;
}
#closing-window-message .civic-level-bar-current {
    margin-left: 0;
}


/* SITUATIONS */
.situation-hotspot {
    width: 5%;
    cursor: pointer;
}
.situation-hotspot[data-value="0"] {
    left: 290px;
    top: 350px;
}
.situation-hotspot[data-value="1"] {
    left: 570px;
    top: 615px;
}
.situation-hotspot[data-value="2"] {
    left: 1000px;
    top: 500px;
}
.situation-hotspot[data-value="3"] {
    left: 1450px;
    top: 250px;
}
.situation-hotspot[data-value="4"] {
    left: 1390px;
    top: 670px;
}
.situation-info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    bottom: 40px;
    right: -800px;
    border-radius: 40px;
    background: var(--clr-area);
    padding: 40px;
    width: 750px;
    height: 820px;
}
.situation-title,
.situation-description,
.situation-question {
    border: 3px solid #fff;
    color: var(--clr-text-light);
    border-radius: 40px;
    padding: 24px 32px;
    background-color: var(--clr-bg-blur-lt);
}
.situation-title,
.situation-question {
    font-size: var(--ft-text-md);
    width: 80%;
    border-radius: 70px;
}
.situation-title-resource {
    top: 40px;
    left: 145px;
    width: 60%;
}
.situation-question {
    top: 40px;
    left: 145px;
    width: 75%;
}
.situation-description {
    font-size: var(--ft-text-md);
    margin-bottom: 40px;
    border-radius: 50px;
}
.situation-description-resource {
    top: 180px;
    left: 145px;
    width: 85%;
    border: none;
    background-color: rgba(84, 84, 84, .2);
    border-radius: 0;
    padding: 40px;
}
.situation-nav {
    margin-bottom: 40px;
    gap: 32px;
    bottom: 40px;
    right: 195px;
}
.go-back {
    right: 45px;
    top: 60px;
    cursor: pointer;
}
.goBackIdea,
.goBackResources {
    top: 60px;
    left: 40px;
    cursor: pointer;
}
.goBackRank {
    top: 30px;
    right: 30px;
    cursor: pointer;
}
.situations-area {
    z-index: 6;
}


/* BADGES */
.new-badge {
    background-color: var(--clr-bg-blur-dk);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    gap: 80px;
    display: flex;
    display: none;
}
.new-badge .badge-title,
.new-badge .badge-type,
.new-badge .badge-text {
    color: var(--clr-text-light);
}
.new-badge .badge-text-final {
    position: absolute;
    bottom: 310px;
    display: none;
}
#btnContinue {
    cursor: pointer;
}


/* IDEAS */
.ideas-area {
    top: 0;
    left: 0;
    background-image: none;
    background: var(--clr-area);
    position: absolute;
    justify-content: flex-start;
    padding: 0 50px;
}
.idea-container {
    overflow-x: auto; /* Add horizontal scroll */
    transform: rotateX(180deg);
    -moz-transform: rotateX(180deg); /* Mozilla */
    -webkit-transform: rotateX(180deg); /* Safari and Chrome */
    -ms-transform: rotateX(180deg); /* IE 9+ */
    -o-transform: rotateX(180deg); /* Opera */
    padding: 40px;
    max-width: 100%;
    margin-top: 175px;
}
.idea-container > * {
    transform: rotateX(180deg);
    -moz-transform: rotateX(180deg); /* Mozilla */
    -webkit-transform: rotateX(180deg); /* Safari and Chrome */
    -ms-transform: rotateX(180deg); /* IE 9+ */
    -o-transform: rotateX(180deg); /* Opera */
}
.add-idea,
.cancelIdea,
.saveIdea {
    cursor: pointer;
}
#savedIdeas .idea,
#inputContainer {
    padding: 10px;
    margin-right: 10px;
    width: 550px;
    height: 780px;
    background-color: #fff;
    border-radius: 40px;
    text-align: center;
}
#inputContainer,
#savedIdeas .idea {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
}
#ideaInput {
    width: 75%;
    font-size: var(--ft-text-md);
    height: 300px;
}
#savedIdeas {
    display: flex;
}
#savedIdeas .idea .idea-text{
    width: 85%;
    text-align: left;
    font-size: var(--ft-text-md);
    height: 250px;
    overflow-y: auto;
    margin-top: 80px;
    padding-right: 16px;
    word-wrap: break-word;
}
#savedIdeas .idea .idea-votes{
    position: absolute;
    bottom: 140px;
    display: none;
}
#savedIdeas .idea .idea-votes.visible {
    display: block;
}

#savedIdeas .player-avatar {
    position: absolute;
    top: 40px;
    z-index: 1;
}
#savedIdeas .btn {
    position: absolute;
    bottom: 40px;
}
#savedIdeas .btn.disabled {
    display: none;
}
.new-btns {
    display: flex;
    gap: 20px;
}
#savedIdeas .new-btns .btn-save {
    left: 100px;
}
#savedIdeas .new-btns .btn-cancel {
    right: 100px;
}

.editable {
    border: 1px solid #ddd;
    padding: 5px;
}

::-webkit-scrollbar {
    width: 2px;
    border-radius: 8px;
}

#savedIdeas .idea p::-webkit-scrollbar {
    width: 8px;
    border-radius: 8px;
}

.ranking .wrapper::-webkit-scrollbar {
    width: 8px;
    border-radius: 8px;
}

.player-stars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    background-color: var(--clr-secondary);
    padding: 8px;
    border-radius: 0px 40px 40px 0px;
    padding-left: 32px;
    color: var(--clr-text-light);
    position: absolute;
    left: 330px;
    top: 110px;
}
.player-stars p {
    font-size: 20px;
}

.idea-feedback {
    position: absolute;
    bottom: 140px;
    font-size: var(--ft-text-md);
    color: var(--clr-secondary);
    font-family: 'Montserrat-Bold';
}

.player-name-ideas {
    position: absolute;
    top: 200px;
    font-size: var(--ft-text-sm);
    color: var(--clr-secondary);
    font-family: 'Montserrat-Bold';
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 8px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--clr-secondary);
    border-radius: 8px;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-secondary);
}


/* RESOURCES */
.resources-area {
    top: 0;
    left: 0;
    background-image: none;
    background: var(--clr-area);
    display: none;
    position: absolute;
}

.resources-area .resources-block {
    height: 600px;
    width: 99%;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 32px;
    margin-top: 420px;
    display: none;
}

.resources-area .wrapper::-webkit-scrollbar {
    width: 18px;
}

#resourcesAreaPdfs,
#resourcesAreaLinks,
#resourcesAreaVideos {
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row-reverse;
    gap: 32px;
}

#resourcesAreaPdfsInfo,
#resourcesAreaLinksInfo,
#resourcesAreaVideosInfo {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

#resourcesAreaPdfsInfo div,
#resourcesAreaLinksInfo div,
#resourcesAreaVideosInfo div {
    width: 300px;
    height: 250px;
    padding: 16px;
    background-color: #fff;
    color: #ce5b62;
    border-radius: 40px;
    border-radius: 20px;
    cursor: pointer;
}

#resourcesAreaPdfsInfo div:hover,
#resourcesAreaLinksInfo div:hover,
#resourcesAreaVideosInfo div:hover {
    opacity: .8;
}


/* RANKING */
.ranking {
    bottom: 40px;
    right: -800px;
    border-radius: 40px;
    border: 5px solid var(--clr-primary);
    background: #fff;
    width: 800px;
    height: 850px;
    display: flex;
}
.ranking .wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    padding: 10px 45px;
    width: 750px;
    height: 685px;
    overflow-x: hidden;
    overflow-y: scroll;
    margin-top: 100px;
}
.ranking-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.ranking-img {
    display: flex;
    align-items: center;
}
.ranking-avatar {
    width: 15%;
    position: absolute;
    z-index: 1;
}
.ranking-position {
    background-color: var(--clr-secondary);
    padding: 8px;
    border-radius: 0px 40px 40px 0px;
    padding-left: 32px;
    color: var(--clr-text-light);
    position: absolute;
    left: 140px;
    font-size: 20px;
}
.ranking-info-score {
    position: absolute;
    left: 280px;
}
.ranking-info-score .ranking-name {
    color: var(--clr-secondary);
    font-family: 'Montserrat-Black';
    font-size: var(--ft-text-sm);
}
.ranking-info-score .ranking-points {
    color: var(--clr-secondary);
    font-family: 'Montserrat-Bold';
    font-size: 1.15rem;
}
.ranking-badge {
    width: 15%;
}


/* CLOSE COURSE POPUP STYLES */
#closing-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-bg-blur-dk);
    z-index: 100000;
}
#closing-window-message {
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50% );
    width: 100%;
    max-width: 1000px;
    padding: 1em 3em;
    color: var(--clr-text-light);
    text-align: center;
}

#closing-window-message .results-box,
#closing-window-message .exit-box {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: left;
    align-items: stretch;
}

#closing-window-message .results-box {
    bottom: -50px;
    gap: 40px;
}

#closing-window-message .results-box #statsBadge {
    width: 80%;
    margin-bottom: 16px;
    margin-top: 16px;
}

#closing-window-message .exit-box  {
    bottom: -200px;
    justify-content: space-evenly;
    gap: 32px;
    background: rgba(255, 255, 255, .5);
    padding: 18px;
    border-radius: 70px;
    font-size: var(--ft-text-sm);
}

#closing-window-message .exit-box p {
    font-size: var(--ft-text-sm);
    font-family: 'Montserrat-Bold';
}

#closing-window-message .subtitle,
#closing-window-message .subtitle span {
    font-size: 2.5rem;
    font-family: 'Montserrat-Bold';
}

#closing-window-message .subtitle {
    left: 50%;
    transform: translateX(-50%);
    color: var(--clr-text-light);
    bottom: 250px;
    width: 100%;
}

#closing-window-message .results-box-badge {
    width: 200px;
    padding: 32px;
    border-radius: 30px 0 0 30px;
}

#closing-window-message .results-box-stats {
    justify-content: space-between;
    align-items: flex-start;
}


#closing-window-message .results-box-stats > * {
    margin-bottom: 12px;
}

#closing-window-message .results-box-stats .stats-points-total {
    font-size: var(--ft-text-sm);
    color: var(--clr-primary);
    font-family: 'Montserrat-Bold';
}
#closing-window-message .results-box-stats .no-mg {
    margin-bottom: 0!important;
}

#closing-window-message .results-box-stats  .results-box-stats-text-bg {
    font-size: var(--ft-text-md);
    font-family: 'Montserrat-Bold';
}

#closing-window-message .results-box-badge {
    text-align: center;
    background: #e0e0e0;
}

#closing-window-message .results-box-badge p {
    color: var(--clr-secondary);
}

#closing-window-message .btn {
    font-size: 16px;
}
#closing-window-message #closing-window-yes {
    margin-right: 8px;
}

/* STATUS & PRE-CLASSES */
.no-click{
    pointer-events: none;
}
.hidden{
    opacity: 0;
    pointer-events: none;
}
.d-none{
    display: none;
}
.d-block{
    display: block !important;
    animation: fade-in 0.1s both 1 1s;
}
.deactivated {
    opacity: 0.5;
}
.clicked {
    background-color: #cdcdcd!important;
    color: #fff!important;
}
.visited {
    filter: grayscale(1)
}
.p-abs {
    position: absolute;
}
.d-flex {
    display: flex;
}
.f-col {
    flex-direction: column;
}
.a-center {
    align-items: center;
}
.j-center {
    justify-content: center;
}
.btn-hover {
    transform: scale(1.1);  
}

/* GAME OVER SCREEN */
.end {
    width: 100%;
}
