
/** INDEX **/

#index {
    position: relative;
    top: -1.5rem;
}

#index article > .article {
    padding: 10rem 4rem;
}

#index article > .wave {
    background-position-x: center;
    background-repeat: repeat-x;
    background-size: 20rem;
    height: 6rem;
}

/** COVER **/

#index .cover {
    background-color: #FFFFFF;
}

#index .cover > .wave {
    background-image: url(../../svg/borde_ondulado_r.svg);
}

#index .cover .max_width {
    align-content: stretch;
    display: flex;
    flex-wrap: nowrap;
    gap: 5rem;
}

#index .cover > .article {
    background-color: #F02004;
    background-image: url(../../svg/fondo_ondulado.svg);
    background-position-x: center;
	background-repeat: repeat;
    background-size: 10rem;
    color: #FFFFFF;
}

#index .cover .image {
    background-color: #f0f0f0;
    background-image: url(../../svg/fondo_ondulado.svg);
    background-position-x: center;
	background-repeat: repeat;
    background-size: 20rem;
    border-radius: 3rem;
    box-shadow: 0 0 2rem 0.2rem #00000040;
    flex-shrink: 0;
    overflow: hidden;
    width: 50%;
}

#index .cover .image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#index .cover h4 {
    font-size: 8rem;
    font-weight: 700;
    margin-bottom: 5rem;
}

#index .cover p {
    font-size: 2rem;
    line-height: 3rem;
    text-align: justify;
}

#index .cover .signup {
    text-align: center;
    margin-top: 12rem;
}

#index .cover .signup > div {
    position: relative;
    height: 0;
    opacity: 0.75;
}

#index .cover .signup > div > div {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    position: absolute;
    bottom: 0;
    height: 7rem;
    width: 100%;
}

#index .cover .signup img {
    width: 3rem;
}

#index .cover .signup p {
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    line-height: 2rem;
    text-align: center;
}

#index .cover .signup a {
    display: inline-block;
    border: 0.3rem solid #FFFFFF;
    border-radius: 1.5rem;
    font-size: 2.5rem;
    padding: 2rem 3rem;

}

@keyframes signup {
    0%      { height: 7rem; }
    50%     { height: 9rem; }
    100%    { height: 7rem; }
}

#index .cover .signup div > div {
    -webkit-animation: signup 1s infinite ease-in-out;
	-moz-animation: signup 1s infinite ease-in-out;
    animation: signup 1s infinite ease-in-out;
}

/** FEATURES **/

#index .features > .wave {
    background-image: url(../../svg/borde_ondulado_h.svg);
}

#index .features > .article {
    background-color: #FFFFFF;
    padding-bottom: 5rem;
    padding-top: 15rem;
}

/** PRODUCTS **/

#index .all_products {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

#index .all_products > a {
    display: inline-block;
    border-radius: 3rem;
    font-size: 2rem;
    line-height: 4rem;
    padding: 1rem 3rem;
    text-align: center;
}

@keyframes show {
    from    { opacity: 0; left: 20rem; }
    to      { opacity: 1; left: 0; }
}

#index article .max_width {
    position: relative;
    -webkit-animation: show 1s ease;
	-moz-animation: show 1s ease;
    animation: show 1s ease;
}

/** RESPONSIVE **/

@media (max-width: 950px) {

    #index .cover .max_width {
        flex-direction: column-reverse;
    }

    #index .cover .image {
        width: 100%;
    }
}

@media (max-width: 530px) {

    #index article > .article {
        padding: 7rem 2rem;
    }

    #index .cover h4 {
        font-size: 6rem;
    }

    #index .features > .article {
        padding-bottom: 3.5rem;
        padding-top: 11.7rem;
    }
}