@import url('https://fonts.google.com/specimen/Open+Sans');
*{
    margin: 0rem;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-size:1.1rem;
    font-family: 'Open Sans', sans-serif;
    color:hsl(243, 87%, 12%);
}
/* Navigation Bar */
.navbar img{
    width: 150px;
    height: auto;
}
.navbar{
    padding: 0.50rem;
    margin: 2rem;
    display: flex;
    justify-content: space-between;
}
.nav-list{
    display: flex;
    list-style: none;
}
.nav-items{
    text-decoration: none;
    margin-left: 2rem;
}
.flex{
    display: flex;
    justify-content: space-between;
    margin: 2rem;
}
/* Section a */
.section-a img{
    max-width: 100%;
    height: auto;
}
.section-a{
    margin-top: 5rem;
}
.access-img{
    max-width: 50%;
}
.access-content h2{
    color:hsl(243, 87%, 12%);
    font-size: 1.5rem;
    font-weight: 700;
}
.access-content{
    line-height: 1.7;
    max-width: 45%;
}
/* Form */
form{
margin-top: 1rem;
}
form input{
    padding: 0.20rem;
    padding-right: 4rem;
    background-color: white;
    border: none;
    border-bottom: 1px solid black;
}
form button{
    border-color: hsl(224, 93%, 58%);
    box-shadow: none;
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 1.5rem;
    margin-left: 0.50rem;
    background-color: hsl(224, 93%, 58%);
}
/* Section-b */
.section-b{
    margin-top: 5rem;
}
.section-b img{
    max-width: 100%;
    height: auto;
}
.productive-content h2{
    color:hsl(243, 87%, 12%);
    font-size: 1.5rem;
    font-weight: 700;
}
.productive-content p{
    margin-top: 1rem;
}
.productive-content-img{
    width: 50%;
}
.productive-content{
    line-height: 1.7;
    max-width: 45%;
}
.green{
    margin-top: 1rem;
    text-decoration: none;
}
/* Testimonial Box */
.testimonial-box{
    width: 80%;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    line-height: 1;
    margin-top: 2rem;
    padding: 2rem;
}
/* User Info */
.user-info{
    display: flex;
    margin-top: 1rem;
}
.user-info-img img{
    height: 30px;
    width: 30px;
    border-radius: 100%;
}
.user-info-details{
    margin-left: .50rem;
}
/* Section C */
.section-c{
    background-color: hsl(238, 22%, 44%);
    color: white;
    margin: 0;
    padding: 1.5rem;
}
.sign-up{
    width: 45%;
    line-height: 1.5;
}
.sign-up p{
    margin-top: 1rem;
}
/* Sign up Form */
.sign-up-form input{
    width: 80%;
}
.sign-up-form button{
    font-size: 0.75rem;
    margin-top: 0.75rem;
    margin-left: 0;
    padding: 0.50rem 1rem;
}
/* Footer */
footer{
    background-color: hsl(243, 87%, 12%);
    color: white;
    padding: 2rem;
}
.footer-logo img{
    max-width: 150px;
    margin: 2rem auto;
}
.details{
    display: flex;
    justify-content: space-between;
    line-height: 2;
}
.contact img{
    max-width: 100%;
    height: 20px;
}
.email, .phone{
    display: flex;
    margin: 0.75rem;
    align-items:center;
}
.email>small, .phone>small{
    margin-left: 0.75rem;
}
/* Media Queries */
@media screen  and (max-width:500px){
    body{
        text-align: center;
        font-size: 0.90rem;
    }
    .flex{
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .flex > div {
        max-width: 100%;
    }
    /* navbar */
    .navbar{
        align-items: center;
        margin: 0.75rem;
    }
    .nav-items{
        margin-left: 0.75rem;
    }
    .productive-content-img{
        width: 100%;
    }
    /* form */
    form button{
        margin-top: 0.75rem;
        padding: 0.20rem 5.5rem;
    }
    .green {
        align-items: baseline;
        justify-content: center;
    }
    .testimonial-box{
        margin: 0 auto;
        margin-top: 1rem;
        padding:1rem 1.5rem;
        text-align: start;
    }
    .section-c .flex{
        flex-direction: row-reverse;
        justify-content: center;
    }
    .sign-up{
            width: 100%;
    }
    /* Footer */
    .footer-logo{
        max-width: 100px;
        text-align: left;
    }
    .details{
        flex-direction: column;
        align-items: flex-start;
        text-align: start;
    }
    .email, .phone{
        align-items: flex-start;
        margin-left: 0;
    }
}