@import url("https://fonts.googleapis.com/css2?family=Elsie&family=Fanwood+Text&display=swap");

:root {
    --color-white-100: hsl(206, 5%, 100%);
    --color-white-200: hsl(206, 5%, 90%);
    --color-white-300: hsl(206, 5%, 80%);
    --color-white-400: hsl(206, 5%, 65%);
    --color-white-500: hsl(206, 5%, 50%);
    --color-black-100: hsl(213, 20%, 10%);
    --color-black-200: hsl(213, 23%, 8%);
    --color-black-300: hsl(214, 21%, 6%);
    --color-black-400: hsl(210, 21%, 6%);
    --color-black-500: hsl(216, 22%, 4%);
    --color-black-600: hsl(220, 18%, 3%);
    --color-black-700: hsl(220, 27%, 2%);
    --color-black-800: hsl(180, 20%, 1%);
    --color-blue-100: hsl(214, 95%, 93%);
    --color-blue-200: hsl(213, 97%, 87%);
    --color-blue-300: hsl(212, 96%, 78%);
    --color-blue-400: hsl(213, 94%, 68%);
    --color-blue-500: hsl(217, 91%, 60%);
    --color-blue-600: hsl(221, 83%, 53%);
    --color-blue-700: hsl(224, 76%, 48%);
    --color-blue-800: hsl(226, 71%, 40%);
    --color-blue-900: hsl(224, 64%, 33%);
    --color-text-1: #87826F;
    --color-orange: #F57D4A;
    --color-global-bg: #F9F9F8;
    --color-navbar-bg: #FBF9F9;
    --color-button-border: #89836C;
    --shadow-small: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
        0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    list-style-type: none;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    font-size: 100%;
    box-sizing: inherit;
    scroll-behavior: smooth;
    height: -webkit-fill-available;
}

body {
    font-family: "Elsie", cursive;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    line-height: 1.5;
    width: 100%;
    height: -webkit-fill-available;
    /* height: -moz-fill-available; */
    color: var(--color-text-1);
    background-color: var(--color-global-bg);
    background: #f8f8f8;
    background-image: url('../images/background-why-choose-us.svg');
    background-size: cover;
    background-attachment: fixed;

}


a,
button {
    cursor: pointer;
    border: none;
    outline: none;
    user-select: none;
    background: none;
    box-shadow: none;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.section {
    margin: 0 auto;
    padding: 0rem 0 1rem;
    background-color:#FEFFFE;
}

.container {
    max-width: 75rem;
    height: auto;
    margin: 0 auto;
    padding: 0 1.25rem;

}

.centered {
    text-align: center;
    vertical-align: middle;
    margin-bottom: 1rem;
}

.heading-xl {
    font-family: inherit;
    font-size: clamp(2.648rem, 6vw, 5.241rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.heading-lg {
    font-family: inherit;
    font-size: clamp(2.179rem, 5vw, 3.176rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.heading-md {
    font-family: inherit;
    font-size: clamp(1.794rem, 4vw, 2.379rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
}

.heading-sm {
    font-family: inherit;
    font-size: clamp(1.476rem, 3vw, 1.782rem);
    font-weight: 600;
    line-height: 1.5;
}

.heading-xs {
    font-family: inherit;
    font-size: clamp(1.215rem, 2vw, 1.335rem);
    font-weight: 500;
    line-height: 1.5;
}

.paragraph {
    font-family: 'fanwood text', serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    /* text-wrap: balance; */
    color: var(--color-text-1);
}

.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    user-select: none;
    outline: none;
    border: none;
    border-radius: 0.25rem;
    text-transform: unset;
    transition: all 0.3s ease-in-out;
}

.btn-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
}

.btn-darken {
    padding: 0.75rem 2rem;
    color: var(--color-white-100);
    background-color: var(--color-black-200);
    box-shadow: var(--shadow-medium);
}

.btn-neutral {
    padding: 0.75rem 2rem;
    color: var(--color-black-500);
    background-color: var(--color-white-100);
    box-shadow: var(--shadow-medium);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: auto;
    margin: 0 auto;
    transition: all 0.35s ease;
    border-bottom: 1px solid var(--color-button-border);
    background-color: #ffffff;
}

/* .header.on-scroll {
    background: var(--color-navbar-bg);
    box-shadow: var(--shadow-medium);
} */

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 1.25rem;
    width: 100%;
    height: 4.25rem;
    padding: 2rem;
}

.brand {
    width: 13.0625rem;
    text-align: center;
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--color-text-1);
    letter-spacing: 0.34375rem;
}

.menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: auto;
    padding: 4rem 0 3rem;
    overflow: hidden;
    background-color: var(--color-global-bg);
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease-in-out;
    z-index: 900;
}

.menu.is-active {
    top: 0;
    width: 100%;
    height: auto;
}

.menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 1.25rem;
}

