@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
:root{
    --primary-color:#047aed;
    --secondary-color:#1c3fa8;
    --dark-color:#002240;
    --light-color:#f4f4f4;
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    font-family: 'lato',sans-serif;
    color: #333;
    line-height: 1.6;
}
ul{
    list-style-type: none;
}
a{
    text-decoration: none;
    color: #333;
}
h1,h2{
    font-weight: 300;
    line-height: 1.2;
    margin: 10px 0;
}
p{
    margin: 10px 0;
}
img{
    width: 100%;
}

.hidden{
    visibility: hidden;
    height: 0;
}
/*navbar*/
.navbar{
    background-color: var(--primary-color);
    color: #fff;
    height: 70px;

}
.navbar ul{
    display: flex;
}
.navbar a{
    color: #fff;
    padding: 10px;
    margin: 0 5px;
}
.navbar a:hover{
    border-bottom: 2px #fff solid;
}
/*Showcase*/
.showcase{
    height:400px;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
}

.showcase h1{
    font-size: 40px;
}
.showcase p{
    margin: 20px 0;
}
.showcase .grid{
    overflow: visible;
    grid-template-columns: 55% 45%;
    gap: 30px;
}

.showcase-text{
    animation: slideInFromLeft 1s ease-in;
}
.showcase-form{
    position: relative;
    top: 60px;
    height: 350px;
    width: 400px;
    padding: 40px;
    z-index: 100;
    animation: slideInFromRight 1s ease-in;
}

.showcase-form .form-control{
    margin: 30px 0;
}
 
.showcase-form input[type='text'],.showcase-form input[type='number'],
.showcase-form input[type='email']{
    border: 0;
    border-bottom: 1px;
    width: 100%;
    padding: 3px;
    font-size: 16px;
}
.showcase-form input:focus{
    outline: none;
}

.showcase::before, .showcase.showcase::after{
    content: '';
    position: absolute;
    height: 100px;
    bottom: -70px;
    right: 0;
    left: 0;
    background: #fff;
    transform: skewY(-4deg);
    -webkit-transform: skewY(-4deg);
    -moz-transform: skewY(-4deg);
    -ms-transform: skewY(-4deg);
}

/*stats*/
.stats{
    padding-top: 100px;
    animation: slideInFromBottom 1s ease-in;
}

/*cloud*/
.cloud .grid{
    grid-template-columns: 4fr 3fr;
}
/*Partners/lang
.languages .flex{
    flex-wrap: wrap;
}*/
.languages .card h4{
    font-size: 20px;
    margin-bottom: 10px;
}


.languages .card{
    text-align: center;
    margin: 18px 10px 40px;
    transition: transform 0.2s ease-in;
}
.languages img{
    width: 40px;
}

.languages .card:hover{
    transform: translateY(-15px);
}

/*features-courier*/
.features-head img{
    width: 200px;
    justify-self:flex-end ;
    animation: slideInFromRight 1s ease-in;
}
.features-sub-head img{
    width: 300px;
    justify-self: flex-end;
}
.features-main .card > i {
    margin-right: 20px;
    
}

.features-main .grid{
    padding: 30px;
}
.features-main .grid > *:first-child{
    grid-column: 1 / span 3;
}
.features-main .grid > *:nth-child(2){
    grid-column: 1 / span 2;
}

.feature-main img{
    width: 70px;
}

.feature-main .grid > *:nth-child(1){
    animation: slideInFromTop 1s ease-in;
} 
.feature-main .grid > *:nth-child(2){
    animation: slideInFromLeft 1s ease-in;
} 
.feature-main .grid > *:nth-child(3){
    animation: slideInFromRight 1s ease-in;
} 
.feature-main .grid > *:nth-child(4){
    animation: slideInFromLeft 1.5s ease-in;
} 
.feature-main .grid > *:nth-child(5){
    animation: slideInFromRight 1.2s ease-in;
}
.feature-main .grid > *:nth-child(6){
    animation: slideInFromLeft 1.3s ease-in;
}  

.cle .grid > *:nth-child(1){
    animation: slideInFromLeft 1s ease-in;
}
.cle .grid > *:nth-child(2){
    animation: slideInFromBottom 1.1s ease-in;
}
.cle .grid > *:nth-child(3){
    animation: slideInFromBottom 1.1s ease-in;
}
.text-center img{
    animation: slideInFromLeft 1s ease-in;
}


/*animations*/

@keyframes slideInFromLeft{
    0%{
        transform: translateX(-100%);
    }

    100%{
        transform: translateX(0);
    }
}
@keyframes slideInFromRight{
    0%{
        transform: translateX(100%);
    }

    100%{
        transform: translateX(0);
    }
}
@keyframes slideInFromTop{
    0%{
        transform: translateY(-100%);
    }

    100%{
        transform: translateX(0);
    }
}
@keyframes slideInFromBottom{
    0%{
        transform: translateY(100%);
    }

    100%{
        transform: translateX(0);
    }
}
.grid-container_toplog {

    grid-column: 2;
    grid-row: 2;
 }
 .grid-container_toplog img{
    width: 270px;
 }

/*footer*/
.footer .social a {
    margin: 0 10px;

}

/*Tablets and under*/
@media(max-width:768px){
    .grid,
    .showcase .grid,
    .stats .grid,
    .cle .grid,
    .cloud .grid{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .showcase{
        height: auto;
    }

    .showcase-text{
        text-align: center;
        margin-top: 40px;
        animation: slideInFromTop 1s ease-in;
    }

    .showcase-form{
        justify-self: center;
        margin: auto;
        animation: slideInFromBottom 1s ease-in;
    }

    .cle .grid > *:first-child{
        grid-column: 1;
        grid-row: 1;
    }

}

/*Mobile*/
@media(max-width: 500px){
    .navbar{
        height: 110px;
    }

    .navbar .flex{
        flex-direction: column;
    }

    .navbar ul{
        padding: 10px;
        background-color: rgba(0,0,0,0.1);
    }

    
}

