html, body {margin: 0; height: 100%; overflow: hidden}

html {
        font-family: "Dongle", sans-serif;
        font-weight: 400;
        font-style: normal;
        -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

button, p, h1, h2, h3, h4, h5, h6 {
        font-family: "Dongle", sans-serif;
        font-weight: 400;
        font-style: normal;
}
.body_background {
    animation-name: background_move;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: 4s;
    background-color: #ffffff;
    background-size: 100px 100px;
    transition: all 1s;
    background-image:
    linear-gradient(to right, rgb(242, 232, 212) 2px, transparent 2px),
    linear-gradient(to bottom, rgb(242, 232, 212) 2px, transparent 2px);
}

.body_background.profile {
    background-color: #fff2f2;
    background-image:
        linear-gradient(to right, rgb(255, 210, 227) 2px, transparent 2px),
        linear-gradient(to bottom, rgb(255, 210, 227) 2px, transparent 2px);
}

.body_background.draw {
    background-color: #f3fff2;
    background-image:
        linear-gradient(to right, rgb(164, 240, 177) 2px, transparent 2px),
        linear-gradient(to bottom, rgb(164, 240, 177) 2px, transparent 2px);
}

.body_background.play {
    background-color: #ffffff;
    background-image:
    linear-gradient(to right, rgb(242, 232, 212) 2px, transparent 2px),
    linear-gradient(to bottom, rgb(242, 232, 212) 2px, transparent 2px);
}

.body_background.deck {
    background-color: #f2feff;
    background-image:
        linear-gradient(to right, rgb(171, 255, 243) 2px, transparent 2px),
        linear-gradient(to bottom, rgb(171, 255, 243) 2px, transparent 2px);
}

.body_background.store {
    background-color: #fffcdc;
    background-image:
        linear-gradient(to right, rgb(252, 221, 135) 2px, transparent 2px),
        linear-gradient(to bottom, rgb(252, 221, 135) 2px, transparent 2px);
}

@keyframes background_move {
    0% {background-position: 0px 0px; }
    100% {background-position: 100px 100px;}
}

@keyframes background_move_landscape {
    0% {background-position: 0px 0px; }
    100% {background-position: 52px 52px;}
}

@media only screen and (orientation: landscape){
    .body_background {
        animation-name: background_move_landscape;
        background-size: 52px 52px;
    }
}

/* FOOTER */

.main_footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 9%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.2) ;
}

@media only screen and (orientation: landscape){
    .main_footer {
        position: fixed;
        bottom: 20px;
        left: 35%;
        width: 30%;
        height: 6%;
        border-radius: 1vh;
        box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2) ;
    }
}