.menu-link {
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text-1);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.menu-block {
    display: inline-block;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.25;
    user-select: none;
    white-space: nowrap;
    text-align: center;
    margin-left: auto;
    padding: 0.65rem 1.5rem;
    border-radius: 0.35rem;
    text-transform: capitalize;
    color: var(--color-text-1);
    border: 1px solid var(--color-button-border);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease-in-out;
}

.contact-nav {
    display: inline-block;
    font-family: inherit;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.25;
    user-select: none;
    white-space: nowrap;
    text-align: center;
    margin-left: auto;
    padding: 0.65rem 1.5rem;
    border-radius: 0.35rem;
    text-transform: capitalize;
    color: var(--color-text-1);
    border: 1px solid var(--color-button-border);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease-in-out;
}



.effect-shine {

    color: #3D3A31;

    text-decoration: none;


    display: inline-block;
    position: relative;
    -webkit-mask-image: linear-gradient(-75deg, rgba(240, 238, 238, 0.7) 20%, #d4cccc 50%, rgba(185, 177, 177, 0.8) 70%);
    -webkit-mask-size: 200%;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    from {
        -webkit-mask-position: 150%;
    }

    to {
        -webkit-mask-position: -50%;
    }
}

@media only screen and (min-width: 48rem) {
    .menu {
        position: relative;
        top: 0;
        width: auto;
        height: auto;
        padding: 0rem;
        margin-left: auto;
        background: none;
        box-shadow: none;
    }

    .menu-inner {
        display: flex;
        flex-direction: row;
        column-gap: 2rem;
        margin: 0 auto;
    }

    .menu-link {
        text-transform: capitalize;
    }

    .menu-block {
        margin-left: 2rem;
    }

    .contact-nav {
        margin-left: 2rem;
    }
}

.burger {
    position: relative;
    display: block;
    cursor: pointer;
    user-select: none;
    order: -1;
    z-index: 1000;
    width: 1.6rem;
    height: 1.15rem;
    border: none;
    outline: none;
    background: none;
    visibility: visible;
    transform: rotate(0deg);
    transition: 0.35s ease;
}

@media only screen and (min-width: 48rem) {
    .burger {
        display: none;
        visibility: hidden;
    }
}

.burger-line {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    border: none;
    outline: none;
    opacity: 1;
    border-radius: 1rem;
    transform: rotate(0deg);
    background-color: #87826f;
    transition: 0.25s ease-in-out;
}

.burger-line:nth-child(1) {
    top: 0px;
}

.burger-line:nth-child(2) {
    top: 0.5rem;
    width: 70%;
}

.burger-line:nth-child(3) {
    top: 1rem;
}

.burger.is-active .burger-line:nth-child(1) {
    top: 0.5rem;
    transform: rotate(135deg);
}

.burger.is-active .burger-line:nth-child(2) {
    opacity: 0;
    visibility: hidden;
}

.burger.is-active .burger-line:nth-child(3) {
    top: 0.5rem;
    transform: rotate(-135deg);
}

.banner-column {
    /* position: relative; */
    display: grid;
    align-items: center;
    row-gap: 3rem;

}

@media only screen and (min-width: 48rem) {
    .banner-column {
        /* grid-template-columns: repeat(1, minmax(0, 1fr)); */
        justify-content: center;
    }
}

@media only screen and (min-width: 64rem) {
    .banner-column {
        grid-template-columns: 1fr max-content;
        column-gap: 4rem;
        margin-top: 3rem;
    }
}

.banner-image {
    display: block;
    max-width: 18rem;
    height: auto;
    margin-top: 2rem;
    object-fit: cover;
    justify-self: center;
}

@media only screen and (min-width: 48rem) {
    .banner-image {
        /* order: 1; */
        max-width: 20rem;
        height: auto;

    }
}

@media only screen and (min-width: 64rem) {
    .banner-image {
        max-width: 25rem;
        height: auto;
        margin-right: 5rem;
    }
}

@media (max-width: 1024px) {
    .banner-image {
        max-width: 25rem;
        height: auto;
        margin-right: 5rem;
    }

    /* .menu-block {
        padding-left: 50px;
    } */
}

.btn-imgstack-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 100%;
}

.hero-logo {
    /* height: 20rem; */
    width: 12rem;
    margin: auto;
}

.banner-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 1.75rem;

    padding: 2rem;
    /* border-radius: 0.85rem; */

}

@media only screen and (max-width: 1023px) {
    .banner-inner {
        margin-top: 3rem;
        align-items: center;
    }

    .paragraph {
        text-align: center;
        font-size: 23px;

    }
}




/*image stack in hero */
.photo-stack {
    position: relative;
    margin: auto;
    width: 600px;
    height: 450px;

}

.photo-stack>p {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
}

.photo-stack img {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease-out;
}

.photo-stack img:nth-child(1) {
    z-index: 999;
}

.photo-stack img:nth-child(2) {
    transform: rotate3d(0, 0, 1, 3deg);
}

.photo-stack img:nth-child(3) {
    transform: rotate3d(0, 0, 1, -3deg);
}

.photo-stack img:nth-child(4) {
    transform: rotate3d(0, 0, 1, 2deg);
}

