@font-face {
    font-family: 'CervoNeue-BlackNeue';
    src: url('/area-salto-2024/fonts/CervoNeue-BlackNeue.otf') format('opentype');
}

@font-face {
    font-family: 'CervoNeue-BlackNeueItalic';
    src: url('/area-salto-2024/fonts/CervoNeue-BlackNeueItalic.otf') format('opentype');
}

@font-face {
    font-family: 'CervoNeue-BoldNeueItalic';
    src: url('/area-salto-2024/fonts/CervoNeue-BoldNeueItalic.otf') format('opentype');
}

@font-face {
    font-family: 'CervoNeue-BoldNeue';
    src: url('/area-salto-2024/fonts/CervoNeue-BoldNeue.otf') format('opentype');
}

@font-face {
    font-family: 'CervoNeue-SemiBoldNeueItalic';
    src: url('/area-salto-2024/fonts/CervoNeue-SemiBoldNeueItalic.otf') format('opentype');
}

@font-face {
    font-family: 'CervoNeue-SemiBoldNeue';
    src: url('/area-salto-2024/fonts/CervoNeue-SemiBoldNeue.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-Light';
    src: url('/area-salto-2024/fonts/Cervo-Light.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-LightItalic';
    src: url('/area-salto-2024/fonts/Cervo-LightItalic.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-Medium';
    src: url('/area-salto-2024/fonts/Cervo-Medium.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-Medium-Italic';
    src: url('/area-salto-2024/fonts/Cervo-Medium-Italic.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-Regular';
    src: url('/area-salto-2024/fonts/Cervo-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-RegularItalic';
    src: url('/area-salto-2024/fonts/Cervo-RegularItalic.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-Thin';
    src: url('/area-salto-2024/fonts/Cervo-Thin.otf') format('opentype');
}

@font-face {
    font-family: 'Cervo-ThinItalic';
    src: url('/area-salto-2024/fonts/Cervo-ThinItalic.otf') format('opentype');
}

:root {
    --primary: #00adf2;
    --background-top: -100px;
    --background-color: #007baf;
    --secondary: #757777;
    --font-size-hero: 20px;
    --font-size-hero-2: 12px;
    --font-size-button: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Cervo-Light', system-ui, sans-serif;
    color: white;
    background-color: var(--background-color);
}

.main-section {
    display: grid;
    margin-inline: auto;
    row-gap: 24px;
    width: fit-content;
}

.grid {
    display: grid;
    row-gap: 24px;
}

@media (min-width: 768px) {
    .main-section {
        grid-template-columns: 300px 1fr;
    }

    .cols-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

button.button {
    appearance: none;
    background-color: transparent;
}

.button {
    border: 1px solid white;
    border-radius: 100px;
    padding: 10px 30px;
    text-decoration: none;
    color: white;
    box-shadow: 0 0 10px 0px white;
    position: relative;
    font-size: var(--font-size-button);
    cursor: pointer;
}

    .button span {
        display: inline-block;
        font-family: 'CervoNeue-BoldNeueItalic', sans-serif;
    }

    .button::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: var(--primary);
        top: -6px;
        left: -10px;
        z-index: -1;
        border-radius: 100px;
    }

input,
select {
    width: 100%;
    font-size: 18px;
    height: 50px;
    color: var(--primary);
    padding-inline: 1rem;
    border-radius: 12px;
    position: relative;
    font-family: 'Cervo-Light', system-ui, sans-serif;
    text-transform: uppercase;
}

.form-group__input-shadow {
    position: relative;
    margin-top: 6px;
}

    .form-group__input-shadow:after {
        content: '';
        position: absolute;
        display: inline-block;
        width: 100%;
        height: 100%;
        box-shadow: 0 0 10px 0px var(--primary);
        border: 1px solid var(--primary);
        top: -3px;
        left: 3px;
        border-radius: 12px;
        z-index: -1;
    }

.form-group__label {
    font-size: 20px;
    margin-left: 1rem;
}

input[type='radio'],
input[type='checkbox'] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

label.no-margin-left {
    margin-left: 0;
}

@media (max-width: 500px) {
    .logo {
        width: 100px;
    }
}

@media (min-width: 1200px) {
    :root {
        --font-size-hero: 22px;
        --font-size-hero-2: 14px;
        --font-size-button: 18px;
    }
}

@media (min-width: 1440px) {
    :root {
        --font-size-hero: 25px;
        --font-size-hero-2: 16px;
        --font-size-button: 20px;
    }
}

@media (min-width: 1500px) {
    :root {
        --font-size-hero: 29px;
        --font-size-hero-2: 18.2px;
        --font-size-button: 22px;
    }
}

/* STEPPER */

.stepper {
    --gap: 20px;
    display: flex;
    gap: var(--gap);
    flex-wrap: wrap;
    flex-direction: column;
    position: relative;
}

.stepper__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}

.stepper__step__number {
    background-color: var(--primary);
    border-radius: 100%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}

.stepper__step__text {
    opacity: 0.5;
}

.stepper__step:after {
    content: '';
    width: 1px;
    position: absolute;
    top: 110%;
    border-right: 4px dotted gray;
    opacity: 0.5;
}

.stepper__step:last-child:after {
    display: none;
}

.stepper__step--active * {
    opacity: 1;
}

@media (min-width: 768px) {
    .stepper {
        gap: 100px;
        padding-top: 150px;
    }

    .stepper__step:after {
        height: 85px;
    }
}

.color-primary {
    color: var(--primary);
}

.separator {
    height: 1px;
}

.logo {
    position: absolute;
    top: 40px;
    left: 40px;
}

@media (max-width: 500px) {
    .logo {
        width: 100px;
    }
}

.step-section {
    max-width: 550px;
    display: grid;
    gap: 0px!important;
}

img {
    max-width: 100%;
}

[data-step] {
    transition: opacity 0.5s ease;
}

.step--hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    user-select: none;
    position: absolute;
    height: 0;
    overflow: hidden;
}

.relative {
    position: relative;
}

.hidden {
    display: none !important;
}

.show {
    display: block !important;
}

input::placeholder {
    font-family: 'Cervo-Light', system-ui, sans-serif;
    color: var(--primary);
}
