/*Font for this page*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html{
    scroll-behavior: smooth;
}

/* ------- NAVEGATION MENU ------- */
header{
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: white;
}

header .content{
    max-width: 1280px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

header img{
    max-width: 100px;
}

nav ul{
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li a{
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    color: #818181;
    transition: .3s;
}

nav ul li a:hover{
    color: black;
}

#icono-nav{
    color:black;
    display: none;
}

/* ------- HERO SECTION ------- */

#hero{
    padding-top: 100px;
    max-width: 1920px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#hero img{
    min-height: 150px;
    object-fit: cover;
}

/*------- FORM SECTION ------- */
.wholeForm{
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    
}
.contenedor{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 85%;
    background-color: #fff;
    border-radius: 40px;
    color: #000;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}
.formulario{
    width: 45%;
    display: flex;
    flex-direction: column;
}

.formulario h3{
    color: #353535;
    margin-bottom: 10px;
}
.formulario h2{
    font-weight: normal;
    font-size: 3.5rem;
    line-height: 4rem;
    margin-bottom: 10px;
}
.formulario p{
    font-size: 1.2rem;
    color: #878787;
}
.formulario p a{
    color:#ff0000;
    text-decoration: none;
    display: inline-block;
    margin-left: 10px;
}
.formulario form{
    margin-top: 20px;
}
.entrada{
    background-color: #d3d2d2;
    border-radius: 50px;
    padding: 10px 25px;
    margin-bottom: 20px;
}
.entrada label{
    display: block;
    color: #878787;
    font-size: 14px;
    line-height: 14px;
}
.entrada input{
    background-color: transparent;
    border: none;
    outline: none;
    color: #000;
    width: 100%;
}

textarea {
    width: 100%;        /* Ocupa todo el ancho disponible */
    max-width: 600px;   /* Opcional: para que no se vea gigante en monitores 4K */
    min-width: 200px;   /* Opcional: para que no desaparezca en móviles */
    height: 20vh;       /* El 20% de la altura de la ventana visual */
    box-sizing: border-box; /* Crucial para que el padding no rompa el diseño */
    background-color: transparent;
    border: none;
    outline: none;
}

.btn{
    background-color: rgb(255, 0, 140);
    border: none;
    padding: 10px 25px;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    margin-bottom: 20px;
}

.terminos{
    font-size: 12px;
    color: #878787;
    margin-bottom: 20px;
}

.terminos a{
    color: #ff0000;
    text-decoration: none;
}

/*------- ADDRESS SECTION ------- */

.address{
    width: 45%;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.address h1{
    font-size: 2.5rem;
    color: #353535;
    margin-bottom: 10px;
}

.address h2{
    font-size: 1.2rem;
    color: #878787;
    margin-bottom: 20px;
}

.address h3{
    font-size: 1.8rem;
    color: rgb(255, 0, 140);
    margin-bottom: 20px;
}

.address img{
    width: 80%;
    object-fit: cover;
}

/* ------- FOOTER ------- */
footer{
    padding: 20px 0;
    text-align: center;
    color: #818181;
}

@media screen and (max-width:900px) {
    /* body{
        height: auto;
    } */
    .contenedor{
        display: block;
        height: auto;
    }
    .formulario{
        width: 100%;
    }
    .address{
        width: 100%;
    }
    nav{
        display: none;
    }
    nav.responsive{
        display: block;
        background-color: rgba(0, 0, 0, .8);
        width: 100%;
        position: absolute;
        top:48px;
        left: 0;
        padding: 10px 0;
    }
    nav.responsive ul{
        display: block !important;
        text-align: center;
    }
    nav.responsive ul li{
        margin: 5px 0;
    }
  
    nav.responsive ul li a:hover{
        color: white !important;
    }

    #icono-nav{
        display: block;
        font-size: 30px;
        margin-right: 20px;
        cursor: pointer;
    }
}
