@font-face {
    font-family: AvenirRoman;
    src: url(@/Fonts/Avenir-Roman.ttf);
}

* {
    font-family: AvenirRoman, sans-serif;
}

@keyframes fall {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.2));
    }
}

@keyframes up {
    to {
        transform: scale(1);
    }
}

/*Countdown*/
.countdown-bar {
    width: 100%;
    max-width: 1920px;
    height: 186px;
    color: #fff;
    gap: 6px;
    background: url('@/Images/Registro/fondo-coundown.png'),
    linear-gradient(
        180deg,
        #00a490 -18.01%,
        #13b2d6 34.5%,
        rgba(29, 185, 250, 0) 100%
    );
}

.crecer {
    transform: scale(.9);
    animation: up .5s ease forwards;
}

.countdown-bar p {
    font-size: clamp(20px, 6vw, 32px);
    font-style: normal;
    font-weight: 400;
    line-height: 109.1%;
    text-align: center;
}

.countdown-bar b {
    text-align: center;
    text-shadow: 0 0 15px #1f87c9;
    font-size: clamp(20px, 6vw, 32px);
    font-style: normal;
    font-weight: 800;
    line-height: 109.1%;
}

.countdown-bar span {
    text-shadow: 0 0 15px #1f87c9;
    font-size: clamp(44px, 14vw, 64px);
    font-style: normal;
    font-weight: 900;
    line-height: 109.1%; /* 69.824px */
}

.form-grid {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-areas:
    'icon form'
    'contenido form';
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-items: center;
    padding: 30px 30px 0;
    column-gap: 40px;
}

/* Formulario */
.form-container {
    max-width: 588px;
    width: 100%;
    grid-area: form;
}

.form-icon-container {
    max-width: 625px;
    width: 100%;
    gap: 23px;
    grid-area: icon;
}

.form-text-container {
    max-width: 615px;
    width: 100%;
    grid-area: contenido;
}

.form-text-title {
    color: #03547e;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    padding-bottom: 4px;
}

.form-text-content {
    color: #545454;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-left: 8px;
}

