@font-face {
    font-family: "GalanoGrotesqueBlack";
    src: url(../fonts/GalanoGrotesqueBlack.woff);
}

@font-face {
    font-family: "GalanoGrotesqueBold";
    src: url(../fonts/GalanoGrotesqueBold.woff);
}

@font-face {
    font-family: "GalanoGrotesqueMedium";
    src: url(../fonts/GalanoGrotesqueMedium.woff);
}

@font-face {
    font-family: "GalanoGrotesqueRegular";
    src: url(../fonts/GalanoGrotesqueRegular.woff);
}

@font-face {
    font-family: "GalanoGrotesqueSemiBold";
    src: url(../fonts/GalanoGrotesqueSemiBold.woff);
}

#canvas {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    background-color: red;
    background-image: url(./invqr2024.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 760px;
    height: 1024px;
    border: 1px solid black;
}

.finalQR {
    font-family: "GalanoGrotesqueRegular";
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #00a1de;
}

.teEsperamos {
    font-family: "GalanoGrotesqueSemiBold";
    font-size: 2rem;
    text-align: center;
    line-height: 1;
}

.noOlvides {
    font-size: 1rem;
    text-align: center;
    line-height: 1;
}

#qrcode {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
    border: 4px solid #00a1de;
    border-radius: 8px;
}

.descargar {
    color: white;
    background-color: #00a34e;
    border-radius: 100px;
    padding: 0.2rem 2rem;
    font-size: 1.2rem;
    border: none;
}


.lastMsg {
    line-height: 1;
}

.debug {
    border: 1px solid red;
}

body {
    font-family: "GalanoGrotesqueRegular";
    height: auto;
    width: 100%;
    min-height: 100vh;
    background-image: url(../images/fondo.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.mainContainer {
    display: flex;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
}

.mainRow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.colIntro {
    display: flex;
    justify-content: center;
    align-items: center;

    img {
        width: 80%;
        height: auto;
    }
}

.formTitleCont {
    display: flex;
    justify-content: center;
    align-items: center;
}

.formTitle {
    color: white;
    font-family: "GalanoGrotesqueRegular";
    text-align: center;
    margin-bottom: 0rem;
    background-color: #00a34e;
    text-align: center;
    padding: 5px 10px;
    width: auto;
    border-radius: 8px 8px 0 0;
}

form {
    background-color: #00a1de;
    padding: 1rem 1.5rem;
    border-radius: 16px 0;
    box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.1);
}



.btn-enviar {
    background-color: #00a34e;
    color: white;
    border-color: white;
    font-family: "GalanoGrotesqueBold";
    border-radius: 10px;
    width: 100%;
}






.loading-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999999999;
    background-color: rgba(0, 0, 0, 0.596);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(3px);
    color: white;
    font-weight: bold;
}

.loading-block img {
    margin-bottom: 1rem;
    width: 200px;
    height: auto;
    animation: spin 2s linear infinite;
}

.loading-block h1 {
    font-size: 1.2rem;
}

.loading-block h1,
.loading-block small {
    display: none;
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#error {
    font-weight: bold;
    color: white !important;
}



#preconfirm {
    display: none;
}

#confirm {
    display: none;
}

#confirmResult {
    display: none;
    text-align: center;
}


.mainContainer2 {
    display: flex;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
}

.colExtraData {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: #00a1de;
}

.colDataRounded {
    border: 3px solid #00a1de;
    border-radius: 12px;
    padding: 2rem;
}

.colDataRounded h4 {
    color: #00a1de;
    text-align: center;
    font-family: "GalanoGrotesqueSemiBold";
    line-height: 1;
}

.boldClass {
    font-family: "GalanoGrotesqueSemiBold";
}

.continuar {
    background-color: #00a1de;
    color: white;
    border: 1px solid rgb(106, 136, 238);
}

.confirmButtons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.si,
.no {
    background-color: #00a1de;
    color: white;
    border: 1px solid rgb(106, 136, 238);
    width: 60px;
}

.resultSmallText {
    color: #00a1de;
}



@media (max-width: 720px) {
    html {
        height: 100%;
    }

    body {
        height: 100%;
        background-repeat: repeat;
    }

    .introImage {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    form {
        margin-bottom: 3rem;
    }

    .finalImage {
        width: 95%;
        height: auto;
        box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.281);
    }

    .formTitleCont {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .formTitle {
        color: white;
        font-family: "GalanoGrotesqueRegular";
        text-align: center;
        margin-bottom: 0rem;
        background-color: #00a34e;
        text-align: center;
        padding: 5px 10px;
        width: 80%;
        border-radius: 8px 8px 0 0;
    }

    .offset-1 {
        margin-left: 0 !important;
        padding-bottom: 10rem;
    }

    .mainContainer {
        height: auto;
        min-height: auto;
    }
}