@charset "utf-8";
/* CSS Document */

.head {
	width: 98%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	}

 header {
            background-image: linear-gradient(#02306c, #001c34); /* Color de fondo azul oscuro */
            color: #fff; /* Color del texto */
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
	 		margin-bottom: 50px;
        }

        /* Estilos para el logo */
        .logo {
            font-size: 24px;
            font-weight: bold;
        }

/* Estilos para el menú hamburguesa */
      
.dropdown {
    Position: relative;
    display: inline-block;
	font-family: Roboto, "Roboto Thin";
}

.dropdown-btn {
    background-color: #182065; /* Color del botón */
    color: #ffd500;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-btn span {
    font-size: 24px; /* Tamaño del icono */
}

.dropdown-content {
    display: none;
    position: relative;
    background-color: rgba(39, 45, 94, 0.8); /* Fondo gris con baja opacidad */
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Mostrar el menú cuando el botón es clicado */
.dropdown:hover .dropdown-content {
    display: block;
}	

@media (max-width: 768px){
	.dropdown {
		padding-right: 40px;
	}
}


/* Contenedor de la imagen banner*/
        .image-container {
            position: relative;
            display: inline-block;
			padding-top: 50px;
        }

        /* Imagen base */
        .image-container img {
            display: block;
            width: 100%; /* Ajusta el tamaño de la imagen */
            height: auto;
        }

        /* Recuadro con fondo azul
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(24, 32, 101, 0.7); /* Azul con 70% de opacidad 
        }*/

/* Menú flotante */
.floating-menu {
    position: fixed;
    top: 100px; /* Puedes ajustar la posición del menú verticalmente */
    right: 20px; /* Posiciona el menú a la derecha */
    display: flex;
    flex-direction: column;
	font: 12pt "Optima LT Pro Medium";
}

.menu-item {
    display: block;
    color: white;
    text-align: center;
    padding: 15px;
    margin-bottom: 1px;
    font-weight: bold;
    text-decoration: none;
    width: 180px;
}

.menu-item:hover {
    opacity: 0.8;
}

@media (max-width: 1200px){
	.floating-menu {
		position: relative;
		align-items: center;
		margin-top: -100px;
	}
}
@media (max-width: 768px){
	.floating-menu {
		position: relative;
		align-items: center;
	}
	.menu-item {
		width: 100%;
	}
}



/* Contenedor para los artículos */
.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	font-family: Roboto, "Roboto Thin";
}



h1 {
	color: #182065;
	font: 24pt "Optima LT Pro Medium";
	text-align: center;
	padding-bottom: 0px;
	margin-bottom: -10px;
	margin-top: 30px;
		}
hr {
		width: 80%;
		height: 0%;
		margin-bottom: 50px;
		}

h2 {
    text-align: center;
    color: #02306c;
	font: 18pt "Optima LT Pro Medium";
	padding-top: 50px
}

h3 {
    color: #02306b;
    margin-top: 0;
	font-size: 14pt;
}

.description p, .professor-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.gallery {
    margin-top: 20px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 50px;
}

.photo-grid img {
    width: 100%;
    height: auto;
    
}

.professor-info {
    margin-top: 40px;
}

.info-block {
    margin-bottom: 20px;
}

.classroom-link {
    margin-top: 40px;
    text-align: center;
}

.classroom-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.classroom-button:hover {
    background-color: #45a049;
}

@media (max-width: 768px){
	.container{
		margin-top: 110px;
	}
	
}



/* Estilos para los botones de ciclos */
.section-proyectos {
			width: 100%;
			position: relative;
    		justify-content: center;
    		color: #fff;
            padding: 20px;
            text-align: center;
            display: flex;
            flex-wrap: wrap;
            font-family: "Optima LT Pro Light";
			padding-bottom: 100px;
        }

        

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

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

        .buttons-container .button img {
            width: 60%;
            height: auto;
            margin-top: 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; }

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

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

/* Estilos para la sección de blog */
.blog-section {
    width: 60%;
	padding-left: 0px;
	margin-left: 200px;
	padding-top: -10px;
	padding-bottom: 70px;
}

.blog-post {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.blog-post h3 {
	text-align: left;
    color: #02306b;
    margin-top: 0;
	font-size: 14pt;
}

.blog-post p {
    color: #4d4d4d;
	font: 12pt Roboto;
	margin: 10px 0;
	text-align: left;
	text-justify: inter-word;
}

.blog-post .video-container {
    margin-top: 10px;
    text-align: center;
	width: 50%;
	height: 0%;
}

.video-container iframe {
    max-width: 100%;
    height: auto;
}

#blogForm {
    background-color: #e9e9e9;
    padding: 20px;
    border-radius: 8px;
	width: 60%;
	align-content: center;
	max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

#blogForm h3 {
    margin-top: 0;
}

#blogForm label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

#blogForm input[type="text"],
#blogForm input[type="url"],
#blogForm textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#blogForm button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #02306b;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#blogForm button:hover {
    background-color: #001c34;
}

#blogPosts {
    margin-top: 40px;
}