*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
}

header {
    padding-top: .5em;
    text-align: center;
    box-shadow: rgba(100, 100, 111, 0.1) 0px 7px 30px 0px;
}


.head-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.call__button {
    position: absolute;
    top: 30px;
    right: 70px;
}

.call__button:hover,
.call__button:focus {
    opacity: 60%;
}

.nav-toggle {
    position: absolute;
    top: 30px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav {
    visibility: hidden;
    height: 0;
    position: absolute;
}

.nav--visible {
    visibility: visible;
    height: auto;
    position: relative;
}

.nav__list {
    margin: 1em 0;
    padding: 0 0 1em 0;
    list-style: none;
}

.nav__item {
    margin-top: .5em;
}

.nav__link {
    color: #105378;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.nav__link:hover,
.nav__link:focus {
    opacity: .65;
}

.hero {
    padding: 1em 0;
}

.hero__img {
    width: 100%;
}

.hero__text,
.howItWorks__heading,
.howItWorls__paragraph {
    padding: 0 1.8em;
    text-align: center;
}

.hero__text h1 {
    font-size: 36px;
    color: #105378;
    font-weight: 900;
}

.howItWorks__heading {
    font-size: 32px;
    color: #105378;
    font-weight: 900;
}

.hero__text p,
.howItWorls__paragraph,
.hIW__contactUs h3,
.hIW__booking h3,
.hIW__congrats h3 {
    font-size: 20px;
    color: #105378;
}

.hIW__contactUs p,
.hIW__booking p,
.hIW__congrats p,
.aboutUs__text p {
    font-size: 18px;
    color: #105378;
}

.howItWorks {
    background-color: #EDF3FC;
    border-radius: 15px;
    width: 95%;
    margin: 0 auto;
    padding: 2em 0;
    position: relative;
}

.hIW__booking,
.hIW__contactUs,
.hIW__congrats,
.aboutUs__text {
    background-color: #fff;
    border-radius: 15px;
    margin: 1em .8em .8em .8em;
    text-align: center;
    padding: 1.5em;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.hIW__contactUs {
    margin-top: 2em;
}

.aboutUs {
    background-color: #EDF3FC;
    border-radius: 15px;
    width: 95%;
    margin: 0 auto;
    margin-top: 9em;
    padding: 0 0 1.5em 0;
}

.aboutUs h3 {
    text-align: center;
    color: #105378;
    font-size: 24px;
    padding: 1.5em;
    margin: 0;
}


.aboutUs__text {
    padding: 1.5em 1em 1em 1em;
}


.aboutUs__text p {
    margin: 0;
}

.learnMore {
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid #105378;
    text-align: center;
    width: 80%;
    margin: 3em auto;
    margin-bottom: 2em;
}

.learnMore:hover {
    background-color: #105378;
    transition: 0.7s;
}

.learnMore p:hover {
    color: #fff;
    transition: 0.7s;
}

.learnMore p {
    color: #105378;
    font-size: 20px;
}

.learnMore__link {
    text-decoration: none;
}

.roofLogo img {
    width: 100%;
}

.hIW__congrats {
    margin-bottom: -40%;
}

.hIW__contactUs h3,
.hIW__contactUs p,
.hIW__booking h3,
.hIW__booking p,
.hIW__congrats h3,
.hIW__congrats p {
    margin: 1em 0 0 0;
}

.arrowDown {
    text-align: center;
    margin-top: 1.2em;
}

footer {
    background-color: #F9F9F9;
    text-align: center;
    margin-top: 4em;
    padding-bottom: 2em;
}

.footerLinks {
    padding: 2em 0;
}

hr {
    padding: 0;
    margin: 0;
    opacity: 60%;
}

.footerList {
    margin-bottom: 0;
}

.socialMediaLinks {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2em 0 1.5em 0;
}

.socialMediaLinks__item {
    background-color: #D9D9D9;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    position: relative;
    margin: 0 1em;
}

.socialMediaLinks__item img {
    width: 70%;
    height: 60%;
    position: absolute;
    left: 15%;
    top: 19%;
}

form {
    max-width: 500px;
    margin: 3em auto;
    padding: 1.5em 1em;
    background: #f4f7f8;
    border-radius: 8px;
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea,
select {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 16px;
    height: auto;
    margin: 0;
    outline: 0;
    padding: 15px;
    width: 100%;
    background-color: #e8eeef;
    color: #8a97a0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
    margin-bottom: 30px;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 0 4px 8px 0;
}

button[type="submit"] {
    padding: 19px 39px 18px 39px;
    color: #FFF;
    background-color: #4bc970;
    font-size: 18px;
    text-align: center;
    font-style: normal;
    border-radius: 5px;
    width: 100%;
    border: 1px solid #3ac162;
    border-width: 1px 1px 3px;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1) inset;
    margin-bottom: 10px;
}

fieldset {
    margin-bottom: 30px;
    border: none;
}

legend {
    font-size: 1.4em;
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 8px;
}

label.light {
    font-weight: 300;
    display: inline;
}


.ourServices {
    background-color: #EDF3FC;
    color: #105378;
    border-radius: 15px;
    width: 95%;
    margin: 3em auto;
    padding: 2em 1em;
    position: relative;
    text-align: center;
}

.service {
    background: white;
    border-radius: 10px;
    list-style: none;
    width: 49%;
    height: 70px;
    font-size: 1.2rem;
}

.servicesList {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    row-gap: 20px;
}

.service {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.aboutUs {
    padding-top: 1em;
}

.aboutUs__img {
    visibility: hidden;
    position: absolute;
    padding: 1em;
}

.aboutUs__img img {
    width: 100%;
}

@media (min-width: 700px) {

    .container {
        max-width: 1100px;
        width: 80%;
        margin: 0 auto;
        /* I need position relative for the toggle button */
        position: relative;
    }

    .row {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
    }

    /* .head-wrapper {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    } */

    header {
        padding-top: 0;
    }

    .nav-toggle {
        display: none;
    }

    .nav {
        visibility: visible;
        position: relative;
        height: auto;
    }

    .nav__item {
        margin: 0 0 0 1.5em;
    }

    .nav__list {
        display: flex;
        justify-content: center;
        padding: 0;
    }

    .call__button {
        position: relative;
        right: 0;
        top: 0;
    }

    .hero {
        padding: 2em 0 4em 0;
    }

    .hero__text {
        text-align: left;
        padding: 0;
    }

    .hero__text {
        width: 70%;
    }

    .hero img {
        width: 60%;
    }

    .hIW__congrats {
        margin-bottom: -25%;
    }

    .aboutUs {
        margin-top: 9em;
    }

    .ourServices {
        margin-top: 3.5em;
        display: flex;
        flex-direction: column;
    }

    .ourServices__img {}
}

@media (min-width: 900px) {
    .container {
        max-width: 1100px;
        width: 80%;
        margin: 0 auto;
        /* I need position relative for the toggle button */
        position: relative;
    }

    .wrap {
        display: flex;
        justify-content: space-between;
    }

    .hero__text h1,
    .hero__text p {
        margin: 0;
    }

    .hero__text {
        width: 40%;
        margin-right: 1em;
    }

    .hero__text h1 {
        padding: 0 1em 1em 0;
    }

    .hero__text p {
        padding-right: 1em;
    }

    .hIW__contactUs,
    .hIW__booking,
    .hIW__congrats {
        margin: 0;
        padding: 1em .5em;
        width: 30%;
    }

    .arrowDown {
        height: 100%;
        transform: translateY(85px);
    }

    .arrowDown img {
        transform: rotateZ(-90deg);
    }

    .aboutUs {
        display: flex;
        margin-top: 3em;
        padding: 1em 0 1.5em 1em;
    }


    .aboutUs__hero {
        position: relative;
        width: 50%;
        background-color: #fff;
        border-radius: 20px;
    }

    .aboutUs__img {
        visibility: visible;
        position: relative;
    }

    .roofLogo {
        position: absolute;
        bottom: 1em;
        width: 100%;
    }

    .learnMore {
        margin: 5em auto;
    }

    .ourServices__text {
        width: 50%;
    }

    .ourServices__img {
        width: 60%;
    }

    .ourServices {
        margin-top: 3.5em;
    }

    .ourServices__hero {
        display: flex;
        margin-bottom: 2.5em;
    }

    .service {
        width: 32%;
    }
}