* {
  box-sizing: border-box;
}
.logo img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
}

section nav{
  display: grid;
  padding: 0 3rem;
  align-items: center;
  text-align: center;
  margin-top: 10px; 
  font-size: 1em;
}

h1 {
  padding-top: 30px;
}

article p {
  margin: 10px 0;
  }

p {
  display: inline-block;
  margin-left: 40px;
  margin-right: 40px;
  text-align: justify;
}

span {
  color: goldenrod;
}

/* Style the header */
header {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 35px;
  color: black;
  -webkit-box-shadow: 0 10px 40px -20px #000000;
  box-shadow: 0 10px 40px -20px #000000;
  margin-bottom: 40px;
}

/* Create two columns/boxes that floats next to each other */
/* nav {
  float: left;
  width: 30%;
  height: 300px; /* only for demonstration, should be removed */
  /* background: #EBBE29;
  padding: 20px;
} */ */

/* Style the list inside the menu */
/* nav ul {
  list-style-type: none;
  padding: 0;
} */

article {
  float: left;
  padding: 30px;
  width: 50%;
  background-color: #fff;
  height: 300px; /* only for demonstration, should be removed */
}

/* Clear floats after the columns */
section::after {
  content: "";
  display: table;
  clear: both;
}

/* Outline Outward */
.outline-outward {
  display: inline-block;
  position: relative;
  margin-right: 10px;
  margin-bottom: 5px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.outline-outward:before {
  content: '';
  position: absolute;
  border: #f3ba00 solid 5px;
  /* background: #9e7900; */
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: top, right, bottom, left;
  transition-property: top, right, bottom, left;
}
.outline-outward:hover:before, .outline-outward:focus:before, .outline-outward:active:before {
  top: -4px;
  right: -4px;
  bottom: -4px;
  left: -8px;
  cursor: pointer;
}
.outline-outward a{
  text-decoration: none;
  color: black;
}

/* #div-cookies {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background-color: #f3ba00;
  color: #1633f0;
  box-shadow: 0px -5px 15px gray;
  padding: 7px;
  text-align: center;
  z-index: 99;
} */

@media screen and (min-width: 480px) {
  article p {
  	font-size: 1.1em;
    margin: 20px 20px;
  }
  h1 {
  	font-size: 1.4em;
    margin: 20px 20px;
  }

  section nav{
    display: flex;
    justify-content: center;
    font-size: 1em;
  }
}

@media screen and (min-width: 767px) {
  article p {
  	font-size: 1.2em;
    margin: 20px 30px;
  }
  h1 {
  	font-size: 1.4em;
    margin: 20px 30px;
  }
  section nav{
    display: flex;
    font-size: 1em;
  }
}

@media screen and (min-width: 950px) {
  article p {
  	font-size: 1.3em;
    margin: 20px 80px;
  }
  h1 {
  	font-size: 1.4em;
    margin: 20px 80px;
  }
  section nav{
    display: flex;
    font-size: 1em;
  }
}


/* Formulario */

.formulario {
    background-color: #9E7900; /* color secundario */
    padding: 2rem;
    border-radius: 10px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    -webkit-box-shadow: 0 10px 40px -20px #000000;
    box-shadow: 0 10px 40px -20px #000000;
}
.formulario legend {
    text-align: center;
    font-size: 1.2rem;
    color: #f3ba00; /* color primario */
    margin-bottom: 2rem;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}
@media (min-width:768px) {
    .formulario {
        max-width: 800px;
        margin: 0 auto;
    }
}
.contenedor-campos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.campo {
    margin-bottom: 1rem;
    width: 100%;
}
.radio  {
    font-size: .8rem;
}
.radio label {
    font-size: 1rem;
}
@media (min-width:480px) {
    .campo {
        display: flex;
        align-items: center;
    }
    .radio  {
        font-size: 1rem;
    }
}
@media (min-width: 768px) {
    .campo{
        flex: 0 0 calc(50% - .5rem)
    }
}
.campo label {
    color: white;
    font-weight: 700;
    margin-bottom: .5rem;
    display: block;
}
@media (min-width:480px) {
    .campo label {
        flex: 0 0 90px;
    }
}
.campo input[type="text"],
.campo input[type="tel"],
.campo input[type="mail"],
.campo textarea {
    width: 100%;
    padding: .5rem;
    border: none;
    border-radius: .5rem;
}
@media (min-width: 768px) {
    :is(.campo) :is( 
        input[type="text"], 
        input[type="text"],  
        input[type="tel"],  
        input[type="mail"] , 
        textarea ) {
        flex: 1;
    }
}
.contacto h2 {
    text-align: center;
    color: #f3ba00;
}
.radio {
    color: white;
}

.w-100{
    flex: 0 0 100%;
}
.campo textarea {
    height: 7rem;
}

/* Botón de Enviar del Formulario */
.boton {
    background-color: #f3ba00;
    color: #9E7900;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    /* margin-right: 80px; */
    border-radius: 5px;
    font-weight: bold;
}
.boton:hover {
    /* opacity: .9; */
    color: white;
    font-weight: bold;
}
.enviar {
    display: flex;
    justify-content: flex-end;
}

.g-recaptcha {
    display: flex;
    justify-content: center;
    transform: scale(0.75);
    margin-bottom: 5px;
    margin-top: -5px;
}
@media (min-width:480px) {
    .g-recaptcha {
        margin-bottom: 10px;
        display: flex;
        justify-content: flex-end;
        transform: scale(1);
    }
}

/* Style the footer */
footer {
    display: block;
    background-color: #f3ba00;
    padding: 10px;
    text-align: center;
    color: white;
    margin: 40px 0 20px 0;
    -webkit-box-shadow: 0 10px 40px -20px #000000;
    box-shadow: 0 10px 40px -20px #000000;
}

/* unvisited link */
footer a:link {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}
footer a:visited {
    color: white;
    /* color: #9E7900; */
    text-align: center center;
}

.correo-footer,
.linkedin,
.privacidad,
.cookies {
    display: flex;
    align-items: center;
    justify-content: center;
}

.derechos p{
    display: block;
    text-align: center;
}

/* Whatsapp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
}

.whatsapp-button:hover {
  background-color: #128c7e;
}
