@font-face {
    font-family: 'Gill Sans MT Pro Bold';
    src: url('./assets/fonts/GillSansMTPro-Bold.otf') format('opentype');
}

@font-face {
    font-family: 'Gill Sans MT Pro Book';
    src: url('./assets/fonts/GillSansMTPro-Book.otf') format('opentype');
}

@font-face {
    font-family: 'Gill Sans MT Pro Medium';
    src: url('./assets/fonts/GillSansMTPro-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'Gilroy Black';
    src: url('./assets/fonts/Gilroy-Black.ttf') format('opentype');
    font-weight: regular;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy Bold';
    src: url('./assets/fonts/Gilroy-Bold.ttf') format('opentype');
}

@font-face {
    font-family: 'Gilroy BoldItalic';
    src: url('./assets/fonts/Gilroy-BoldItalic.ttf') format('opentype');
}


body,
html {
    background-color: #f4f4f4;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

p, li, span {
    font-family: 'Gill Sans MT Pro Book', sans-serif;
}

h1, h2 {
    font-family: 'Gilroy Black', sans-serif;
}

h3, h4, h5, h6 {
    font-family: 'Gill Sans MT Pro Medium', sans-serif;
}

* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

/* Header */

button {
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

header {
    background-image: url('./assets/background-header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#content {
    overflow: scroll !important;
    height: 80vh;
    padding-bottom: 40px; /* Ajusta según el tamaño del footer */
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    justify-content: space-between;
    padding: 30px 20px;
    gap: 40px;
}

.logo {
    width: 120px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;

    img {
        width: 30px;
        height: 30px;
    }
}

/* Main Content */

main {
    position: relative;
}

#main-background {
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-screen {
    text-align: center;
    color: #0076AA;
    padding: 6rem 0rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-screen h1 {
    font-size: 1.5rem;
    margin-bottom: .2rem;
}

.home-screen p {
    font-size: 1.5rem;
}

.home-btn {
    background-color: transparent;
    border: 3px solid white !important;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    p {
        border-width: inherit;
        border-radius: inherit;
        padding: .2rem 1rem;
        font-size: 1.7rem;
        border-style: inherit;
        border-color: #FA8600;
        margin: 0;
        font-weight: bold;
        background-image: linear-gradient(0deg,
                hsl(32deg 100% 49%) 0%,
                hsl(32deg 96% 50%) 7%,
                hsl(32deg 97% 52%) 14%,
                hsl(31deg 97% 53%) 22%,
                hsl(31deg 97% 54%) 29%,
                hsl(31deg 97% 55%) 36%,
                hsl(31deg 97% 56%) 43%,
                hsl(31deg 98% 56%) 51%,
                hsl(32deg 98% 57%) 58%,
                hsl(32deg 98% 58%) 65%,
                hsl(32deg 99% 58%) 72%,
                hsl(32deg 99% 59%) 79%,
                hsl(32deg 99% 60%) 86%,
                hsl(32deg 100% 61%) 93%,
                hsl(32deg 100% 61%) 100%);
        display: flex;
        align-items: center;

        img {
            width: 40px;
            height: 40px;
            margin-right: 15px;
        }
    }
}

.home-btn:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* footer */

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);

    img {
        width: 250px;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 5px 5px;
        font-size: 9px;
        text-align: center;
    }
}

/* Estilos para la pantalla de preguntas */
.question-screen {
    margin: 0rem auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    gap: 20px;
    color: #6A6D71;
    justify-content: space-around;
}

.question-screen h2 {
    
    font-size: 17px;
}

.question-screen h3 {
    margin: 0;
    font-size: 1rem;
    text-align: start;
}


.question-header {
    padding: 1rem 4rem;
    text-align: center;
    flex: 1;
    background-color: #E5F1F7;

    ul {
        text-align: left !important;
        margin: 0 !important;
    }
}

.question-content {
    padding: 0rem 2rem 2rem 2rem;
    width: 100%;
    flex: 2;
}

.btn-group {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.answer-btn {
    background-color: transparent;
    border: 3px solid white !important;
    color: white;
    display: inline-block;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    p {
        border-width: inherit;
        border-radius: inherit;
        padding: .2rem 1rem;
        font-size: 2.4rem;
        border-style: inherit;
        border-color: #0076AA;
        margin: 0;
        font-weight: bold;
        background-image: linear-gradient(0deg,
                hsl(198deg 100% 33%) 0%,
                hsl(198deg 100% 34%) 7%,
                hsl(198deg 100% 35%) 14%,
                hsl(198deg 100% 36%) 22%,
                hsl(198deg 100% 37%) 29%,
                hsl(198deg 100% 37%) 36%,
                hsl(198deg 100% 38%) 43%,
                hsl(198deg 100% 39%) 51%,
                hsl(198deg 100% 40%) 58%,
                hsl(198deg 100% 41%) 65%,
                hsl(198deg 100% 42%) 72%,
                hsl(198deg 100% 43%) 79%,
                hsl(198deg 100% 43%) 86%,
                hsl(199deg 100% 44%) 93%,
                hsl(199deg 100% 45%) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        img {
            width: 40px;
            height: 40px;
        }
    }
}

.multiple-btn p {
    font-size: 1rem;
    justify-content: start;
    text-align: left;
}

.answer-btn.selected {
    p {
        border-color: #FA8600;
        background-image: linear-gradient(0deg,
                hsl(32deg 100% 49%) 0%,
                hsl(32deg 96% 50%) 7%,
                hsl(32deg 97% 52%) 14%,
                hsl(31deg 97% 53%) 22%,
                hsl(31deg 97% 54%) 29%,
                hsl(31deg 97% 55%) 36%,
                hsl(31deg 97% 56%) 43%,
                hsl(31deg 98% 56%) 51%,
                hsl(32deg 98% 57%) 58%,
                hsl(32deg 98% 58%) 65%,
                hsl(32deg 99% 58%) 72%,
                hsl(32deg 99% 59%) 79%,
                hsl(32deg 99% 60%) 86%,
                hsl(32deg 100% 61%) 93%,
                hsl(32deg 100% 61%) 100%);
        transition: all 0.3s ease;
    }
}

.confirm-btn {
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.confirm-btn img {
    width: 70px;
    height: 70px;
}

.confirm-btn:hover {
    transform: translateY(-3px);
}

.hidden {
    display: none;
}

.question-icon {
    width: 120px;
}

.question-description {
    font-size: 0.9em;
    text-align: left;
    color: #666;
    margin-bottom: 20px;
}

/* Estilo del menú lateral */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    background-image: url("./assets/background-question.png");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: 50%;
    background-color: #fff;
    width: 100%;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    margin-top: 90px;

    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 5px 5px;
        font-size: 9px;
        text-align: center;
    }
}

.menu-header {
    padding: 10px;
    color: #6A6D71 !important;
}

.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: calc(100vh - 90px);
}

.side-menu.active {
    right: 0;
}

.menu-content {
    width: 100%;

    a {
        color: #6A6D71 !important;
    }

    hr {
        height: 1px;
        border: none;
        background-color: #6A6D71;
        margin: 1rem 0px;
    }
}

.menu-content ul {
    list-style: none;
    padding: 0;
}

.menu-content li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-content a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    width: 100%;
}

.menu-content a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
    width: 100%;
}

.menu-content .side-button {
    cursor: pointer;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.navigation-buttons {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation-buttons img {
    width: 70px;
}

.navigation-buttons button {
    border: none;
    cursor: pointer;
}

.navigation-buttons button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.result-container {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 1rem;
}

.result-header {
    padding: 1rem .6rem;
    border: 1px solid #6A6D71;
    border-radius: 10px;
    color: #6A6D71;

    h2 {
        font-size: 1rem;
    }

    .description {
        font-size: .8rem;
        color: #6A6D71;
        border: 1px solid #FA8600;
        padding: .5rem 1rem 5rem 1rem;
        border-radius: 10px;

        img {
            width: 35px;
            margin-right: 1rem;
        }

        .description-list {
            display: flex;
            justify-content: start;
            align-items: center;
            text-align: start;
        }
    }

    ul {
        text-align: left;
        padding-left: 1rem;
        font-size: .8rem;
    }
    li {
        margin-bottom: 10px;
    }
}

.result-icon {
    width: 80px;
}

.description-button {
    color: #fff;
    background-color: #0076AA;
    font-size: .7rem;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin-top: 1.4rem;
}

.restart-btn {
    background-color: transparent;
    border: 3px solid white !important;
    color: white;
    display: inline-block;
    border: none;
    border-radius: 20px;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    p {
        border-width: inherit;
        border-radius: inherit;
        padding: .5rem 0rem .5rem 1rem;
        font-size: 2.4rem;
        border-style: inherit;
        border-color: #DFE4E6;
        margin: 0;
        font-weight: bold;
        background-image: linear-gradient(270deg,
                hsl(197deg 7% 81%) 0%,
                hsl(197deg 7% 81%) 8%,
                hsl(197deg 8% 82%) 17%,
                hsl(197deg 8% 83%) 25%,
                hsl(197deg 8% 83%) 33%,
                hsl(197deg 9% 84%) 42%,
                hsl(197deg 9% 85%) 50%,
                hsl(197deg 9% 85%) 58%,
                hsl(197deg 10% 86%) 67%,
                hsl(197deg 10% 87%) 75%,
                hsl(197deg 11% 87%) 83%,
                hsl(197deg 12% 88%) 92%,
                hsl(197deg 12% 89%) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-click {
        width: 35px;
        margin-right: 15px;
    }

    .logo-color {
        width: 220px;
        margin-right: 15px;
    }
}

.info-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 1rem 1rem 1rem 1rem;
}

.info-footer {
    font-size: 10px;
    color: #6A6D71;
    font-weight: bold;
    text-align: left !important;
}

.info-header {
    padding: .4rem .6rem;
    border: 1px solid #6A6D71;
    border-radius: 10px;
    text-align: center;
}

.info-header h2 {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 4rem;
    color: #FA8600;
}

.info-header .references {
    font-size: .5rem;
    color: #6A6D71;
    margin-top: 1.3rem;
}

.info-header .qr-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    gap: 2rem;
}

.qr-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: min-content;
    p {
        font-size: 0.5rem;
        color: #6A6D71;
        margin-top: 0.5rem;
        text-align: left;
    }
}

.qr-code {
    width: 110px;
    height: 110px;
}

.info-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
    margin-top: 2rem;
    padding: 0rem 0rem;
}

.btn {
    background-color: transparent;
    border: 3px solid white !important;
    color: white;
    display: inline-block;
    border-radius: 13px;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

    .btn-content {
        border-width: inherit;
        border-radius: inherit;
        padding: .3rem 0rem 0rem .3rem;
        font-size: .8rem;
        border-style: inherit;
        border-color: #DFE4E6;
        text-align: left;
        height: 100%;
        color: #0076AA;
        font-weight: bold;
        background-image: linear-gradient(270deg,
                hsl(197deg 7% 81%) 0%,
                hsl(197deg 7% 81%) 8%,
                hsl(197deg 8% 82%) 17%,
                hsl(197deg 8% 83%) 25%,
                hsl(197deg 8% 83%) 33%,
                hsl(197deg 9% 84%) 42%,
                hsl(197deg 9% 85%) 50%,
                hsl(197deg 9% 85%) 58%,
                hsl(197deg 10% 86%) 67%,
                hsl(197deg 10% 87%) 75%,
                hsl(197deg 11% 87%) 83%,
                hsl(197deg 12% 88%) 92%,
                hsl(197deg 12% 89%) 100%);
        display: flex;
        align-items: center;
        justify-content: start;
    }

    p {
        margin: 0;
    }

    img {
        width: 15px;
        margin-right: 10px;
    }
}

.instructions-content {
    text-align: start;
    p {
        font-size: .9rem
    }
}

.instructions-content .instructions-references {
    li {
        font-size: .6rem;
    }
}