*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body{
    width: 100%;
    background-color: #1B1E22;
    color: white;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    
}

h1{
    font-family: 'Audiowide', cursive;
}

header{
    background: url('../img/logo_hoaw.svg');
    background-repeat: no-repeat;
    background-size: 100vw;
    min-height: 1080px;
    width: 100%;
    padding: 16% 0 0 12.5%;
    scroll-snap-align: start;
}

.header h1{
    font-size: 140px;
    line-height: 140px;
}

.header h2{
    font-size: 42px;
    font-weight: 400;
    color: #787878;
    padding-left: 2px;
}

form{
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    max-width: 515px;
}

form span{
    display: none;
    justify-content: center;
    align-items: center;
    height: 40px;
    margin-bottom: 15px;
    border-radius: 6px;
    width: 90%;
    color: #787878;
}

#error, #error2{
    border: 2px solid rgb(179, 0, 0);
    background-color: rgb(255, 218, 218);
}

#sucess, #sucess2{
    border: 2px solid rgb(0, 179, 45);
    background-color: rgb(222, 255, 218);
}

form input{
    background-color:transparent;
    border: 1px solid white;
    border-radius: 12px;
    height: 56px;
    margin-bottom: 28px;
    font-size: 23px;
    padding: 0 0 0 28px;
    color: white;
}

form .button{
    height: 55px;
    width: 337px;
    border-radius: 12px;
    background: #C0F000;
    font-size: 23px;
    font-weight: 600;
    color: #090023;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe{
    color: #C0F000;
    text-decoration: none;
}

.button:hover{
    cursor: pointer;
}

main{
    height: 100vh;
    padding-bottom: 30px;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
}

section{
    scroll-snap-align: center;
}

header section{
    scroll-snap-align: none;
}

.what_is, .tools, .time{
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 50px 0;
}

.text{
    width: 50%;
    margin: 0 5%;
}

.text h1{
    margin-bottom: 20px;
    font-size: 77px;
}

.text p{
    font-size: 32px;
    color: #a7a7a7;
    font-weight: 400;
}

.divider img{
    max-width: 100%;
}

.tools{
    flex-direction: row-reverse;
    scroll-snap-align: center;
}

.contact{
    margin: 100px auto;
    width: 800px;
    height: 500px;
    border-radius: 24px;
    background-color: #090023;
    display: flex;
    justify-content: center;
    padding-left: 100px;
    flex-direction: column;
    border: 1px solid #C0F000;
    scroll-snap-align: center;
}

footer{
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 300;
    color: #787878;
    height: 40px;
}

@media only screen and (max-width: 1170px) {
    .what_is, .tools, .time {
        flex-direction: column;
    }

    header{
        min-height: 722px;
    }

    .image{
        display: none;
    }
}

@media only screen and (max-width: 1169px) {
    main{
        width: 100%;
    }

    header{
        background: none;
        min-height: auto;
        width: 90%;
        padding: 15px;
    }
    .what_is, .tools, .time {
        flex-direction: column;
        align-items: center;
    }

    .header h1{
        font-size: 100px;
    }

    .text h1{
        font-size: 50px;
        margin-bottom: 20px;
    }

    .text p{
        font-size: 24px;
    }

    .text{
        width: 90%;
    }
    
    .contact{
        width: 80%;
        padding: 0;
        display: flex;
        align-items: center;
    }
    
    form, .contact h1{
        width: 90%;
    }

    form input{
        height: 40px;
    }
    
    form .button{
        height: 40px;
        width: auto;
        font-size: 18px;
    }
}