/*HEADER - barra blanca*/
  header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 3;
    background-color: rgba(255,255,255,0.7);
    padding-top: 50px;
    padding-bottom: 0;
    transition: 0.2s;
}
/*Cuando haces scroll el fondo del header cambia de color:*/

header.abajo {
    background-color: #fff;
    box-shadow: 1px 1px 7px 1px rgba(178, 178, 178, 0.427);
    transition: 0.2s;
    padding: 10px 0.1% 20px 0.1%;
    height: 50px;
}
/* BANNER */
#banner {
    width: 100%;
    padding: 0 50px;
    background-image: url(../imagenes/contacto.jpeg);
    height: 60vh;
    background-size: cover; /*Para que la imagen rellene todo el espacio y se vea completa*/
    background-position: center;
}

.contenido-banner {
    text-align: center;
    position: relative;
    top: 30%;
    margin: 0 auto;
    color: #fff;
    font-family: 'metropolis';
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contenido-banner h1 {
    font-size: 2.5em;
    font-weight: 400;
    margin-top: 0.7em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    background-color: #171717;
    border-radius: 5px;
    width: auto;
    opacity: 0.8;
}

.text1 {
    font-family: 'josefine';
    font-size: 1.5em;
    font-weight: 200;
    color: #fff;
    text-align: center;
    background-color: #171717;
    padding: 1em;
    border-radius: 5px;
    margin-top: 1em;
}

.destacado{
    background: rgba(210,255,82,1);
    color: #000;
  }

 /* FORMULARIO */
 #contacto {
     display: flex;
     flex-direction: row;
     justify-content: center;
     align-items: center;
     position: relative;
     top: 0;
     background-color:#fff;
     width: 65%;
     border-radius: 5px;
     margin-top: 1em;
     margin-bottom: 5em;
     -webkit-box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.75);
     -moz-box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.75);
     box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.75);
  }
 .form-right {
    width: 50%;
    height: max-content;
    padding: 11em 0;
    text-align: center;
    background-color: #171717;
    display: block;
 }
 .form-right img {
    width: 14em;
    height: 14em;
    border-radius: 50%;
    object-fit: cover;
    outline: 3px dashed #fff;
    padding: 1%;
    margin-bottom: 2em;
 }
