*{
    margin: 0px;
}

body {
    font-size: 18px;
    font-weight: 400;
    font-family: url("https://fonts.google.com/specimen/Open+Sans");
    width: 90%;
    margin: auto;
}

.hover:hover {
    cursor: pointer;
}

.active:active {
    text-decoration: underline;
    cursor: pointer;
    color: hsl(224, 93%, 58%);
}

h1 {
    margin-bottom: 20px;
}

@media (max-width:768px) {
   

    /*header styles*/

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }

    #logo-img {
        width: 110px;
    }

    .head-right {
        display: flex;
        align-items: center;
        margin-left: 15px;
    }

    #nav-2 {
        margin-left: 10px;
        margin-right: 10px;
    }

    /*section-2 styles*/

    .section-1 {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
        margin-top: 15px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #illustration-1 {
        width: 100%;
    }

    .section-1-left {
        padding-top: 50px;
    }

    .subscribe-1 {
        display: flex;
        flex-direction: column;
    }

    #input {
        height: 35px;
        margin-bottom: 30px;
        margin-top: 40px;
        border-radius: 5px;
    }

    #get-started {
        height: 40px;
        border: none;
        background-color: hsl(224, 93%, 58%);
        color: white;
        border-radius: 5px;
    }

    /*section-2 styles*/

    .section-2 {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .section-2-left {
        text-align: center;
    }

    #how-works {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: underline;
        margin-bottom: 10px;
        text-decoration-color: hsl(170, 45%, 43%);
    }

    #profile {
        display: flex;
        align-items: center;
        margin-left: 10px;
        padding-bottom: 10px;
    }

    .profile {
        background-color:  hsl(170, 45%, 43%);
        border-radius: 5px;
    }

    #profile-pic {
        width: 50px;
        border-radius: 50%;
        margin-right: 10px;
    }

    #illustration-2 {
        width: 100%;
    }

    /*section-3 styles*/

    .section-3 {
        display: flex;
        flex-direction: column;
        text-align: center;
        background-color: hsl(238, 22%, 44%);
        margin-top: 20px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .section-3-right {
        display: flex;
        flex-direction: column;
        margin-left: 80px;
        margin-right: 80px;
        margin-top: 15px;
    }

    #input-2 {
        height: 30px;
        margin-bottom: 15px;
        border-radius: 5px;
        border: none;
        padding-left: 10px;
    }

    #btn {
        height: 40px;
        border: none;
        background-color: hsl(224, 93%, 58%);
        color: white;
        padding-left: 10px;
        padding-right: 20px;
        border-radius: 5px;
    }

    /*section-4 styles*/

    .section-4 {
        display: flex;
        flex-direction: column;
        background-color: hsl(243, 87%, 12%);
        padding-top: 50px;
        padding-bottom: 50px;
        color: white;
    }

    .section-4-left-1 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    #phone {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .section-4-left-2 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    #jobs {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #press {
        margin-bottom: 15px;
    }

    .section-4-right-2 {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    #terms {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .section-4-right-1 {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #twitter {
        margin-left: 20px;
        margin-right: 20px;
    }
}


@media (min-width:768.1px) {
    /*header styles*/
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px;
    }

    #nav-2 {
        margin-left: 20px;
        margin-right: 20px;
    }

    /*section-1 styles*/

    .section-1 {
        display: flex;
        align-items: center;
        margin-top: 20px;
        padding: 50px;
    }

    .section-1-left {
        flex: 0.5;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-right: 10px;
        margin-right: 5px;
    }

    #input {
        height: 35px;
        margin-top: 30px;
        margin-right: 20px;
        padding-left: 15px;
        border-radius: 5px;
    }

    #get-started {
        height: 40px;
        margin-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 5px;
        background-color: hsl(224, 93%, 58%);
        color: white;
        border: none;
    }

    .section-1-right {
        flex: 0.5;
        padding-left: 10px;
        margin-left: 5px;
    }

    #illustration-1 {
        width: 100%;
    }

    /*section-2 styles*/

    .section-2 {
        display: flex;
        align-items: center;
        margin-top: 15px;
        padding: 50px;
    }

    .section-2-left {
        flex: 0.5;
        text-align: center;
        padding-right: 10px;
        margin-right: 5px;
    }

    .profile {
        background-color:  hsl(170, 45%, 43%);
        border-radius: 5px;
    }

    #profile {
        display: flex;
        align-items: center;
        margin-left: 10px;
        padding-bottom: 10px;
    }

    #profile-pic {
        width: 50px;
        border-radius: 50%;
        margin-right: 10px;
    }

    #how-works {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: underline;
        margin-bottom: 10px;
        text-decoration-color: hsl(170, 45%, 43%);
    }

    .section-2-right {
        flex: 0.5;
        padding-left: 10px;
        margin-left: 5px;

    }

    #illustration-2 {
        width: 100%;
    }

    /*section-3 styles*/

    .section-3 {
        display: flex;
        align-items: center;
        background-color: hsl(238, 22%, 44%);
        margin-top: 60px;
        padding: 50px;
    }

    .section-3-left {
        flex: 0.5;
    }

    .section-3-right {
        flex: 0.5;
        display: flex;
        flex-direction:column;
        align-items: flex-start;
        margin-left: 50px;
    }

    #input-2 {
        margin-bottom: 15px;
        height: 35px;
        padding-left: 10px;
        padding-right: 80px;
        border-radius: 5px;
        border: none;
    }

    #btn {
        height: 40px;
        border: none;
        background-color: hsl(224, 93%, 58%);
        color: white;
        padding-left: 10px;
        padding-right: 20px;
        border-radius: 5px;
    }

    /*section-4 styles*/

    .section-4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: hsl(243, 87%, 12%);
        padding: 50px;
        margin-bottom: 20px;
        color: white;
    }

    .section-4-left-1 {
        display: flex;
        flex-direction: column;
    }

    #phone {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .section-4-left-2 {
        display: flex;
        flex-direction: column;
    }

    #jobs {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    #press {
        margin-bottom: 15px;
    }

    .section-4-right-2 {
        display: flex;
        flex-direction: column;
    }
    

    #terms {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .section-4-right-1 {
        display: flex;
    }

    #twitter {
        margin-left: 15px;
        margin-right: 15px;
    }
}