@import url('./global.css');
@import url('./fonts.css');
@import url('./header.css');
@import url('./container.css');
@import url('./forms.css');
@import url('./modal.css');


.main {
    width: 100%;
    height: 100%;
    font-family: Roboto;
}

.inicio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: radial-gradient(rgba(0, 47, 127, 0.5), rgba(207, 28, 49, 0.5)), url('/static/public/images/new-york.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}


.inicio .logo_binglish {
    margin: 0px;
    width: 200px;
    height: 200px;
    align-self: center;
    background-color: none;
}


.inicio .cta {
    font-size: 20pt;
    font-weight: bold;
    color: #FFFF;
    text-shadow: 0px 0px 10px #000;
}

.inicio .button_beca {
    margin-top: 5%;
    padding: 20px;
    border: 2px solid springgreen;
    border-radius: 5%;
    font-size: 12pt;
    font-weight: bolder;
    color: springgreen;
    background: none;
    text-decoration: none;
    text-shadow: 0px 0px 10px #000;
    transition: transform 0.3s ease-in;
    cursor: pointer;
}

.inicio .button_beca:active {
    transform: scale(98%);
}

.beneficio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    padding: 25px 10px;
    width: 80%;
    border-radius: 5px;
    box-shadow: 0px 0px 10px var(--binglish-blue);
}

.beneficio .beneficio-icon {
    margin: auto;
    padding: 30px;
    border: 5px solid var(--binglish-red);
    border-radius: 50%;
    font-size: 70pt;
    text-align: center;
}

.beneficio .beneficio-description {
    width: 80%;
}

.beneficio .beneficio-description li {
    list-style: none;
}

.beneficio .beneficio-description h2 {
    margin: 10px 0px;
    color: var(--binglish-blue);
}

.beneficio .beneficio-description strong {
    font-weight: bolder;
    color: var(--binglish-red);
}


.cards {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    row-gap: 2rem;
    margin: 5% auto;
}

.card {
    width: 80%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0px 0px 25px rgba(0, 47, 127, 0.5);
    background-color: #ebebeb;
    text-align: center;
    overflow: hidden;

    view-timeline-name: --image;
    view-timeline-axis: block;
    animation-timeline: --image;
    animation-name: show;
    animation-range: entry 25% cover 30%;
    animation-fill-mode: both;
}

.card .card_image {
    height: 70%;
    object-fit: contain;
}

.card .card_title {
    color: var(--binglish-red);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}
.card .card_title, .card_desciption {
    padding: 8px;
}

.card_desciption {
    font-size: 11pt;
}

.container_rrss {
    box-shadow: 0px 0px 5px;
}

.rrss {
    display: flex;
    justify-content: space-around;
    padding: 50px 0px;
}

.rrss .social-media {
    font-size: 35pt;
    padding: 20px;
    background: none;
    border: 5px solid var(--binglish-red);
    border-radius: 50%;
    transition: color 0.3s ease-in-out, transform 0.3s ease;
    cursor: pointer;
}

.rrss .social-media:hover {
    color: var(--binglish-red);
}

.rrss .social-media:active {
    transform: scale(98%);
}

.maps {
    display: block;
    margin: 20px auto;
    width: 90%;
    height: 200px;
}

@keyframes view {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



@media screen and (min-width: 400px) {
    .cards {
        flex-direction: column;
        flex-wrap: wrap;
        width: 80%;
    }
    .card {
        width: 300px;
    }
}

@media screen and (min-width: 660px) {
    .cards {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
    }
    .card {
        width: 40%;
    }
}

@media screen and (min-width: 768px) {
    .cards {
        flex-direction: row;
        flex-wrap: wrap;
        width: 90%;
    }
    .card {
        width: 300px;
    }
}

@media screen and (min-width: 700px) {
    .beneficio {
        flex-direction: row;
        width: 90%;
    }
    .beneficio .beneficio-description {
        width: 70%;
    }
    .beneficio .beneficio-icon {
        font-size: 60pt;
    }
}

@media screen and (min-width: 800px) {
    .beneficio {
        flex-direction: row;
    }
}

@media screen and (min-width: 1200px) {
    .cards {
        flex-direction: row;
        flex-wrap: wrap;
        width: 80%;
    }
    .card {
        width: 30%;
    }
}
