:root {
    --derbi-red: #e62c20;
    --derbi-purple: #4e4b95;
    --derbi-berry: #a41755;
    --derbi-ink: #160d18;
    --derbi-white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    position: relative;
    margin: 0;
    font-family: "Archivo", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: var(--derbi-white);
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 92, 72, .62), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(108, 88, 210, .64), transparent 32%),
        radial-gradient(circle at 52% 88%, rgba(230, 44, 32, .4), transparent 36%),
        linear-gradient(135deg, var(--derbi-red) 0%, var(--derbi-berry) 48%, var(--derbi-purple) 100%);
    background-attachment: fixed;
    background-size: 140% 140%;
    animation: derbiGradientFlow 18s ease-in-out infinite alternate;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .28;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .28), transparent 18%),
        radial-gradient(circle at 74% 62%, rgba(255, 255, 255, .18), transparent 20%);
    filter: blur(8px);
}

body,
p,
span,
label,
input,
select,
textarea,
button {
    font-family: "Archivo", Arial, sans-serif;
}

p,
span,
label {
    font-size: inherit;
    line-height: inherit;
}

a {
    color: var(--derbi-white);
    font-weight: 800;
    
    text-decoration: underline;
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--derbi-ink);
    text-decoration: underline;
    text-underline-offset: 4px;
}

section {
    position: relative;
    z-index: 1;
    padding: 0 0 56px;
}

section > .container {
    padding-top: 12px;
    padding-bottom: 28px;
}

section > .container > .row > [class*="col-"] {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 0;
    box-shadow: 0 28px 68px rgba(22, 13, 24, .2);
}

h1,
h2,
h3,
.modal-title {
    font-family: "Archivo Black", "Archivo", Arial, sans-serif;
    color: var(--derbi-white);
    letter-spacing: 0;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: .94;
}

h2 {
    margin-top: 1.7rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(22, 13, 24, .16);
    font-size: clamp(1.05rem, 2vw, 1.45rem);
    line-height: 1;
}

h3 {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    line-height: 1.12;
    color: var(--derbi-ink);
}

.separador {
    height: clamp(18px, 3vw, 34px);
}

#formulario {
    position: relative;
}

#formulario p {
    margin-bottom: .45rem;
    font-weight: 850;
    color:#ffffff;
}
#pago p,  #pago a{
    color: white;
}
#pago h2{
    border-top: 0px;
}
.datos_banco {
    border: 1px solid #ffffff;
}
.datos_banco p, .datos_banco p.bold{
    color: #ffffff;
}
.datos_banco p span.bold{
    color: #ffffff;
    font-family: "Archivo", Arial, sans-serif;
}
.etiqueta{
    color: rgba(22, 13, 24, .78);
    font-weight: 750;
    font-size: 0.8rem;
    background-color: #FBEFF1;
    padding: 5px;
    margin-bottom: 5px;
    width: 24%;
}
.readonly-field{
    min-height: calc(1.5em + .75rem + 2px);
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem .75rem;
    color: #495057;
    display: flex;
    align-items: center;
}

