@font-face {
    font-family: "roboto" ;
    src: url(Roboto-Regular.ttf);
}

html{
    box-sizing: border-box;
    font-size: 16px;
}
body{
    font-family: "roboto";
    margin: 0;
    background-color: rgb(255, 255, 255); box-sizing: border-box;
    
}
.menu-contenedor{
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    z-index: 1;
}

.boton_movil{
    display: none;
}

.menu{
    list-style-type: none;
    margin: auto;
    padding-left: 25%;
    overflow: hidden;
    font-weight: lighter;
    background-color: rgb(255, 255, 255);
    position: sticky;
    top: 0;
    box-shadow:0px 10px 5px rgb(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 1;
}

.boton_cerrar{
    display: none;
}

.logotop{
    margin-left: 30%;
}

.item_menu{
    float: left;
}
.item_menu.sobre-nosotros{
    float: left; 
}

.item_menu a {
    display: block;
    padding: 20px; 
    text-decoration: none;
    color: rgb(43, 43, 43)
    
  }

.item_menu a:active{
    color: turquoise;
}  
  
.item_menu a:hover:not(.active):active{
    color: turquoise;
}

.item_menu a:hover:not(.active){
    color: white;
    background-color: rgb(255, 144, 162);
}
.active {
    background-color: rgb(255, 144, 162);
    color: white;
}

h1.cita-foto{
    position: absolute;
    width: 35%;
    height: auto;
    font-size: 5rem;
    margin-left: 20%;
    margin-top: 7%;
    background-color:  rgb(255, 98, 124);
    padding: 1%;
    border-radius: 50px;
    border-right: 5px solid white;
    border-bottom: 5px solid white;
    
}

.cita-enlace{
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.5s;
    
}
.cita-enlace:hover{
    color: rgb(0, 0, 0);
}
.friso{
    background-size: cover;
    width: 100%;
}
.contenido{
    margin: 5%;
}
p.lema{
    font-weight: lighter;
    font-size: 2rem;
    text-align: center;
    color: #2c2c2c;
}
p.sublema{
    text-align: left;
    color: lightslategrey;
    margin-left: 20%;
    margin-right: 20%;
    padding-left: 5px;
    border-left: 2px solid #2c2c2c;
}

.contenedor{
    margin:auto;
    width: 100%;
    display: flex;
    max-width: 1100px;
   
}

.tarjeta{
    width: 100%;
    margin: 20px;
    border-radius: 6px;
    overflow: hidden;
    background-color: aliceblue;
    box-shadow:0px 1px 10px rgb(0, 0, 0, 0.2);
    transition: all 400ms ease;
}
.tarjeta:hover{
    box-shadow:5px 5px 20px rgb(0, 0, 0, 0.4);
    transform: translateY(3%);
    background-image: linear-gradient(aliceblue,rgb(255, 236, 236));
}
.tarjeta img{
    width: 100%;
    height: 210px;
}
.tarjeta .tarjeta-contenido{
    padding: 15px;
    text-align: center;
    
}
.tarjeta .tarjeta-contenido p{
    line-height: 1.5;
    color: #6a6a6a;
}
.tarjeta .tarjeta-contenido h3{
    font-weight: 400;
    margin-top: -10px;
}
.tarjeta .tarjeta-contenido a{
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    color: rgb(255, 98, 124);
    border: 1px solid rgb(255, 98, 124);
    border-radius: 4px;
    transition: all 400ms ease;
}
.tarjeta .tarjeta-contenido a:hover{
    background-color:  rgb(255, 98, 124);
    color: white;
}
footer{
  
    left: 0;
    bottom: 0;
    padding: 2rem 8%;
    background-color: #2c2c2c;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.social-iconos-contenedor, .footer-menu-contenedor{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.social-icon{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    border: 1px solid rgb(255, 98, 124);
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
    margin: 1rem;
    
}
.social-icon:hover{
    background-color:rgb(255, 98, 124);
}
.social-icon:nth-child(odd){
    background-image: url(iglogo.png);
}
.social-icon:nth-child(even){
    background-image: url(fblogo.png);
}
.footer-menu-contenedor{
    list-style-type: none;
    color: rgb(255, 98, 124);
    font-size: 18px;
}
.menu-objeto{
    margin: 1rem 1.5rem;
    cursor: pointer;
    opacity: 0.6;

}
.menu-objeto:hover{
    opacity: 1;
}
.copyright{
    color: rgb(255, 98, 124);
    opacity: 0.3;
    text-align: center;
}

.contenedor-mapa{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
h1.mapa-titulo{
    font-weight: lighter;
    margin-bottom: 60px;
}
iframe{
    width: 60%;
    height: 500px;
    border-radius: 30px;
 
    background-color:aliceblue;
    transition: all 400ms;
    box-shadow:0px 1px 10px rgb(0, 0, 0, 0.2);
}
iframe:hover{
    transform: translateY(-3px);
    box-shadow:0px 1px 10px rgb(0, 0, 0, 0.7);
}
h1.mapa-titulo2{
    font-weight: lighter;
    margin-bottom: 60px;
    margin-top: 40px;
}
.telefono-foto{
    
    margin-right: 10px;
    width: 2rem;
    height: 2rem;
}
form{
    margin-left: 35%;
    margin-right:35%;
    margin-bottom: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    width: auto;
    background-color: #2c2c2c;
    overflow: hidden;
    color: rgb(255, 98, 124, 0.7);
    border-radius: 20px;
    font-weight: lighter;
    text-align: center;
    font-size: 2rem;
}
form input{
    width: auto;
    height: auto;
}
table {
    margin: 25%;
    margin-top: 0;
    width: 50%;
    border-collapse: collapse;
    background-image: linear-gradient(rgba(255, 202, 211, 0.7), white);
  }
  
  th, td {
    border: 2px solid rgb(71, 71, 71);
    padding: 8px;
    text-align: center;
    
  }
  
  th {
    background-color:rgb(255, 98, 124, 0.7);
  }
    td:hover {
    background-color: coral;
    color: aliceblue;
  }
  .fondo{
    width: 100%;
    height: 100vh;
    background-image: url(mental1.webp);
    background-attachment: fixed;
    z-index: -1;
    position: fixed;
    opacity: 0.1;
  }

  .titulo_parrafo{
    text-align: center;
    font-weight: lighter;
  }

  .lista_tratamientos{
    text-align: left;
    margin-left: 44%;
  }
  .item_lista1, .item_lista2, .item_lista3{
    color: rgba(233, 70, 97, 0.7);
    list-style-type:disc;
    padding-top: 1%;
  }

  .item_habla, .item_lenguaje, .item_voz{
    list-style-type: "📢";   
    padding-bottom: 2%;
    font-size: larger;
  }

  .form-group {
    margin-bottom: 20px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: calc(90%); 
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button[type="submit"] {
    width: 70%;
    padding: 10px;
    background-color: rgb(255, 98, 124);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: rgb(255, 75, 105);
}


@media screen and (max-width: 768px) {


    .menu {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        display: flex;
        gap: 1rem;
        flex-direction: column;
        top: 0;
        right: 0;
        align-items: end;
        background-color: rgb(255, 255, 255);
        padding: 0.5rem;
        bottom: end;
        box-shadow: 0,0,0, 100vmax, rgba(0,0,0, .5);
    }

    .menu.visible{
        opacity: 1;
        visibility: visible;
    }

.boton_cerrar{
    display: block;
    margin-top: 1.5rem;
    border: 0;
    font-size: 1.2rem;
    background-color: transparent;
}
  .boton_movil{
    display: block;
    border: 0;
    font-size: 1.2rem;
    background-color: transparent;
  }

    .cita-foto{
        visibility: hidden;
    }

    .menu-contenedor{
        width: 100%;
    }

    .logotop{
        width: 50%;
        
    }

    .contenedor {
        flex-direction: column;
        align-items: center;
    }

    .tarjeta {
        width: 80%;
    }

}

@media screen and (max-width: 1800px) {
   
    
    .cita-foto a {
        font-size: 4.5rem;
    }


    @media screen and (max-width: 1620px) {
        
        .cita-foto a {
            font-size: 4.2rem;
        }

}

@media screen and (max-width: 1520px) {
  
    .cita-foto a {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 1270px) {
    
    .cita-foto a {
        font-size: 3rem;
    }

}

@media screen and (max-width: 1090px) {
 
    .cita-foto a {
        font-size: 2rem;
    }

}
}
