@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/* Header */

header {
    width: 100%;
    height: 500px;
    background: #BCC5C5;
    background: linear-gradient(to right, hsla(180, 7%, 75%, 0.5), hsla(180, 7%, 75%, 0.5)), url(../img/portada2.jpeg);
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    text-align: right;
    padding: 60px 1px 0 0;
}

nav > a{
    color:#000;
    font-weight: bold;
    text-decoration: none;
    margin-right: 60px;
   
}

nav > a:hover{
    text-decoration: underline;
    background: #fff;
}

header .logo{
    display: flex;
    height: 330px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
        background-image : url("../img/teracore.png");
    background-repeat : no-repeat;
     background-size : 280px   280px;
     background-position : 50% 50%;
}


.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}


/* ----- ----- MAIN ----- ----- */
main{
  font-family: 'Montserrat', sans-serif;
}

.main .contenedor {
  overflow: visible; 
}
.main .acerca-de {
  text-align: center; 
}
  .main .acerca-de .foto {
    margin-top: -150px; 

  }
    .main .acerca-de .foto img {
      border-radius: 60%;
      vertical-align: top;
      border: 10px solid rgba(0, 0, 0, 0.1); 
    }
  
.main .servicios {
  background: #fff;
  padding: 1px 0;   
  
}
  .main .servicios .contenedor {
    overflow: hidden;
  }
  .main .servicios .titulo {
    font-size: 44px;
    line-height: 54px;
    margin-bottom: 60px;
    font-weight: 300;
    color: #000;
    text-align: center; 
    font-family: inherit ;
  }
  .main .servicios .contenedor-servicios {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;  
   
  }
    .main .servicios .contenedor-servicios .servicio {
      width: 43%;
      margin-bottom: 20px; 
      margin-right: 40px;
    }
      .main .servicios .contenedor-servicios .servicio .thumb {
        width: 100%;
        margin-bottom: 10px; 
      }
        .main .servicios .contenedor-servicios .servicio .thumb img {
          vertical-align: top;
          width: 100%;
          border-radius: 3px; 
          margin-bottom: 25px;
        }
      .main .servicios .contenedor-servicios .servicio .tipo {
        text-align: center; 
      }
        .main .servicios .contenedor-servicios .servicio .tipo .nombre {
          font-weight: 900;
          color: #3895ea;
          margin-bottom: 10px; 
        }
        .main .servicios .contenedor-servicios .servicio .tipo .info {
          font-size: 18px;
          color: #636363; 
            margin-bottom: 35px;
        }

/* ----- ----- -------------------------------------------- ----- */
.main .ubicacion {
    background: #fff;
    padding: 1px 0;
      position: relative;
    bottom: 100px;
  
  }
  .main .ubicacion .descripcion-ubicacion{
    
      text-align: center;
        font-size: 60px;
        line-height: 30px;
       font-weight: 300;
        margin-bottom: 40px;
        font-family: inherit;
    }
  .main .ubicacion .direccion {
      width: 50%;
      float: left;
      text-align: left;
      font-size: 25px;
      color: #000;
   
  }
  .main .ubicacion .horarios {
      width: 50%;
      float: right;
      text-align: right;
      font-size: 25px;
      font-family: inherit;
  }
  .main .ubicacion .direccion .calle {
      margin-bottom: 15px;
  }
  .main .ubicacion .horarios {
      overflow: hidden;
        color: #000000;
  }
    .main .ubicacion .horarios h4 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 25px;
        font-family: inherit;
    }
    .main .ubicacion .horarios .entre-semana,
    .main .ubicacion .horarios .fin-semana {
        width: 50%;
        float: left;
        text-align: center;
        font-family: inherit;
      
    }

.main .mapa {
    width: 100%;
    overflow: hidden;
  }
  .main .mapa iframe {
      width: 100%;
      max-height: 600px;
  }

/*----------------------------------------*/
footer .redes-sociales {
  background: #1e2b38;
  padding: 0.1px 0; 

}
  footer .redes-sociales .contenedor {
    display: flex;
    justify-content: center; 
  }
    footer .redes-sociales .contenedor a {
      color: #fff;
      text-align: center;
      width: 100px;
      font-size: 30px;
      padding: 0.1px 0;
      display: block;
      margin: 0 20px;
      border-radius: 3px; 
    }
     footer .redes-sociales .contenedor .facebook {
      background: #55acee; 
    }
    footer .redes-sociales .contenedor .whatsapp {
      background: #075e54; 
    }
    footer .redes-sociales .contenedor .linkedln {
      background: #0077b5; 
    }
    footer .redes-sociales .contenedor .instagram {
      background: #e1306c; 
    }
    footer .redes-sociales .contenedor .facebook:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .whatsapp:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .linkedln:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .instagram:hover {
      background: #000; 
    }
  
    footer .final {
      background: #000;
      padding: 4px 0;
    }
      footer .final .contenedor {
        background: #000;
        padding: 4px 0;
      }
        footer .final .contenedor .copyright {
          text-align: center;
          padding: 1px 0;
          color: #fff;
        }


@media screen and (max-width:800px){
    header{
        background-position: center;
    }
    header .logo{
      background-size : 250px   250px;
  }}
  @media screen and (max-width:689px){
    nav > a{
       margin-right: 30px;
    }
    header .logo{
      background-size : 220px   220px;
  }
}

@media screen and (max-width:634px){
      nav > a{
         margin-right: 30px;
      }
      header .logo{
        background-size : 220px   220px;
    }
    .main .servicios .contenedor-servicios {
      display: flex;
      justify-content: center;  
    }}
  
        


@media screen and (max-width:500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }
    nav > a{
        margin-right: 5px;
    }
    header .logos{
        display: none;   
    }
    header .logo{
      background-size : 220px   220px;
  }
  .main .servicios .contenedor-servicios {
    display: flex;
    justify-content: center;  
  }
    footer .redes-sociales .contenedor {
    flex-wrap: wrap; 
    }
    footer .redes-sociales .contenedor > a {
      margin-right: 5px;
      margin: 1px 1px;
      
    }
    .main .ubicacion .descripcion-ubicacion{
    font-size: 40px;
  }
  .main .ubicacion .direccion,
  .main .ubicacion .horarios {
    width: 100%;
    text-align: center;
    font-size: 15px;
  }
  .main .ubicacion .direccion {
    margin-bottom: 20px;
  }
  .main .ubicacion .horarios .entre-semana,
  .main .ubicacion .horarios .fin-semana {
    width: 100%;
    margin-bottom: 10px;
  } }

@media screen and (max-width:300px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }
    nav > a{
        margin-right: 5px;
    }
    header .logos{
        display: none;   
    }
    header .logo{
       background-size : 180px   180px;
  }
    .main .servicios .contenedor-servicios {
      display: flex;
      justify-content: center;  
    }
    footer .redes-sociales .contenedor {
    flex-wrap: wrap; 
    }
    footer .redes-sociales .contenedor > a {
      margin-right: 5px;
      margin: 1px 1px;
    }
    .main .ubicacion .descripcion-ubicacion{
        font-size: 40px;
    }
  .main .ubicacion .direccion,
  .main .ubicacion .horarios {
    width: 100%;
    text-align: center;
    font-size: 15px;
  }
  .main .ubicacion .direccion {
    margin-bottom: 20px;
    
  }
  .main .ubicacion .horarios .entre-semana,
  .main .ubicacion .horarios .fin-semana {
    width: 100%;
    margin-bottom: 10px;
  } 
}