.md-form,
.form-group {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.md-form label,
.form-check-label {
    color: rgba(22, 13, 24, .78);
    font-weight: 750;
}

.md-form label {
    background-color: #FBEFF1 !important;
}

.form-control,
.custom-select,
.select-wrapper input.select-dropdown {
    min-height: 48px;
    border: 1px solid rgba(22, 13, 24, .28) !important;
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, .92) !important;
    color: rgba(22, 13, 24, .78) !important;
        font-family: "Roboto", sans-serif;
    font-weight: 500;
    box-shadow: none !important;
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.form-control:focus,
.custom-select:focus,
.select-wrapper input.select-dropdown:focus {

}

.invalid-feedback,
.help-block.with-errors {
    color: #ffffff;
    font-weight: 800;
}

.form-check-input[type="radio"] + label,
.form-check-input[type="checkbox"] + label {
    padding-left: 28px;
}

.form-check-input[type="radio"] + label::before,
.form-check-input[type="radio"] + label::after,
.form-check-input[type="checkbox"] + label::before,
.form-check-input[type="checkbox"] + label::after {
    border-color: rgba(22, 13, 24, .55) !important;
}

.form-check-input[type="radio"]:checked + label::after,
.form-check-input[type="checkbox"]:checked + label::before {
    border-color: var(--derbi-purple) !important;
    background-color: var(--derbi-purple) !important;
}

.legal-consent-check .form-check-input[type="checkbox"] + label::before {
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff !important;
    border-radius: 1px;
    background-color: transparent !important;
    transform: none;
}

.legal-consent-check .form-check-input[type="checkbox"] + label::after {
    display: none;
}

.legal-consent-check .form-check-input[type="checkbox"]:checked + label::before {
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff !important;
    background-color: #ffffff !important;
    transform: none;
}

.form-check-label{
    color: #ffffff;
}
.chevron_linea {
    background: url(../img/chevron.png) no-repeat center right;
    background-size: contain;
    position: absolute;
    top: 67px;
    right: 30px;
    width: 16px;
    height: 9px;
}

.btn,
input.btn,
button.btn,
a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 24px !important;
    border: 1px solid rgba(22, 13, 24, .12) !important;
    border-radius: 999px !important;
    background: var(--derbi-white) !important;
    color: var(--derbi-ink) !important;
    font-family: "Archivo", Arial, sans-serif !important;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(8, 7, 18, .12);
    transition: transform .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn:hover,
.btn:focus,
input.btn:hover,
input.btn:focus,
button.btn:hover,
button.btn:focus,
a.btn:hover,
a.btn:focus {
    border-color: rgba(255, 255, 255, .35) !important;
    color: var(--derbi-ink) !important;
    text-decoration: none;
    transform: translateY(-4px) scale(1.04);}

.legales {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(22, 13, 24, .16);
}

.legales p,
.legales li,
.legales span {
    color: var(--derbi-white);
    font-size: .78rem;
    line-height: 1.45;
}

.legales a {
    color: var(--derbi-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bold {
    font-weight: 600;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.modal-content {
    border: 0;
    border-radius: 0;
    font-family: "Archivo", Arial, sans-serif;
}

.modal-header,
.modal-footer {
    border-color: rgba(22, 13, 24, .14);
}

footer {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, .96) !important;
    color: var(--derbi-ink);
    text-align: center;
}

footer p {
    margin: 0;
    color: rgba(22, 13, 24, .74);
    font-weight: 800;
}

.derbi-registration-header {
    position: relative;
    z-index: 20;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
     background: rgba(255, 255, 255, .86) !important;
}

.derbi-registration-header__inner {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
    align-items: center;
    gap: clamp(18px, 4vw, 56px);
    width: min(980px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(12px, 2.4vw, 26px) 0 clamp(10px, 2vw, 20px);
}

.derbi-registration-header__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.derbi-registration-header__brand img {
    display: block;
    width: clamp(155px, 22vw, 260px);
    height: auto;
}

.derbi-registration-header__center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.derbi-registration-header__date {
    margin: 0;
    color: var(--derbi-ink);
    font-family: "Archivo", Arial, sans-serif;
    font-size: clamp(13px, 1.35vw, 17px);
    font-weight: 900;
    letter-spacing: .09em;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(22, 13, 24, .24);
    text-transform: uppercase;
}

.derbi-registration-header__team {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    text-align: center;
}

.derbi-registration-header__team img {
    display: block;
    width: clamp(96px, 17vw, 170px);
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 12px 18px rgba(19, 10, 24, .12));
}

.derbi-registration-header__team-name {
    display: block;
    font-family: "Archivo Black", "Archivo", Arial, sans-serif;
    font-size: clamp(16px, 2.2vw, 28px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: .95;
    -webkit-text-stroke: .6px var(--derbi-white);
    paint-order: stroke fill;
    text-shadow:
        1px 0 0 var(--derbi-white),
        -1px 0 0 var(--derbi-white),
        0 1px 0 var(--derbi-white),
        0 -1px 0 var(--derbi-white);
    text-transform: uppercase;
}

.derbi-registration-header__team--indios .derbi-registration-header__team-name {
    color: var(--derbi-red);
}

.derbi-registration-header__team--vikingos .derbi-registration-header__team-name {
    color: var(--derbi-purple);
}

@keyframes derbiGradientFlow {
    from {
        background-position: 0% 38%;
    }

    to {
        background-position: 100% 64%;
    }
}

@media (max-width: 700px) {
    body {
        background-attachment: scroll;
    }

    section > .container {
        width: min(100% - 22px, 520px);
        padding-right: 0;
        padding-left: 0;
    }

    section > .container > .row > [class*="col-"] {
        padding: 22px 18px;
    }

    .derbi-registration-header__inner {
        width: min(100% - 22px, 520px);
        grid-template-columns: 1fr 1fr;
        gap: 8px 18px;
        padding-top: 12px;
    }

    .derbi-registration-header__center {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .derbi-registration-header__team {
        grid-row: 2;
    }

    .derbi-registration-header__brand img {
        width: 170px;
    }

    .derbi-registration-header__team img {
        width: min(34vw, 126px);
    }
}

@media (max-width: 430px) {
    .derbi-registration-header__inner {
        width: min(100% - 18px, 380px);
        gap: 6px 12px;
    }

    .derbi-registration-header__brand img {
        width: 150px;
    }

    .derbi-registration-header__team img {
        width: min(36vw, 112px);
    }

    h1 {
        font-size: 2.15rem;
    }
}
