/* definir variables*/

:root{
    --color-principal: #edeef0;
    --verde-oscuro: #273723c9;
    --verde-claro: #486840be;
    --fondo-natural: rgba(039, 055, 035, 0.6) url("recursos/Fondo Complementa 1.jpg") no-repeat fixed;
}


/* importar estilos*/
@font-face {
    font-family: "fago";
    src: url("recursos/typo/FagoCo.otf"); /* Para Explorer e compatibles */
    /*src: url("recursos/Fago/Fago ttf/FagoCo-Medium.ttf") format("truetype"); /* Android e Mac */
  }

/* Barra desplazamento */


/* páxina */

html {
  font-family: "fago";  
  background: var(--fondo-natural);
  color: var(--color-principal);
}
body{
    width: inherit;
    padding-bottom: 1rem;   /*Altura do footer pra reserva-lo oco*/
}
footer{
    height: 2rem;
    width: 101%;
    margin: -1%;
    text-align: center;
    font-size: 0.8em;
    line-height: 2.5em;
    background: var(--verde-oscuro);
    opacity: 0.7;
}

footer div{
    display: inline-block;
    margin: auto;
    width: 44%;
}
button{
    display: block;
    text-align: center;
    margin: auto;
    background: inherit !important;
    color: inherit !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
/*button:hover {
    background: var(--verde-claro);
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
  */

  a {
  text-decoration: none;
  color: inherit;
}
footer a:hover{
    color: #edeef0;
    opacity: 0.8;
}
.datos{
    display: flexbox;
    align-self: flex-end;
    text-align: right !important;
    padding: 2%;
    background: var(--verde-oscuro);
    height: 72%;
}
.datos h3 a:hover{
    color: var(--color-principal);
    background: var(--verde-oscuro);
    opacity: 0.7;
    transition: all 0.5s ease;
  }
.et-hero-tabs,
.et-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  margin:  1.2% auto 1% auto;
  text-align: center;
  padding: 0 2em;
}
.et-hero-tabs h1,
.et-slide h1 {
  font-size: 2rem;
  margin: 0;
  letter-spacing: 1rem;
}
.et-hero-tabs h3,
.et-slide h3 {
  font-size: 1rem;
  letter-spacing: 0.3rem;
  opacity: 0.6;
  font-weight: 600;
}
.flex-cadro {
    background: var(--verde-oscuro);
    text-align: justify;
    max-width: 97%;
    padding: 2%;
}
.flex-cadro li{
    line-height: 2.2rem;
    font-weight: 600;
    margin-top: 1vh;
}
.cadros{
    background: var(--verde-oscuro);
    margin: auto;
    padding: 2%;
    text-align: justify;
    line-height: 1.5em;
}
.cadros li{
    padding-top: 0.6em;
    list-style:inside;
}
.et-hero-tabs-container {
  display: flex;
  flex-direction: row;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 70px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background: var(--verde-claro);
  z-index: 10;
}
.et-hero-tabs-container--top {
  position: fixed;
  top: 0;
}
.et-hero-tab, .et-hero-tab0 {
  margin: 0.01%;
  padding: 0.5%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: var(--color-principal);
  letter-spacing: 0.1rem;
  transition: all 0.5s ease;
  font-size: 0.8rem;
}
.et-hero-tab0{
    display: block;
    /* max-width: 12%; */
    width: fit-content;
}
.et-hero-tab:hover {
  color: var(--color-principal);
  background: var(--verde-oscuro);
  opacity: 0.7;
  transition: all 0.5s ease;
}
.et-hero-tab-slider {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 6px;
  background: var(--verde-oscuro);
  transition: left 0.3s ease;
}


/* formulario de contacto */

.formulario {
  background: var(--verde-claro);
  padding: 25px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}

.formulario h4 {
  display: block;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario input[type="tel"],
.formulario textarea {
  width: 100%;
  border: 1px solid #ccc;
  background: #FFF;
  margin: 0 0 1vh;
  padding: 2%;
}

.formulario textarea {
  height: 9vh;
  max-width: 100%;
  resize: none;
}

.formulario button[type="submit"] {
  cursor: pointer;
  width: 100%;
  border: none;
  background: var(--verde-oscuro);
  color: #FFF;
  margin: 0 0 5px;
  padding: 10px;
  font-size: 15px;
}

.formulario button[type="submit"]:hover {
  background: var(--verde-claro);
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background-color 0.3s ease-in-out;
}

.formulario button[type="submit"]:active {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}
.formulario input:focus,
.formulario textarea:focus {
  outline: 0;
  border: 1px solid #aaa;
}

::-webkit-input-placeholder {
  color: #888;
}

:-moz-placeholder {
  color: #888;
}

::-moz-placeholder {
  color: #888;
}

:-ms-input-placeholder {
  color: #888;
}

/* teléfonos */
.chamar{
  display: none;
  visibility: hidden;
}
#tel1 a{
  display: block;
  visibility: visible;
  color: var(--color-principal);
  line-height: 1.7rem;
  font-size: 1.2rem;
}

/* pantallas reducidas */

@media only screen and (max-device-width : 480px) {
    .et-hero-tabs h1,
  .et-slide h1 {
    font-size: 3rem;
  }
  .et-hero-tabs h3,
  .et-slide h3 {
    font-size: 1rem;
  }
  .et-hero-tab {
    font-size: 1rem;
  }
.cadros {
  max-height: 94vh;
  overflow-y: scroll;
  display: block;
  margin: 1vh auto 1vh auto;
  padding: 10px;
}

  .chamar {
    display: block;
    visibility: visible;
  }  
  #tel1 a{
    display: none;
    visibility: hidden;
  }
}