@import '../fonts/stylesheet.css';

.container-home {
    position: relative;
    width: 100%;
    height: 100vh;
}

.menu-sitios {
	position: relative;
	z-index: 20;
}

body {
    overflow: hidden;
}
body p {
    font-family: 'avarabold' !important;    
}
a {
    text-decoration: none !important; /* Elimina el subrayado de los enlaces */
    color: inherit !important;
}
/*footer*/
#footer-smladd {
    background: #2A7ECC;
	position: relative;
}

#footer-smladd  #footer-logos {
    width: 68%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding: 20px 0px;
	flex-wrap: wrap;
}

#footer-smladd #footer-logos-info p {
    color: #fff;
    font-family: 'interregular' !important;
    margin: 0;
	font-size: 15px;
}


#footer-smladd  #footer-logo-gov {
    background: #3464CE;
}

#footer-smladd  #footer-logo-gov img {
   width:120px;
}

#footer-smladd #footer-logo-gov #logo-gov {
    display: flex;
    width: 68%;
    margin: 0 auto;
	padding: 15px 0px;
}

/*logos*/
#logos-icanh.logos-icanh-content {   
    display: flex;
	align-items: center;
    flex-direction: row;
    position: absolute;
    top: 18px;
    width: 27%;
    margin-left: 69px;
    z-index: 1;
}
.menu-sitios #logos-icanh.logos-icanh-content {
    position: fixed;
}

#logos-icanh.logos-icanh-content .logo-cultura:after {
    content: '';
    border-right: 1px solid #fff;
    height: 55px;
    position: absolute;
    right: 0;
    top: 19%;
}

#logos-icanh.logos-icanh-content .logo-cultura {
	display: flex;
	justify-content: center;
    width: 22%;    
	position: relative;
}

#logos-icanh.logos-icanh-content .logo-cultura img {
	width: 80px;
    height: 80px;
}

#logos-icanh.logos-icanh-content .logo-icanh {
    width: 38%;
    display: flex;
    justify-content: center;   
}
#logos-icanh.logos-icanh-content .logo-icanh img {
   width: auto;
   height: auto;  
}

#logos-icanh.logos-icanh-content.logos-icanh-hide {
    margin-left: 0px;
}

/* Barra lateral */
.container-home .sidebar {
    position: absolute;
    top: 0;
    left: 0;
    width: 69px;
    height: 100vh;
    background-color: #2C2C2C;
    /*transition: transform 0.3s ease;*/
    overflow: hidden;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
	margin-top:0px;
}
.menu-sitios .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 69px;
    height: 100vh;
    /*transition: transform 0.3s ease;*/
    overflow: hidden;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
	margin-top:0px;
	user-select: none;
}

.container-home .sidebar.open,
.menu-sitios .sidebar.open {
    width: 308px;
}

.container-home .hamburger-container,
.menu-sitios .hamburger-container {
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 1.6em;
    height: 92px;
    position: sticky; 
    top: 5px;
    left: 6px;
    z-index: 3;
}

.container-home .hamburger,
.menu-sitios .hamburger {
    width: 38px;
    height: 38px;
    /* padding: 15px; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    border-radius: 50%;
    z-index: 3;
}

.container-home .hamburger:hover,
.menu-sitios .hamburger:hover {
    background-color: #ffffff5e;
}

.hamburger-container .hamburger img {
    /* padding: 15px; */
}

.container-home .logo-container,
.menu-sitios .logo-container {
    width: 202px;
    height: 72px;
    background-color: #1E1E1E;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: display 0.3s ease;
}

.container-home .logo-container img,
.menu-sitios .logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.container-home .menu,
.menu-sitios .menu {
    padding: 20px;
    display: none;
    height: calc(100vh - 100px); /* Ajusta este valor si es necesario */
    overflow-y: auto;
    top: 10px;
	margin-top: 0;
	margin-bottom: 40px;
	margin: 0;
}

.container-home .sidebar.open .menu,
.menu-sitios .sidebar.open .menu {
    display: block;
}

.container-home .image-grid,
.menu-sitios .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3%;
}

.container-home .image-grid .full-width, 
.menu-sitios .image-grid .full-width, 
.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 110px; /* Ajusta el alto en píxeles */
}