.form-right h3, p {
    margin-bottom: 1em;
    color: #fff;
}
.fa-brands {
    padding: 0.5em;
}
.formulario-contacto {
     width: 50%;
     height: max-content;
     padding: 2em 2em 1em 2em;
 }

 @media screen and (orientation: landscape) {
    
    .formulario-contacto {
      min-height: 600px; 
    }
  }
 
 .formulario-contacto label{
     width:100%;
     color: #171717; 
     display:block;
     margin-top: 10%;
     font-size: 1.5em;
 }
 ul {
     margin: 0px;
     padding: 0px;
 }
 li {
     display: flex;
     flex-direction: column-reverse;
 }
 
 li>input:focus+label, li>textarea:focus+label {
     color: rgba(57, 139, 216, 0.993);
     font-size: 1em;
     position: relative;
     top: -10px;
     transition: 0.4s;
 }
 
 .formulario-contacto input[type="text"],
 .formulario-contacto input[type="email"],
 .formulario-contacto input[type="tel"]{
     width:100%;
     height: 2vh;
     border: 0;
     border-bottom:1px solid #9c9c9c;
     font-size: 1em;
     color: #171717; 
     display:block;
 }
 .formulario-contacto input[type="text"]:focus,
 .formulario-contacto input[type="email"]:focus,
 .formulario-contacto input[type="tel"]:focus{
     outline: none;
     border-bottom:2px solid rgba(57, 139, 216, 0.993);
 }
 
 .formulario-contacto input[type="submit"]{
     width:auto;
     padding: 4% 17%;
     margin-top:7%;
     margin-bottom: 7%;
     display:block;
     color:#fff;
     background-color:#222222;
     font-size: 1.5em;
     font-weight: bold;
     border:none;
     border-radius: 5px;
 } 
 
 .formulario-contacto input[type="submit"]:hover{
     cursor:pointer;
     background-color:#858585;
     color: #fff;
 }
 
 textarea{
     width:100%;
     height: 3vh;
     border: 0;
     border-bottom:1px solid #9c9c9c;		
     padding-top: 4%;
     /*resize: vertical | horizontal | none | both*/
     resize:none;
     display:block;
     font-size: 1em;
     overflow-y: hidden;
 }
 textarea:focus {
     border-bottom:2px solid rgba(57, 139, 216, 0.993);
     outline: none; 
 }
 
 .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    height: max-content;
    min-height: 100%;
    width: 100%;
    color: #FFFFFFB3;
    padding: 1%;
    font-size: 0.9em;
}
 

  /* RESPONSIVE */
   
   
    @media only screen and (max-width: 769px){
 
    .footer {
     display: flex;
     flex-direction: column;
     justify-content: center;
     text-align: center;
     padding-top: 3%;
     padding-bottom: 3%;
     margin-bottom: 0;
     width: 100%;
     min-height: 100%;
     color: #FFFFFFB3;
   }
    }
    
    @media(max-width: 899px){ 
     /*HEADER*/
     .mostrar-menu, .esconder-menu{
       display: block;
   }
   .mostrar-menu {
       position:absolute;
       right: 5%;
       color: #3D3E3B;
   }
   
   .menu{
       position: fixed;
       display:flex;
       width: 80%;
       height: 100vh;
       right: -100%;
       top: 0;
       background-color: #fff;
       text-align: left;
       padding: 100px 0;
       z-index: 100;
   }
   nav ul {
       display: block;
       text-align: left;
       margin-left: 5%;
   }
   .menu a{
       display:flex;
       padding: 20px 20px 20px 0;
       color: rgb(190, 188, 188);
   }
   nav ul li{
       border-bottom: 1px solid rgb(190, 188, 188);
       width: 70vw;
   }
   .dropdown {
       position: relative;
       height: 6vh; 
   }
   .dropdown a i {
       transform: rotate(-90deg);
       position: absolute;
       top: 15px;
       right: 10px;   
       font-size: 18px;
   }
   
   .dropdown a i:active {
       transform: rotate(0deg);
   }
  
   .dropdown-content {
       display: none;
       position: relative;
       top: 5px;
       width: 100%;
       box-shadow: none;
       margin-left: 5px;
       transition: 0.8s;
       padding-top: 2px;
   }
   .dropdown-content a {
       font-size: 14px;
       font-family: 'josefine';
       text-transform: uppercase;
       text-align: left;
   }

   .dropdown-content::before {
       display: none;
   }

   .arrow {
       position: absolute;
       top: 0;
       right: 0;
       margin: 0;
       padding: 0;
   }
 
   .submenu-open {
       max-height: 1000px;
     }
 
   .esconder-menu{
       position: absolute;
       top: 40px;
       right: 10%;
       color: rgb(190, 188, 188);
       font-size: 2em;
   }

   #check:checked ~ .menu{
       right: 0%;
   }

   .top {
       display: none;
   }

   .language-menu-hamburguesa {
       display: block;
   }

   .dropbtn {
       margin: auto;
       padding: 0;   
   }

   .fa-brands {
       color: rgb(190, 188, 188);
   }

   .footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 3%;
    padding-bottom: 3%;
    margin-bottom: 0;
    width: 100%;
    min-height: 100%;
    color: #FFFFFFB3;
  }

  #contacto {
    display: flex;
    flex-direction: column;
    width: 90%;
  }

  .form-right img {
    width: 10em;
    height: 10em;

  }
  .formulario-contacto {
    width: 90%;
    padding: 0;
  }
  .form-right {
    width: 100%;
  }
 }
 
 
 