/* Estilos para el video de fondo */


body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
} 

header {
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff00;
    padding: 20px 0;
    display: flex;
    position: relative;
    top: -250px;
    font-family: "JetBrains Mono";
    z-index: 10;
}


.video-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* Estilos generales */

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 600px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 25apx;
    font-weight: bold;
}

main {
    padding: 30px 0;
}

.section {
    padding: 50px 0;
    border-bottom: 1px solid #e0e0e0;
    font-family: "JetBrains Mono";
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.section p {
    font-size: 16px;
    line-height: 1.6;
}

footer {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Estilos para el video de fondo */
.video-background {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilos para la portada */
.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10;
}

.cover-content {
    text-align: center;
    color: #fff;
    font-style: italic; 
}

.cover h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.cover p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: #fff;
}

.carousel-item img {
    width: 100%;
    height: 600px; /* Adjust the height as needed */
    object-fit: cover;
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.403);
    padding: 1rem;
}

h2{
    text-align: center;
}

.container1{
    
    display: flex;
    justify-content: space-around;
    
}

.containerP{
    display: flex;
    justify-content: space-around;
}

footer{
    background-color: #fff;
    color: rgb(0, 0, 0);
    display: flex;
    columns: row;
    justify-content: space-around;
}

.contactos{
    width: 300px;
    font-family: "JetBrains Mono";
}

.profesores1{
    display: flex;
    justify-content: space-around;
}


.dark-mode {
    background-color: black;
    color: #ffffff;
}

#modoBtn {
    background-color: #00000000;
    color: white;
    padding: 10px 20px;
    font-size: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}