@charset "utf-8";
@import url("../webfonts/Roboto/stylesheet.css");

/* CSS Document */
.head {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 4;
	}
.encabezado {
	background-image: linear-gradient(#02306c, #001c34);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.encabezado img {
	width: 25%;
	height: 0%;
	min-width: 222px;
}

/* Estilo para la barra de búsqueda */
        .search-bar {
            display: flex;
            align-items: center;
        }

        .search-bar input[type="text"] {
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .search-bar button {
            background-color: #999999;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 5px 10px;
            margin-left: 10px;
            cursor: pointer;
        }

@media (max-width: 768px){
	.search-bar {
		display: none;
		}
	}

/* Estilo para la barra de navegación */
        nav {
	position: relative;
	background-color: rgba(2,48,108,0.75);
	height: 40px;
        }

        ul {
			position: relative;
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: right;
        }

		li {
	margin: 10px 40px 0;
        }

        a {
	text-decoration: none;
	color: #FFD500;
	font-weight: normal;
	font-family: "Optima LT Pro Medium";
        }

	@media screen and (max-width: 1200px){
		header {
			padding: 0px;
		}
	}
	
	@media screen and (max-width: 768px){
		.barra1 {
			padding: 10px;
			margin-bottom: 50px;
			position:relative;
			margin-top: 0px;
			padding-left: 75px;
			background: rgba(2,48,108,0.85);
			width: 720px;
			height: auto;
			
		}
		
		.barra1 ul {
			flex-direction: column;
			text-align: center;
			margin-right: 350px;
				
		}
		.barra1 li{
			margin-top: 10px;
			margin-left: 36px;
		}
		.barra1 ul li a{
			
		}
	}
	
	 

/* Estilo para slide banners informativos */

.slideshow-container{
	width: auto;
    height: auto;
	margin:50px auto 0;
	overflow: hidden;
	margin-top: 122px;
}
.slideshow-container ul {
	display: flex;
	padding: 0;
	width: 400%;
	animation: slide 20s infinite alternate ease-in-out;
}
.slideshow-container li {
	width: 100%;
	list-style: none;
}

.slideshow-container img {
	width: 100%;
}
@keyframes slide {
	0% {margin-left: 0;}
	20% {margin-left: 0;}
	
	25% {margin-left: -100%;}
	45% {margin-left: -100%;}
	
	50% {margin-left: -200%;}
	70% {margin-left: -200%;}
	
	75% {margin-left: -300%;}
	100% {margin-left: -300%;}
}

@media (max-width: 768px){
	.slideshow-container {
		display: none;
		}
	}


/* Estilo para la botones de navegación */

.menu {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
			margin-top: -4px;
}

        .menu a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 233px;
            height: 55px;
            text-decoration: none;
            color: #ffffff;
            background-color: #FFD700;
            font-size: 14px;
            font-weight: bold;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        .menu a:nth-child(1) {
            background-color: #10c45c; /* Color para "Calendario" */
        }

        .menu a:nth-child(2) {
            background-color: #f9c301; /* Color para "Circulares" */
        }

        .menu a:nth-child(3) {
            background-color: #307ad5; /* Color para "Secretaría Académica" */
        }

        .menu a:nth-child(4) {
            background-color: #fa327b; /* Color para "Noticias" */
        }
	
        .menu a:hover {
            opacity: 0.9; /* Efecto hover para todos los botones */
        }

        /* Responsividad */
        @media (max-width: 1200px) {
            .menu a {
                width: 220px;
                height: 60px;
            }
        }

        @media (max-width: 768px) {
            .menu {
                flex-direction: column;
                gap: 5px;
				margin-top: 320px;
            }

            .menu a {
                width: 100%;
            }
        }

/*Estilo para seccion Actualidad Unionista*/


        .section {
    		width: 100%;
    		position: relative;
			justify-content: center;
    		text-align: center;
			font-family: "Optima LT Pro Light";
			padding-top: 0px;					
        }

        .section h1 {
            font-size: 28pt;
            color: #02306b;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
			font: "Optima LT Pro Medium";
			text-align: center;
			padding-top: 25px;
        }

        .section h1::after {
            content: '';
            display: block;
            width: 100%;
            height: 1pt;
            background-color: #ffd500;
            position: absolute;
            bottom: -1px;
            left: 0;
        }

        .gallery {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
			padding-left: 50px;
        }

        .gallery .item {
    		width: 250px;
    		position: relative;
    		margin-bottom: 90px;
    		text-align: center;
    		margin-right: 20px;
	    }

        .gallery .item img {
    		width: 100%;
    		height: auto;
    		position: relative;
			z-index: 2;
        }
		.gallery .item .bg-rectangle {
            background-color: #ffd500;
            position: absolute;
            top: 50px; /* Comienza 50px por debajo de la imagen */
            left: -15px;
            right: -15px;
            bottom: 0;
            z-index: 1;
            padding-top: 60px; /* Espacio para que el contenido no se superponga con la imagen */
        }

        .gallery .item .text {
            padding: 15px;
            color: #02306c;
            font-size: 18pt;
            font-weight: bold;
			position: relative;
            z-index: 3;
        }

        .gallery .item .text p {
            font-weight: normal;
            font-size: 14pt;
            margin: 0;
        }

        /* Responsividad */
        @media (max-width: 720px) {
            .gallery {
                flex-direction: column;
                align-items: center;
            }

            .gallery .item{
                width: 100%;
                max-width: 320px;
				
            }
        }

/*Estilo para seccion Proyectos*/

.section-proyectos {
			width: 100%;
			position: relative;
    		justify-content: center;
    		background-image: linear-gradient(#02306c, #001c34);
            color: #fff;
            padding: 20px;
            text-align: center;
            display: flex;
            flex-wrap: wrap;
            font-family: "Optima LT Pro Light";
			padding-bottom: 100px;
        }

        .section-proyectos h1 {
            font-size: 28pt;
            color: #ffffff;
            margin-bottom: 30px;
            position: relative;
            display: inline-block;
        }

        .section-proyectos h1::after {
            content: '';
            display: block;
            width: 100%;
            height: 1pt;
            background-color: #ffd500;
            position: absolute;
            bottom: -1px;
            left: 0;
        }

        .buttons-container {
    		display: flex;
    		justify-content: center;
    		flex-wrap: wrap;
    		gap: 20px;
    		width: 100%;
        }

        .buttons-container .button a{
    		width: 150px;
    		height: 150px;
    		display: flex;
    		flex-direction: column;
    		justify-content: center;
    		align-items: center;
    		text-align: center;
    		color: #ffffff;
    		font-size: 12pt;
    		padding-top: 10px;
    		padding-right: 10px;
    		padding-left: 10px;
    		padding-bottom: 10px;
        }

        .buttons-container .button img {
            width: 50px;
            height: 50px;
            margin-bottom: 10px;
        }

        .button-1 { background-color: #41d8bf; }
        .button-2 { background-color: #fcc005; }
        .button-3 { background-color: #fa317b; }
        .button-4 { background-color: #9c54e6; }
        .button-5 { background-color: #35b9e8; }
		.button-6 { background-color: #59cf30; }

        /* Responsividad */
        @media (max-width: 768px) {
            .buttons-container {
                flex-direction: column;
                align-items: center;
            }

            .buttons-container .button {
                width: 100%;
                max-width: 300px;
            }
        }

/*Estilo para sección eventos*/


        .section-eventos {
			width: 100%;
    		position: relative;
			justify-content: center;
    		text-align: center;
			font-family: "Optima LT Pro Light";
			padding: 20px;
        }

        .section-eventos h1 {
            font-size: 28pt;
            color: #02306b;
            margin-bottom: 40px;
            position: relative;
            display: inline-block;
        }

        .section-eventos h1::after {
            content: '';
            display: block;
            width: 100%;
            height: 1pt;
            background-color: #ffd500;
            position: absolute;
            bottom: -10px;
            left: 0;
        }

        .events-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .event-item {
            width: 300px;
            text-align: left;
            position: relative;
            padding: 10px;
            box-sizing: border-box;
			margin-bottom: 90px;
			margin-right: 20px;
        }

        .event-item img {
            width: 100%;
            height: auto;
            display: relative;
        }
		.event-content {
            display: flex;
            align-items: center;
            margin: 10px 0;
		}
			
        .event-item h2 {
            font-size: 16pt;
            font-weight: bold;
            color: #02306b;
            margin: 0;
        }

        .event-item p {
            font-size: 12pt;
            color: #02306b;
            margin: 5px 0 0px;
        }

        .date-box {
            top: 10px;
            width: 60px;
            height: 60px;
            border: 2px solid #ffd500;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
			margin-right: 10px;
        }

		.event-text {
            display: flex;
            flex-direction: column;
		}

        .date-box .day {
            font-size: 12pt;
            font-weight: bold;
            color: #ffd500;
        }

        .date-box .month {
            font-size: 10pt;
            color: #ffd500;
        }

        /* Responsividad */
        @media (max-width: 768px) {
            .events-container {
                flex-direction: column;
                align-items: center;
            }

            .event-item {
                width: 100%;
                max-width: 320px;
            }
        }

/*Estilo para el footer*/

footer {
    		width: 100%;
    		position: relative;
			justify-content: center;        
			background-image: linear-gradient(#02306c, #001c34);
            color: white;
            padding: 40px 20px;
			font-family: "Optima LT Pro Light";
        }

        .footer-container {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-column {
            flex: 1;
            min-width: 200px;
            padding: 10px;
        }

        .footer-column h3 {
            font-size: 14pt;
            margin-bottom: 15px;
            color: #ffd500;
        }

        .footer-column p {
            font-size: 10pt;
            color: white;
            line-height: 1.6;
        }

        /* Estilos para los íconos de redes sociales */
        .social-icons {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .social-icons a {
            color: white;
            font-size: 24px;
            text-decoration: none;
        }

        .social-icons a:hover {
            color: #ffd500;
        }

        /* Responsividad */
        @media (max-width: 768px) {
            .footer-container {
                flex-direction: column;
            }

            .footer-column {
                margin-bottom: 30px;
            }
        }
