/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
/* Resets */

:root {
    --blue: #335caa;
    --red: #e60a0a;
    --white: #fff;
    --black: #000;
    --dark: #02172f;
    --gray: #c5c7ce;
}
::selection {
    background-color: var(--red);
    color: #fff;
}
/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 5px;
}
/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: var(--black);
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 10px;
    transition: all 0.3s ease;
}
.img-fluid {
    width: 100%;
}
/* Fonts */
/* Fonts */
body,
input,
textarea,
select {
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    font-family: "Ubuntu", sans-serif;
    font-optical-sizing: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-display: swap;
}
a {
    color: var(--red);
    text-decoration: underline;
    transition: color 0.3s;
}
a:hover,
a:active,
a:focus {
    color: var(--red) !important;
}
/* Buttons */
.btn {
    font-style: normal;
    font-weight: 400;
    font-size: 1em;
    padding: 0.8em 1.3em !important;
    text-decoration: none;
    transition: color 0.4s, border 0.3s;
    position: relative;
    transition: color 0.3s, background-color 0.3s;
    text-transform: none !important;
    -webkit-border-radius: 0.4em;
    -ms-border-radius: 0.4em;
    -o-border-radius: 0.4em;
    border-radius: 0.4em;
}

/* LANDING PAGE */
.section-form {
    background-image: url(https://image.republicachivas.fxp.mx/lib/fe26117473640578701c77/m/1/6a4bf4bf-da59-48ef-a50e-4478e186f58c.jpg);

    form {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        min-height: 100dvh;
    }

    h1 {
        font-family: "Titillium Web", sans-serif;
        font-size: 24px;
        font-weight: 400;
        letter-spacing: 2.12px;
    }
    .btn-send {
        font-family: "Titillium Web", sans-serif;
        font-size: clamp(1.5rem, 1.2333rem + 0.4306vw, 1.75rem);
        font-weight: bold;
        color: var(--white);
        letter-spacing: 2.12px;
        padding: 1.25rem;
        border-color: var(--red);
        background-color: var(--red);

        &:hover, &:focus, &:active {
            background-color: var(--dark);
            border-color: var(--dark);
            color: var(--white);
        }
    }
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;

    .form-label {
        position: absolute;
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(20px, 6px);
        font-size: 16px;
        line-height: 40px;
        transition: all .3s;
    }
    .form-control, .form-select {
        font-family: "Titillium Web", sans-serif;
        font-size: clamp(1.125rem, 0.925rem + 0.3229vw, 1.3125rem);
        color: var(--dark);
        letter-spacing: 1.53px;
        background-color: var(--white);
        border-radius: 14px;
        padding: 10px;
        width: 100%;
    }
    .form-select {
        font-size: 1.125rem;
    }
    .form-select option {
        font-family: "Titillium Web", sans-serif;
        font-size: clamp(1.125rem, 0.925rem + 0.3229vw, 1.3125rem);
        color: var(--dark);
        letter-spacing: 1.53px;
    }
    input:focus+label,
    input:not(:placeholder-shown)+label {
        color: var(--white);
        font-weight: bold;
        transform: translate(20px, -40px);
    }

}