html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    
}

main{
    padding-top: var(--header-height);
}

.text {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-letter {
    font-size: 45px;
    font-weight: bold;
    min-width: 50px;
}

.card-pill {
    padding: 15px 35px;
    border-radius: 50px;
    background-color: #f1c232;
    font-weight: 600;
    white-space: nowrap;
}

.card-text {
    flex: 1;
}

.card-text p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #464646;
}

.formulario h1 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #464646;
    text-align: center;
}

.divFormulario {
    max-width: 1000px;
    width: 90%;
    margin: 40px auto;
    background-color: #F9F2F2;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
}

.formularioDeInscripcion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
}

.pFormularioContacto {
    color: #777;
    font-size: 18px;
    font-weight: 400;
}

.columna3 p {
    margin-top: 20px;
    margin-left: 0;
}

.columna3 input[type="text"],
.columna3 input[type="email"],
.columna3 input[type="tel"],
.columna3 input[type="number"],
.columna3 select {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    outline: none;
    transition: box-shadow .15s, border-color .15s;
}

.divDescripcion {
    cursor: default;
    padding-top: 10px;
}

textarea {
    width: 100%;
    height: 150px;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    outline: none;
    transition: box-shadow .15s, border-color .15s;
    resize: vertical;
}

.subirArchivos {
    margin-bottom: 50px;
}

.hrFormularioContacto {
    width: 100%;
    background: rgba(117, 117, 117, 0.295);
    height: 1px;
    border: none;
}

.textoFormulario {
    color: #6b6b6b;
    font-size: 80%;
    font-weight: 200;
    cursor: default;
    max-width: 800px;
    line-height: 1.4;
}

.divTextFormulario {
    margin: 0 auto;
    max-width: 800px;
    background-color: #fff;
    font-size: 20px;
}

.botonEnviar {
    display: block;
    margin: 30px auto;
    border: none;
    color: #6b6b6b;
    background-color: #f0f0f0;
    height: 55px;
    width: 160px;
    font-size: 115%;
    font-weight: 250;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.botonEnviar:hover {
    background-color: rgb(79, 79, 218);
    color: white;
    cursor: pointer;
}

.botonEnviar:disabled {
    background-color: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
}

.doc-input {
    display: flex;
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.doc-input select {
    width: 70px;
    min-width: 70px;
    max-width: 100px;
    border: none;
    border-right: 1px solid #e6e6e6;
    padding: 11px 8px;
    background-color: #f5f5f5;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.doc-input input {
    flex: 1;
    border: none;
    padding: 11px 12px;
    font-size: 14px;
    outline: none;
}

/* =========== RESPONSIVE =========== */

@media (max-width: 992px) {

    .formularioDeInscripcion {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card {
        gap: 20px;
    }

    .card-letter {
        font-size: 38px;
    }

    .card-pill {
        padding: 12px 25px;
    }
}

@media screen and (max-width: 768px) {

    .card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 15px;
    }

    .card-letter {
        font-size: 36px;
    }

    .card-pill {
        align-self: flex-start;
    }

    .card-text {
        width: 100%;
    }
}

@media (max-width: 600px) {

    html, body {
        padding-top: 10%;
    }
    .divFormulario {
        width: 95%;
        padding: 15px;
    }

    textarea {
        height: 120px;
    }

    .textoFormulario {
        font-size: 75%;
    }

    .botonEnviar {
        width: 100%;
        font-size: 100%;
        height: 50px;
    }
}