.photo-stack:hover img:nth-child(1) {
    transform: scale(1.02);
}

.photo-stack:hover img:nth-child(2) {
    transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 3deg);
}

.photo-stack:hover img:nth-child(3) {
    transform: translate3d(-10%, 0, 0) rotate3d(0, 0, 1, -3deg);
}

.photo-stack:hover img:nth-child(4) {
    transform: translate3d(2%, -5%, 0) rotate3d(0, 0, 1, 2deg);
}

.photo-stack:hover img:nth-child(5) {
    transform: translate3d(-5%, -2%, 0) rotate3d(0, 0, 1, 2deg);
}

.hero-logo-title {
    display: flex;
    border: none;
}

.hero-logo-title::before {
    content: "";
    display: block;
    position: absolute;
    top: -2px;
    left: -2px;
    width: 40px;
    height: 40px;
    border-top: 4px solid var(--color);
    border-left: 4px solid var(--color);
    transition: width .3s, height .3s;
}

.hero-logo-title::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 40px;
    height: 40px;
    border-bottom: 4px solid var(--color);
    border-right: 4px solid var(--color);
    transition: width .3s, height .3s;
}

.hero-logo-title:hover::before,
.hero-logo-title:hover::after {
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 470px) {
    .photo-stack {
        width: 300px;
        height: 350px;
    }

}

@media only screen and (max-width: 430px) {
    .hero-logo {
        width: 8rem;
        height: 10rem;
    }

}




/*  why choose us --------------------------------------------------------------------------------------------------------------------------------- */


a:active,
a:hover,
a:focus {
    color: #333;
    text-decoration: none;
    transition-timing-function: ease-in-out;
    -ms-transition-timing-function: ease-in-out;
    -moz-transition-timing-function: ease-in-out;
    -webkit-transition-timing-function: ease-in-out;
    -o-transition-timing-function: ease-in-out;
    transition-duration: .2s;
    -ms-transition-duration: .2s;
    -moz-transition-duration: .2s;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
}


.why-choose-us {
    background-color: #3c3a2f;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-image: url("../images/background-why-choose-us.svg"); */
}

.section-head {
    font-size: 75px;
    color: #3D3B30;
    font-weight: 400;
    letter-spacing: 7.68px;
    margin-bottom: 10px;
    text-align: center;
}

.container-why {
    display: flex;
    width: 1270px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-shrink: 0;
}

.row {
    display: flex;
    height: 340px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
}

.title-why {
    width: 685px;
    /* height: 80px; */
    text-decoration: underline;
    color: #F4DDA7;
}

.title-why .span {
    font-family: 'Elsie', cursive;
    font-size: 48px;
    font-weight: 400;
    line-height: normal;
}

.text-big {
    color: #F57D4A;
    font-family: 'Elsie', cursive;
    font-size: 78px;
    font-weight: 400;
    line-height: normal;
}

