@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 10px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    line-height: 1.618;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: rgb(60, 59, 55);
}

#page-wrapper {
    position: relative;
}

/*********************/
/*      HEADER       */
/*********************/

#header {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    min-height: 80px;
    width: 100%;
    padding: 1.2rem;
    position: absolute;
    top: 0;
    /* background: rgba(239, 246, 238, 1); */
    /* box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5); */
}

.logo>img {
    width: 150px;
    height: auto;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 1rem;
}

.nav-list {
    width: 50vw;
    display: flex;
    justify-content: end;
    flex-direction: row;
    gap: 40px;
    list-style-type: none;
    align-items: center;
    margin: 1rem;
}

.nav-list a {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.nav-list a:hover,
a:visited {
    /* color: rgba(240, 45, 58, 1); */
}


/*****************************/
/*** Main Container        ***/
/*****************************/

.container {
    max-width: 1000px;
    width: 100vw;
    margin: 0 auto;
}

.hero {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(45deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .6)), url('img/banner.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero h1,
.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: bold;
    color: white;
}

.hero h1 {
    margin-top: 4rem;
}

.hero h2 {
    margin: auto;
    text-align: center;
    line-height: 1.4;
    font-size: 3rem;
    width: 60vw;
}

/*************
***** Section
*************/
.title {
    margin: auto;
    text-align: center;
    line-height: 1.4;
    font-size: 3rem;
    width: 60vw;
    padding: 60px 0;
}

#services .row p {
    width: 23%;
    float: left;
    background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 2px 70px 0px rgb(110 130 208 / 18%);
    margin: 0 1%;
    padding: 25px;
    text-align: center;
    font-size: 20px;
}

section p,
h4 {
    margin-bottom: .5rem;
    font-size: 1.6rem;
}

#services,
#how-it-works,
#pricing {
    padding-top: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col1 {
    flex: 0 0 49%;
    max-width: 49%;
}

.col1 img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-left: 2rem;
}

.col1 p:first-of-type {
    margin-top: 8rem;
}

.note {
    text-align: center;
    padding: 50px 0 30px;
    font-size: 1.6rem;
}

.note a, address a {
    font-size: 1.6rem;
    /* text-decoration: none; */
    /* font-weight: bold; */
    color: rgb(60, 59, 55);
}

.nav-link {
    background-color: rgba(221, 4, 38, 1);
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    font-weight: bold;
}

.nav-link:hover {
    background-color: rgba(221, 4, 38, .85);
}


/**********
**** FOOTER
***********/
footer {
    width: 100%;
    background-color: rgba(42, 98, 143, 1);
    color: #fff;
}

footer p a strong, footer p{
    font-size: 14px;
}

footer p {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

footer a:link {
    text-decoration: none;
    color: rgba(239, 246, 238, 1);
}

footer a:hover,
footer a:visited {
    text-decoration: none;
    color: rgba(239, 246, 238, .85);
}

address{
    width: 100%;
    text-align: center;
    padding: 30px 0 50px;
}
address div{
    width: 31%;
    margin: 0 1%;
    float: left;
    font-size: 18px;
    box-shadow: 0px 2px 70px 0px rgb(110 130 208 / 18%);
    padding: 20px;
    border-radius: 10px 10px 10px 10px;
}
address b{
    font-size: 18px;
}


/***********
Media Queries 
*************/
@media screen and (max-width: 320px) {
    .logo>img {
        margin: 0 auto;
        width: 75px !important;
    }
}
@media screen and (max-width: 768px) {
    #header {
        padding: 1rem;
        flex-wrap: nowrap;
    }

    .logo>img {
        margin: 0 auto;
        width: 100px;
    }

    .nav-list {
        flex-direction: row;
        width: 100%;
        gap: 10px;
    }

    .nav-list li {
        padding-bottom: .5rem;
    }

    .nav-list a {
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 3rem;
        padding: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
        padding: 1rem;
        line-height: 1.5;
    }

    .form-wrap {
        width: 60vw;
        background: none;
    }

    .form-wrap p,
    #form {
        width: 60vw;
    }

    .form-wrap input[type="email"] {
        width: 45vw;
    }

    .form-wrap input[type="submit"] {
        width: 20vw;
        font-size: 1.1rem;
        padding: 1.35rem 1.5rem 1.45rem 1.35rem;
    }

    .row {
        flex-direction: column;
    }

    .col1 {
        flex: 0 0 49%;
        max-width: 70vw;
        margin-left: auto;
        margin-right: auto;
    }

    .col1 p:first-of-type,
    .flex-container,
    .video {
        margin-top: 15rem;
    }

    .col1 img {
        margin-left: 0;
    }

    .flex-container {
        width: 80vw;
        flex-wrap: wrap;
    }

    .flex-item {
        width: 80vw;
    }

    .flex-item:not(:last-child) {
        margin-bottom: 1.3rem;
    }

    .package li {
        font-size: 1.3rem;
    }

    footer p,
    a {
        font-size: 1.2rem;
    }

    #services .row p, address div {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
        float: none;
    }

    .note {
        padding-left: 10px;
        padding-right: 10px;
    }

    #services {
        padding-top: 3rem;
    }


}