@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Roboto:wght@300;500;700&display=swap');

.bg-green-normal {
    background-color: #16de66;
}

.bg-green-70-light {
    background-color: #b2f3c7;
}

.bg-blue-normal {
    background-color: #00195c;
}

.hover\:bg-blue-40-light:hover {
    background-color: #00248e;
}

.text-green-normal {
    color: #16de66;
}

.text-blue-normal {
    color: #00195c;
}

.hover\:text-blue-40-light:hover {
    color: #00248e;
}

.navbar__page {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 6px #16de66;
}

header{
    transition: all 800ms ease;
}
header.scroll-up{

}

header.scroll-down{
    transform: translateY(-100%);
}


.hero__container{
    height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(6, 1fr);
    overflow: hidden;
}

.hero__container::before{
    content: "";
    grid-column: 1/-1;
    grid-row:1/-1;
    background-image: url("/img/foto_web.jpg");
    background-size: cover;
    background-position: center;
    clip-path: circle(0% at 100% 0);
    animation: show 1s ease-in forwards;
}

.hero__title__container{
    grid-column: 2/6;
    grid-row:3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
    text-shadow: 2px 2px 4px rgba(196, 181, 253, 0.5);
    z-index: 1;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    animation: show__title 1s 1s ease forwards;
    border-radius: 20px;
}

.hero__title {
    text-align: center;
}

.logo__grup {
    width: auto;
    height: 256px;
}


@keyframes show {
    to {
        clip-path: circle(141.2% at 100% 0);
    }
}

@keyframes show__title {
    to {
        clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
    }
}

.img__team {
    width:80%;
    height: auto;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.team {
    max-width: 80rem;
    margin: 0 auto;
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));

}

.team__card {
    display:flex;
    flex-direction: column;
    align-items: center;
}

.card__img {
    margin: 20px;
    margin-bottom: 10px;
    height: 150px;
    width: 150px;
    border: 3px solid gray;
    border-radius: 50%;
}

.card__nom {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.card__carrec {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.card__container{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    margin-top:40px;

}

.card__news {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news__container{
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news__img{
    border-radius: 20px 20px 0px 0px;
}

.news__text{
    padding: 10px;
}

.news__footer{
    padding:10px;
    color: #16de66;
}


@media only screen and (max-width: 695px) {
    .hero__title__container{
        font-size:2rem;
    }
    .hero__title__container{
        grid-column: 1/-1;
        grid-row:3/4;
        margin-left: 10px;
        margin-right: 10px;
    }

    .news__container {
        height: 180px;
    }

    .card__news{
        margin-left: 10px;
        margin-right: 10px;
    }
    .logo__grup {
        height: 128px;
    }

}

@media only screen and (min-width:696px) and (max-width: 1024px) {
    .hero__title__container{
        font-size:2rem;
    }
    .hero__title__container{
        grid-column: 2/7;
        grid-row:3/4;
        margin-left: 10px;
        margin-right: 10px;
    }
}
@media only screen and (min-width:1025px) and (max-width: 1646px) {
    .hero__title__container{
        font-size:3rem;
    }
    .hero__title__container{
        grid-column: 2/7;
        grid-row:3/4;
        margin-left: 10px;
        margin-right: 10px;
    }
}


.separador {
    border-bottom: 2px solid rgba(255, 166, 0, 0.5);

}