.container-home .image-grid .full-width,
.menu-sitios .image-grid .full-width {
    grid-column: span 2;
}

.container-home .image-grid img,
.menu-sitios .image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: background-color 0.3s ease;
}

/* Efecto para el hover */
.container-home .image-item,
.menu-sitios .image-item,
.full-width {
    position: relative;
    overflow: hidden;
}

.container-home .image-item:hover,
.menu-sitios .image-item:hover,
.full-width:hover {
    transform: scale(1.05);
}

.container-home .image-item,
.menu-sitios .image-item {
    cursor: pointer;
}

.container-home .full-width,
.menu-sitios .full-width {
    cursor: pointer;
}

/* Título sobre la imagen en el menú */
.container-home .menu .image-title,
.menu-sitios .menu .image-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 1;
}
.container-home .menu .image-title p,
.menu-sitios .menu .image-title p {
    color: #fff;
    font-size: 15px;
	font-family: 'avarabold_italic' !important;
	margin-bottom: 0;
}
/* Imagen de fondo */
.container-home .main-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.container-home .main-content img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* Texto sobre la imagen */
.container-home .text-overlay {
    font-family: 'avarabold' !important;
    position: absolute;
    right: 10%;
    top: 43%;
    transform: translateY(-50%);
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    padding: 46px;
    background-color: rgb(0 0 0 / 44%);
    border-radius: 8px;
    max-width: 35%;
    font-size: 14px;
    text-align: right;
}

.text-overlay .text-content .titulo p {
    font-size: 40px;
    text-align: right;
    font-family: 'avarabold_italic' !important;
}

.container-home .text-overlay p {
    margin-bottom: 0;
    margin-top: 0;
    line-height: 1.3;
    color: #fff;
}

.container-home .menu::-webkit-scrollbar {
    width: 9px;
}
.container-home .menu::-webkit-scrollbar-track {
    background: #333333;
}
.container-home .menu::-webkit-scrollbar-thumb {
    background-color: #6f6d6d;
    border-radius: 8px;
    border: 2px solid #333333;
}
.container-home .menu::-webkit-scrollbar-thumb:hover {
    background: #9E9E9E; 
}


/* Sección con columnas */
.contenedor-columns {
	background-color: #2C2C2C;
	width: 100vw;
    height: 300vh;
}
.container-home .columns-section {
    background-color: #2C2C2C;
    width: 159vw;
    height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 4%;
    position: relative;
    user-select: none; /* Previene la selección de texto */
}

.container-home .column {
    height: 90%;
    background-color: #444;
    margin-right: 2%;
    transition: width 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
	width: 28vw;
	cursor: pointer;
	
}

.container-home .column img {
    object-fit: cover;
    transition: width 0.8s ease-in-out;
    border-radius: 10px;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    aspect-ratio: auto;
}

.container-home .column.selected {
    width: 77vw;
    z-index: 1; 
}
.container-home .column.selected .image-title-section {
    justify-content: center;
	left: 3.5vw;
}

.container-home .column .image-title-section {
    position: absolute;
    bottom: 5%;
    width: 50vw;
	left: 7vw;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
	opacity: 1;
	transition: left 0.8s ease-in-out, min-width 0.8s ease-in-out, transform 0.8s ease-in-out;
	gap: 3em;
}
.container-home .column .image-title-section .detalle_column p {
    color: #ffffff;
    font-size: 16px;
	font-family: 'interregular' !important;
	margin: 0;
    font-weight: bold;
}
.container-home .column .image-title-section .detalle_title {
	width: 100vw;
}
.container-home .column .image-title-section .detalle_column {
	width: 120vw;
}
.container-home .column .image-title-section .detalle_title p {
    color: #fff;
    font-size: 40px;
	text-align: right;
    padding-right: 15px;
	font-family: 'avarabold_italic' !important;
	margin: 0;
}
.container-home .column .image-title-section .detalle_button .btn-carousel {
	width: 50px;
    height: 50px;
	background-color: rgb(0, 0, 0);
	border: none;
	color: #ffffff;
	font-size: 45px;
	font-weight: 300;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
}
.container-home .text-overlay-responsive {
	display:none;
}

