@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --color-primario: #2c3855;
    --color-primario-obscuro: #435681;
    --text-dark: #333333;
    --text-light: #767269;
    --extra-light: #f3f4f6;
    --white: #ffffff;
    --max-width: 1200px;
}

.section_container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section_header {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: flex;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

nav {
    max-width: var(--max-width);
    margin: auto;
    padding: 2rem 1rem;
    align-items: center;
    justify-content: space-between;
    display: flex;
    
}

.nav_logo {
    font-size: 1.5 rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav_links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.img_card{
    width: 100px;
    height: 35px;
    background-color: #b3b3b3;
    border-radius: 20px;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav_links img{
    min-height: 23px;
    max-height: 23px;
    max-width: 23px;
    min-width: 23px;
}

.link a {
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.link a:hover {
    color: var(--color-primario);
}

.header_container {
    padding: 1rem 1rem 5rem 1rem;
}

.header_img_container {
    position: relative;
    min-height: 500px;
    background-image: linear-gradient(
        to right,
        rgba(44, 56, 85, .9), rgba(100, 125, 187, .1)), url("Escuela.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 2rem;
}

.header_content {
    width: 600px;
    padding: 5rem 2rem;
}

.header_content h1 {
    margin-bottom: 1rem;
    font-size: 3.5rem;
    line-height: 4rem;
    font-weight: 600;
    color: var(--white);
}

.header_content p {
    color: var(--extra-light);
}




/*****************   cards   *****************/


    .container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .item-container{
        position: relative;
        margin: 24px;
        width: 320px;
        height: 570px;
        overflow: hidden;
        background-color: #fff;
        box-shadow: 0 0 10px 1px rgba(0, 0, 0.15);
        cursor: pointer;
        border-radius: 20px;
    }
    
    .img-container,
    .body-container{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .img-container{
        background-color: #fffdf6;
    }
    
    .img-container img{
        width: 100%;
    }
    
    .body-container{
        position: relative;
    }
    
    .overlay{
        position: relative;
        width: 100%;
        height: 424px;
        background-color: rgba(39, 50, 57, 0.6);
        opacity: 0;
        transition: height linear 0.4s, opacity linear 0.2s;
    }
    
    .item-container:hover .overlay{
        opacity: 1;
        height: 190px;
    }
    
    .event-info{
        background-color: #fffdf6;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px;
    }
    
    .title, .date{
        color: #000000;
        font-size: 1.5rem;
        font-weight: bold;
        letter-spacing: 1px;
        margin: 12px;
    }
    
    .separator{
        width: 20%;
        height: 6px;
        background-color: #10334b;
        margin-bottom: 16px;
    }
    
    .additional-info{
        border-top: 1px solid #bbb;
        margin-top: 12px;
        padding: 38px;
        padding-bottom: 0;
    }
    
    .additional-info .info{
        font-size: 0.9rem;
        margin-bottom: 20px;
        text-align: center;
    }


/************** schedule ************/





.T-Schedule {
    color: var(--extra-light);
}

.T-Schedule_grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.Schedules_card {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 1rem;
    box-shadow: 5px 5px 20px rgb(0, 0, 0, 0.1);
    transition: 0.5s;
}

.Schedules_card img {
    max-width: 80%;
    margin: auto;
    margin-bottom: 1rem;
    border-radius: 100%;
}

.Schedules_card p {
    text-align: center;
    color: var(--text-dark);
}



.Schedules_card:hover {
    scale: 1.1;
    transition: 0.5s;
    cursor: pointer;
}


