* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root {
    --main-font-family: 'Open Sans', sans-serif;
    --second-font-family:  -apple-system, uriBlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --off-white: #dfdbe5;
    --dark-grey: #111111;
    --grey: #ccc7d3;
    --light-purple: #5a4d70;
    --light-pink: #141313;
    --light-white: #2d0505;
    --dark-purple: #222222;
}

.header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 0.5rem 2rem; */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.container {
    display: flex;
    padding: 0.5rem 2rem;
    transition: height .5s ease;
}

.hero-container h1 {
    color: white;
}

.nav-container {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    height: 4rem;
    transition: all .5s ease-in-out;
    /* background-color: rgba(255, 255, 255, 0.3); */
}

.nav-container.open {
    background-color: var(--light-pink);
    box-shadow: 0 3px 1rem rgba(0,0,0.1);
    height: 3.8rem;
}

.logo {
    cursor: pointer;
}


/* menu button visual */

/* set container properties */

.menu-btn {
    position: relative;
    display: none;
    height: 2rem;
    width: 2rem;
    justify-content: center;
    align-items: center;
}

/* menu button visual using before and after for top and bottom of hamburger */

.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
    display: flex;
    width: 2rem;
    height: 3px;
    background-color: var(--off-white);
    transition: all .5s ease-in-out;
}

.menu-btn__lines::before,
.menu-btn__lines::after {
    content: "";
    position: absolute;
}

.menu-btn__lines::before {
    transform: translateY(-0.5rem);
}

.menu-btn__lines::after {
    transform: translateY(0.5rem);
}

/* menu button open */

.menu-btn.open .menu-btn__lines {
    transform: translateX(2rem);
    background-color: transparent;
}

.menu-btn.open .menu-btn__lines::before {
    transform: rotate(-45deg) translate(-1.5rem, -1.5rem);
    background-color: var(--off-white);
}

.menu-btn.open .menu-btn__lines::after {
    transform: rotate(45deg) translate(-1.5rem, 1.5rem);    
    background-color: var(--off-white);
}


.menu-items {
    list-style: none;
    display: flex;
}

.menu-items li a {
    text-decoration: none;
    padding: 0 1rem;
    justify-content: space-between;
    color: var(--off-white);
    font-family: var(--main-font-family);
    cursor: pointer;
    transition: all .3s ease-in-out;
}

.menu-items a:hover{
    font-size: 1.1rem;
    box-shadow: 0 3px 1rem rgba(0,0,0.1);
    border-radius: 20px;
}

.menu-item {
    transition: all .3s ease-in-out;
}


/* hero */

.section {
    position: relative;
}

.hero {
    background: url("images/pexels-calin-razvan-262045390-12658309.jpg") center no-repeat;
    background-color: #111111ca center no-repeat;
    background-size: cover;
    width: 100vw;
    height: 100vh;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blockimg {
    background-color: #111111a0;
    align-items: center;
    justify-content: center;
}

.heading {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
    color: var(--off-white);
    font-family: var(--main-font-family);
}

.heading img{
    width: 40vw;
}

.main-description {
    text-align: end;
    display: flex;
    flex-direction: column;
}

.main-description h1 {
    padding: 1rem 0;
}

.main-description p {
    font-size: 18px;
}

.custom-shape-divider-bottom-1624887153 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1624887153 svg {
    position: relative;
    display: block;
    width: calc(215% + 1.3px);
    height: 90px;
}

.custom-shape-divider-bottom-1624887153 .shape-fill {
    fill: var(--light-pink);
}

/* body section */

.body {
    background-color: var(--light-pink);
}

.body h1 ,p {
    color: var(--off-white);
    font-family: var(--main-font-family);
}

.body-container {
    flex-direction: column;
    /* justify-content: space-evenly; */
    align-items: center;
    padding-top: 0;
}

.main-msg {
    display: flex;
    height: 20vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 1rem 0;
}

.main-msg::after {
    content: "";
    border-bottom: 2px solid var(--off-white);
    width: 8vw;
    padding-top: 2rem;
}

/* display cards */

.display-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}


.card {
    padding: 2rem 2rem;
    display: flex;
    min-height: 60vh;
}

.content {
    display: flex;
    width: 25vw;
    border-radius: 20px;
    padding: 1rem 1rem;
    align-items: flex-end;
    cursor: pointer;
    transition: width 0.5s ease-in-out;
    box-shadow: 0 3px 1rem rgba(0,0,0.1);
}


.content:hover {
    width: 26vw;
}

.description {
    display: flex;
    flex-direction: column;
    background: #11111199;
    align-items: center;
    border-radius: 20px;
    width: 100%;
}

.content h1 {
    font-size: 1rem;
    font-weight: lighter;
}


/* card images */

.one {
    background: url("images/pexels-hebertsantos-5121547.jpg") center no-repeat;
    background-size: cover;
}


.two {
    background: url("images/pexels-garvin-st-villier-719266-14277607.jpg") center no-repeat;
    background-size: cover;
}

.three {
    background: url("images/back.jpg") center no-repeat;
    background-size: cover;
}

.custom-shape-divider-top-1625840863 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-top-1625840863 svg {
    position: relative;
    display: block;
    width: calc(140% + 1.3px);
    height: 117px;
}