/* Media querys */
@media (min-width: 1281px) and (max-width: 1440px) {
	#logos-icanh.logos-icanh-content .logo-icanh {
		width: 50%;
	}
	#logos-icanh.logos-icanh-content .logo-cultura {
		width: 27%;    
	}
    .text-overlay .text-content .titulo p {
        font-size: 3vw;		
    }
    .container-home .text-overlay p {
        font-size: 0.9vw;		
    }
	.container-home .text-overlay {
		max-width: 31%;
	}
	.container-home .columns-section {
		padding: 0 5%;
	}
	.container-home .column .image-title-section .detalle_title p {
    	font-size: 30px;
	}
	.container-home .column .image-title-section .detalle_column p {
		font-size: 14px;
	}
	.container-home .column .image-title-section .detalle_button .btn-carousel {
		width: 45px;
    	height: 45px;
	}
}

@media (min-width: 1025px) and (max-width: 1280px) {	
	 .text-overlay .text-content .titulo p {
        font-size: 3vw;		
    }
    /*.container-home .text-overlay p {
        font-size: 0.9vw;
		color:orange;
    }*/
	.container-home .text-overlay {
		max-width:40%;		
	}
	
	/*************/
	.container-home .column .image-title-section .detalle_column {
		display: none;
	}	
	.container-home .column .image-title-section {
        left: 0vw;
        justify-content: start;
        width: 25vw;
    }	
	.container-home .column .image-title-section .detalle_title {
		width: 19vw;
	}
	.container-home .column:hover .image-title-section {
		justify-content: start;
		left: 3.5vw;
	}
	.container-home .column .image-title-section {   
		left: 0vw;
		justify-content: start;
	}
	.container-home .column .image-title-section .detalle_title p {
		font-size: 18px;
		text-align: center;
	}	
	.container-home .column .image-title-section .detalle_button .btn-carousel {
		width: 45px;
		height: 45px;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	/*.text-overlay .text-content .titulo p {
        font-size: 1vw;
		color:red;
    }
    .container-home .text-overlay p {
        font-size: 0.9vw;
		color:red;
    }*/
	.container-home .text-overlay {
		max-width: 40%;
		display:none;
	}
	
	.container-home .text-overlay-responsive {
		display:block;
		background-color: #2C2C2C;
		padding: 4%;
	}
	
	.container-home .text-overlay-responsive p {
		margin:0;
	}
	
	.container-home .text-overlay-responsive  .text-content .titulo p {
		margin:0;
        font-size: 3vw;
		text-align: left;
		font-family: 'avarabold_italic' !important;
		color: #fff;
		margin-bottom: 15px;
    }
	
	.container-home .text-overlay-responsive .info-responsive p {
		margin-bottom: 0;
		margin-top: 0;
		line-height: 1.3;
		color: #fff;
		text-align: left;
	}
	
	.container-home .column .image-title-section p {
		font-size: 23px;
	 }
	
	/*************/
	.container-home .column .image-title-section .detalle_column {
		display: none;
	}
	
	
	 .container-home .column .image-title-section {
        left: 0vw;
        justify-content: start;
        width: 25vw;
    }
	
	.container-home .column .image-title-section .detalle_title {
		width: 19vw;
	}
	.container-home .column:hover .image-title-section {
		justify-content: start;
		left: 3.5vw;
	}
	.container-home .column .image-title-section {   
		left: 0vw;
		justify-content: start;
	}
	.container-home .column .image-title-section .detalle_title p {
		font-size: 18px;
		text-align: center;
	}
	
	.container-home .column .image-title-section .detalle_button .btn-carousel {
		width: 45px;
		height: 45px;
	}
}

@media (min-width: 481px) and (max-width: 768px) {
     .container-home .sidebar {   
		background-color: transparent;   
	}
	
	.container-home .color-open-menu {
		background-color: #2C2C2C !important;
	}
	
	.container-home .text-overlay {
		max-width: 40%;
		display:none;
	}
	
	.container-home .text-overlay-responsive {
		display:block;
		background-color: #2C2C2C;
		padding: 6%;
	}
	
	.container-home .text-overlay-responsive p {
		margin:0;
	}
	
	.container-home .text-overlay-responsive  .text-content .titulo p {
		margin:0;
        font-size: 4vw;
		text-align: center;
		font-family: 'avarabold_italic' !important;
		color: #fff;
		margin-bottom: 15px;
    }
	
	.container-home .text-overlay-responsive .info-responsive p {
		margin-bottom: 0;
		margin-top: 0;
		line-height: 1.3;
		color: #fff;
		text-align: left;
	}
	
	.container-home .column .image-title-section p {
		font-size: 30px;		
	 }
	
	.container-home .columns-section {
        flex-direction: column;
        height: auto;
        padding: 0;
        overflow-x: visible;
    }
    .container-home .column {
        width: 90%;
        height: auto;
        margin-bottom: 0;
        transition: none; 
        margin-right: 0;
		pointer-events: none;
		padding: 0%;
        margin-bottom: 15px;
    }
    
	
    .container-home .column:hover {
        min-width: 100%;
        z-index: initial;
		pointer-events: none;
    }
	
    .container-home .column img {
        width: 100%;
        height: auto;
    }
   
	
	.container-home .main-content img {
		width: 100vw;
		height: auto;
		object-fit: cover;
	}
	
	/***************/
	.container-home .column .image-title-section .detalle_column {
		display: none !important;
	}
	
	.container-home .column .image-title-section {   
        width: 81vw;
		left: 5vw;
	}
	
	.container-home .column .image-title-section .detalle_title {
       width: 67vw;
    }
	
	.container-home .column .image-title-section .detalle_title p {   
		font-size: 18px;
	}
	
	.container-home .column .image-title-section .detalle_column p {    
		font-size: 12px;
	}
	
	
}

@media (max-width: 480px) {
	.container-home .sidebar {   
		background-color: transparent;   
	}
	
	.container-home .color-open-menu {
		background-color: #2C2C2C !important;
	}
	
	.container-home .text-overlay {
		max-width: 40%;
		display:none;
	}
	
	.container-home .text-overlay-responsive {
		display:block;
		background-color: #2C2C2C;
		padding: 6%;
	}
	
	.container-home .text-overlay-responsive p {
		margin:0;
	}
	
	.container-home .text-overlay-responsive  .text-content .titulo p {
		margin:0;
        font-size: 6vw;
		text-align: left;
		font-family: 'avarabold_italic' !important;
		color: #fff;
		margin-bottom: 15px;
    }
	
	.container-home .text-overlay-responsive .info-responsive p {
		margin-bottom: 0;
		margin-top: 0;
		line-height: 1.3;
		color: #fff;
		text-align: left;
		font-size: 15px;
		
	}
	
	.container-home .column .image-title-section p {
		font-size: 30px;		
	 }
	
	.container-home .columns-section {
        flex-direction: column;
        height: auto;
        padding: 0;
        overflow-x: visible;
    }
    .container-home .column {
        width: 90%;
        height: auto;
        margin-bottom: 0;
        transition: none; 
        margin-right: 0;
		pointer-events: none;
		padding: 0%;
        margin-bottom: 15px;
    }
    
	
    .container-home .column:hover {
        min-width: 100%;
        z-index: initial;
		pointer-events: none;
    }
	
    .container-home .column img {
        width: 100%;
        height: auto;
    }
   
	
	.container-home .main-content img {
		width: 100vw;
		height: auto;
		object-fit: cover;
	}
	
	/***************/
	.container-home .column .image-title-section .detalle_column {
		display: none !important;
	}
	
	.container-home .column .image-title-section {   
        width: 81vw;
		left: 5vw;
	}
	
	.container-home .column .image-title-section .detalle_title {
       width: 67vw;
    }
	
	.container-home .column .image-title-section .detalle_title p {   
		font-size: 18px;
	}	
	
}

/* Estilo de la barra de desplazamiento */
::-webkit-scrollbar {
    width: 12px; /* Ancho de la barra */
}

/* Estilo del "track" de la barra de desplazamiento */
::-webkit-scrollbar-track {
    background: #eff1ef; /* Color de fondo */
}

/* Estilo del "thumb" de la barra de desplazamiento */
::-webkit-scrollbar-thumb {
    background-color: #aac7a9; /* Color de la barra */
    border-radius: 8px; /* Bordes redondeados */
    border: 2px solid #eff1ef; /* Bordes con color de fondo */
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background: #9E9E9E; /* Color de la barra al pasar el mouse */
}