@font-face {
    font-family: 'smashfont';
    src: url('./fonts/smashfont.ttf'),
}

body,
html {
    min-height: 100% !important;
    margin: 0;
    padding: 0;
}

body {
    background: url(./imgs/background-smash-remix.jpg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}




.escenario {
    width: 100%;
    max-width: 250px;
    height: 250px;
    margin: 10px auto;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 3px solid white;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
}

.escenario img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    z-index: 1;
}

.escenario.stage-disabled {
    opacity: 0.45;
    filter: grayscale(0.6);
    pointer-events: none;
}

.escenario.stage-disabled .nombre-escenario {
    opacity: 0.85;
}

.escenario::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.1s ease-in-out;
}

.escenario.selected::before {
    opacity: 1;
}

.escenario .nombre-escenario {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    font-weight: 900;
    font-size: 0.65em;
    padding: 4px;
    transition: opacity 0.1s ease-in-out;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-radius: 8px;
}

.centered-img-arrow {
    display: none;

    width: 35px !important;
    height: 50px !important;
    background: #00366f;
    z-index: 1000;
    zoom: 0.85;
}

.arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    z-index: 1001;
}



.cross-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    zoom: 1.25;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.1s ease-in-out;
    z-index: 3;
}

.cross-overlay img {
    width: 60px;
    height: 60px;
}

.reset-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-image: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    color: white;
    font-weight: 700;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 117, 252, 0.35);
    transition: transform 0.25s;
    z-index: 1100;
}

.reset-button:hover {
    transform: scale(1.1);
}

h1 {
    text-align: center;
    font-family: 'smashfont', sans-serif;
}

.styled-text {
    display: flex;
    align-items: center;
}

hr {
    flex-grow: 1;
    height: 1px;
    background-color: #848080;
    border: none;
    margin: 0 10px;

}

.styled-text hr:last-child {
    width: 40%;
}



ul {
    list-style: none;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    border: 2px solid #00366f;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.2);
}

li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.custom-image {
    width: 32px;
    margin-right: 10px;
}

.gamephase {
    color: black;
    font-weight: 600;
}

.flags-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.flag {
    width: 24px;
}

.pressContainer {
    background: #ffffff80;
    border-radius: 8px;
    padding: 0.2rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    display: none;
}

.shortRulesetContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Centrar verticalmente */



}

.shortRuleset {

    width: 45px !important;
}

.footer {
    text-align: center;
    padding: 10px;
    _background-color: rgba(255, 255, 255, 0.7);
}

.footer a {
    text-decoration: none;
    color: #333;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-panel {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(2, 36, 71, 0.12);
    border-radius: 18px;
    padding: 1.5rem 1.75rem 1.35rem;
    box-shadow: 0 16px 36px rgba(2, 36, 71, 0.12);
}

.footer-made {
    margin: 1rem 0;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #022447;
}

.footer-made a {
    color: #0b4bb7;
    font-weight: 700;
}

.language {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 50%;
}

.language.active {
    border-color: white;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
}


.region {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 50%;
}

.region.selected {
    border-color: white;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
}

.buy-me-a-beer {
    margin-top: 10px;

}

.bmc-btn {
    min-width: unset !important;
    color: #000000;
    background-color: #FFDD00 !important;
    height: 27px !important;
    border-radius: 12px;
    font-size: 14px !important;
    font-weight: Bold;
    border: none;
    padding: 0px 24px;
    line-height: 27px;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    font-family: 'Poppins', sans-serif !important;
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}

.panelInfo {
    border: 1px solid #00366f;
    border-radius: 8px;
    padding: 0.5rem;
}

.displayFirstOptions {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Espacio entre los botones */

}

.displayFirstOptions {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Espacio entre los botones */
}

.displayFOusa {
    background-color: rgb(71 124 201 / 20%);
    border: 2px solid #00366f;
    /* Borde con color */
    border-radius: 8px;
    /* Esquinas redondeadas */
    padding: 0.5rem;
    /* Espaciado interno */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    /* Sombra suave */
}

#gameButtonsContainer {
    display: flex;
    justify-content: center;
    gap: 20px;

}



.gameBCusa {
    background-color: rgba(255, 255, 255, 0.1);
    /* Fondo con transparencia */
    border: 2px solid #00366f;
    /* Borde con color */
    border-radius: 8px;
    /* Esquinas redondeadas */
    padding: 0.5rem;
    /* Espaciado interno */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    /* Sombra suave */
}


