/*import font*/
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;700&display=swap');

:root{
    /*neutral colors*/
    --grayish-blue: hsl(233, 8%, 62%);
    --light-grayish-blue: hsl(220, 16%, 96%);
    --very-light-gray: hsl(0, 0%, 98%);
    --white: hsl(0, 0%, 100%);
    /*primary*/
    --lime-green: hsl(136, 65%, 51%);
    --dark-blue: hsl(233, 26%, 24%);
    --bright-cian: hsl(192, 70%, 51%);

    font-size: 18px;
}
/*reset css*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*Config page*/
body{
    font-size: 1rem;
    font-family: 'Public Sans';

    background: var(--very-light-gray);
    overflow-x: hidden;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}
button{
    -webkit-tap-highlight-color: transparent;
}
/*start*/
/*******************Header********************/
.header{
    height: 80px;
    background: var(--white);
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.header .nav{
    margin: 0 auto;
    height: 100%;
    max-width: 1440px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .nav .logo{
    width: 170px;
    margin-left: 2%;
}
.fundo_menu{
    display: none;
    position: fixed;
    top: 80px;
    width: 100%;
    height: 100vh;
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,0.4318102240896359) 0%, rgba(0, 0, 0, 0) 100%);
}
/*button hamburguer*/
.header .menu-bars{
    display: none;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 50px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    margin-right: 2%;
    -webkit-tap-highlight-color: transparent;
}
.header .menu-bars .menu__bar{
    width: 40px;
    height: 6px;
    background: var(--dark-blue);
    border-radius: 5px;
    transition: all .5s ease-in-out;
}
.menu__bar::before,
.menu__bar::after{
    content: '';
    position: absolute;
    width: 40px;
    height: 6px;
    background: var(--dark-blue);
    border-radius: 5px;
    transition: all .5s ease-in-out;
}
.menu__bar::before{
    transform: translateY(-16px);
}
.menu__bar::after{
    transform: translateY(16px);
}
/*animation*/
.menu-bars.open .menu__bar{
    background: transparent;
}
.menu-bars.open .menu__bar::before{
    transform: rotate(45deg);
}
.menu-bars.open .menu__bar::after{
    transform: rotate(-45deg);
}
/**********************************/
.header .nav .menu-nav{
    display: flex;
    align-items: center;
    height: 100%;
}
.header .nav .menu-nav li{
    position: relative;
    margin-left: 35px;
    height: 100%;
    display: flex;
    align-items: center;
}
.header .nav .menu-nav li::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 0.200rem;
    background: linear-gradient(90deg, rgba(49,211,92,1) 0%, rgba(43,183,218,1) 100%);
    bottom: 0;
}
.border-gradient-active::after{
    transform: scale(0, 1);
    transition: transform .2s ease;
}
.border-gradient-active:hover::after{
    transform: scale(1, 1);
}
.header .nav .menu-nav li a{
    color: var(--grayish-blue);
    transition: color .2s linear;
}
.header .nav .menu-nav li a:hover{
    color: var(--dark-blue);
}
.request-invite{
    border: none;
    padding: 17px 40px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    border-radius: 25px;
    background: linear-gradient(90deg, rgba(49,211,92,1) 0%, rgba(43,183,218,1) 100%);
    transition: background 0.2s linear;
    cursor: pointer;
}
.request-invite:hover{
    background: linear-gradient(90deg, rgba(43,183,218,1) 0%, rgba(49,211,92,1) 100%);
}
/****************Main*****************/
.main{
    margin-top: 80px;
    position: relative;
}
.main-container{
    max-width: 100%;
    margin: 0 auto;
}
.hero{
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    max-height: 710px;
}
.hero .hero-text{
    min-height: 100vh;
    width: 50%;
    display: flex;
    align-items: right;
    flex-direction: column;
    margin-top: 190px;
}
.hero-text h1{
    font-size: 4rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 45px;
}
.hero-text p{
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--grayish-blue);
    margin-bottom: 45px;
    width: 75%;
}
.hero-text button{
    width: 210px;
    margin-bottom: 100px;
}
.hero-img{
    background-image: url(../../img/images/bg-intro-desktop.svg);
    background-repeat: no-repeat;
    background-size: 165%;
    background-position-y: -240px;
    background-position-x: -70px;

    position: absolute;
    top:  0px;
    right: 0px;
}
.hero .bg-phone{
    position: relative;
    top: -110px;
    right: -110px;
    max-width: 100%;
}
/**********************************************/
/*grid blocks*/
.why{
    width: 100%;
    background: var(--light-grayish-blue);
    min-height: 700px;
}
.why-container{
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 90px;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(4, 1fr);
}
.why-block{
    margin-right: 50px;
}
.why-block img{
    margin-bottom: 25px;
}
.why-block h2{
    color: var(--dark-blue);
    margin-bottom: 25px;
}
.why-block p{
    color: var(--grayish-blue);
    font-weight: 300;
}
.why-block-main{
    grid-column: 1/5;
    align-items: flex-start;
}
.why-block-main h2{
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 25px;
}
.why-block-main p{
    font-weight: 400;
    font-size: 1.1rem;
}
/*section articles*/
.latest-articles{
    width: 100%;
    background: var(--very-light-gray);
    margin-top: 100px;
    margin-bottom: 100px;
}
.container{
    width: 1440px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}
