@import url("https://fonts.googleapis.com/css2?family=Bangers&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Rubik+Wet+Paint&display=swap");

.logo {
  width: 250px;
}
.contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -420px;
  width: 250px;
}
.logo1 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.temaT {
  margin-top: -190px;
  font-family: "Bangers", cursive;
  font-size: 60px;
  color: #a4ff6b; 
  text-shadow: 3px 3px 0px black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.temaTT {
  font-family: "Rubik Wet Paint", cursive;
  font-size: 40px;
  color: black;
  text-shadow: 2px 2px 0px #444;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.tema {
  font-family: "Bangers", cursive;
  font-size: 23px;
  color: #a4ff6b; 
  text-shadow: 3px 3px 0px black;
  display: flex;
  position: sticky; 
  top: 10px; 
  left: 20px;
  padding: 10px 20px;
  z-index: 1000; 
}
.tema1 {
  font-family: "Rubik Wet Paint", cursive;
  font-size: 18px;
  color: black;
  text-shadow: 2px 2px 0px #444;
  display: flex;
}
.container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #28a745;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 4px solid #000;
  height: 300px;
  width: 200px;

  position: sticky; 
  top: 10px; 
  left: 20px; 
  background-color: #fff; 
  padding: 10px 20px; 
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); 
  z-index: 1000; 
}

.container-img {
  align-items: center;
  border-radius: 365px;
}
.img-anderson {
  width: 100px;
  border-radius: 18px;
}
.container-texto {
  color: black;
  justify-content: center;
  text-align: center;
}
/* Estilos de la barra de navegación */
.navbar {
  position: fixed; /* Fija la barra en la pantalla */
  top: 0; /* La coloca en la parte superior */
  right: 20px; /* La mantiene en la esquina superior derecha */
  background-color: #fff; /* Color de fondo */
  padding: 10px 20px; /* Espaciado interno */
  border-radius: 10px; /* Bordes redondeados */
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

/* Estilos de la lista de navegación */
.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.navbar ul li {
  display: inline;
}

/* Estilos de los enlaces */
.navbar ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 12px;
  transition: background-color 0.3s, color 0.3s;
  border-radius: 5px;
}

/* Efecto hover: cambia el fondo a verde */
.navbar ul li a:hover {
  background-color: #28a745;
  color: white;
}
#productos {
  justify-content: right;
}

.carousel-container {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  margin-top: 20px;
}

.carril-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 660px; /* 3 tarjetas de 220px */
}

.tarjeta-carousel {
  width: 220px;
  background: #fff;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  flex-shrink: 0;
}

.tarjeta-carousel img {
  width: 100%;
  border-radius: 10px;
  display: block; 
}

.tarjeta-carousel h3 {
  margin: 10px 0;
  font-size: 16px;
}

.tarjeta-carousel button {
  background: green;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.tarjeta-carousel button:hover {
  background: darkgreen;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  position: relative;
}

.modal-content img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: red;
}

.carousel-container {
    border: 2px solid #28a745;
    position: relative;
    margin-left: auto;  
    margin-right: 20px; 
    padding: 15px;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 60%;
    height: 400px;
    background: rgb(234, 237, 233);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    text-align: center;
    padding: 20px;
}

.card img {
    width: 250px;
    height: auto;
    border-radius: 10px;
}

.card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.card button {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.card button:hover {
    background-color: darkgreen;
}
/* FORMULARIO DE CONTACTO*/
.conform{
    margin-left: 280px; /* Mueve 100px a la derecha */
    display: flex;
  }
  
form {
    padding: 50px 55px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    text-align: center;
    width: 340px;
    left: 22px; 
    background-color: rgb(255, 255, 255);
    border: 2px solid #28a745;
  }
  
  form h2 {
    color: #000000;
    font-size: 25px;
  }
  
  .form-txt {
    display: flex;
    justify-content: space-between;
  }
  
  .form-txt a {
    color: #000000;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .form-txt a:hover {
    color: #14f9a6;
  }
  
  /* Contenedor del formulario */
  .form-container {
    background-color: #818ec6; /* Fondo del formulario */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
  }
  
  input,
  textarea {
    border: 2px solid hsl(134, 61%, 41%);
    background-color: #ccf6e6; /* Fondo de los inputs */
    padding: 20px 14px;
    margin-bottom: 25px;
    border-radius: 10px;
    font-size: 15px;
  }
  
  ::placeholder {
    color: #0b0c11;
    font-size: 15px;
  }
  
  :focus {
    outline: 1px solid #14f9a6;
  }
  
  /* Botón del formulario */
  .btn {
    border: 2px solid #28a745;
    background-color: #14f9a6;
    color: #146d31;
    font-size: 17px;
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    transition: background 0.3s;
  }
  
  .btn:hover {
    border: 2px solid #28a745;
    background-color: #14ea9b;
  }
  
  /* DISEÑO RESPONSIVO PARA MOVILES DE EL FORM*/
  @media (max-width: 991px) {
    .conform{
        margin-left: 0px; /* Mueve 100px a la derecha */
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
      }
    form {
        width: 250px;  
      }
  }
   
/* DISEÑO RESPONSIVO PARA MOVILES*/
@media (max-width: 600px) {
    .on{
        display: none;
      }
    .container {
        display: none;
    }
    .logo {
        width: 100%;
      }
      .temaT {
        margin-top: 1px;
        width: 100%;
      }
      .temaTT {
        display: none;
      }
      #productos{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 400px;
        
      }
      .tema {
        position: static; 
      }
      .navbar {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed; /* Fija la barra en la pantalla */
        top: 1; /* La coloca en la parte superior */
        left: 22px; 
        background-color: #fff; /* Color de fondo */
        padding: 10px 20px; /* Espaciado interno */
        border-radius: 10px; /* Bordes redondeados */
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Sombra suave */
        z-index: 1000; /* Asegura que esté por encima de otros elementos */
      }
      .carousel-container {
      display: none;
    }

  }