.description {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.desc-p {
    color: #FFF;
    font-family: 'Fanwood Text', serif;
    font-size: clamp(1.55rem, 2.55vw, 1.8rem);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    width: 660px;
}

.arrow {
    width: 30px;
    height: 30px;
}

.items-why {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.common-font {
    font-family: 'Elsie', cursive;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 1450px) {

    .container-why {
        width: 60rem;
        gap: 0px;
    }


    .section-head {
        font-size: 75px;
        margin-bottom: 0px;
    }

    .text-big {
        font-size: 56px;
    }

    .title-why .span {
        font-size: 32px;
    }

    .desc-p {
        font-size: 24px;
        width: 28rem;
    }

    .title-why {
        width: 30rem;
        padding: 0;
        /* line-height: 9; */
    }

    .arrow {
        width: 25px;
        height: 25px;
    }

    .items-why {
        gap: 10px;
    }

    .support-service {
        max-width: 22rem;
    }

    .services-paragraph {
        font-family: 'Fanwood Text', serif;
        font-size: clamp(1.2rem, 2vw, 1.7rem) !important;
        font-style: normal;
        font-weight: 400;
        line-height: -4;
    }


}

.port-style {
    padding-bottom: 20px;
    text-align: right;
    margin-left: auto;
}

.ser-style {
    padding-bottom: 20px;
    text-align: left;
    margin: auto;
}

@media (max-width: 1024px) {




    .container-why {
        width: 45rem;
        gap: 0px;
    }

    .row {
        height: 280px;
    }

    .section-head {
        font-size: 4rem;
        margin-bottom: 0px;
        /* text-align: left; */
    }

    .text-big {
        font-size: 56px;
    }

    .title-why .span {
        font-size: 25px;
    }

    .desc-p {
        font-size: 18px;
        width: 25rem;
    }

    .title-why {
        width: 27rem;
    }

    .arrow {
        width: 22px;
        height: 22px;
    }

    .support-service {
        max-width: 17rem;
    }

    .services-paragraph {
        font-size: 0.2rem;
    }

}

@media (max-width: 768px) {


    .container-why {
        width: 24rem;
        gap: 0px;
    }

    .row {
        flex-direction: column;
        height: fit-content;
        gap: 15px;
    }

    .row-alt {
        flex-direction: column-reverse;
    }

    .section-head {
        font-size: 40px;
        margin-bottom: 0px;
        width: fit-content;
        margin-bottom: 10px;
    }

    .text-big {
        font-size: 45px;
    }

    .title-why .span {
        font-size: 22px;
    }



    .title-why {
        line-height: 6;
        text-align: center;
        width: 20rem;
        height: 60px;
    }

    .arrow {
        width: 16px;
        height: 16px;
    }

    .items-why {
        justify-content: center;
        align-items: center;
    }

    .support-service {
        max-width: 18rem;
    }


}

@media (max-width: 485px) {

    .container-why {
        width: 17rem;
        gap: 0px;
    }

    .row {
        flex-direction: column;
        height: fit-content;
        gap: 15px;
    }

    .row-alt {
        flex-direction: column-reverse;
    }

    .section-head {
        letter-spacing: 4px;
        margin-bottom: 0px;
        /* width: fit-content; */
        width: auto;
        margin-bottom: 10px;
    }

    .text-big {
        font-size: 40px;
    }

    .title-why .span {
        font-size: 20px;
    }

    .desc-p {
        font-size: 18px;
        width: 15rem;
    }

    .title-why {
        line-height: 6;
        text-align: center;
        width: 16rem;
        height: 60px;
    }

    .arrow {
        width: 14px;
        height: 14px;
    }

    .items-why {
        justify-content: center;
        align-items: center;
    }

    .support-service {
        max-width: 11rem;
    }

    .services-paragraph {
        font-size: 0.2rem;
    }

}

.footer {
    display: flex;
    /* width: 1440px; */
    padding: 50px 100px;
    justify-content: space-evenly;
    align-items: flex-start;
    align-content: flex-start;
    font-family: 'Fanwood Text', serif ;
    row-gap: 126px;
    flex-wrap: wrap;
    background: #FFF2DE;
    position: relative;
    left: 0;
    bottom: 0;
}

.container-1-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 41px;
}

.logo {
    display: flex;
    padding: 11px 0px;
    max-width: 8rem;
}

.map iframe {
    width: 305px;
    height: 171px;
    flex-shrink: 0;
    border-radius: 4px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
}

.address {
    /* width: 250px; */
    height: 36px;
}

.address img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.address span {
    width: 192px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: Elsie;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.email,
.phone {
    width: 304px;
    height: 24px;
}

.email span {
    width: 264px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.email,
.phone img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.phone span {
    width: 264px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', cursive;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}



.address,
.email,
.phone {
    display: flex;
    gap: 16px;
    align-items: center;
    /* flex-direction: row; */
}

.container-2-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.container-2-foot p {
    width: 277px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: Elsie;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.28px;
}

.contact-form {
    flex-direction: column;
    width: 467px;
    height: 437px;
    align-items: flex-end;
    gap: 18px;
    display: flex;
    position: relative;
}

.contact-form .input {
    align-items: flex-start;
    gap: 10px;
    padding: 17px 16px;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    background-color: #F6F6F6;
    border-radius: 4px;
    display: flex;
    position: relative;
}

.contact-form .enter-your-email {
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.contact-form .enter-your-email-wrapper {
    display: flex;
    height: 150px;
    padding: 17px 16px;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    align-self: stretch;
    border-radius: 4px;
    background: var(--light-grey-input-fiels-forms, #F6F6F6);
}

.button-foot {
    display: flex;
    width: 161px;
    height: 56px;
    padding: 17px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid var(--Dark-green-buttons, #3A4F39);
    background: var(--White-background, #FFF);
}

.contact-us {
    color: var(--Dark-green-buttons, #3A4F39);
    text-align: center;
    font-family: 'Fanwood Text', serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.container-3-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 218px;
    padding-left: 10px;
}

@media (max-width : 1123px) {
    .container-3-foot {
        padding-left: 0px;
    }
}

@media (min-width: 818px) and (max-width : 833px) {
    .container-3-foot {
        padding-left: 10px;
    }
}

.company-div-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.company-fonting{
    font-family: 'Elsie', cursive;
    font-weight: 600;
}

.container-3-foot p {
    width: 150px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: Elsie;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.28px;
}

.text-wrapper-foot {
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: Fanwood Text;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.icons-foot {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.social-network {
    width: 40px;
    height: 40px;
}

@media (max-width : 1133px) {
    .container-3-foot {
        gap: 20px;
    }
}


@media (max-width : 828px) {
    .footer {
        display: flex;
        padding: 32px 16px;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        align-self: stretch;
        align-content: center;
    }

    .container-2-foot p {
        display: none;
    }

    .container-1-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        align-self: stretch;
    }

    .map iframe {
        width: 26rem;
        height: 250px;
        align-items: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        /* align-items: center; */
        gap: 40px;
        align-self: stretch;
    }

    .contact {
        align-items: center;
        width: 465px;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 18px;
        align-self: stretch;
    }

    .button-foot {
        display: flex;
        height: 56px;
        padding: 17px 30px;
        align-self: stretch;
        width: auto;
    }

    .container-3-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .company-div-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .icons-foot {
        width: 152px;
        height: 40px;
    }

}

@media (max-width : 500px) {

    .container-2-foot p {
        display: none;
    }

    .container-1-foot {
        align-self: auto;
        width: 18rem;
    }

    .map iframe {
        width: 16rem;
        height: 11rem;
        align-items: center;
    }

    .contact {
        align-items: center;
        width: 18rem;
    }

    .phone {
        width: auto;
    }

    .container-2-foot {
        width: 18rem;

    }

    .contact-form {
        width: auto;
    }

    .button-foot {
        display: flex;
        height: 56px;
        padding: 17px 30px;
        align-self: stretch;
        width: auto;
    }

    .container-3-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .company-div-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .icons-foot {
        width: 152px;
        height: 40px;
    }

}

.footer {
    display: flex;
    /* width: 1440px; */
    padding: 50px 100px;
    align-items: flex-start;
    align-content: flex-start;
    row-gap: 126px;
    flex-wrap: wrap;
    background: #FFF2DE;
    position: relative;
    left: 0;
    bottom: 0;
}

.container-1-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 41px;
}

.logo {
    display: flex;
    padding: 11px 0px;
    max-width: 8rem;
}

.map iframe {
    width: 305px;
    height: 171px;
    flex-shrink: 0;
    border-radius: 4px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
}

.address {
    /* width: 280px; */
    height: 36px;
}

.address img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.address span {
    width: 250px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: "Fanwood Text", serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.email,
.phone {
    width: 304px;
    height: 24px;
}

.email span {
    width: 264px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.email,
.phone img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.phone span {
    width: 264px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', cursive;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}



.address,
.email,
.phone {
    display: flex;
    gap: 16px;
    align-items: center;
    /* flex-direction: row; */
}

.container-2-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.container-2-foot p {
    width: 277px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: Elsie;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.28px;
}

.contact-form {
    flex-direction: column;
    width: 467px;
    height: 437px;
    align-items: flex-end;
    gap: 18px;
    display: flex;
    position: relative;
}

.contact-form .input {
    align-items: flex-start;
    gap: 10px;
    padding: 17px 16px;
    align-self: stretch;
    width: 100%;
    background-color: #F6F6F6;
    border-radius: 4px;
    border: none;
}

::placeholder {
    color: #2D2E2E;
    font-family: 'Fanwood Text', serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.contact-form .enter-your-email {
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.contact-form .enter-your-email-wrapper {
    /* display: flex; */
    height: 150px;
    padding: 17px 16px;
    /* align-items: flex-start; */
    /* gap: 10px; */
    /* flex-shrink: 0; */
    /* align-self: stretch; */
    /* border-radius: 4px; */
    /* background: var(--light-grey-input-fiels-forms, #F6F6F6); */
}

.title-modal {
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.28px;
}

.text-modal {
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: 'Fanwood Text', serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 2.5px;
}

.swal2-popup {
    font-family: "Fanwood Text", serif;
}

div#swal2-html-container {
    letter-spacing: 1.8px;
}

.confirm-button-modal {
    font-family: 'Fanwood Text', serif;
}

.button-foot {
    display: flex;
    width: 161px;
    height: 56px;
    padding: 17px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid var(--Dark-green-buttons, #3A4F39);
    background: var(--White-background, #FFF);
}

.contact-us {
    color: var(--Dark-green-buttons, #3A4F39);
    text-align: center;
    font-family: 'Fanwood Text', serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.container-3-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 218px;
    padding-left: 10px;
}

@media (max-width : 1123px) {
    .container-3-foot {
        padding-left: 0px;
    }
}

@media (min-width: 818px) and (max-width : 833px) {
    .container-3-foot {
        padding-left: 10px;
    }
}

.company-div-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.container-3-foot p {
    width: 150px;
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: Elsie;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.28px;
}

.text-wrapper-foot {
    color: var(--black-fonts-headings, #2D2E2E);
    font-family: Fanwood Text;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.icons-foot {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.social-network {
    width: 40px;
    height: 40px;
}

@media (max-width : 1133px) {
    .container-3-foot {
        gap: 20px;
    }
}


@media (max-width : 828px) {
    .footer {
        display: flex;
        padding: 32px 16px;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        align-self: stretch;
        align-content: center;
    }

    .container-2-foot p {
        display: none;
    }

    .container-1-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        align-self: stretch;
    }

    .map iframe {
        width: 26rem;
        height: 250px;
        align-items: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        /* align-items: center; */
        gap: 40px;
        align-self: stretch;
    }

    .contact {
        align-items: center;
        width: 465px;
    }

    .contact-form {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 18px;
        align-self: stretch;
    }

    .button-foot {
        display: flex;
        height: 56px;
        padding: 17px 30px;
        align-self: stretch;
        width: auto;
    }

    .container-3-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .company-div-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .icons-foot {
        width: 152px;
        height: 40px;
    }

}

@media (max-width : 500px) {

    .container-2-foot p {
        display: none;
    }

    .container-1-foot {
        align-self: auto;
        width: 18rem;
    }

    .map iframe {
        width: 16rem;
        height: 11rem;
        align-items: center;
    }

    .contact {
        align-items: center;
        width: 18rem;
    }

    .phone {
        width: auto;
    }

    .container-2-foot {
        width: 18rem;

    }

    .contact-form {
        width: auto;
    }

    .button-foot {
        display: flex;
        height: 56px;
        padding: 17px 30px;
        align-self: stretch;
        width: auto;
    }

    .container-3-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .company-div-foot {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 38px;
        align-self: stretch;
    }

    .icons-foot {
        width: 152px;
        height: 40px;
    }

}


/* section Our Services----------------------------------------------------------------------------------------------------------------- */



.cont {

    position: relative;
    /* height: 100%; */
}

.cont__inner {
    position: relative;
    height: 52rem;
    overflow: auto;
}

.cont__inner:hover .el__bg:after {
    opacity: 1;
}

.el {
    height: 50rem;
    font-family: 'Elsie', cursive;
    position: absolute;
    left: 0;
    top: 0;
    width: 19.2%;

    background: #252525;
    transition: transform 0.6s 0.7s, width 0.7s, opacity 0.6s 0.7s, z-index 0s 1.3s;
    will-change: transform, width, opacity;
}

.el:not(.s--active) {
    cursor: pointer;
}

.el__overflow {
    overflow: hidden;
    position: relative;
    height: 100%;
}

.el__inner {
    overflow: hidden;
    position: relative;
    height: 100%;
    transition: transform 1s;
}

.cont.s--inactive .el__inner {
    transform: translate3d(0, 100%, 0);
}

.el__bg {
    position: relative;
    width: calc(100vw - 140px);
    height: 100%;
    transition: transform 0.6s 0.7s;
    will-change: transform;
}

.el__bg:before {
    content: "";
    width: calc(100vw + 140px) !important;
    position: absolute;
    left: 0;
    top: -5%;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: center center;
    transition: transform 1s;
    transform: translate3d(0, 0, 0) scale(1);
}

.cont.s--inactive .el__bg:before {
    transform: translate3d(0, -100%, 0) scale(1.2);
}

.el.s--active .el__bg:before {
    transition: transform 0.8s;
}

.el__bg:after {
    content: "";
    width: calc(100vw + 140px) !important;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s;
}

.cont.s--el-active .el__bg:after {
    transition: opacity 0.5s 1.4s;
    opacity: 1 !important;
}

.el__preview-cont {
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.3s 1.2s;

}

.cont.s--inactive .el__preview-cont {
    opacity: 0;
    transform: translateY(10px);
}

.cont.s--el-active .el__preview-cont {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s;
}

.el__heading {
    font-family: 'Elsie', cursive;
    color: #fff;
    text-transform: uppercase;
    font-size: 2rem;
    text-align: center;
    width: 100%;

}

.el__content {
    font-family: 'fanwood text', serif;
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.04s;
}

.el.s--active .el__content {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.5s 1.4s;
}

.el__text {
    font-family: 'Elsie', cursive;
    font-size: 3rem;
    color: #fff;
   
}

.el__close-btn {
    z-index: -1;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 60px;
    height: 60px;
    opacity: 0;
    pointer-events: none;
    transition: all 0s 0.45s;
    cursor: pointer;
}

.el.s--active .el__close-btn {
    z-index: 5;
    opacity: 1;
    pointer-events: auto;
    transition: all 0s 1.4s;
}

.el__close-btn:before,
.el__close-btn:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 8px;
    margin-top: -4px;
    background: #fff;
    opacity: 0;
    transition: opacity 0s;
}

.el.s--active .el__close-btn:before,
.el.s--active .el__close-btn:after {
    opacity: 1;
}

.el__close-btn:before {
    transform: rotate(45deg) translateX(100%);
}

.el.s--active .el__close-btn:before {
    transition: all 0.3s 1.4s cubic-bezier(0.72, 0.09, 0.32, 1.57);
    transform: rotate(45deg) translateX(0);
}

.el__close-btn:after {
    transform: rotate(-45deg) translateX(100%);
}

.el.s--active .el__close-btn:after {
    transition: all 0.3s 1.55s cubic-bezier(0.72, 0.09, 0.32, 1.57);
    transform: rotate(-45deg) translateX(0);
}

.el__index {
    overflow: hidden;
    position: absolute;
    left: 0;
    bottom: -80px;
    width: 100%;
    height: 100%;
    min-height: 250px;
    text-align: center;
    font-size: 20vw;
    line-height: 0.85;
    font-weight: bold;
    transition: transform 0.5s, opacity 0.3s 1.4s;
    transform: translate3d(0, 1vw, 0);
}

.el:hover .el__index {
    transform: translate3d(0, 0, 0);
}

.cont.s--el-active .el__index {
    transition: transform 0.5s, opacity 0.3s;
    opacity: 0;
}

.el__index-back,
.el__index-front {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}

.el__index-back {
    color: #2f3840;
    opacity: 0;
    transition: opacity 0.25s 0.25s;
}

.el:hover .el__index-back {
    transition: opacity 0.25s;
    opacity: 1;
}

.el__index-overlay {
    overflow: hidden;
    position: relative;
    transform: translate3d(0, 100%, 0);
    transition: transform 0.5s 0.1s;
    color: transparent;
}

.el__index-overlay:before {
    content: attr(data-index);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    color: #3D3B30;

    transform: translate3d(0, -100%, 0);
    transition: transform 0.5s 0.1s;
}

.el:hover .el__index-overlay {
    transform: translate3d(0, 0, 0);
}

.el:hover .el__index-overlay:before {
    transform: translate3d(0, 0, 0);

}

.el:nth-child(1) {
    transform: translate3d(0%, 0, 0);
    transform-origin: 50% 50%;
}

.cont.s--el-active .el:nth-child(1):not(.s--active) {
    transform: scale(0.5) translate3d(0%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(1) .el__inner {
    transition-delay: 0s;
}

.el:nth-child(1) .el__bg {
    transform: translate3d(0%, 0, 0);
}

.el:nth-child(1) .el__bg:before {
    transition-delay: 0s;
    background-image: url("../images/services-images/buildings.jpg");
}

.el:nth-child(2) {
    transform: translate3d(105.2083333333%, 0, 0);
    transform-origin: 155.2083333333% 50%;
}

.cont.s--el-active .el:nth-child(2):not(.s--active) {
    transform: scale(0.5) translate3d(105.2083333333%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(2) .el__inner {
    transition-delay: 0.1s;
}

.el:nth-child(2) .el__bg {
    transform: translate3d(-19.2%, 0, 0);
}

.el:nth-child(2) .el__bg:before {
    transition-delay: 0.1s;
    background-image: url("../images/services-images/irrigation.jpg");
}

.el:nth-child(3) {
    transform: translate3d(210.4166666667%, 0, 0);
    transform-origin: 260.4166666667% 50%;
}

.cont.s--el-active .el:nth-child(3):not(.s--active) {
    transform: scale(0.5) translate3d(210.4166666667%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(3) .el__inner {
    transition-delay: 0.2s;
}

.el:nth-child(3) .el__bg {
    transform: translate3d(-38.4%, 0, 0);
}

.el:nth-child(3) .el__bg:before {
    transition-delay: 0.2s;
    background-image: url("../images/services-images/dam.jpg");
}

.el:nth-child(4) {
    transform: translate3d(315.625%, 0, 0);
    transform-origin: 365.625% 50%;
}

.cont.s--el-active .el:nth-child(4):not(.s--active) {
    transform: scale(0.5) translate3d(315.625%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(4) .el__inner {
    transition-delay: 0.3s;
}

.el:nth-child(4) .el__bg {
    transform: translate3d(-57.6%, 0, 0);
}

.el:nth-child(4) .el__bg:before {
    transition-delay: 0.3s;
    background-image: url("../images/services-images/roads.png");
}

.el:nth-child(5) {
    transform: translate3d(420.8333333333%, 0, 0);
    transform-origin: 470.8333333333% 50%;
}

.cont.s--el-active .el:nth-child(5):not(.s--active) {
    transform: scale(0.5) translate3d(420.8333333333%, 0, 0);
    opacity: 0;
    transition: transform 0.95s, opacity 0.95s;
}

.el:nth-child(5) .el__inner {
    transition-delay: 0.4s;
}

.el:nth-child(5) .el__bg {
    transform: translate3d(-76.8%, 0, 0);
}

.el:nth-child(5) .el__bg:before {
    transition-delay: 0.4s;
    background-image: url("../images/services-images/mining.webp");
}

.el:hover .el__bg:after {
    opacity: 0;
}

.el.s--active {
    z-index: 1;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s, width 0.7s 0.7s, z-index 0s;
}

.el.s--active .el__bg {
    transform: translate3d(0, 0, 0);
    transition: transform 0.6s;
}

.el.s--active .el__bg:before {
    transition-delay: 0.6s;
    transform: scale(1.1);
}

.icon-link {
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 32px;
}

.icon-link img {
    width: 100%;
    vertical-align: top;
}

.icon-link--twitter {
    left: auto;
    right: 5px;
}

@media (max-width: 768px) {
    .cont__inner {
        position: relative;
        height: 35rem;
        overflow: auto;
    }

    .el__heading {
        font-size: 0.8rem;
        text-align: center;
        text-transform: none;
        font-weight: bold;
    }

    .el__text {
        font-size: 1.45rem;
    }

    .el__text__description {
        font-size: 0.985rem !important;

    }

    .el {
        height: 35rem
    }

    /* .el__heading {
        font-family: 'Elsie', cursive;
        color: #fff;
        text-transform: uppercase;
        font-size: 2rem;
        text-align: center;
        width: 100%;
    
    } */
}

/*buttons inside expanding divs */


.btn {

    position: relative;
    display: flex;
    margin: 1em;
    padding: 1em 2em;
    font-family: 'Elsie', cursive;
    border: 1px solid white;
    border-radius: 30px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    color: white;
    font-size: 1.05rem;
    font-weight: 400;

    &:hover {
        box-shadow: inset 0 -3px 0 rgba(243, 240, 240, 0.65);
    }

    &:active {
        transform: translateY(1px);
        box-shadow: inset 0 3px 0 0 rgba(219, 214, 214, 0.65);
    }

    &:focus {
        outline: none;
    }

}

@media (max-width: 768px) {
    .btn {
        font-size: 0.825rem;

    }

}


.services-paragraph {
    display: flex;
    flex-wrap: wrap;
    font-family: 'fanwood text', serif;
    font-size: 2rem;
    color: #525252;
    font-weight: 400;
    text-align: start;
    padding-top: 1rem;
}

.el__text__description {
    font-family: 'fanwood text', serif;
    font-size: 2rem;
    margin-top: 1rem;
}

.section-container {
    display: flex;
    flex-wrap: wrap;
}


/* Image stack- Our portfolio -----------------------------------------------------------------------------------------------------------------------------*/


.portfolio-div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.portfolio-container {

    padding: 2rem;

    background-color: #F4F1EB;
}


/*Simple CSS-reset that removes margin and padding from every element*/

#imgstack {
    width: fit-content;
    display: flex;
    height: 15vh;
    margin: 2rem;

}

#imgstack a {
    width: 20rem;
    height: 15rem;
    position: absolute;
    display: block;
    border: 1px solid #f0f0f0;
    border-radius: 0.25rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    transition: margin .5s;
    -webkit-transition: margin .5s;
}

#imgstack img {
    width: 288px;
    max-height: 100%;
}

#imgstack a:first-of-type {
    margin-top: -5px;
    margin-left: -20px;
    z-index: 2;
    transform: rotate(-3deg);
    -webkit-transform: rotate(-3deg);
}

#imgstack a:nth-of-type(2) {
    margin-top: -5px;
    margin-left: -10px;
    z-index: 1;
}

#imgstack a:last-of-type {
    transform: rotate(3deg);
    -webkit-transform: rotate(3deg);
}

#imgstack:hover a:first-of-type {
    margin-left: -160px;
    margin-top: 5px;
}

#imgstack:hover a:nth-of-type(2) {
    margin-top: -25px;
}

#imgstack:hover a:last-of-type {
    margin-left: 120px;

}

#imgstack a:first-of-type:hover {
    margin-top: -5px;
    transition: 0.5s;
    z-index: 99;

}

#imgstack a:nth-of-type(2):hover {
    margin-top: -30px;
    z-index: 9999;
    transition: 0.5s
}

#imgstack a:last-of-type:hover {
    margin-top: -10px;
    z-index: 9999;
    transition: 0.5s
}

.btn-imgstack-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

.imgstack-container {
    display: flex;
    height: 20rem;
}

@media (max-width: 1024px) {


    .btn-imgstack-container {
        display: flex;
        flex-direction: column;

    }

    .btn-imgstack-container {
        display: flex;
        align-items: center;
        padding-right: 17rem;
    }

}

@media only screen and (max-width: 430px) {

    .btn-imgstack-container {
        align-items: start;
    }

    #imgstack a {
        width: 15rem;
        height: 12rem;
    }

    .brand {
        font-size: 20px;
    }

    .contact-nav {
        font-size: 1rem;
        line-height: 1;
        padding: 0.5rem 0.8rem;
    }
}

@media only screen and (max-width: 375px) {
    .brand {
        font-size: 17px;
    }

    .contact-nav {
        font-size: 0.9rem;
        line-height: 1;
        padding: 0.4rem 0.6rem;
    }

}

.animate {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;

    body {
        background-image: url('background.jpg');
        background-size: cover;
    }

    background-image: url('background.jpg');
    background-size: cover;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}


.float-logo {
    position: absolute;
    /* top: 50%; 
    left: 50%; */
    /* width: 480px; */
    margin-top: 0%;
    transform: translate(20%, -50%);
    rotate: -20deg;
    opacity: 0.2;
    z-index: 1;
    /* Ensure the logo appears above the divs */
}

.float-logo img{
    width: 400px;
    /* height: 100%; */
}

@media (max-width: 1200px) {
    .float-logo img {
        width: 300px;
    }
}
@media (max-width: 700px) {
    .float-logo{
        transform: translate(10%, -50%);

    }
    .float-logo img {
        width: 250px;
    }
}
@media (max-width: 400px) {
    .float-logo{
        transform: translate(0%, -50%);

    }
    .float-logo img {
        width: 200px;
    }
}
@media (max-width: 326px) {

    .float-logo{
        transform: translate(0%, -50%);

    }

    .float-logo img {
        width: 150px;
    }
}