:root {
    --tamañoGeneral: 1.66vw;
    --bigtext: 4.16vw;
  }

button:not(.btn-lane) {
    border-radius: 8px;
}


.error {
    color: rgba(255,0,0,0.75);
}

@font-face {
    font-family: 'Josefin Sans';
    src: url('../../fonts/Josefin_Sans/JosefinSans-VariableFont_wght.ttf') format('truetype');
    font-weight: 400; /* Peso predeterminado (regular) */
    font-style: normal; /* Estilo predeterminado (normal) */
}

@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter/Inter-VariableFont_slnt\,wght.ttf') format('truetype');
    font-weight: 400; /* Peso predeterminado (regular) */
    font-style: normal; /* Estilo predeterminado (normal) */
}

@font-face {
    font-family: 'Staatliches';
    src: url('../../fonts/Staatliches/Staatliches-Regular.ttf') format('truetype');
    font-weight: 400; /* Peso predeterminado (regular) */
    font-style: normal; /* Estilo predeterminado (normal) */
}

@font-face {
    font-family: 'Anton';
    src: url('../../fonts/Anton/Anton-Regular.ttf') format('truetype');
    font-weight: 400; /* Peso predeterminado (regular) */
    font-style: normal; /* Estilo predeterminado (normal) */
}

@font-face {
    font-family: 'Roboto';
    src: url('../../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400; /* Peso predeterminado (regular) */
    font-style: normal; /* Estilo predeterminado (normal) */
}

@font-face {
    font-family: 'Poppins';
    src: url('../../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400; /* Peso predeterminado (regular) */
    font-style: normal; /* Estilo predeterminado (normal) */
}

@font-face {
    font-family: 'Open Sans';
    src: url('../../fonts/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf') format('truetype');
    font-weight: 400; /* Peso predeterminado (regular) */
    font-style: normal; /* Estilo predeterminado (normal) */
}

* {
    font-family: 'Inter';
}

body {
    width: 100%;
    margin: 0px;
}


.slide-header {
    max-width: 100%;
    height: 115vh;
    max-height: 56.94vw;
    position: relative;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.slide-header-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 27.7083vw;
    height: 30.9722vw;
    background-color: black; /* Color de fondo para visualizar el contenido */
    padding: 2.9166vw;
}

.franja-pista {
    height: 6.0416vw; 
}

.content-right {
    right: 0;
}

.content-left {
    left: 0;
}

.slide-header-content h1 {
    font-size: 3.8194vw;
    font-family: Anton;
    margin-bottom: 0.8vw;
    color: white;
}

.big-text {
    font-size: 4.1666vw;
}

.slide-header-content p {
    font-size: 1.6666vw;
    margin-bottom: 1.6vw;
    color: white;
    font-family: Staatliches;
    text-align: left;
}

.slide-header-content button {
    padding: 0.8vw 1.6vw;
    font-size: 1.9444vw;
    background-color: #F0CC24;
    color: black;
    font-family: Staatliches;
    transition: transform 0.1s ease;
    margin: 0.75vw auto;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.slide-header-content a {
    text-decoration: none;
}

.slide-header-content button:hover, .slide-header-content a:hover{
    cursor: pointer;
    transform: scale(1.1);
}

.button-dubi-orange {
    background-color: #F0CB24;
    font-family: 'Staatliches';
    font-size: 1.38vw;
    color: white;
    height: 2.7vw;
    border-style: none;  
    transition: ease;
}

.button-dubi-orange:hover {
    transform: scale(1.1);
    background-color: rgb(5, 5, 5);
    color: white;
    box-shadow: 0px 0px 3px white;
    cursor: pointer;
}


.content-arrow-url {
    height: 56px;
    border: 1px;
    color: white;
    font-family: 'Staatliches';
    font-size: 28px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    text-decoration: none;
}

.content-arrow-url a  {
    background-image: url("../../img/flecha-naranja.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    font-size: 1.94vw;
    font-family: Staatliches;
    color: white;
    width: 17vw;
    height: 4vw;
    border-radius: 8px;
    position: relative ;
}

.content-arrow-url * {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #111111bd;
    display: flex;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity .6s .5s;
    --transform: translateY(-100vh);
    --transition: transform .5s;

}

.modal-header {
    position: relative;
    z-index: 10;
    margin-bottom: -4em;
}

.modal-body {
    padding: 3em 2.5em;
    display: grid;
    gap: 1em;
    place-items: center;
    grid-auto-columns: 100%;
}

.modal--show {
    opacity: 1;
    pointer-events: unset;
    transition: opacity .6s ;
    --transform: none;
    --transition: transform .5s .5s;
}

.modal_container::-webkit-scrollbar {
    width: 12px;
}
                    
.modal_container::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
                    
.modal_container::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}



.button {
    width: 85%;
    padding: 0.5em 1em;
    margin: 1em auto;
    display: block;
    transition-duration: 0.4s;
    cursor: pointer;
    text-align: center;
  }

  .button-submit-orange {
    background-color: #F0CB24;
    color: white;
    font-weight: bolder;
    border-color: #F0CB24;
  }

  .button-secondary {
    background-color: #999999;
    color: white;
    font-weight: bolder;
    border-color: #999999;
  }

  .button-empty-white {
    background-color: transparent;
    color: white;
    font-weight: bolder;
    border-color: white;
  }


  .button-submit-orange:hover {
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.3);
  }


.modal_container {
    width: 90%;
    background-color: #fff;
    max-width: 600px;
    margin: auto;
    max-height: 90%;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    transform: var(--transform);
    transition: var(--transition);
    overflow-y: scroll;
}

.modal-title {
    font-size: 2.5rem;
}

.modal-paragraph {
    margin-bottom: 5px;
    text-align: center;
}

.modal_img {
    width: 90%;
    max-width: 300px;

}

.modal_close {
    text-decoration: none;
    color: #fff;
    background-color: #f9897a;
    padding: 1em 3em;
    border: 1px solid;
    border-radius: 6px;
    font-weight: 300;
    transition: background-color .3s;
}

.modal_close_sm {

   display: block;
   font-size: 1.5em;
   position: relative;
   right: 0px;
   top: 0px;
   float: right;
   margin: 0.5em 1em;
}


.modal_close:hover {
    color: #F26250;
    background-color: #fff;
}


@media (max-width: 768px) {
    .slide-header-content {
        position: relative !important;
        top: 0% !important;
        transform: none !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 8.4375vw !important;
        height: 99.0625vw;
    }

    .slide-header-content h1 {
        font-size: 10.625vw;
    }

    .slide-header {
        background-image: none;
        height: auto !important;
        max-height: none;
    }

    .img-header-hidden {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        height: 62.5vw;
        width: 100%;
    }

    .slide-header-content p {

        font-size: 5vw;
    }

    .button-dubi-orange {
        height: 10.93vw !important;
        width: 53.43vw !important;
        font-size: 6.25vw;
    }

    .content-arrow-url a {
        top: auto;
        margin: 0%;
        height: 10vw;
        width: 41.25vw;
        font-size: 6.25vw;
    }

    .content-arrow-url {
        justify-content: start;
        margin-left: 2vw;
        height: auto;
        margin-top: 2.5vw;
    }
    
}