@import url("https://fonts.cdnfonts.com/css/poppins");
* {
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  user-select: none;
}
.hide {
  opacity: 0;
}
header {
  width: 100%;
  height: 70px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* Make the navbar fixed */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: add a slight shadow */
}
.menu-icon {
  display: none;
  cursor: pointer;
}
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-image {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
nav.menu ul {
  font-family: "Poppins";
  display: flex;
  gap: 20px;
}

nav.menu ul li {
  list-style: none;
}

nav.menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.productos {
  max-width: var(min(1200px, 90vw));
  padding: 3rem 1rem;
  margin: 3% auto;
}
.productos h2 {
  font-family: "Poppins";
  text-align: center;
  font-size: 2.5rem;
  color: rgb(20, 20, 20);
  margin-bottom: 20px;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}
.bento-item {
  background: rgb(30, 30, 30);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.bento-item img {
  width: 100%;
  height: auto;
  display: block;
}
.bento-item .content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bento-item .content h3 {
  font-family: "Poppins";
  font-size: 1.5rem;
  color: white;
  margin: 0;
}
.bento-item .content span {
  opacity: 0;
  color: white;
  font-family: "Poppins";
  transition: 0.6s;
}
.bento-item:hover .content span {
  opacity: 1;
  transition: 0.6s;
}
.carousel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 80%;
  max-width: 800px;
  overflow: hidden;
  margin: auto;
}
.carousel-container h2 {
  font-family: "Poppins";
  text-align: center;
  font-size: 2.5rem;
  color: rgb(20, 20, 20);
  margin-bottom: 20px;
}

.carousel {
  display: flex;
  width: 100%;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.carousel-item p {
  font-family: "Poppins";
  font-weight: bold;
  font-size: 25px;
  display: none;
}

#carouselButtons {
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

#carouselButtons:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.empleo {
  margin: 50px;
}
.empleo h2 {
  font-family: "Poppins";
  text-align: center;
  font-size: 2.5rem;
  color: rgb(20, 20, 20);
  margin-bottom: 20px;
}
#job-form {
  overflow: hidden;
  width: 80%;
  margin: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#job-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
#job-form img {
  width: 100%;
  margin: -1% auto;
}
footer {
  background-color: rgb(20, 20, 20);
  color: white;
  padding: 3rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
}
.footer-column {
  flex: 1;
  min-width: 200px;
  margin: 1rem;
}
.footer-column h4 {
  font-family: "Poppins";
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: white;
}
.footer-column p,
.footer-column a {
  font-family: "Poppins";
  font-size: 0.875rem;
  color: white;
  line-height: 1.6;
}
.footer-column a {
  text-decoration: none;
}
.footer-column a:hover {
  color: white;
}
.footer-column ul {
  list-style: none;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: 0.5rem;
}
/* From Uiverse.io by javierBarroso */
.social-login-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  -webkit-box-reflect: below 5px linear-gradient(transparent, #00000055);
}
.social-login-icons svg {
  width: 40px;
}

.social-icon-1,
.social-icon-1-1,
.social-icon-2,
.social-icon-2-2,
.social-icon-3,
.social-icon-3-3,
.social-icon-4,
.social-icon-4-4 {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  margin: 20px 0 0px 0;
}

.icon svg {
  fill: #fff;
}

.socialcontainer {
  height: 80px;
  overflow: hidden;
}
.social-icon-1 {
  transition-duration: 0.4s;
  background-color: rgb(0, 0, 0);
  transition-timing-function: cubic-bezier(0.46, -0.78, 0.5, 1.56);
}
.social-icon-1 svg,
.social-icon-2 svg,
.social-icon-3 svg,
.social-icon-4 svg {
  opacity: 0;
  transition-duration: 0.5s;
  transition-delay: 0.2s;
}
.social-icon-1-1 {
  transition-duration: 0.4s;
  background-color: rgb(0, 0, 0, 0);
}
.socialcontainer:hover .social-icon-1 {
  transform: translateY(-70px);
}
.socialcontainer:hover .social-icon-1 svg,
.socialcontainer:hover .social-icon-2 svg,
.socialcontainer:hover .social-icon-3 svg,
.socialcontainer:hover .social-icon-4 svg {
  opacity: 1;
}
.social-icon-2 {
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.46, -0.78, 0.5, 1.56);
  background: linear-gradient(
    72.44deg,
    #ff7a00 11.92%,
    #ff0169 51.56%,
    #d300c5 85.69%
  );
}
.socialcontainer:hover .social-icon-2 {
  transform: translateY(-70px);
}
.social-icon-3 {
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.46, -0.78, 0.5, 1.56);
  background: #316ff6;
}

.socialcontainer:hover .social-icon-3 {
  transform: translateY(-70px);
}
.social-icon-4 {
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.46, -0.78, 0.5, 1.56);

  background: linear-gradient(
    180deg,
    rgba(129, 34, 144, 1) 0%,
    rgba(77, 34, 124, 1) 91%
  );
}

.socialcontainer:hover .social-icon-4 {
  transform: translateY(-70px);
}

.contact-form {
  display: flex;
  flex-direction: column;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.contact-form button {
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  background-color: rgb(140, 0, 0);
  color: white;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.3s ease;
}
.contact-form button:hover {
  opacity: 0.8;
}
@media (max-width: 768px) {
  .menu-icon {
    display: flex;
    margin-right: 4px;
  }
  #menu-toggle {
    display: none;
  }
  #job-form img {
    width: 200%;
    margin: -2% -50%;
  }
  .logo {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .productos {
    margin: 6% auto;
  }
  .footer-column:nth-child(4) {
    padding-top: 50px;
  }
  nav.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px; /* Width of the side menu */
    height: 100vh;
    background-color: gray;
    overflow-y: auto;

    transition: transform 0.3s ease;
    transform: translateX(-100%);
    z-index: 1;
  }

  nav.menu ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  nav.menu ul li a {
    padding: 15px;
    display: block;
    color: #000;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s;
  }

  nav.menu ul li a:hover {
    background-color: #cac6c6fd;
  }

  nav.menu #openModal {
    display: none;
  }

  nav.menu #openModal2 {
    display: none;
  }

  #menu-toggle:checked ~ nav.menu {
    transform: translateX(0);
  }
  .carousel-container {
    width: 70%;
  }
  .carousel-item:nth-child(1) {
    margin-top: 38px;
  }
  .carousel-item p {
    display: block;
  }
  #carouselButtons {
    top: 77%;
  }
}