.custom-shape-divider-top-1625840863 .shape-fill {
    fill: var(--light-pink);
}

/* all services */

#services {
    transition: .5s;
}

.about-us {
    display: flex;
    height: 20vh;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 1rem 0;
}

.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--off-white);
    font-family: var(--main-font-family);
    background: #11111189;
    border-radius: 20px;
    padding: 2rem;
}

.about-description {
    text-align: start;
    display: flex;
    flex-direction: column;
}

.about-description p {
    font-size: large;
    padding: 1rem 0;
}

.about img {
    width: 25rem;
    border-radius: 20px;
}

.line-break::after {
    content: "";
    display: flex;
    flex-direction: column;
    border-bottom: 2px solid var(--off-white);
    width: 8vw;
    padding-bottom: 2rem;
}

.all-services {
    padding: 1rem 0;
}

.service-heading {
    padding: 1rem 0;
}


.service-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-list p {
    margin: .5rem 0;
    font-size: large;
}


/* contact form */

.form-container h1 {
    text-align: center;
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.contact {
    background: url("images/pexels-mikebirdy-190574.jpg") center no-repeat;
    background-size: cover;
    height: 100vh;
}

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--main-font-family);
    height: 100vh;
}

.contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 80vw;
    max-width: 600px;
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
}

.contact-form-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 16px 0;
    border: 0;
    background: var(--light-pink);
    padding: 20px 40px;
    font-family: var(--main-font-family);
    font-size: .9rem;
    outline: none;
    color: #fff;
    transition: 0.5s;
    border-radius: 20px;
}

.contact-form-text:focus {
    box-shadow: 0 0 10px 4px var(--dark-purple);
}

textarea.contact-form-text {
    resize: none;
    height: 120px;
}

input.contact-form-btn {
    width: 5rem;
    height: 2rem;
    background-color: var(--light-pink);
    border: none;
    border-radius: 20px;
    margin-bottom: 1rem;
    color: var(--off-white);
    cursor: pointer;
    transition: background-color .2s ease-in-out;
}

.contact-form-btn:hover {
    background-color: var(--dark-purple);
    box-shadow: 0 3px 1rem rgba(0,0,0.1);
    border-radius: 20px;
}

.head {
    display: flex;
    flex-direction: column;
    width: 100vw;
    align-items: center;
}

.head h1 {
    padding: 0;
}
.contact-details {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    justify-content: space-between;
    width: 60vw;
}

.contact-details h2 {
    color: white;
}

.contact-details h1 {
    text-align: start;
}

.contact-us {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.contacts {
    display: flex;
    flex-direction: column;
    justify-content:left;
    align-items: start;
    text-align: start;
    width: 10vw;
}

/* footer */

.footer {
    justify-content: center;
    align-items: center;
    background: var(--light-pink);
    padding: .8rem 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    display: flex;
    margin: 0 .5rem;
    align-items: center;
    justify-content: center;
    transition: all .3s ease-in-out;
}

.social-icons img{
    width: 2rem;
    transition: all .3s ease-in-out;
    border-radius: 22px;
    cursor: pointer;
}

.social-icons img:hover {
    width: 2.2rem;
}

.social-icons a:hover {
    box-shadow: 0 3px 1rem var(--off-white);
    background: black;
    border-radius: 20px;
}

/* mobile devices */

@media (max-width: 767px) {

    .custom-shape-divider-top-1625840863 svg {
        width: calc(185% + 1.3px);
        height: 117px;
    }

    .menu-btn {
        display: flex;
        cursor: pointer;
        z-index: 1;
    }

    .logo {
        padding: 0;
    }

    .menu-items {
        flex-direction: column;
        justify-content: space-around;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        transform: translateX(100vw);
        background-color: var(--dark-grey);
        transition: transform .5s ease-in-out;
    }

    .menu-items.open {
        transform: translateX(0);
    }

    .menu-items li {
        width: 100vw;
        height: 100%;
    }

    .menu-items li a {
        color: var(--off-white);
        font-size: 5vh;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .menu-items a:hover{
        font-size: 1.8rem;
    }

    .hero-container {
        flex-direction: column;
    }

    .heading {
        flex-direction: column;
        align-items: center;
        justify-content:center;
    }

    .main-description {
        text-align: center;
    }

    .main-msg {
        padding: 4rem 0;
    }

    .display-cards {
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
    }

    .content {
        width: 80vw;
        background-color: var(--light-purple);
    }

    .top-screen {
        width: 80vw;
    }

    .content:hover {
        width: 83vw;
    }

    .about {
        flex-direction: column;
    }

    .about-description {
        text-align: center;
    }

    .contact-form-text {
        font-size: .8rem;
    }

    .form-container h1 {
        padding: 1rem;
    }

    .contact-details {
    flex-direction: column;
    width: 60vw;
    justify-content: center;
    }

    .contact-us {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    .contacts {
    align-items: center;
    }

    .contact p {
        text-align: center;
    }

    .location-details {
        padding-top: 2rem;
        text-align: center;
    }

}

@media (max-width: 500px) {
    .about img {
        width: 60vw;
    }

    .service-heading h1 {
        text-align: center;
    }
}