/*----INDEX---*/
/*Tipo de letra para a web*/
* {
  font-family: Arial, Helvetica, verdana, sans-serif;
  color: #767676;
}

/*Para poder usar a letra Andica*/
@font-face {
  font-family: "Andica";
  src: url("../fuentes/Andica.ttf");
}

/*Para a cabeceira*/
header {
  background: radial-gradient(#00cccc, #009999);
  height: auto;
}

/*características para o logo*/
#logo {
  display: inline-block;
  vertical-align: top;
}

#logo img {
  height: 100px;
  width: 150px;
  margin-top: 2px;
  margin-left: 70px;
}

/*Para a linea azul máis oscura que hai debaixo e pegada cabeceira*/
.stick {
  clear: both;
  height: 15px;
  background-color: #00838e;
}

/*Para os formularios que hai na cabeceira*/
#forms {
  float: right;
  margin: 10px;
  padding-top: 7px;
}

form {
  margin: 10px;
}

/*Para que ó formulario sexa responsive*/
@media screen and (max-width: 500px) {
  header {
    text-align: center;
  }

  #logo img {
    margin: 0px;
    margin-top: 2px;
  }

  #forms {
    float: none;
    margin: 0 20vw;
    display: grid;
    grid-template-columns: auto;
  }

  form {
    display: grid;
    grid-template-columns: auto;
  }

  form input[type=submit] {
    margin: 0 10vw;
  }
}

/*Corpo da páxina*/
main {
  margin-top: 10px;
}

/*Características para os destacados do lado dereito da páxina*/
aside.featured {
  width: 35%;
  padding: 1px 9px;
  float: right;
}

/*Características para o navegador*/
.navegation a {
  text-decoration: none;
  color: inherit;
  font-size: 14px;
}

.navegation ul {
  list-style: none;
  padding: 0;
  background-color: #d9f5f2;
  display: flex;
}

.navegation li {
  list-style: none;
  font-weight: bold;
  color: #666;
  line-height: 2em;
  padding-left: 2em;
  display: inline-block;
  width: 150px;
  height: 30px;
  position: relative;
}

.navegation ul li ul li {
  background-color: #d9f5f2;
  font-weight: normal;
  padding-left: 4em;
}

.navegation ul li ul li:hover {
  color: blue;
  font-weight: bold;
}

.navegation li>ul {
  display: none;
}

.navegation li:hover>ul {
  display: block;
  position: absolute;
  top: 30px;
  left: 0px;
}

/*Características para a información da páxina*/
.information {
  width: 58%;
  padding: 1%;
  float: left;
  text-align: justify;
  font-size: 1.1em;
  line-height: 1.4em;
}

.information p,
.information ul li {
  font-family: "Andica";
}

/*Características para títulos*/
.information h1,
.information h2,
.featured h1 {
  line-height: 1.2em;
  color: #00838e;
  border-bottom: 1px solid;
}

.information .subraya {
  text-decoration: underline;
  font-weight: bold;
}

.information ul {
  list-style: square;
}

/*Características para os títulos e enlaces de destacados*/
.featured h3 {
  background-color: #d9f5f2;
  line-height: 2em;
}

.featured a {
  color: #00838e;
}

/*Características para o pé de páxina*/
footer {
  clear: both;
  background-color: #00838e;
  width: 100%;
  height: 100px;
  color: red;
  padding-top: 5px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-weight: bold;
}

footer p {
  color: black;
}

footer a {
  color: blue;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: rgb(244, 244, 245);
}

/*Características para a lista que hai dentro da feira*/
#feiralista ul {
  display: inline-block;
}

#feiralista {
  position: relative;
}

/*Características para imáxenes*/
#paloma {
  float: left;
  padding-right: 2%;
  overflow: hidden;
}

#linares {
  float: right;
  padding-left: 2%;
}

#navia {
  float: left;
  padding-right: 2%;
}

#cainzo {
  margin-top: 10%;
  float: right;
}



/* --- PRODUCTOS --- */
/*Por as tarxetas en columnas*/
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
}

/*Características para as diferentes pantallas, para o responsive da web*/
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .cards {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(1, 1fr);
  }
}

/*Resto das características das tarxetas*/
.card {
  width: 300px;
  height: 400px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  transition: 5s;
  margin: 15px 20px;
  background-color: #def1f0;
  box-shadow: 2px 2px 2px 2px rgb(0, 0, 0);
}

.card:hover {
  box-shadow: 0 10px 25px rgba(3, 89, 92, .5);
  transform: translateY(-15px);
}

.card .head {
  height: 125px;
  width: 100%;
  position: relative;
}

.card .head .circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #0b6f72;
  bottom: 0;
}

.card .head .img {
  width: 140px;
  height: 140px;
  position: absolute;
  background: #fff;
  padding: 5px;
  border-radius: 50%;
  bottom: -15%;
  left: 50%;
  transform: translate(-50%);
}

.card .head .img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  justify-content: center;
}

.card .description {
  height: 200px;
  padding: 5px 20px 20px 20px;
  border-bottom: solid 1px rgba(6, 74, 76, .18);
  text-align: center;
}

.card .description h3 {
  color: #05383a;
}

.card .description p {
  margin-top: 5px;
  font-size: 13.5px;
}

.card .contact {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .contact a {
  text-decoration: none;
  color: #fff;
  background: #157579;
  padding: 5px 20px;
  border-radius: 5px;
  transition: .3s;
}

.card .contact a:hover {

  background: #0b6164;
}

.pcard {
  line-height: 20px;
  color: #808080;
  text-align: justify;
}


/*---CONTACTO--------*/

.fila {
  display: block;
  margin: 5px 0;
}

.col1 {
  width: 20%;
  float: left;
  line-height: 1.31em;
}

#datos .botones {
  display: block;
  text-align: center;
}

#informacion .botones {
  padding-top: 1%;
}

.google-maps {
  position: relative;
  padding-bottom: 75%;
  /*Esta es la relación de aspecto*/
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}