/*===========================================
    GLOBAL STYLES
===========================================*/
body{
    background-color: #FFF;
    color: #222E4A;
}

a:hover{
    text-decoration: none;
    cursor: pointer;
}

h1{
    font-size: 36px;
    font-weight: 300;
}
h2{
    font-size: 36px;
    font-weight: 700;
}
h3{
    font-size: 24px;
    font-weight: 100;
}



/*===========================================
    HEADER HERO
===========================================*/
.header{
    height: 710px;
    min-height: 710px;
    padding: 0 5%;
    background-image: url(../img/header_side.svg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
}

.header_top{
    display: flex;
    align-items: center;
    padding: 50px 0px;
}

.header_logo{
    flex: 1;
}
    .header_logo img{
        height: 32px;
    }

.header_buttons{
    display: flex;
}

    .header_buttons .register{
        height: 36px;
        padding: 0px 42px;
        line-height: 36px;
        font-size: 16px;
        color: #FFF;
        cursor: pointer;
    }

    .header_buttons .login{
        height: 36px;
        padding: 0px 42px;
        background-color: #F6F6F6;
        border-radius: 100px;
        line-height: 36px;
        font-size: 16px;
        color: #5638FC;
        cursor: pointer;
    }


.header h1{
    width: 40%;
    margin: 3em 0 0 0;
    line-height: 1.2;
}



/*===========================================
    SECTIONS
===========================================*/
.section{
    margin: 64px auto;
    text-align: center;
}

.howwedo{
    margin: 156px 0;
}

    .section h2{
        padding: 0; margin: 0;
    }


    .grid{
        margin: 64px 100px;
        display: flex;
        justify-content: space-between;
    }

        .grid-item{
            width: 30%;
        }

            .grid-image{
                height: 100px;
            }

            .grid-title{
                margin-top: 32px;
                font-size: 24px;
            }

            .grid-desc{
                margin-top: 16px;
            }

    .love{
        margin-bottom: 96px;
    }


.prices{
    padding: 32px 0;
    background-color: #4D3EFB;
    color: #FFF;
}

.graph{
    margin-top: 42px;
}

    .graph-row{
        display: flex;
        align-items: center;
        justify-content: center;
    }

.graph-step{
    text-align: left;
}
    .graph-num{
        font-size: 42px;
        font-weight: 100;
        color: #4D3EFB;
    }

    .graph-title{
        font-size: 32px;
        font-weight: 100;
    }

    .graph-desc{
        width: 340px;
        margin-top: 16px;
        font-size: 20px;
        font-weight: 100;
    }

.graph-line1{
    margin-left: -42px;
}
.graph-line2{
    margin-left: -42px;
}


/*=================================================
    FOOTER
=================================================*/
.footer{
    width: 100%;
    min-height: 200px;
    box-sizing: border-box;
    padding: 32px 140px;
    margin-top: 64px;
    background-color: #4D3EFB;
    background-color: #4A3FC9;
    font-weight: 400;
    color: #FFF;
}

    .footer_top,
    .footer_bot,
    .footer_links,
    .footer_langs,
    .footer_social
    {
        display: flex;
        align-items: center;
    }

        .footer_logo{
            flex: 1;
        }


    .footer_link{
        margin-left: 42px;
        cursor: pointer;
    }

    .footer_langs{
        margin-top: 24px;
    }
        .footer_lang{
            margin-right: 32px;
            color: rgba(255, 255, 255, .6);
            font-weight: 100;
        }


    .footer_line{
        width: 100%;
        height: 2px;
        margin: 16px 0;
        background-color: rgba(255, 255, 255, .2);
    }


    .footer_bot{
        margin-top: 32px;
    }
        .footer_rights{
            flex: 1;
            color: rgba(255, 255, 255, .6);
        }

        .footer_social div{
            margin-left: 24px;
            font-size: 18px;
            cursor: pointer;
        }


/*=================================================
    RESPONSIVINESS
=================================================*/
@media only screen and (max-width: 1100px){

    .header{
        height: 1300px;
        background-image: url(../img/header_mobile.svg);
        background-size: contain;
        background-position: bottom right;
    }

    .header h1{
        margin-top: 1.5em;
    }
    
    .header_logo img{
        height: 30px;
    }

    .header_buttons .register{
        color: #4D3EFB;
    }
    .header_buttons .login{
        background-color: #4D3EFB;
        color: #FFF;
    }


    .howworks{
        margin-top: -200px;
    }

    .footer{
        padding: 32px 64px;
    }

}

@media only screen and (max-width: 900px){
    .header{
        height: calc(100vw + 300px);
    }
    .header h1{
        width: 60%;
        font-size: 32px;
    }

    .howworks{
        margin-top: -100px;
    }

    .graph{
        padding: 0 32px;
    }
        .graph-num{
            font-size: 32px;
        }
        .graph-title{
            font-size: 24px;
        }
        .graph-desc{
            font-size: 16px;
        }

    .graph-image img{
        width: 75%;
    }

    .graph-line1, .graph-line2{
        width: 45%;
    }

    .grid{
        flex-direction: column;
        align-items: center;
    }
        .grid-item{
            width: 80%;
            margin-bottom: 64px;
        }

    
    .footer_top{
        flex-direction: column;
    }
        .footer_links{
            width: 100%;
            margin-top: 24px;
            justify-content: space-between;
        }
        .footer_link{
            margin: 0;
        }
}

@media only screen and (max-width: 600px){
    .header{
        min-height: auto;
        height: calc(100vw + 260px);
    }

    .header_top{
        padding: 32px 0;
    }
    .header_logo img{
        height: 24px;
    }
        .header_buttons{
            display: none;
        }

    .header h1{
        width: 80%;
        font-size: 24px;
    }
    h2{ font-size: 28px; }
    h3{ font-size: 20px; }

    .howworks{
        margin-top: 0px;
    }

    .graph-row{
        flex-direction: column;
    }
        .middle-step{
            text-align: right;
        }
        .middle-step .graph-desc{
            margin-left: auto;
        }

        .graph-image.middle-image{
            order: 2;
            text-align: left;
        }   

    .graph-desc{
        width: 80%;
    }

    .graph-image{
        text-align: right;
    }

    .graph-line1, .graph-line2{
        width: 50%;
    }


    .grid{
        margin: 64px 42px;
    }
    .grid-item{
        width: 100%;
    }

    .footer{
        font-size: 12px;
        padding: 32px 24px;
    }
        .footer_logo img{
            height: 20px !important;
        }

    .footer_langs{
        flex-direction: column;
        align-items: flex-start;
    }
        .footer_lang{
            margin-top: 8px;
        }

}