@font-face {
  font-family: 'Onest';
  src: url('Onest/ttf/onest-cyrillic-100-normal.ttf') format('truetype'),
       url('Onest/ttf/onest-cyrillic-200-normal.ttf') format('truetype'),
       url('Onest/ttf/onest-cyrillic-300-normal.ttf') format('truetype'),
       url('Onest/ttf/onest-cyrillic-400-normal.ttf') format('truetype');
}

body {
  font-family: 'onest', sans-serif;
  margin: 0;
  background-color: #dcdde1;
}

.container {
  justify-content: center;
  align-items: center;
}

.card-1 {
  background-color: #dcdde1;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-content {
  display: flex;
}

.card-left {
  flex: 1;
  overflow: hidden;
}

.card-right {
  flex: 1;
  padding: 60px;
  text-align: center;
}

.card-right h1 {
  font-size: 20px;
  margin-bottom: 50px;
}

.card-content img {
  width: 85%;
  max-width: 100%; /* Ajusta según tus necesidades */
  border-radius: 5px ;
  margin: 55px 55px;
}

.servicios {
  margin-top: 50px;
  text-align: center;
}

.servicios h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.servicios p {
  color: rgba(0, 0, 0, 0.7);
}

.acerca-link {
  display: inline-block;
  background-color: #596275;
  color: black;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  left: 50px;
}

.acerca-link:hover {
  text-decoration: underline;
}

/* Puedes agregar estilos adicionales según tus necesidades */



.card-content-2 h1 {
  margin-top: 0;
}

.card-content-2 p {
  color: #666;
}

.text-proyectos {
  text-align: center;
}

.text-proyectos h3 {
  margin-top: 50px;
  font-size: 25px;
}

.text-proyectos p {
  margin-left: 160px;
  margin-right: 10%;
  color: rgba(0, 0, 0, 0.7);
}

.proyectos {
    width: 100%;
    grid-template-columns: repeat(2, 1frr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;
    text-align: center;
}

.Pou p {
  margin-left: 15px;
}

.Pou {
  display: inline-block;
   overflow: hidden;
   margin: 35px 9%;
}

.Pou img {
  width: 450px;
    height: 450px;
    border-radius: 15px;
}

.mas-l {
  height: 40px;
  border-radius: 1px black;
  text-align: center;
}
.mas-link {
  color: black;
  text-decoration: none;
  background-color: #596275;
  color: rgb(0, 0, 0);
  padding: 5px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;  
  width: 4%;
  font-weight: bold;
}

.mas-link:hover {
  text-decoration: underline; 
  font-weight: bold;
}

.contacto-l {
  height: 50px;
  text-align: center;
}
.contacto-link {
  color: black;
  text-decoration: none;
  background-color: #596275;
  color: rgb(0, 0, 0);
  padding: 5px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;  
  width: 4%;
  font-weight: bold;
}

.contacto-link:hover {
  text-decoration: underline; 
  font-weight: bold;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 28px;  
  background-color: #596275;
  color: black;
  padding: 10px 20px;
  border-radius: 4px;
  display: none;
  margin-bottom: 60px;
}

.close-btn {
  margin: center;
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

.icon-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  top: 90%;
}

.icon-whatsapp img {
  width: 45px;
}


footer {
  background-color: #596275;
  padding: 20px;
  text-align: center;
}

.social-media-container {
  margin-bottom: 20px;
}

.social-media-container .social-btn {
  background-color: #28a745;
  color: #596275;
  border: none;
  padding: 10px 15px;
  margin: 0 5px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 5px;
}

footer .btnFacebook {
background-color: #071f3d; /* Color de Facebook */
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 5%;
}

footer .btnWhatsapp {
background-color: #071f3d; /* Color de WhatsApp */
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 5%;
}

footer .btnInstagram {
background-color: #071f3d; /* Color de Instagram */
color: white;
padding: 10px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
width: 5%;
}

.copyright {
  margin-top: 20px;
  color: #fff;
  font-size: 14px;
}

@media (max-width: 900px) {
  .card-content {
    flex-direction: column;
  }

  .card-right {
    order: 1;
    padding: 20px;
  }

  .card-content h1 {
    font-size: 18px;
    margin: 15px 0;
  }

  .card-content img {
    margin: 45px;
    
  }

  .servicios {
    order: 3;
  }

  .acerca-link {
    margin-top: 15px;
  }

  .text-proyectos h3 {
    font-size: 18px;
    margin-top: 15px;
  }

  .text-proyectos p {
    margin: 5px 0;
  }

  .Pou img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .mas-l,
  .contacto-l {
    margin-top: 15px;
  }
}

@media (max-width: 700px) {
  .card-content {
    flex-direction: column;
  }

  .card-right {
    order: 1;
    padding: 20px;
  }

  .card-content h1 {
    font-size: 18px;
    margin: 15px 0;
  }

  .card-content img {
    margin: 45px;
    
  }

  .servicios {
    order: 3;
  }

  .acerca-link {
    margin-top: 15px;
  }

  .text-proyectos h3 {
    font-size: 18px;
    margin-top: 15px;
  }

  .text-proyectos p {
    margin: 5px 0;
  }

  .Pou img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  .mas-l,
  .contacto-l {
    margin-top: 15px;
  }
}

@media (max-width: 500px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .nav-links li {
    margin: 5px 0;
  }

  .logo img {
    width: 50px;
  }

  .card-content {
    flex-direction: column;
  }

  .card-content h1 {
    font-size: 16px;
    margin: 10px 0;
  }

  .card-content img {
    margin: 30px;
  }

  .servicios {
    order: 2;
    margin-top: 10px;
  }

  .acerca-link {
    margin-top: 10px;
  }

  .text-proyectos h3 {
    font-size: 16px;
    margin-top: 10px;
  }

  .text-proyectos p {
    margin: 5px 0;
  }

  .Pou img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .mas-l,
  .contacto-l {
    margin-top: 10px;
  }
}