@import url('./global.css');
@import url('./fonts.css');

main {
    background-image: url('../images/background.jpg');
    background-repeat: repeat;
    overflow: hidden;
}

.inicio {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 0px 40px;
    /*
     background: linear-gradient(var(--eagle-red), var(--eagle-blue));
    background-attachment: fixed;
    */
    background-image: radial-gradient(rgba(0,0,0,0.5) 60%, rgba(255, 255, 255, 0.3)), url('../images/flag.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    
}

.inicio img {
    width: 40%;
    animation: animation-left 0.5s forwards;
}

.inicio div {
    width: 50%;
    color: #FFF;
    text-align: center;
}


.inicio div h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 50pt;
    text-shadow: 1px 1px 5px var(--eagle-red);
    text-decoration: underline;
    animation: animation-right 0.5s forwards;
}

.inicio div p {
    font-family: Roboto;
    font-style: italic;
    font-size: 14pt;
    text-shadow: 1px 1px 1px #000;
    animation: animation-right 0.5s forwards;
}

.anchor-button {
    margin: 3em auto;
    display: block;
    width: 40%;
    padding: 12px;
    border: 3px solid var(--eagle-red);
    border-radius: 15px;
    font-family: Roboto;
    font-size: 14pt;
    font-weight: bold;
    color: #FFF;
    background-color: var(--eagle-blue);
    text-decoration: none;
    text-align: center;
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.anchor-button:hover {
    box-shadow: 0px 0px 10px 0px var(--eagle-red);
}

.anchor-button:active {
    transform: scale(0.99);
}

.webinar {
    width: 100%;
    height: auto;
    font-family: Roboto;
    background-size: cover;
}

.webinar .texts {
    margin: auto;
    padding-top: 50px;
    width: 80%;
    text-align: center;
}

.webinar .texts p {
    font-size: 30pt;
}

.webinar .texts p strong {
    color: var(--eagle-blue);
}

.webinar .video {
    display: block;
    margin: 3em auto;
    height: 80vh;
}

.beneficios {
    margin: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 30vh;
    background-color: #000;
    background-image: linear-gradient(to right, white 1px, transparent 1px), linear-gradient(to bottom, white 1px, transparent 1px);
    background-size: 30px 30px;
}


.beneficio-item {
    display: block;
    width: 30%;
    text-align: center;
}

.beneficio-item img {
    max-width: 25%;
    height: auto;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(180deg);
}

.beneficio-item h2 {
    color: #FFF;
}

.grupo-pol-section {
    margin: auto;
    width: 80%;
    font-family: Roboto;
}

.grupo-pol-section h1 {
    padding-top: 20px;
    font-size: 20pt;
}

.grupo-pol-section .logo-pol {
    display: block;
    margin: auto;
    width: 30%;
    animation: heartbeat 3s infinite ease-in-out;
}

.grupo-pol-section p {
    font-size: 15pt;
    text-align: justify;
}
.grupo-pol-section ul {
    margin-top: 10px;
    margin-left: 15px;
}

.grupo-pol-section h1,  .grupo-pol-section ul li strong {
    color: var(--eagle-blue);
}

.imagen-grupo-pol {
    display: block;
    margin: 3em auto 2em auto;
    width: 40%;
}

footer {
    margin-top: 3em;
    padding: 30px 0px;
    font-family: Roboto;
    font-size: 15pt;
    font-weight: bold;
    color: #FFF;
    background-color: #000;
    text-align: center;
}


@keyframes animation-left {
    from {
        transform: translateX(150%);
    }
    to {
        transform: translateX(0%);
    }
}

@keyframes animation-right {
    from {
        transform: translateX(-150%);
    }
    to {
        transform: translateX(0%);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(0.9);
    }
    60% {
        transform: scale(1)
    }
    100% {
        transform: scale(0.9);
    }
}


@media screen and (max-width: 1200px) {
    .inicio div h1 {
        font-size: 45pt;
    }
    .inicio img {
        width: 50%;
    }
    .imagen-grupo-pol {
        width: 50%;
    }
}

@media screen and (max-width: 950px) {
    .inicio div h1 {
        font-size: 40pt;
    }
    .inicio img {
        width: 55%;
    }
    .anchor-button {
        width: 50%;
    }
    .grupo-pol-section .logo-pol {
        width: 40%;
    }
    .imagen-grupo-pol {
        width: 70%;
    }
    .beneficios {
        height: 20vh;
    }
    .beneficio-item h2 {
        font-size: 12pt;
    }
}

@media screen and (max-width: 895px) {
    .inicio {
        flex-direction: column-reverse;
        justify-content: center;
        background-attachment: scroll;
    }
    .inicio div {
        margin: 0;
        width: 80%
    }
    .inicio div h1 {
        font-size: 45pt;
    }
    .inicio img {
        display: block;
        margin: 0 auto;
        width: 50%;
    }
    .anchor-button {
        width: 50%;
    }
    .webinar .texts p {
        font-size: 25pt;
    }
}

@media screen and (max-width: 800px) {
    .grupo-pol-section p {
        font-size: 14pt;
        text-align: justify;
    }
}

@media screen and (max-width: 770px) {
    .inicio img {
        width: 60%;
    }
}

@media screen and (max-width: 650px) {
    .grupo-pol-section .logo-pol {
        width: 55%;
    }
}

@media screen and (max-width: 650px) {
    .inicio img {
        width: 70%;
    }
    .webinar .texts p {
        font-size: 20pt;
    }
    .webinar .video {
        width: 90vw;
    }
    .imagen-grupo-pol {
        width: 80%;
    }
    .grupo-pol-section p {
        font-size: 13pt;
    }
    footer {
        font-size: 12pt;
    }
}

@media screen and (max-width: 550px) {
    .inicio img {
        width: 75%;
    }
    .inicio div h1 {
        font-size: 40pt;
    }
    .anchor-button {
        width: 80%;
    }
}

@media screen and (max-width: 480px) {
    .inicio img {
        width: 80%;
    }
    .inicio div h1 {
        font-size: 40pt;
    }
    .inicio div {
        width: 90%
    }
    .anchor-button {
        width: 80%;
    }
    .grupo-pol-section .logo-pol {
        width: 70%;
    }
    .imagen-grupo-pol {
        width: 90%;
    } 
}


