body {
    font-family: Arial, sans-serif;
    margin: 0px;
    padding: 0px;
    background-color: #f4f4f4;
}

header {
    display: flex;
    justify-content: space-between; /* Espacia la imagen y los enlaces */
    align-items: center; /* Centra verticalmente los elementos */
    background: #ffffff;
    color: white;
    padding: 20px;
}

.imagen-logo {
    margin-left: 100px;
}

a {
    text-decoration: none;
}

.logo {
    max-width: 200px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: auto;
    padding: 30px;
}

.nav a {
    color: #000;
    font-size: 30px;
    text-decoration: none;
    margin-left: 10px; /* Espacio entre los enlaces */
    padding: 25px;

}

.nav a:hover {
    text-decoration: none; /* Subraya el enlace al pasar el mouse */
}

main {
    padding: 20px;
}


.icono {
    max-width: 50px; /* Ajusta el tamaño de la imagen según sea necesario */
    height: auto;
    margin-top: 5%;
}

.container {
    /*
    width: 100%;
    display: flex;
    max-width: 100%;
    max-height: 60%;
    */

    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    flex-wrap: wrap;         /* Permite que los elementos se ajusten si es necesario */
    width: 100%;
    height: 100vh;           /* Opcional, ajusta la altura a la pantalla completa */
    box-sizing: border-box;  /* Asegura que los márgenes no afecten al tamaño del contenedor */
}

.card {
    /*
    width: 100%;
    margin: 70px; /* Espaciado entre las tarjetas 
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 1px Z rgba(0, 0, 0, 0.2);
    cursor: default;
    transition: all 400ms ease;
    border-radius: 50px 50px 0px 0px;
    */

    max-width: 600px;        /* Limita el tamaño máximo del contenedor de la tarjeta */
    margin: 20px;            /* Espaciado entre las tarjetas */
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
    cursor: default;
    transition: all 400ms ease;
    border-radius: 50px 50px 0px 0px;
}

.card:hover{
    box-decoration-break: 5px 5px 20px rgba(0,0,0,0.4);
    transform: translateY(-3%);
}

.card img{
    width: 100%;
    height: 50%;
    border-radius: 10px 10px 10px 10px;
}

.card .contenido {
    padding: 15px;
    text-align: center;
}

.card .contenido p{
    line-height: 1.5;
    color: #000;
}

.card .contenido h1{
    font-weight: 40px;
    margin-bottom: 25px;
    color: #000;
    border-radius: 0px 20px 20px 0px;
}

.card .contenido h3{
    text-align: left;
    color: #c3c3c3;
}

.card .contenido h4{
    text-align: left;
    color: #000;
    background-color: #f4f4f4;
    border-radius: 0px 30px 30px 0px;
    width: 250px;
    padding: 20px;
    margin-top: -160px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.3);
    position: absolute;
}

.card .contenido h4 img{
    width: 50px;
    height: 50px;
}

.card .contenido a{
    text-decoration: none;
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    color: #2fb4cc;
    border: 1px solid #2fb4cc;
    border-radius: 4px;
    transition: all 400ms ease;
}

.card .contenido a:hover {
    background: #2fb4cc;
    color: #ffffff;
}



/*MENU DESPLEGABLE DE IDIOMA */
.custom-select {
    position: relative;
    display: inline-block;
    width: 130px;
}

.select-selected {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ffffff;
    cursor: pointer;
}

.select-items {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #C3C3C3;
    z-index: 99;
    width: 100%;
}

.select-items div {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 20px;
}

.select-items img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.select-items div:hover {
    background-color: #c3c3c3;
}

/*carrusel */

.carrusel {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1900px;
    margin: auto;
    overflow: hidden;
}

.carrusel-imagenes {
    display: flex;
    transition: transform 0.5s ease;
}

.carrusel-imagenes img {
    width: 100%;
    height: 760px;
    flex-shrink: 0;
}

.carrusel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(88, 88, 88, 0.8);
    border: none;
    cursor: pointer;
    padding: 10px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/*Estilos de la tabla */
