/* Fuentes */
@font-face {
    font-family: 'To Japan';
    src: url(../fonts/allamerican.otf);
}

@font-face {
    font-family: 'Regular';
    src: url(../fonts/allamerican.otf);
}

/* Estilos globales */
html {
    scroll-behavior: smooth;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    scroll-behavior: smooth;
    margin: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    overflow-x: hidden;
}

/* Pantalla de carga */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #7939C8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Contenedor de monedas cayendo */
#falling-coins-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.coin {
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url('../assets/coin.png');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    animation: fall linear forwards;
}

@keyframes fall {
    0% {
        transform: translateY(-100px);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Sección de introducción */
#intro {
    background-image: url('../assets/introbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    padding: 30px;
    color: white;
    position: relative;
    margin-top: 30px;
    display: flex;
    justify-content: space-evenly;
    margin: 0;
}

.guitar {
    width: 55%;
    text-align: center;
    align-items: center;
    margin-left: 11%;
    margin-top: 9%;
}

.guitar img {
    display: block;
    width: 80%;
    height: auto;
}

/* Botón */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    background-image: url('../assets/buttonbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 11%;
    margin-top: 2%;
    z-index: 1;
}

.button-link {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
}

.button-img {
    max-width: 240px;
    height: auto;
    border-radius: 50%;
    pointer-events: auto;
    margin-left: 7px;
    z-index: 1;
    margin-bottom: 20%;
}

/* Imagen responsiva */
.responsiveImage img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: -200px;
    z-index: -1;
}

/* Sección de texto con fondo */
.backgroundText {
    padding: 20px;
    margin-top: -60px;
}

.textlarge {
    margin-top: 0;
    font-family: 'To Japan';
    letter-spacing: 2px; /* Aumenta el espacio entre letras en 2 píxeles */
    font-size: 35px;
    margin-left: 8%;
    margin-right: 8%;
    font-weight: 90;
    text-align: center;
    color: #000000;
}

.especial {
    font-family: 'To Japan';
}

/* Encabezado de token */
.tokenHeader {
    /*background-image: url('../assets/tokenomics.png');*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
    color: #f2cc00;
    text-align: center;
    height: 15vh;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra detrás del texto */

}

.tokenContent {
    font-family: 'To Japan';
    font-size: 120px;
    text-align: center;
}

/* Sección de fondo */
.backgroundSection {
    background-image: url('../assets/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    padding: 20px;
    color: #000;
}

.animated {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.redMark {
    width: 95%;
    position: absolute;
    z-index: -1;
}

/* Acordeón */
.accordion {
    font-family: 'Sans-serif';
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    font-size: 20px;
    margin-bottom: 5%;
}

.accordion-item button {
    font-family: 'To Japan';
    width: 100%;
    padding: 10px;
    text-align: left;
    border: none;
    background-color: #f2cc00;
    color: #FFDC90;
    cursor: pointer;
    position: relative;
    font-size: 25px;
}

.accordion-title {
    font-weight: bold;
}

.icon {
    position: absolute;
    right: 20px;
    top: 10px;
    transition: transform 0.2s ease-in-out;
}

[aria-expanded='false'] > .icon {
    transform: rotate(0deg);
}

[aria-expanded='true'] > .icon {
    transform: rotate(45deg);
}

.accordion-content {
    overflow: hidden;
    transition: max-height 0.2s ease-in-out;
    background-color: #FFDC90;
    max-height: 0;
}

.accordion-content ul {
    padding: 20px;
}

.accordion-content li {
    padding: 5px 0;
}

/* Tokenomics */
#tokenomics {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tokenomicsDesc {
    font-family: 'To Japan';
    font-size: 18px;
    font-weight: 400;
    line-height: 32.47px;
    text-align: center;
    color: #ffffff;
}

.tokenomicsImg {
    margin-top: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    width: 53%;
}

.tokenomicsItem {
    display: flex;
    background-image: url('../assets/cuadro.png');
    background-size: contain;
    background-repeat: no-repeat;
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0px 15px 0px 0px #C59838;
    margin-bottom: 10%;
}

.tokenomicsItem img {
    width: 250px;
    height: 250px;
}

.tokenomicsItem h3 {
    font-family: 'To Japan';
    font-size: 42px;
    font-weight: 400;
    line-height: 64.93px;
    text-align: center;
    color: rgb(255, 255, 255);
    text-shadow: 0px 6px 0px #F2CC00;
}

.tokenomicsItem div {
    font-family: 'To Japan';
    font-size: 23px;
    font-weight: 400;
    line-height: 41.49px;
    text-align: center;
    color: #000000;
}

/* Texto centrado */
.center {
    margin-top: 0;
    width: 100%;
    text-align: center;
    font-family: 'To Japan';
    font-size: 25px;
    line-height: 30.04px;
    font-weight: 100;
    color: #ffffff;
    text-shadow: 0px 3px 0px #000000;
}

/* Botones sociales */
.socialButtons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -10%;
}

.ButtonIcons {
    display: flex;
    justify-content: space-around;
    width: 60%;
    margin-top: 10%;
    margin-bottom: 5%;
}

.icons {
    width: 142px;
    height: 143px;
    background-color: white;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 26px;
    transition: transform 0.3s ease;
    box-shadow: 0px 8px 0px 0px #000000;
}

.icons img {
    width: 65px;
    height: 71px;
}

.icons:hover {
    transform: scale(1.2);
}

.communityButton {
    text-decoration: none;
    color: #000000;
    font-family: 'To Japan';
    font-size: 20px;
    font-weight: 400;
    line-height: 36.07px;
    text-align: left;
    background-color: white;
    box-shadow: 2px 8px 2px 2px #000000;
    padding: 10px 40px;
    border-radius: 15px;
}

.communityButton:active {
    color: #000000;
}

/* Contrato */
.contract {
    width: 100vw;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contractHeader {
    margin-top: 30px;
    font-family: 'To Japan';
    font-size: 40px;
    font-weight: 400;
    line-height: 72.15px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
    text-shadow: 6px 0px 0px #000000;
}

.contractNumber {
    background-color: white;
    width: 70%;
    padding: 5px;
    font-family: 'To Japan';
    border-radius: 26px;
    margin-bottom: 5%;
    font-size: 26px;
    font-weight: 400;
    line-height: 46.9px;
    text-align: center;
    color: #000000;
    box-shadow: 0px 8px 0px 0px #000000;
    cursor: pointer;
}

/* Pie de página */
.footer {
    display: flex;
    justify-content: space-between;
    height: 445px;
}

.footerContent {
    width: 25vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-left: 7%;
    padding: 40px;
}

/* Media Queries */
@media (max-width: 1350px) {
    /* Estilos para pantallas pequeñas */
    .button-container {
        width: 100%;
        height: 300px;
        margin-top: -150px;
    }

    .button-img {
        max-width: 125px;
        margin-top: -45%;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 15%;
        margin-top: -40%;
    }

    .official {
        width: 100vw;
        display: flex;
        justify-content: center;
    }

    .contractNumber {
        width: 90%;
    }

    .guitar img {
        display: block;
        width: 100%;
        position: relative;
        transform: scale(1.2);
        margin-bottom: 50%;
    }

    .responsiveImage {
        margin-top: 140px;
    }

    .textBar {
        padding: 0;
        width: 100%;
        margin-left: 0;
        transform: scale(0.9);
    }

    .icons {
        transform: scale(0.75);
    }

    .footer {
        padding-top: 20%;
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        width: 100vw;
        height: 100vh;
    }

    .footerImg img {
        position: relative;
        left: 0;
    }
}

@media (max-width: 900px) {
    /* Estilos para pantallas aún más pequeñas */
    #intro {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100vw;
        top: -20px;
    }

    .textBar {
        width: 90vw;
        transform: scale(0.9);
    }

    .contractNumber {
        font-size: 22px;
        letter-spacing: 2px; /* Aumenta el espacio entre letras en 2 píxeles */

        margin: 0;
    }

    .footer {
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        width: 100vw;
    }

    .footerImg img {
        width: 100vw;
        height: 90vh;
    }

    .footerContent {
        width: 90vw;
        justify-content: center;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    #intro {
        background-image: url('../assets/movilbg.png'); /* Ruta de la imagen de fondo para móviles */
        background-size: cover; /* Asegura que la imagen cubra todo el área */
        background-position: center; /* Centra la imagen */
        background-repeat: no-repeat; /* Evita que la imagen se repita */
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center; /* Centra el contenido verticalmente */
        height: 50vh; /* Mantiene la altura fija para que el fondo no se extienda */
        position: relative; /* Para posicionar elementos hijos absolutos */
        margin-top: 3%;
    }

    .guitar {
        position: absolute; /* Permite posicionar el GIF independientemente */
        top: 73%; /* Mueve el GIF hacia abajo; ajusta este valor según lo necesario */
        right: 22%;
        transform: translateY(-50%); /* Centra el GIF verticalmente */
    }

    .guitar img {
        width: 100%;
        max-width: 500px; /* Ajusta el tamaño máximo si es necesario */
        height: auto;
    }

    .button-container {
        margin-top: 15px;
    }
    .button-img {
        width: 80%;
        height: auto;
    }

    .responsiveImage img {
        width: 100%;
        height: auto;
    }

    .backgroundSection {
        padding: 10px;
    }

    .textlarge {
        font-size: 18px;
        margin-left: 5%;
        margin-right: 5%;
    }

    .tokenomicsImg {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .tokenomicsItem {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
    .tokenomicsItem img{
        width: 100%;
        height: auto;
        margin-top: 5px;

    }

    .ButtonIcons {
        flex-direction: column;
        align-items: center;
    }

    .icons {
        margin-bottom: 15px;
    }

    .footerContent img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }
}
