*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}
body{
    font-family: Arial, Helvetica, sans-serif; 
    width: 100% !important;
    overflow-x: hidden; /* Esto evitará el desplazamiento horizontal*/
}
.red-text {
    color: #C60B1E; /* Rojo */
}
.yellow-text {
    color: #FFC300; /* Amarillo */
}
header{
    position: sticky;
    top: 0;
    z-index: 999;
    max-width: 100%;
}
nav{
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}
nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
nav li{
    height: 50px;
}
nav h1{
    font-weight: 700;
}
nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}
nav a.active{
    position: relative;
    text-decoration: none;
}
nav a.active:after{
    content: ''; /* Agrega contenido al pseudo-elemento */
    position: absolute; /* Posición absoluta para colocar el subrayado */
    left: 0; /* Lo alinea con el borde izquierdo del enlace */
    bottom: -2px; /* Ajusta la posición vertical para que se vea debajo del texto */
    width: 100%; /* Lo extiende horizontalmente para que cubra todo el ancho del enlace */
    height: 3px; /* Ajusta la altura del subrayado */
    background-color: black; /* Color de la línea */
}
nav a:hover{
    color: #000;
    background-color: #f1f1f1;
}
nav li:first-child{
    margin-right: auto;
}

/* Estilos para el desplegable de idiomas */
.languages {
    margin-left: 20px; /* Ajusta el margen para separarlo de los otros elementos */
    position: relative;
}

.languages img{
    width: 30px;
}

/* Estilos para el botón de activación del desplegable */
.dropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 13px;
    max-width: 100px !important;
}
.dropdown{
    max-width: 99px;
}
.dropdown:hover{
    background-color: #f1f1f1;
}

.dropbtn img{
    margin-right: 6px !important;
}

/* Estilos para el contenedor de elementos del desplegable */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff; /* Cambia el color de fondo según tu diseño */
    min-width: 160px;
    z-index: 1;
    top: 50px;
    box-shadow: -10px 7px 10px rgba(0, 0, 0, 0.1); /* Agrega sombra si lo deseas */
}

/* Estilos para las opciones del desplegable */
.dropdown-content a {
    display: flex;
    padding: 12px 16px;
    text-decoration: none;
    color: black; /* Cambia el color de texto según tu diseño */
}
.dropdown-content a img{
    width: 30px;
    margin-right: 10px;
    
}

/* Estilos para las opciones al pasar el ratón por encima */
.dropdown-content a:hover {
    background-color: #f0f0f0; /* Cambia el color de fondo al pasar el ratón */
}

/* Mostrar el desplegable al pasar el ratón por encima del botón */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Alinear el desplegable a la derecha */
.dropdown-content {
    right: 0;
}

.sidebar{
    position: fixed;
    top: 0; 
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #fff;
    /*backdrop-filter: blur(30px);*/
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    z-index: 2;
}
.sidebar li{
    width: 100%;
}
.sidebar a{
    width: 100%;
}
.menu-button{
    display: none;
}
@media(max-width: 800px){
    nav{
        max-width: 100%;
    }
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
    .languages {
        margin-left: 0; /* Remover el margen izquierdo */
        margin-right: auto; /* Centrar horizontalmente */
        display: flex; /* Alinear elementos horizontalmente */
        justify-content: center; /* Centrar elementos horizontalmente */
    }
    .dropdown{
        max-width: 110px;
    }

}
@media(max-width: 400px){
    .sidebar{
        width: 100%;
    }
}

.home{
    z-index: 0;
}
.container {
    max-width: 1200px;
    width: 75%;
    margin: 40px auto 40px;
}
.container img{
    border-radius: 20px;
}
.slider-wrapper {
    position: relative;
}
.slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #fff;
    display: flex;
    cursor: pointer;
    font-size: 2.2rem;
    background: #000;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transform: translateY(-50%);
}
.slider-wrapper .slide-button:hover {
    background: #404040;
}
.slider-wrapper .slide-button#prev-slide {
    left: -25px;
    display: none;
}
.slider-wrapper .slide-button#next-slide {
    right: -25px;
}
.slider-wrapper .image-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /*Cambiar el 2 por mas en caso de mas*/
    gap: 18px;
    font-size: 0;
    list-style: none;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}
