:root {
    --primary-color: #ffba00;
    --secondary-color: #000;
    --text-color: #fff;
    --background-color: #f4f4f4;
    --font-family: Arial, sans-serif;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--secondary-color);
}

.countdown {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: white;
    border: 2px solid var(--text-color);
}

@media (max-width: 768px) {
    .countdown {
        height: 30px;
        width: 30px;
    }
}

.main-container {
    width: 100%;
    height: 90vh;
}

.main-logo-container {
    height: 170px;
    width: 170px;
}

@media (max-width: 677px) {
    .main-logo-container {
        width: 100px;
        height: 100px;
    }
}

.secondary-logo-container {
    width: 180px;
    height: 90px;
}

@media (max-width: 677px) {
    .secondary-logo-container {
        width: 140px;
        height: 70px;
    }
}

.main-logo-container img,
.secondary-logo-container img{
    width: 100%;
}

.image-screen-container {
    border: 4px solid var(--text-color);
    border-radius: 10px;
    overflow: hidden;
    height: auto;
    width: 80%;
}

.image-screen-container img {
    width: 100%;
}

.error-alert {
    color: red;
    font-size: 20px;
    font-weight: bold;
}

.display-active {
    display: block;
}

.display-inactive {
    display: none;
}

/*---------------------Estilos del pop up de terminos y condiciones--------------*/
.terms-block {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-dialog {
    padding: 15px;
    height: 70%;
    width: 35%;
    color: var(--primary-color);
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    border: 3px solid var(--primary-color);
}

.terms-dialog p {
    text-transform: uppercase;
    line-height: 1.5;
}

.selct-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.terms-button {
    background-color: var(--primary-color);
    color: white;
    letter-spacing: 2px;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    outline: none;
    border-radius: 10px;
    padding: 7px 20px;
    margin-top: 10px;
    cursor: pointer;
}

@media (min-width: 678px) and (max-width: 1024px) {
    .terms-dialog {
        width: 70%;
    }
}

@media (max-width: 677px) {
    .terms-dialog {
        width: 80%;
    }
}

/*Estilos de primera pantalla*/
.first-block {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60vh;
}

.content-block-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
}

.info-block-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    transform: translateX(4vw);
}

.link-container {
    display: flex;
    gap: 30px;
    width: 100%;
}

.main-link {
    display: flex;
    justify-content: center;
    color: var(--text-color);
    align-items: center;
    width: 50%;
}

.icon {
    height: 30px;
    width: 30px;
}

.icon img {
    width: 100%;
}

.main-link a {
    color: white;
    text-decoration: none;
    font-size: 25px;
}

.second-block {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 30vh;
}

.main-button {
    background-color: transparent;
    color: white;
    border: 3px solid var(--text-color);
    padding: 5px 20px;
    border-radius: 10px;
    font-size: 20px;
    letter-spacing: 2px;
    cursor: pointer;
    display: none;
}

@media (min-width: 1024px) {
    .main-button-container {
        transform: translateX(7vw);
    }    
}

@media (min-width: 768px) and (max-width: 1024px) {
    .first-block {
        flex-direction: column;
    }
    .content-block-container {
        width: 85%;
    }
    .second-block {
        flex-direction: column;
    }
    .info-block-container {
        gap: 17px;
        transform: translateX(0vw);
    }
}

@media (max-width: 767px) {
    .first-block {
        flex-direction: column;
    }
    .content-block-container {
        width: 95%;
    }
    .info-block-container {
        gap: 15px;
        transform: translateX(-5vw);
    }
    .main-link a {
        font-size: 14px;
    }
    .second-block {
        flex-direction: column;
    }
}

/*Estilos de segunda pantalla*/
.third-block {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: auto;
    height: 90vh;
}

.second-logo-container {
    transform: translateX(10vw);
    width: 180px;
    height: 90px;
    border: 1px solid var(--primary-color);
}

.video-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 90%;
    padding: 10px;
    color: white;
    text-align: center;
    letter-spacing: 2px;
    border-radius: 10px;
    border: 4px solid var(--text-color);
}

.frame-video {
    height: 30vw;
    width: auto;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .third-block {
        flex-direction: column;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .video-container {
        width: 85%;
        height: 50%;
        transform: translateY(-6vh);
    }
    .frame-video {
        height: 38vh;
    }
}

@media (max-width: 767px) {
    .video-container {
        width: 85%;
        height: 60%;
        font-size: 14px;
    }
    .frame-video {
        height: 25vh;
    }
}

/*Estilos de tercera pantalla*/

.fifth-block {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 58vh;
    gap: 30px;
}

.first-image-screen-container {
    display: flex;
    border: 4px solid var(--text-color);
    border-radius: 10px;
    height: 400px;
    width: 720px;
    
}

.sixth-block {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 30vh;
}

@media (max-width: 1024px) {
    .fifth-block {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .sixth-block {
        flex-direction: column;
        justify-content: center;
    }
}

/*---------------Estilos del footer---------------*/
.footer {
    width: 100%;
    height: 10vh;
    background-color: var(--primary-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (max-width: 677px) {
    .footer {
        font-size: 12px;
    }
}