.footer_content {
    width: 90%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

@media only screen and (orientation: landscape){
    .footer_content {
        width: 100%;
        height: 90%;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
    }
}

.footer_btn {
    border-radius: 25%;
    height: 75%;
    background-color: #b6b6b6;
    border: none;
    display: flex;
    aspect-ratio: 1;
    cursor: pointer;
    align-items: center;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}

.footer_btn:hover {
    margin-bottom: 12px;
}

.btn_text {
    margin: 0;
}

.footer_btn.profile {
    background-color: #FFC5C5;
}
.footer_btn.draw {
    background-color: #c2ffc2;
}
.footer_btn.play {
    background-color: #BBCBFF;
}
.footer_btn.deck {
    background-color: #D7F5FF;
}
.footer_btn.store {
    background-color: #FFE98A;
}


/* CARD MODEL */


.card_container {
    width: 100%;
    height: 100%;
    display: flex;
    bottom: 9%;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.card_btn {
    display: none;
}


@media only screen and (orientation: landscape){
    .card_btn {
        user-select: none;
        display: block;
        width: 100px;
        height: 45px;
        font-size: 32px;
        background-color: #FFE98A;
        border-radius: 1.5vh;
        margin: 8px;
        text-align: center;
        line-height: 50px;
        cursor: pointer;
        
        /* CORREÇÃO: Inicializa uma borda invisível estática para evitar artefatos pretos */
        border: 0px solid transparent;
        
        /* Configura a sombra base 3D simulando a profundidade do botão */
        box-shadow: 0px 6px 0px #bea740, 0px 6px 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .card_btn:hover {
        /* CORREÇÃO: Eleva o botão sem alterar margens ou criar bordas destrutivas */
        transform: translateY(-4px);
        
        /* Aumenta a sombra na base proporcionalmente à elevação */
        box-shadow: 0px 10px 0px #bea740, 0px 10px 14px rgba(0, 0, 0, 0.15);
    }
    
    .card_btn:active {
        /* Simula o clique afundando o botão totalmente */
        transform: translateY(6px);
        box-shadow: 0px 0px 0px #bea740, inset 0px 4px 6px rgba(0, 0, 0, 0.2);
        transition: none;
    }
}


.card {
    background-color: white;
    min-height: 80%;
    max-height: 80%;
    max-width: 96%;
    margin-bottom: 8vh;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.3);
    aspect-ratio: 0.6 / 1;
    border-radius: 1.5vh;
    cursor: pointer;
    user-select: none;
}

.content_card {
    position: relative;
    height: 100%;
    width: 100%;
}

.card.back {
    max-width: 90%;
    animation-name: turn;
    animation-duration: 1s;
    animation-timing-function: cubic-bezier(1, 0, 0, 1);
    user-select: none;
}

.card .back .card_img{
    animation: wiggle 2.5s infinite;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
   80% { transform: rotate(0deg); }
   85% { transform: rotate(5deg); }
   95% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.card.right {
    animation-name: to_right;
    animation-duration: 1s;
    animation-timing-function: ease;
}

.card.left {
    animation-name: to_left;
    animation-duration: 1s;
    animation-timing-function: ease;
}

@keyframes turn {
    0% {max-width: 96%; transform: scale(1,1);}
    50% {max-width: 96%; transform: scale(0.02,0.6);}
    100% {max-width: 96%; transform: scale(1,1);}
}

@keyframes to_right {
    0% {max-width: 96%;}
    60% {
        transform: translateX(120vw);
    }
    61%{
        transform: scale(0%);
    }
}

@keyframes to_left {
    0% {max-width: 96%;}
    60% {
        transform: translateX(-120vw);
    }
    61%{
        transform: scale(0%);
    }
}

/* CARD BACKGROUNDS */

.card.flower {
    background-size: 200px 200px;
    background-image: url("patterns/pattern.svg");
}



@media only screen and (orientation: landscape){
 
}


/* CARD INSIDE */


.card_header {
    margin: 0px;
    display: block;
    width: 100%;
    text-indent: 3%;
    line-height: 4.5vh;
    background-color: #BBCBFF;
    text-overflow: clip;
    color: white;
    padding-top: 0.7vh;
    font-size: 4.2vh;
    border-radius: 1.5vh 1.5vh 0px 0px;
    text-wrap-mode: nowrap;
}

.header_close{
    position: absolute;
    right: 2vh;
}

.card_header.profile {
    background-color: #fa6990;
}

.card_header.new_card {
    background-color: #7ad36c;
}

.card_header.deck {
    background-color: #4850e5;
}

.card_header.store {
    background-color: #ffae00;
}

.card_header.freeze {
    background-color: #01c6b1;
}

.card_header .header_btn_freeze{
    position: absolute;
    right: 0px;
    top: 0px;
    height: 5.2vh;
    aspect-ratio: 1/1;
    background-color: #01c6b1;
    border-radius: 0 1.5vh 0 0 ;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card_header .header_btn_freeze img{
    height: 74%;
}

.card_header .header_btn_deck{
    position: absolute;
    right: 0px;
    top: 0px;
    height: 5.2vh;
    aspect-ratio: 1/1;
    background-color: #4850e5;
    border-radius: 0 1.5vh 0 0 ;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card_header .header_btn_deck img{
    height: 74%;
}

/* CARD CONTENT */
.card_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 92%;
    width: 100%;
}

.card_content .txt_front {
    font-size: 4.5vh;
    display: flex;
    height: 30%;
    text-align: center;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 2.5vh;
}
.card_content .txt_back {
    font-size: 4.5vh;
    display: flex;
    height: 30%;
    text-align: center;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 2.5vh;
}

.card_img {
    max-width: 76%;
    border: #bac0f7;
    border-radius: 1vh;
    border-width: 0.5vh;
    border-style: solid;
}

.card_content .unit_category {
    width: 15%;
    border-radius: 0.2vh 0.2vh 1.6vh 1.6vh;
    top: -0.5vh;
    right: 2vw;
    aspect-ratio: 1 / 1;
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
}

.card_content .unit_category_img {
    width: 80%;
    height: 80%;
}

/* LOGIN PAGE */


.login_form {
    display: flex;
    position: static;
    height: 90%;
    width: 100%;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.login_form img {
    max-width: 86%;
}
.login_form h1 {
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-wrap-mode: nowrap;
    text-overflow: hidden;
}

.login_form h2 {
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-wrap-mode: nowrap;
    text-overflow: hidden;
}

.card_input {
    all: unset;
    background-color: #f5f5f5;
    text-indent: 4%;
    border-radius: 1.5vh;
    width: 80%;
    height:8%;
    font-size: 3vh;
    display: flex;
    align-items: center;
}

.card_button {
    all: unset;
    color: white;
    text-indent: 4%;
    border-radius: 1.5vh;
    display: block;
    width: 80%;
    height:8%;
    font-size: 3vh;
}



.card_button.profile {
    background-color: #fa6990;
}

.card_button.new_card {
    background-color: #7ad36c;
}

.card_button.play {
    background-color: #4850e5;
}

.form_new_card {
    display: flex;
    position: static;
    height: 84%;
    width: 100%;
    margin-top: 2vh;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.form_new_card img {
    max-width: 76%;
}

.img_new_card {
    border: #7ad36c;
    border-radius: 1vh;
    border-width: 0.5vh;
    border-style: solid;
    aspect-ratio: 1/1;
    width: 78%;
}

.img_new_profile_pic {
    border: #fa6990;
    border-radius: 1vh;
    border-width: 0.5vh;
    border-style: solid;
    aspect-ratio: 1/1;
    width: 78%;
}

select {
    background-image: url(imgs/draw.svg);
}

.category_selector {
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    place-items: center;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    border-radius: 1.5vh;
}

.category_selector_container {
    display: flex;
    position: static;
    height: 84%;
    width: 100%;
    margin-top: 2vh;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.category_unit {
    color: white;
    margin-top: 1vh;
    width: 80%;
    height: 5.2vh;
    display: flex;
    background-color: #5e5e5e;
    justify-items: center;
    align-items: center;
    border-radius: 1.5vh;
}
.category_unit img {
    height: 75%;
    aspect-ratio: 1/1;
    margin-left: 1vh;
}
.category_unit span {
    font-size: 3vh;
    text-indent: 1vh;
}

.cat_select {
    transition: 0.1s all linear;
    appearance: none;
    margin: 0;
    height: 3vh;
    width: 3vh;
    border: none;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    right: 14%;
}
.cat_select:checked {
  border: 0.6vh solid #000000;
}

.hidden {
    display: none;
}

.card_input_categories {
    all: unset;
    background-color: #f5f5f5;
    text-indent: 4%;
    border-radius: 1.5vh;
    width: 80%;
    height:8%;
    font-size: 3vh;
    display: flex;
    
    align-items: center;
    justify-content: space-between;
}

.card_category {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 1.5vh 1.5vh 1.5vh 1.5vh;
    
}

.card_category img{
    height: 80%;
    margin-left: 1vh;
    display: block;
}
.card_category .input_label{
    display: block;
    width: 100%;
    color: #707070;
}

.small_input_btn {
    color: white;
    text-indent: 0;
    line-height: 5.4vh;
    text-align: center;
    width: 20%;
    height: 100%;
    background-color: #7ad36c;
    border-radius: 1.5vh 1.5vh 1.5vh 1.5vh;
}

.color_container {
    width: 80%;
    height:8%;
    display: flex;
    border-radius: 1.5vh;
    background-color: #f0f0f0;
    align-items: center;
    justify-content: space-between;
}

.color_pick {
    height: 100%;
    aspect-ratio: 1 / 1;
    background-color: #5e5e5e;
    border-radius: 1.5vh;
}

.color_pick.checked{
    box-sizing: border-box;
    border: 0.5vh solid rgba(255, 255, 255, 0.4);
}

.color_pick.profile{    background-color: #fa6990;}
.color_pick.draw{    background-color: #7ad36c;}
.color_pick.play{    background-color: #01c6b1;}
.color_pick.deck{    background-color: #4850e5;}
.color_pick.store{    background-color: #ffae00;}

.icon_container {
    width: 80%;
    height:16%;
    display: flex;
    gap: 2%;
    border-radius: 1.5vh;
    background-color: #f0f0f0;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.icon_pick {
    height: 46%;
    aspect-ratio: 1 / 1;
    background-color: #5e5e5e;
    border-radius: 1.5vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 0.5vh solid rgba(255, 255, 255, 0); 
}

.icon_pick img{
    height: 90%;
    min-width: 90%;
}

.icon_pick.checked {
    box-sizing: border-box;
    border: 0.5vh solid rgba(255, 255, 255, 0.5); 
}


.count {
    position: fixed;
    top: 10px;
}

.icon_pick.profile{    background-color: #fa6990;}
.icon_pick.draw{    background-color: #7ad36c;}
.icon_pick.play{    background-color: #01c6b1;}
.icon_pick.deck{    background-color: #4850e5;}
.icon_pick.store{    background-color: #ffae00;}
.icon_pick.dark{    background-color: #3b3b3b;}



.art_mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-direction: column;
}

.art_mode canvas {
    background-color: white;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 5px 15px;
    margin-bottom: 1vh;
}

.art_mode .tools_container {
    display: flex;
    width: 100%;
    height: 7vh;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media only screen and (orientation: landscape){
 .art_mode .tools_container {
    width: 50vh;
}
}

.yellow{
    background-color: #ffe400 !important;
}
.cyan{
    background-color: #01c6b1 !important;
}
.black{
    background-color: #000000 !important;
}
.save {
    background-color: #7ad36c !important;
}
.art_mode .tool {
    box-shadow: rgba(0, 0, 0, 0.7) 0px 2px 8px;
    display: inline-block;
    margin: 0 0.5vh;
    height: 90%;
    max-width: 16%;
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
    border-radius: 1.2vh;
}

.selected_tool {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-style: solid;
    border-color: rgba(250, 105, 144, 0.8);
    border-width: 0.4vh;
}
.selected_color {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-style: solid;
    border-color: rgba(250, 105, 144, 0.8);
    border-width: 0.4vh;
}

.discard_drawing {
    width: 15%;
    height: 100%;
    background-color: #fa6990;
}

.mode_container {
    width: 100%;
    display: flex;
    justify-items: center;
    flex-direction: column;
    align-items: center;
}

.mode_btn_container {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2vh;
}

.mode_button {
    all: unset;
    color: white;
    text-indent: 4%;
    border-radius: 1.5vh;
    display: block;
    width: 80%;
    height:5vh;
    font-size: 3vh;
}
.mode_button.play{
    background-color: #4850e5;
}

.mode_btn {
    text-align: center;
    background-color: #d4d4d4;
    height: 5vh;
    width: 31%;
    display: inline-block;
    border-radius: 1.5vh;
    font-size: 3vh;
    line-height: 5vh;
}
.mode_btn.active {
    box-shadow:inset 0px 0px 0px 0.4vh #4850e5;
}

.range_container {
    width: 80%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.2vh;
    flex-wrap: wrap;
}
.range_container span {
    display: block;
}
.mode_range {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 3vh; /* Specified height */
  border-radius: 1.5vh;
  background: #d4d4d4; /* Grey background */
  outline: none; /* Remove outline */
  -webkit-transition: .2s; /* 0.2 seconds transition on hover */
  transition: opacity .2s;
}
.mode_range::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 3vh; /* Set a specific slider handle width */
  height: 4vh; /* Slider handle height */
  background: #4850e5; /* Green background */
  border-radius: 1vh;
  cursor: pointer; /* Cursor on hover */
}

.notification {
    height: 6vh;
    aspect-ratio: 0.62 / 0.1;
    background-color: #e6e6e6;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0px;
    z-index: 4;
    border-radius: 0vh 0vh 1.5vh 1.5vh;
    animation-name: in-out;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1vh;
}
@keyframes in-out {
  0% {transform: translate(0vh,-6vh);}
  12% {transform: translate(0vh,0vh);}
  88% {transform: translate(0vh,0vh);}
  100% {transform: translate(0vh,-8vh);}
}

.notification img {
    height: 70%;
    margin-right: 1vh;  
}

.notification span {
    flex: 1;
    font-size: 3vh;
    text-align: center;
    color: #333333;
}

.deck_container {
    width: 92%;
    margin-top: 2%;
    margin-left: 4%;
    height: 92%; /* Ajustado ligeiramente para deixar espaço para os page_dots abaixo */
    bottom: 9%;
    user-select: none;

    /* TRANSFORMAÇÃO EM GRID COMPLETO 3x4 */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Cria 3 colunas idênticas */
    grid-template-rows: repeat(4, 1fr);    /* Cria 4 linhas idênticas */
    gap: 1.5vh;                            /* Espaçamento uniforme entre as células */
    align-items: center;
    justify-items: center;
}

.deck_card {
    width: 92%; /* Ocupa quase toda a largura da célula da grid */
    height: 96%; /* Ocupa quase toda a altura da célula da grid */
    aspect-ratio: 1 / 1.2;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.3);
    flex-wrap: wrap;
    border-radius: 0.7vh;
    margin: 0; /* A grid gerencia os espaços de forma automática */
}

.deck_card img {
    width: 100%;
}

.deck_card .edit_btn {
    display: flex;
    width: 50%;
    height: 20%;
    background-color: #4850e5;
    border-radius: 0 0 0 0.7vh;
    justify-content: center;
    align-items: center;
}

.deck_card .edit_btn:hover {
    background-color: #373dbe;
}

.deck_card .edit_btn img {
    height: 80%;
}

.deck_card .freeze_btn {
    display: flex;
    width: 50%;
    height: 20%;
    background-color: #01C6B1;
    border-radius: 0 0 0.7vh 0;
    justify-content: center;
    align-items: center;
}

.deck_card .freeze_btn:hover {
    background-color: #0a9b8c;
}

.deck_card .freeze_btn img {
    height: 80%;
}

.deck_card .delete_btn {
    display: flex;
    width: 50%;
    height: 20%;
    background-color: #fa6990;
    border-radius: 0 0 0.7vh 0;
    justify-content: center;
    align-items: center;
}
.deck_card .delete_btn:hover {
    background-color: #dd5075;
}
.deck_card .delete_btn img {
    height: 80%;
}

.page_dots {
    width: 100%;
    display: flex;
    gap: 1.2vh;
    position: absolute;
    bottom: 1vh;
    align-items: center;
    justify-content: center;
}

.page_dots .dot {
    width: 1.7vh;
    height: 1.7vh;
    background-color: #acacac;
    border-radius: 50%;
}

.page_dots .dot_active {
    width: 1.7vh;
    height: 1.7vh;
    background-color: #4d4d4d;
    border-radius: 50%;
}

#card-canvas {
    
    border-radius: 1vh;
    border-width: 0.5vh;
    border-style: solid;
    aspect-ratio: 1/1;
    width: 78%;
    box-shadow: none;
}

.card_point {
    height: 12%;
    width: 100%;
    display: flex;
    bottom: 36%;
    position: absolute;
}

.card_point img {
    height: 100%;
    margin-left: 1.5vh;
    animation-name: fish_spaw;
    animation-duration: 0.3s;
}

@keyframes fish_spaw {
    0% { transform: scale(0.6);}
    75% {  transform: scale(1.2);}
    100% { transform: scale(1); }    
}

.deck_point {
    position: absolute;
    height: 32%;
    top: -1.2vh;
    left: -1.4vh;
}

.deck_point img {
    height: 100%;
}

.congrats_wrapper {
    display: flex;
    position: static;
    height: 94%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    row-gap: 1vh;
    align-items: center;
}

.congrats_wrapper img {
    max-width: 76%;
}

.congrats_container {
    width: 78%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4%;
}

.congrats_button {
    all: unset;
    text-align: center;
    color: white;
    border-radius: 1.5vh;
    display: inline;
    width: 50%;
    height:5vh;
    font-size: 3vh;
    line-height: 5.5vh;
    cursor: pointer;
}

.congrats_button.play{
    background-color: #4850e5;
}
.congrats_button.freeze{
    background-color: rgb(1, 198, 177);
}

.txt_congrats {
    width: 74%;
    border-radius: 1.5vh;
    border: 0.55vh solid #4850e5;
    text-align: center;
    font-size: 4.5vh;
    height: 14vh;
    line-height: 14vh;
    color: hsl(237, 75%, 59%);
}

.congrats_container .game_report {
    background-color: hsl(237, 75%, 59%);
    font-size: 3vh;
    text-align: center;
    color: white;
    border-radius: 1.5vh;
    height: 5vh;
    width: 30%;
    line-height: 1.7vh;
}

.congrats_container .game_report p{
    margin: 1vh;
}

.card_list {
    width: 78%;
    border-radius: 1.5vh;
    border: 0.55vh solid #4850e5;
    height: 7.5vh;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.card_list .card_image {
    height: 100%;
    border-radius: 1vh;
}

.card_list .card_grade {
   height: 6.5vh; 
   position: absolute;
   top: -3vh;
   left: -4vh;
}

.card_list .card_text_wrapper {
    width: 73%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-left: 1vh;
    justify-content: center;
}

.card_list span {
    display: block;
    font-size: 3vh;
    line-height: 2.4vh;
}