.slider-wrapper .image-list::-webkit-scrollbar {
    display: none;
}
.slider-wrapper .image-list .image-item {
    width: 1150px;
    height: 400px;
    object-fit: cover;
}
.container .slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}
.slider-scrollbar .scrollbar-track {
    background: #ccc;
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
}
.slider-scrollbar:hover .scrollbar-track {
    height: 4px;
}
.slider-scrollbar .scrollbar-thumb {
    position: absolute;
    background: #000;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    cursor: grab;
    border-radius: inherit;
}
.slider-scrollbar .scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
}
.slider-scrollbar .scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

.slider-wrapper .image-list .image-item {
    position: relative;
}

.slider-wrapper .image-list .image-item img {
    width: 100%;
    height: 100%; /* Ajusta la altura según tu diseño */
    object-fit: cover; /* Ajusta para mostrar toda la imagen */
}

.slider-wrapper .image-list .image-item .image-text {
    position: absolute; /* Cambiado */
    top: 50%; /* Agregado */
    left: 50%; /* Agregado */
    transform: translate(-50%, -50%); /* Agregado */
    color: #fff;
    font-size: 20px;
    text-align: center;
    transition: 0.5s;
    z-index: 2;
    padding: 20px 20px 20px 20px;
}

.slider-wrapper .image-list .image-item .image-text:hover{
    color: #ccc;
}

/* Styles for mobile and tablets */
@media only screen and (max-width: 1023px) {
    .slider-wrapper .slide-button {
      display: none !important;
    }
    .slider-wrapper .image-list {
      gap: 10px;
      margin-bottom: 15px;
      scroll-snap-type: x mandatory;
    }
    .slider-wrapper .image-list .image-item {
      width: 380px;
      height: 380px;
    }
    .slider-scrollbar .scrollbar-thumb {
      width: 20%;
    }
    .slider-wrapper .image-list .image-item .image-text {
        left: 50%; /* Agregado */
        width: 100%;;
    }
    
}

.about-us{
    background: black;
    height: auto;
    margin-bottom: 20px;
    width: 100%;
    padding: 0 0 50px;
}

.about-us .heading{
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 20px auto;
}

.about-us .heading h2{
    margin-top: 70px;
    font-size: 50px;
    color: #fff;
    margin-bottom: 120px;
    position: relative;
}

.about-us .heading h2::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    display: block;
    margin: 0 auto;
    background-color: #fff;
}

.about-us .heading p{
    margin-top: -80px;
    font-size: 18px;
    color: #fff;
    margin-bottom: 35px;
}

.about-us .container-about{
    width: 90%;
    margin: 0 auto;
    padding: 10px 20px;
}

.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-image{
    flex: 1;
    margin-right: 40px;
    overflow: hidden;
    justify-content: center;
    margin-bottom: 30px;
}

.about-image img{
    max-width: 100%;
    height: auto;
    display: block;
}
.about-content{
    flex: 1;
}

.about-content h3{
    font-size: 23px;
    margin-bottom: 15px;
    color: #fff;
}

.about-content p{
    font-size: 18px;
    line-height: 1.5;
    color: #fff;
}

