@charset "UTF-8";
/* ----------------- AGREGANDO @IMPORT ----------------*/ /* Agregando Variable */
/* Agregando Maps */
/* INICIO DE GLOBAL */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  font-family: "Montserrat", sans-serif;
}

body {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../media/background/pruebaback.jpg);
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

/* FIN DE GLOBAL */
/* INICIO ESTILO LOGO */
.row .logo_p {
  font-size: 2.4rem;
  color: white;
  font-weight: bold;
  padding: 2rem 2.8rem 0 0;
  display: flex;
  text-shadow: 10px 5px 10px black;
}

.colorLogo {
  color: yellow;
}

/* FIN ESTILO LOGO */
/* INICIO INDEX */
#hero {
  display: flex;
  text-align: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../media/img-index/hero.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
}
#hero h1 {
  color: white;
  font-size: 4.8rem;
}

.amarilloHoy {
  color: yellow;
  display: inline;
}

/*CONSEJOS*/
#container_consejo, .consejo {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.consejo {
  height: 70vh;
  width: 90%;
  text-align: center;
  color: white;
  margin: 1.6rem;
  font-size: 3rem;
}

.moto {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../media/img-index/consejoCasco.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
}

.noche {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../media/img-index/noche.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
}

.niños {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../media/img-index/niños.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 15px;
}

.consejo__bottom {
  font-size: 1.6rem;
  font-weight: bold;
  padding: 0.7rem;
  margin-top: 1rem;
  border-radius: 10px;
}
.consejo__bottom:hover {
  background-color: greenyellow;
  transition: 0.5s;
}

/*FORMULARIO*/
#container-formulario {
  display: flex;
  width: 60%;
  margin: auto;
}

legend {
  font-size: 2rem;
  font-weight: bold;
  color: yellow;
  margin: auto;
}
legend:hover {
  color: yellowgreen;
}

.formulario {
  min-width: 260px;
  margin: auto;
}
.formulario input {
  line-height: 1.5;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  width: 100%;
  border-radius: 10px;
  padding-left: 10px;
}
.formulario #nombre {
  margin-top: 2rem;
}

textarea {
  font-size: 1.5rem;
  width: 100%;
  border-radius: 10px;
  padding-left: 10px;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.enviar {
  box-shadow: 0 5px 10px black;
  font-weight: bold;
}
.enviar:hover {
  background-color: greenyellow;
  transition: 0.7s;
}

/* FIN DE INDEX */
/* INICIO DE NAVBAR */
header {
  background: linear-gradient(to right, rgb(121, 117, 117), rgb(56, 56, 56));
  position: sticky;
  top: 0;
  z-index: 5;
  box-shadow: 0 5px 10px black;
}

ul {
  list-style: none;
  display: flex;
  margin: 2.4rem 2.8rem;
}
ul li {
  margin-left: 1rem;
}
ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
}
ul li a:hover {
  color: yellow;
}

.row {
  display: flex;
  text-align: center;
  justify-content: space-between;
}

/* FIN DE NAVBAR */
/* INICIO DE TITULOS */
/*TITULO PRINCIPAL*/
/* .container-titulo-reg */
h1 {
  color: white;
  font-weight: bold;
  font-size: 4rem;
}

.container-titulo-reg, .container-titulo-reco, .container-titulo-inf, .container-titulo-pre {
  display: flex;
  margin: 3.2rem;
}

.colorRojo {
  color: red;
  font-weight: bold;
}

/*------------------INICIO PREPARARCION DE PREVENTIVAS----------------------*/
/*TITULO PRINCIPAL*/
/* .container-titulo-pre */
h1 {
  color: white;
  font-weight: bold;
  font-size: 4rem;
}

.container-titulo-pre {
  /* display: flex;
  margin: 3.2rem; */
}

.colorAmarillo {
  color: yellow;
  font-weight: bold;
}

/*------------------INICIO PREPARARCION DE INFORMATIVAS----------------------*/
/*TITULO PRINCIPAL*/
/* .container-titulo-inf */
h1 {
  color: white;
  font-weight: bold;
  font-size: 4rem;
}

