/**pseudo clase custom property*/
:root {
    --blanco: #fff;
    --oscuro: #212121;
    --primario: #ffc107;
    --secundario: #0097a7;
    --gris:#757575;
    --grisClaro: #c2c4c7;
}

html, body {
    height: 100%;
    margin: 0; /* Elimina el margen predeterminado */
    padding: 0; /* Elimina el relleno predeterminado */
    font-size: 16px;
    font-family: 'Rajdhani', sans-serif;
}

html {
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(168,168,168,1) 100%);
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
}

/* esto es lo que deja mas sencillo los paddings y margins*/

*, *:before, *:after {
    box-sizing: inherit;
  }
  
body {
    height: 100%;
    font-size: 16px;
    font-family: 'Rajdhani', sans-serif;
    margin: 0; /* Elimina el margen predeterminado */
    padding: 0; /* Elimina el relleno predeterminado */

/* Titulos */
h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.1rem;
}

h3 {
    font-size: 1.8rem;
}

h1, h2, h3 {
    text-align: center;
}

.titulo {
    line-height: 3.5rem;
    font-weight: 300;
    color: rgb(141, 141, 141);
}

/* Globales */

.contenedor {
    max-width: 128rem;
    margin: auto;
    height: 100%;

}

.boton {
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 1rem 5rem;
    margin-top: 1rem;
    text-decoration: none;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: .8rem;
    text-align: center;
    width: 100%;
    border: none;
}

.boton:hover {
    cursor: pointer;
    background-color: var(--primario);
}

.logo {
    background-image: url(https://comfamiliarnarino.com/wp-content/uploads/2022/12/logo-comfa-color-300x300.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
    position: relative;
    height: 250px;
    margin: 3rem;
}



/* Box para contenido */

.sombra {
    box-shadow: 0px 0px 9px -1px rgba(0,0,0,0.42);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}

/** COntacto **/

.formulario {
    background-color: var(--gris);
    width: min( 60rem, 100% ); /** utilizar el valor mas pequeño **/
    margin: 0 auto;
    padding: 3rem;
    border-radius: 3rem;
}

.formulario fieldset {
    border: none;
}

.formulario legend {
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primario);
}

.campo {
    margin-bottom: 1rem;
}

.campo label {
    color: var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.campo textarea{
    height: 12rem;
}

.rellenable {
    width: 100%;
    border: none;
    border-radius: .5rem;
}


/*---- footer ----*/

.creditos {
    text-align: center;
    margin-botton
}