.about-content .read-more{
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    font-size: 19px;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 50px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.about-content .read-more:hover{
    background-color: #ccc;
}

.container-card{
	width: 100%;
	display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
	max-width: 1100px;
	margin: auto;
}
.title-cards{
	width: 100%;
	max-width: 1080px;
	margin: auto;
	padding: 20px;
	margin-top: 20px;
	text-align: center;
	color: #7a7a7a;
}
.card{
	flex-grow: 1;
    flex-basis: 300px;
    margin: 20px;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease-out;
    cursor: default;
    display: flex;
    flex-direction: column;
    height: 400px;
}
.card:hover{
	box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
	transform: translateY(-3%);
}
.card img{
	width: 100%;
	height: 210px;
    object-fit: cover;
}
.card .contenido-card{
	text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}
.card .contenido-card h3{
	margin-bottom: 3px;
	color: #7a7a7a;
}
.card .contenido-card p{
	line-height: 1.8;
	color: #6a6a6a;
	font-size: 14px;
	margin-bottom: 10px;
    padding: 15px;
}
.card .contenido-card a{
	display: inline-block;
	padding: 10px;
	text-decoration: none;
	color: #000;
	border: 1px solid #000;
	border-radius: 4px;
	transition: all 400ms ease;
    bottom: 10px;
    max-width: 50%;
    margin: 0 auto;
}
.card .contenido-card a:hover{
	background: #000;
	color: #fff;
}

.contenido-more {
    text-align: center; /* Centra el contenido horizontalmente */
    margin-top: 20px; /* Agrega espacio entre los productos y el botón */
    margin-bottom: 20px;
}

.button-more {
    display: inline-block;
    padding: 10px 20px; /* Ajusta el padding para un mejor aspecto */
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    border-radius: 4px;
    transition: all 400ms ease;
}

.button-more:hover {
    background: #000;
    color: #fff;
}

@media only screen and (max-width: 1000px) {
    .card {
        flex-basis: calc(50% - 40px); /* Cambia el ancho base de los cards para que haya 2 por fila en pantallas más pequeñas */
    }
}

@media only screen and (max-width: 767px) {
    .container-card {
        flex-direction: column; /* Cambia la dirección de flexión para que los cards se muestren uno debajo del otro */
        align-items: center; /* Centra los cards en el eje transversal */
        justify-content: center; /* Centra los cards en el eje vertical */
    }

    .card {
        width: 95%; 
        justify-content: center;
        margin: 20px auto;
    }
}

@media only screen and (max-width: 767px) {
    .heading{
        padding: 0 20px;
    }
    .heading h1{
        font-size: 36px;
    }
    .heading p{
        font-size: 17px;
        margin-bottom: 0px;
    }
    .container-about{
        padding: 0px;
    }
    .about{
        padding:20px;
        flex-direction: column;
    }

    .about-image{
        margin-top: -65px;
        margin-right: 0px;
        margin-bottom: 20px;
    }
    .about-content p{
        padding: 20px;
        font-size: 16px;
    }
    .about-content .read-more{
        font-size: 16px;
        display: block;
        margin: 25px auto;
        text-align: center;
        width: 50%;;
    }
    
}

footer{
    background-color: #000;
}

.footer-container{
    width: 100%;
    padding: 70px 30px 20px;
}

.footer-container .logo h2{
    color: #fff;
    font-size: 30px;
    margin-top: -50px;
    margin-bottom: 50px;
}

.footer-nav{
    margin: -20px auto;
}

.footer-nav ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.footer-nav ul li a{
    color: #ccc;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    transition: 0.5s;
}

.footer-nav ul li a:hover{
    color: #fff;
}

.footer-bottom{
    background-color: #000;
    padding: 20px;
    text-align: center;
}

.footer-bottom p{
    color: #fff;
}

.designer{
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0px 5px;
}

.contact-information {
    color: #ccc;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: 30%;
    margin: 80px auto;
}

.contact-information h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-information p {
    font-size: 18px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 767px){
    .footer-nav ul{
        flex-direction: column;
        margin: 70px;
    }
    .footer-nav ul li{
        width: 100%;
        text-align: center;
        margin: 10px auto;
    }
    .footer-container .logo h2{
        text-align: center;
        margin-bottom: -5px;
    }
    .footer-bottom{
        max-width: 75%;
        margin: 0 auto;
    }

    .contact-information{
        width: 100%;
    }
}