.latest-title{
    color: var(--dark-blue);
    font-size: 2rem;
    font-weight: 400;
    grid-column: 1/5;
    margin-bottom: 50px;
}
.article{
    width: 100%;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    background: var(--white);
}
.article-img{
    width: 100%;
    max-width: 100%;
    border-radius: 5px 5px 1px 1px;

    margin-bottom: 35px;
}
.article-text{
    width: 100%;
    padding: 0px 20px 40px 20px;
}
.article-writter{
    font-size: .8rem;
    color: var(--grayish-blue);
    margin-bottom: 15px;
}
.article-title{
    color: var(--dark-blue);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
}
.article-description{
    color: var(--grayish-blue);
    font-size: .9rem;
}
/*footer*/
.footer{
    width: 100%;
    background: var(--dark-blue);
    height: 210px;
}
.container-footer{
    width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer .menu{
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    width: 50%;
}
.icons{
    display: flex;
    margin-top: 50px;
    color: var(--very-light-gray);
}
.icons li{
    margin-right: 15px;
    font-size: 1.2rem;
}
.footer-nav li:nth-last-child(1),.footer-nav li:nth-last-child(2),
.footer-nav-2 li:nth-last-child(1),.footer-nav-2 li:nth-last-child(2){
    margin-top: 20px;
}
.footer-nav li a, .footer-nav-2 li a{
    color: var(--very-light-gray);
}
.rights{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.rights p{
    margin-top: 20px;
    color: var(--very-light-gray);
}
/*Media query*/
@media (max-width: 1280px) {
    .main{
        margin-top: 80px;
    }
    .main-container{
        max-width: 100%;
    }
    .hero{
        display: flex;
        flex-direction: column-reverse;
        margin-left: 0;
    }
    .hero .hero-text{
        min-height: auto;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-top: 0px;
    }
    .hero-text h1{
        font-size: 2.5rem;
        text-align: center;
    }
    .hero-text p{
        font-size: 1.1rem;
        font-weight: 400;
        color: var(--grayish-blue);
        margin: 0 auto;
        text-align: center;
    }
    .hero-text button{
        width: 220px;
        margin-top: 40px;
        display: block;
    }
    .hero-img{
        background-image: url(../../img/images/bg-intro-desktop.svg);
        background-repeat: no-repeat;
        background-position-y: 110px;
        background-position: bottom;
        background-size: 130%;

        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        position: relative;
        top: -110px;
        right: 0px;
    }
    .hero .bg-phone{
        position: static;
        top: 0px;
        right: 0px;
    }
    .why-container{
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr);
        margin: 0 2%;
    }
    .why-block-main{
        grid-column: 1/3;
        align-items: flex-start;
    }
    .why-block{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
        text-align: center;
        margin-right: 0;
    }
    .container{
        width: 98%;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    .latest-title{
        grid-column: 1/3;
        text-align: center;
    }
    .article{
        width: 100%;
        margin-right: 0px;
    }
    .container-footer{
        width: 100%;
        padding-left: 2%;
        padding-right: 2%;
    }
    .rights .request-invite{
        display: block;
    }
}
@media (max-width: 1120px) {
    .header .nav .menu-nav{
        display: flex;
        position: absolute;
        flex-direction: column;
        height: 300px;
        width: 90%;
        margin: 0 5%;
        top: -300px;
        background: var(--white);
        border-radius: 10px;
        transition: all .3s linear;
        z-index: 99;
    }
    .header .nav .menu-nav.isOpen{
        top: 90px;
    }
    .header .nav .menu-nav li{
        margin: 0;
        width: 100%;
        justify-content: center;
    }
    .header .nav .menu-nav li a{
        padding: 20px 140px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .fundo_menu.menu-ativo{
        display: block;
        z-index: -1;
    }
    .request-invite{
        display: none;
    }
    .header .menu-bars{
        display: flex;
    }
    .hero-img{
        background-image: url(../../img/images/bg-intro-mobile.svg);
        background-repeat: no-repeat;
        background-position-y: 110px;
        background-position-x: 0px;
        background-size: 100%;
    }
    .footer{
        height: auto;
    }
    .container-footer{
        flex-direction: column;
        justify-content: center;
    }
    .footer .menu{
        flex-direction: column;
        justify-content: center;
    }
    .social div, .icons{
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
    .social div, .icons :nth-last-child(1){
        margin-right: 0;
    }
    .footer-nav, li, .footer-nav-2, li{
        text-align: center;
        margin-top: 20px;
    }
    .rights{
        align-items: center;
    }
    .rights .request-invite{
        margin-top: 35px;
    }
    .rights p {
        margin-bottom: 25px;
    }
}
@media (max-width: 700px){
    .why-container{
        width: 80%;
        margin: 0 auto;
        grid-template-rows: repeat(5, 1fr);
        grid-template-columns: 1fr;
    }
    .why-block{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    .why-block-main{
        grid-column: 1/1;
        margin-bottom: 120px;
    } 
    .container{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .article{
        width: 100%;
    }
    .latest-title{
        grid-column: 1/2;
        text-align: center;
    }
}
@media (max-width: 540px){
    .hero-text h1{
        font-size: 2rem;
        text-align: center;
    }
    .hero-text p{
        font-size: 1rem;
        font-weight: 400;
        color: var(--grayish-blue);
        margin: 0 auto;
        text-align: center;
    }
    .why-container{
        width: 80%;
        grid-template-rows: repeat(5, 1fr);
        grid-template-columns: 1fr;
    }
    .why-block{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    .why-block-main{
        grid-column: 1/1;
        margin-bottom: 120px;
    }
}
@media (max-width: 350px) {
    .hero-text h1{
        font-size: 1.9rem;
        text-align: center;
    }
    .hero-text p{
        font-size: .9rem;
        width: 95%;
        font-weight: 400;
        color: var(--grayish-blue);
        margin: 0 auto;
        text-align: center;
    }
}