.gameButton {
    background-color: white;
    color: #00366f;
    border: 4px solid transparent;
    padding: 8px;
    /* Ajustado */
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Ajustado */
    cursor: pointer;
    _transition: border 0.3s ease-in-out;
}

.gameButton img {
    width: 25px;
    /* Ajustado */
}

.gameButton p {
    margin: 0;
    font-size: 14px;
    /* Ajustado */
}

.gameButton.selected {
    border: 3px solid #00366f;


}

.escenarios-wrapper {
    position: relative;
    /* Asegúrate de que no hay márgenes o paddings que puedan afectar la posición del overlay */
    margin: 0;
    padding: 0;
}

.row.escenarios-container {
    /* Si hay algún margen o padding aquí, también podría afectar la posición del overlay */
    position: relative;

    margin: 0;
    /* padding: 0; */
}

.nameCategory {
    text-align: center;
    color: #00366f;
    font-weight: 700;
    font-size: 1.2rem;
    ;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

#overlay img {
    width: 50%;
    /* Ajusta según tus necesidades */
    transform: rotate(-90deg);
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
}

#overlay p {
    color: white;
    font-size: 24px;
    text-align: center;
    _margin: 0;
    /* Asegúrate de que no hay margen que pueda desplazar el texto */
    padding: 1rem;
}

.fade-out {
    animation-name: fadeOut;
    animation-duration: 0.5s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation-name: fadeIn;
    animation-duration: 0.5s;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation-name: slideDown;
    animation-duration: 0.5s;
    width: 90%;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

#acceptModal {
    padding: 0.5rem;
    background-color: #00366f;
    color: white;
    border-radius: 8px;
    box-shadow: 0px, 0px, 4px, 0px rgba(0, 0, 0, 0.5);
    width: fit-content;
    text-align: end;
    cursor: pointer;
    transition: all 0.5s ease;
}

#acceptModal:hover {
    background-color: #022447;
    cursor: pointer;
}



@keyframes slideDown {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 50%;
        opacity: 1;
    }
}


.section-title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    border-bottom: 2px solid #000;
}

.escenarios-grouped {
    background-color: rgba(255, 255, 255, 0.5);
    /* Fondo blanco semitransparente */
    border-radius: 8px;
    /* Esquinas redondeadas */
    border: 2px solid #0000FF;
    /* Borde azul */
    padding: 15px;
    /* Espaciado interno */
    margin-bottom: 20px;
    /* Espaciado entre grupos de escenarios */
}


.counterpicks {
    margin-top: 1rem !important;
}




.overlay-europe {
    top: 10px !important;
}

.overlay-japan {
    bottom: 0px !important
}


.firstCategory {
    background-color: whitesmoke !important;
}


.modal {
    display: none;
}

.modal.is-open {
    display: block;
}

@media (max-width: 767px) and (orientation: portrait) {

    #overlay img {
        width: 30%;
        /* Ajusta según tus necesidades */
        transform: rotate(-90deg);
        position: absolute;
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
    }

    .escenario {
        height: 95px;
        width: 100%;
    }

    .escenario.selected::before {
        opacity: 0.7;
    }


    .overlay-europe {
        top: 10px !important;

    }
}


.chooseRegion {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 115px;
    margin-bottom: 2rem;
}

.chooseRegionFirst {
    margin-top: auto;
    margin-bottom: auto;
    background: #ffffff80;
    border-radius: 8px;
    padding: 0.2rem;
    width: fit-content;
}




#info-europe {
    display: block;
}


.chooseRegion div {
    cursor: pointer;
}

.info {
    display: block;
}

.pre-game-info {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(2, 36, 71, 0.08);
}

.pre-info-list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pre-info-item {
    flex: 0 0 auto;
}

.pre-info-item img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.pre-game-alert {
    margin-bottom: 0;
    font-weight: 600;
    background: rgba(255, 193, 7, 0.18);
    border: 1px solid rgba(255, 193, 7, 0.4);
    color: #7a5200;
}

.content-panel {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 18px;
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 18px 46px rgba(2, 36, 71, 0.18);
    backdrop-filter: blur(4px);
    margin-bottom: 2rem;
}

.content-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: #022447;
    text-transform: uppercase;
}

.content-title span {
    letter-spacing: 0.06em;
}