.form-title {
    color: #03547e;
    text-align: center;
    font-size: clamp(19px, 4vw, 24px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.form-title-azul {
    color: #03547e;
    font-weight: 800;
}

.form-title-azulito {
    background: linear-gradient(90deg, #00a490 0%, #1db9fa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.registro-camposrequeridos {
    color: #565656;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    display: inline-block;
    padding-bottom: 8px;
    padding-left: 51px;
}

.form-terminos-text {
    flex-shrink: 0;
    color: #00548e;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-left: 51px;
}

.form-terminos-text-azul {
    color: #00548e;
    font-weight: 600;
}

.form-terminos-text-verde {
    color: #00a490;
}

/*Boton effecto*/
.btn-20,
.btn-20 *,
.btn-20 :after,
.btn-20 :before,
.btn-20:after,
.btn-20:before {
    border: 0 solid;
    box-sizing: border-box;
}

.btn-20 {
    border-radius: 99rem;
    overflow: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    background-color: #f07f1e;
    background-image: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    margin: 0 auto;
    max-width: 395px;
    width: 100%;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-20:disabled {
    cursor: default;
}

.btn-20:-moz-focusring {
    outline: auto;
}

.btn-20 [hidden] {
    display: none;
}

.btn-20 span {
    mix-blend-mode: lighten;
}

.btn-20:before {
    background: linear-gradient(90deg, #03547e 0%, #01558c 51%, #0699d6 100%);
    content: '';
    display: block;
    height: 100%;
    left: -100%;
    position: absolute;
    top: 0;
    transform: skew(0deg) translateX(-20%);
    transition: transform 0.2s ease;
    width: 120%;
}

.btn-20:hover:before {
    transform: skew(-45deg) translateX(75%);
}

/* Input */
.input-container {
    position: relative;
    width: 100%;
}

.input-container label {
    color: #545454;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    top: 50%;
    left: 15px;
    pointer-events: none;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.input-container.has-text label {
    top: 0;
    font-size: 15px;
    color: #545454;
    transform: translateY(-95%);
}

.input-design {
    width: 100%;
    height: 35px;
    border-radius: 8px;
    border: 1px solid #acacac;
    background: white;
    color: #545454;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* Select */
.select-container {
    position: relative;
    width: 100%;
}

.select-container label {
    color: #545454;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    position: absolute;
    pointer-events: none;
    top: 50%;
    left: 20px;
    padding: 0;
    margin: 0;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.select-container label.moved-up {
    top: 0;
    font-size: 15px;
    color: #545454;
    transform: translateY(-95%);
}

.label-truncate {
    display: block;
    max-width: 88%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.label-truncate.input {
    max-width: 81%;
}

/* Image Section */
.fondo_p {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.fondo_img {
    max-width: 1920px;
    background: url(@/Images/Registro/baner-movil.png) fixed;
    background-size: cover;
}

.text-registrate {
    position: absolute;
    text-align: center;
    top: 200px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    font-size: 50px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* Sponsors */
.sponsor {
    background: linear-gradient(90deg, #00a490 0%, #1db9fa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-size: clamp(36px, 10vw, 62px);
    font-style: normal;
    font-weight: 800;
    line-height: 109.1%;
    margin: 16px 0;
}

/*Modificar componente*/
.css-13cymwt-control {
    height: 100% !important;
    color: #545454 !important;
    border-radius: 8px !important;
    border: 1px solid #acacac !important;
    background: #ffffff !important;
}

.css-t3ipsp-control {
    color: #545454 !important;
    border-radius: 8px !important;
    border: 2px solid #acacac !important;
    background: #ffffff !important;
}

.css-w9q2zk-Input2 input,
.css-feonkk-Input2 input {
    --tw-ring-color: none !important;
}

.caer {
    opacity: 0;
    transform: translateY(100px) scale(1.2);
    filter: drop-shadow(0px 90px 38px #969696);
    animation: fall 1s ease forwards;
}

.caer:nth-child(3) {
    transform: translateY(50px) scale(1.2);
    filter: drop-shadow(0 40px 38px #969696);
}

/* Media Queries */
@media (max-width: 1500px) {
    .text-registrate {
        font-size: 128px;
    }

    .contador {
        font-size: 40px;
        padding: 25px 0;
    }

    .numero-contador {
        font-size: 65px;
    }
}

@media (max-width: 1200px) {
    .fondo_img {
        width: 100%;
        background: url(@/Images/Registro/banner-escritorio.svg) fixed;
        background-size: cover;
        display: flex;
    }

    .text-registrate {
        font-size: 95px;
    }

    .contador {
        font-size: 25px;
        padding-bottom: 25px;
    }

    .numero-contador {
        font-size: 50px;
    }
}

@media (max-width: 991px) {
    .form-grid {
        grid-template-areas:
      'icon'
      'form'
      'title'
      'contenido';
        grid-template-columns: 1fr;
        padding-top: 22px;
    }

    .form-title {
        padding-bottom: 0;
        padding-top: 22px;
    }

    .fondo_img {
        background: url(@/Images/Registro/banner-tablet.svg) fixed;
        background-size: cover;
    }

    .text-registrate {
        margin-bottom: 50px;
        font-size: 60px;
    }

    .contador {
        font-size: 25px;
    }

    .numero-contador {
        font-size: 50px;
    }

    .form-icon-container {
        max-width: 585px;
    }

    .form-title {
        text-align: center;
    }

    .form-text-title {
        text-align: center;
        padding-bottom: 8px;
    }

    .form-container {
        max-width: 633px;
        margin-right: 0;
        padding: 33px 0 34px;
    }

    .registro-camposrequeridos {
        max-width: 439px;
        font-size: 18px;
    }

    .form-terminos-text {
        max-width: 100%;
        font-size: 18px;
        text-align: center;
    }

    .input-design {
        font-size: 22px;
        height: 54px;
    }

    .input-container label {
        font-size: 22px;
    }

    .select {
        font-size: 22px;
        height: 54px;
    }

    .select-container label {
        font-size: clamp(16px, 10vw, 22px);
        top: 50%;
    }

    .btn-20 {
        max-width: 606px;
    }
}

@media (max-width: 770px) {
    .caer {
        opacity: 0;
        transform: translateY(15px) scale(1.2);
        filter: drop-shadow(0px 10px 38px #969696);
        animation: fall 0.8s ease forwards;
    }

    .caer:nth-child(3) {
        transform: translateY(500px) scale(1.2);
        filter: drop-shadow(0 10px 38px #969696);
    }
}

@media (max-width: 480px) {
    .form-grid {
        padding: 0 11px;
    }

    .form-title {
        max-width: 421px;
    }

    .form-terminos-text-verde {
        content: '\a';
        white-space: pre;
    }
}
