@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');

:root{
    --primary-color: #047aed;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
}

ul{
    list-style: 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%;
    height: 100%;
}

/* Navbar Styling */

.navbar{
    background-color: #fff;
    height: 120px;
}

.navbar ul{
    display: flex;
}

.navbar a{
    color: #000;
    padding: 10px;
    margin: 0 30px;
}

.navbar a:hover{
    border-bottom: 2px var(--primary-color) solid;
}

.navbar .flex{
    justify-content: space-between;
}

.logo{
    width: 95px;
    height: 95px;
}

/* Hero  */

.hero{
    height: 500px;
    margin-top: -10px;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
}

.hero h1{
    font-size: 40px;
}
.hero p{
    margin: 20px;
    font-size: 18px;
}

.hero-wrapper {
    width: 80%;
    margin-left: 350px;
}

.hero .grid{
    overflow: visibles;
    grid-template-columns: 55% 45%;
    gap: 30px;
}

.hero-form{
    position: relative;
    top: 60px;
    height: 350px;
    width: 400px;
    padding: 40px;
    z-index: 100;
}

.hero-form .form-control{
    margin: 30px 0;
}

.form-control input[type='text'],
.form-control input[type='email']{
    border: 0;
    border-bottom: 1px solid #b4becb;
    width: 100%;
    padding: 3px;
    font-size: 16px;
}

.form-control input:focus{
    outline: none;
}

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

/* Stats */

.stats{
    padding-top: 100px;
}

.stats-heading {
    max-width: 500px;
    margin: auto;
}

.stats .grid h3{
    font-size: 35px;
}

.stats .grid p{
    font-size: 20px;
    font-weight: bold;
}

.actions .grid{
    grid-template-columns: repeat(3, 1fr);
}