.container2 {
    display: flex;
    width: 270px; /* Ancho total */
    border: 0; /* Sin borde */
    height: 45px;
}
.left {
    display: flex;
    align-items: center; /* Centrar verticalmente */
    flex: 2; /* Ocupa el espacio disponible */
    margin-left: 5%;
}
.center {
    flex: 1; /* Ocupa el espacio disponible */
}
.right {
    display: flex;
    align-items: center; /* Centrar verticalmente */
    justify-content: flex-end; /* Alinear a la derecha */
    flex: 1; /* Ocupa el espacio disponible */
}
img {
    margin-right: 10px; /* Espaciado entre imágenes */
}

h5 {
    font-size: 25px;
    margin-right: 10px;
}

/* APARTADO DE YULOS */

.container4 {
    background-color: #000;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px;
}

.text-container-right {
    max-width: 600px;
    padding: 50px;
}

.text-container-left {
    max-width: 400px;
    padding: 50px;
}

.heading {
    font-size: 3em;
    margin-bottom: 10px;
    margin-top: -100px;
}

.subheading {
    margin-bottom: 20px;
}

.quote {
    font-style: italic;
    margin-top: 20px;
    font-size: 30px;
    margin-left: -90px;
}

.quote-author {
    font-weight: bold;
    font-size: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    background-color: #ffffff;
    color: #000;
    border-radius: 10px 10px 10px 10px;
}

.text-container-right button {
    padding: 10px 20px;
    background-color: #7A3F9D;
    color: white;
    border: none;
    cursor: pointer;
}

.imagenyulos {
    max-width: 400px;
}

/* APARTADO DE FORMULARIO */

.container5 {
    background-color: #ffffff;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.text-container-right2 {
    max-width: 400px;
    padding: 50px;
    margin-bottom: 50px;
    margin-left: 200px;
}

.text-container-left2 {
    max-width: 400px;
    padding: 50px;
    margin-bottom: 50px;
    margin-right: 200px;
}

.heading {
    font-size: 6em;
    margin-bottom: 10px;
    margin-top: 10px;
}

.subheading {
    font-size: 1.4em;
    margin-bottom: 20px;
    margin-top: -30px;
}

.quote {
    font-style: italic;
    margin-top: 20px;
}

.quote-author {
    font-weight: bold;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    background-color: #ffffff;
    color: #000;
    border-radius: 10px 10px 10px 10px;
    font-size: 20px;
    width: 75%;
}

.text-container-right button {
    padding: 10px 20px;
    background-color: #7A3F9D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.imagenyulos {
    max-width: 900px;
    width: 700px;
    margin-left: -50%;
}

.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.5);
    width: 200%;
    max-width: 400px;
    height: 600px;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 100px;
}

.form-container label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.form-container input, .form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.form-container input:focus, .form-container textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-container button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0.5px 0.5px 5px rgba(0, 0, 0, 0.9); /* Box shadow en el botón */
}

.form-container button:hover {
    background-color: #45a049;
}

.form-container button:active {
    background-color: #388e3c;
}

.monedas {
    margin-top: -130px;
}

/*FOOTER*/

.fondo-container {
    background-image: url('src/img/Imagen-de-fondo.png'); /* Cambia esto por la ruta de tu imagen */
    background-size: cover; /* Cubre todo el contenedor */
    background-position: center; /* Centra la imagen */
    color: white; /* Color del texto */
    padding: 40px; /* Espaciado interno */
    text-align: center; /* Centra el texto */
    height: 500px; /* Ajusta la altura según sea necesario */
    display: flex; /* Usa flexbox para centrar el contenido */
    flex-direction: column; /* Organiza los elementos en columna */
    justify-content: center; /* Centra verticalmente el contenido */
}

footer {
    margin-top: 100px;
    display: flex; /* Usar flexbox para dividir el footer */
    justify-content: space-between; /* Espacio entre los dos lados */
    align-items: center; /* Centra verticalmente los elementos */
    background: black; /* Color de fondo del footer */
    color: white; /* Color del texto */
    padding: 20px; /* Espaciado interno */
    border-radius: 20px 20px 0px 0px; /* Bordes redondeados */
    font-size: 15px;
}