.title-logo {
    height: 56px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(2, 36, 71, 0.22));
}

.rules-callout {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    background: rgba(2, 36, 71, 0.06);
    border: 1px solid rgba(2, 36, 71, 0.1);
    box-shadow: 0 12px 28px rgba(2, 36, 71, 0.08);
}

.rules-callout-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #022447;
    margin-bottom: 0.85rem;
}

.rules-callout-title img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: invert(16%) sepia(62%) saturate(1275%) hue-rotate(190deg) brightness(94%) contrast(88%);
}

.rules-callout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem 1.1rem;
}

.rules-callout-item {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(2, 36, 71, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #0b2144;
}

.rules-callout-label {
    font-weight: 700;
    font-size: 0.96rem;
    letter-spacing: 0.03em;
}

.rules-callout-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35rem;
}

@media (max-width: 768px) {
    .content-panel {
        padding: 0.85rem 0.9rem 1.1rem;
        border-radius: 14px;
    }

    .content-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        gap: 0.6rem;
    }

    .title-logo {
        height: 46px;
    }

    .rules-callout {
        padding: 1rem;
        border-radius: 14px;
    }

    .rules-callout-grid {
        gap: 0.65rem;
        grid-template-columns: 1fr;
    }

    .rules-callout-item {
        padding: 0.75rem 0.85rem;
    }

    .footer-panel {
        margin: 0 1rem 1rem;
        padding: 1.1rem 1.2rem;
        border-radius: 16px;
    }

    .footer-made {
        margin: 0.85rem 0;
    }
}

.selected {
    border: 3px solid white;
}



.escenarios-grouped {
    background-color: rgba(255, 255, 255, 0.5);
    /* Fondo blanco semitransparente */
    border-radius: 8px;
    /* Esquinas redondeadas */
    border: 2px solid #00366f;
    /* Borde azul */
    /* padding: 15px;  */
    margin-bottom: 20px;
    /* Espaciado entre grupos de escenarios */
    /* padding:6px; */
}







@media (max-width: 1023px) and (orientation: landscape) {

    #overlay {
        top: 0;
        bottom: 0;
    }

    #overlay img {
        width: 18%;
        /* Ajusta según tus necesidades */
        transform: rotate(-90deg);
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
    }

    .escenario {
        _width: 94px !important;
        height: 100px !important;
        ;
        margin: auto;
    }

    .col-md-2 .col-sm-4 .col-4 {
        padding: 0px !important;
    }

    .gameButton {
        margin-bottom: 1rem;
    }

    .overlay-europe {
        top: 0px !important;
    }

}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-modal {
    background-color: #ffffff;
    /* Establece el fondo del modal en blanco. */
    border-radius: 5px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    width: 90%;
    max-width: 400px;
}

.cookie-message {
    margin-bottom: 20px;
    font-size: 14px;
}

.cookie-btn {
    cursor: pointer;
    border: none;
    padding: 6px 15px;
    /* Ajustado el padding para reducir el tamaño del botón. */
    margin: 0 5px;
    border-radius: 3px;
    transition: background-color 0.3s, border-color 0.3s;
    font-weight: bold;
    font-size: 12px;
    /* Reducido el tamaño de la fuente para los botones. */
    float: right;
}

.cookie-btn-accept {
    background-color: #00366f;
    border: 1px solid #00366f;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background-color: #004a8d;
}

.cookie-btn-decline {
    border: 1px solid #888888;
    background-color: transparent;
    color: #888888;
}

.cookie-btn-decline:hover {
    border-color: #666666;
    color: #666666;
}

.coin {}

/* Estilos para el modal */
.modal-coin {
    display: none;
    /* Ocultar por defecto */
    position: fixed;
    z-index: 100000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content-coin {
    _background-color: rgba(255, 255, 255, 0.601);
    margin: 15% auto;
    /* padding: 20px; */
    _border: 1px solid #888;
    /* width: 80%;  */
    /* max-width: 500px;  */
    position: relative;
    margin-top: 8rem;
    border-radius: 8px;
}

.close-button {
    color: white;
    float: right;
    font-size: 50px;
    font-weight: bold;
    position: absolute;
    right: 45px;
    top: -65px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.full-line {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    /* Añadir padding opcional para espacio alrededor */
}

.full-line img {
    margin: 0 10px;
    /* Espacio entre las imágenes */
    width: 2rem;
    height: 2rem;
}