.container-titulo-inf {
  /* display: flex;
  margin: 3.2rem; */
}

.colorVerde {
  color: greenyellow;
  font-weight: bold;
}

/*------------------INICIO PREPARARCION DE RECOMENDACIONES----------------------*/
/*TITULO PRINCIPAL*/
/* .container-titulo-reco */
h1 {
  color: white;
  font-weight: bold;
  font-size: 4rem;
}

.container-titulo-reco {
  /* display: flex;
  margin: 3.2rem; */
}

.colorCyan {
  color: cyan;
  font-weight: bold;
}

/* FIN DE TITULOS */
/* INICIO CONTENEDORES DE TEXTO */
.container-text {
  display: flex;
  color: white;
  margin: 3.2rem;
  font-size: 2rem;
}

/* FIN CONTENEDORES TEXTO */
/* INICIO CONTENEDORES DE IMAGENES */
/* IMAGENES REGLAMENTARIAS */
.container_img-img {
  display: flex;
  flex-wrap: wrap;
}
.container_img-img img {
  background-color: white;
  border: 1px solid black;
  width: 100px;
  margin: 1rem;
  border-radius: 15px;
  cursor: pointer;
}
.container_img-img img:active {
  width: 150px;
  height: 150px;
}

.container_img-reg {
  display: flex;
  margin-top: 3.2rem;
}

/* IMAGENES PREVENTIVAS */
.container_img-pre {
  display: flex;
  margin-top: 3.2rem;
}

/* IMAGENES INFORMATIVAS */
.container_img-inf {
  display: flex;
  margin-top: 3.2rem;
}

/* IMAGENES RECOMENDARIAS */
.container_img-reco {
  display: flex;
  margin: 3.2rem;
}

.img-consejo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.img-consejo img {
  width: 70%;
  height: 340px;
  padding-top: 2rem;
}
.img-consejo h3 {
  color: white;
  font-size: 3rem;
}

/* FIN CONTENEDORES DE IMAGENES */
/* INICO FOOTER */
footer {
  background: linear-gradient(to right, rgb(121, 117, 117), rgb(56, 56, 56));
  margin-top: 10px;
}
footer .container_footer {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.footer__logo .logo_p {
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  text-shadow: 0 5px 10px black;
}

.relleno p {
  color: white;
  font-size: 1.6rem;
  padding-right: 1.6rem;
}

/* FIN FOOTER */
/* INICIO DE GRID */
.grid-padre {
  display: grid;
  grid-template-areas: "header" "main" "footer";
  grid-template-rows: 60px auto 50px;
  grid-template-columns: auto;
  height: auto;
}

header {
  grid-area: header;
}

main {
  grid-area: main;
}

footer {
  grid-area: footer;
  justify-content: center;
}

/* FIN GRID */
/* INICIO DE MEDIAQUERIES */
@media (max-width: 930px) {
  .grid-padre {
    grid-template-rows: auto auto 70px;
  }
  header {
    position: inherit;
  }
  ul li {
    margin-top: 10px;
  }
  .container_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .row .logo_p {
    display: block;
    padding: 0;
    align-self: center;
  }
  .row {
    display: flex;
    justify-content: space-evenly;
  }
  .consejo {
    font-size: 2rem;
  }
  .container {
    width: 90%;
  }
  .img-consejo img {
    width: 100%;
    height: auto;
  }
  .texto-lluvia h3 {
    font-size: 2rem;
    font-weight: bold;
  }
  .formulario input {
    margin-bottom: 10px;
    font-size: 1.6rem;
  }
  textarea {
    font-size: 1.6rem;
  }
}
@media (max-width: 500px) {
  .row {
    padding-top: 1rem;
    display: block;
  }
  h1 {
    font-size: 3rem;
  }
}
/* FIN MEDIAQUERIES */
/* FIN IMPORTS */

/*# sourceMappingURL=style.css.map */