.footer-left, .footer-right {
    flex: 1; /* Permite que ambas secciones ocupen el mismo espacio */
    padding: 50px;
}

.footer-left {
    text-align: left; /* Alinear texto a la izquierda */
    padding: 3%;
}

.footer-right {
    text-align: left; /* Alinear texto a la izquierda */
}

label {
    margin-bottom: 5px; /* Espacio entre la etiqueta y el campo */
    font-weight: bold; /* Negrita para la etiqueta */
}

input[type="email"] {
    padding: 10px; /* Espaciado interno */
    border: 1px solid #ccc; /* Borde del campo */
    border-radius: 5px; /* Bordes redondeados */
    margin-bottom: 15px; /* Espacio entre el campo y el botón */
    font-size: 16px; /* Tamaño de la fuente */
}

button {
    background-color: #007bff; /* Color de fondo del botón */
    color: white; /* Color del texto del botón */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    padding: 10px; /* Espaciado interno */
    cursor: pointer; /* Cambia el cursor al pasar el mouse */
}

button:hover {
    background-color: #0056b3; /* Color de fondo al pasar el mouse */
}

.contenedor {
    display: flex; /* Utilizamos flexbox para dividir las partes */
    justify-content: space-between; /* Distribuir el espacio de manera equitativa */
    width: 100%; /* Aseguramos que el contenedor ocupe todo el ancho */
    height: 330px; /* Puedes ajustar la altura según tus necesidades */
  }
  
  /* Estilos para las partes dentro del contenedor */
  .parte {
    flex: 1; /* Esto hace que cada parte ocupe el mismo espacio */
    padding: 20px; /* Espaciado interno */
    margin: 5px; /* Separación entre las partes */
    text-align: center; /* Centra el texto dentro de cada parte */
  }
  
  .parte:nth-child(1) {
    background-color: #000; /* Color de fondo para la primera parte */
  }
  
  .parte:nth-child(2) {
    background-color: #000; /* Color de fondo para la segunda parte */
  }
  
  .parte:nth-child(3) {
    background-color: #000; /* Color de fondo para la tercera parte */
  }

  .contenedor input{
    width: 300px;
  }

  .contenedor button {
    width: 150px;
    font-size: 20px;
    margin-left: -170px;
  }

  /* Responsivo - Dispositivos móviles */
@media (max-width: 768px) {
    /* Reducción del tamaño de la fuente en dispositivos móviles */
    .nav a {
        font-size: 24px;
        padding: 15px;
    }

    .logo {
        max-width: 150px;
        padding: 20px;
    }

    .container {
        flex-direction: column;
    }

    .card {
        margin: 20px;
    }

    .card img {
        height: 70%;
    }

    .card .contenido h1 {
        font-size: 1.5em;
    }

    .footer-left, .footer-right {
        padding: 10px;
    }

    .footer-left {
        font-size: 14px;
    }

    .footer-right {
        font-size: 14px;
    }
}

/* Responsivo - Tablets */
@media (max-width: 1600px) {
    .nav a {
        font-size: 26px;
        padding: 18px;
    }

    .logo {
        max-width: 180px;
        padding: 25px;
    }

    .container {
        flex-direction: column;
    }

    .card {
        margin: 30px;
    }

    .card img {
        height: 60%;
    }

    .card .contenido h1 {
        font-size: 1.6em;
    }

    footer {
        flex-direction: column;
        padding: 30px;
    }

    .footer-left, .footer-right {
        padding: 10px;
        width: 100%;
    }
}

/* Responsivo - Teléfonos pequeños */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo {
        max-width: 120px;
        padding: 10px;
    }

    .nav a {
        font-size: 22px;
        padding: 12px;
    }

    .container {
        flex-direction: column;
    }

    .card {
        margin: 10px;
        width: 100%;
    }

    .card img {
        height: 80%;
    }

    .card .contenido h1 {
        font-size: 1.4em;
    }

    .footer-left, .footer-right {
        padding: 5px;
        width: 100%;
        font-size: 12px;
    }
}