@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow:wght@400;700&display=swap');

:root {
    --mainColor: #FB3A3A;
    --hoverColor: #C81419;
    --backgroundColor: #F8F8F8;
    --textColor: #000000;
    --secondColor: #929292;
    --secondHoverColor: #6F6F6F;
    --tableBorder: #D9D9D9;
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 28px;
    background-color: var(--backgroundColor);
    font-weight: 400;
}

img {
    width: 100%;
}

a {
    text-decoration: none;
    color: var(--textColor);
}

h1 {
    font-size: 100px;
    line-height: 108px;
}

h2 {
    font-size: 64px;
    line-height: 68px;
    font-weight: 400;
}

table {
    width: 100%;
    padding: 2rem 0 2rem 0;
}

th {
    font-weight: 400;
    border-bottom: 1px solid var(--tableBorder);
    padding: 1rem 0 1rem 0;
    text-align: start;
}

.price-th {
    text-align: end;
}


.big-wrapper {
    padding: 1.7rem 0 2rem;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.container {
    position: relative;
    max-width: 90rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
    /* z-index: 10; */
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.logo {
    cursor: pointer;
}

.logo img {
    height: 50px;
}

.links ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.links a {
    color: var(--textColor);
    margin-left: 8.5rem;
    display: inline-block;
    transition: .3s;
}

.links a:hover {
    color: var(--hoverColor);
    transform: scale(1.05);
}

.row {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.overlay {
    display: none;
}


.btn {
    display: inline-block;
    padding: .8rem 1.5rem;
    color: var(--backgroundColor);
    background-color: var(--mainColor);
    border-radius: 20px;
    transition: .3s;
}

.btn--secondary {
    background-color: var(--secondColor)
}

.btn--secondary:hover {
    background-color: var(--secondHoverColor);
    transform: scale(1.05);
}

.btn--primary:hover {
    background-color: var(--hoverColor);
    transform: scale(1.05);
}

.btn--primary {
    margin-right: 1.5rem;
}

.btn-icon img {
    margin-right: 0.6rem;
    width: 0.6rem;

}

.btn-text {
    color: var(--backgroundColor)
}

.redtxt {
    color: var(--mainColor);
}

.rectangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--mainColor);
    clip-path: inset(0 0 0 55%);
}


.hamburger-menu {
    position: relative;
    z-index: 99;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: none;
}

.hamburger-menu .bar {
    position: relative;
    width: 100%;
    height: 3px;
    background-color: var(--backgroundColor);
    border-radius: 3px;
    transition: 0.5s;
}

.bar::before,
.bar::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--backgroundColor);
    border-radius: 3px;
    transition: 0.5s;
}

.bar::before {
    transform: translateY(-8px);
}

.bar::after {
    transform: translateY(8px);
}

.big-wrapper.active .hamburger-menu .bar {
    background-color: transparent;
}

.big-wrapper.active .bar::before {
    transform: translateY(0) rotate(-45deg);
}

.big-wrapper.active .bar::after {
    transform: translateY(0) rotate(45deg);
}

.showcase-area .container {
    display: grid;
    grid-template-columns: 1fr 64%;
    align-items: center;
    justify-content: center;
}


.title-text {
    margin: 2.5rem 0 1rem;
}

.big-title {
    transform: translateY(-20%);
}

.crawfish {
    transform: translate(12%);
}

.slider-title {
    text-align: center;
}

.form {
    display: grid;
    margin: 1.8rem 0 1.8rem 0;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 0.8fr;
    grid-template-areas:
        "adv1 adv2 adv3 adv4"
        "form form form form";
    grid-gap: 1.2rem;
    vertical-align: middle;
}

.advantages {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 20px;
    background-color: #FFF;
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.10);
    text-align: center;
}

.feedback {
    display: grid;
    /* justify-content: center; */
    grid-area: form;
    padding: 3rem;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 0.6fr 1fr;
    grid-gap: 1.5rem;
    grid-template-areas: "tel1 location"
        "tel2 location";
}


.location img {
    width: 30px;
    margin-right: 1.5rem;
}

.tel1 {
    grid-area: tel1;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tel2 {
    grid-area: tel2;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.location {
    grid-area: location;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.tel img {
    width: 35px;
    margin-right: 1.5rem;
}

.adva1 {
    grid-area: adv1;
}

.adv2 {
    grid-area: adv2;
}

.adv3 {
    grid-area: adv3;
}

.adv4 {
    grid-area: adv4;
}


.adv-icon {
    width: 32px;
    margin-bottom: 1.4rem;
}

.feedback {
    border-radius: 20px;
    background-color: #FFF;
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.10);
}

.footer {
    width: 100%;
    margin-top: 5rem;
    padding: 3rem 0 3rem 0;
    background: linear-gradient(134deg, #000 0%, #300 54.14%, #000 100%);
}

.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 3rem;
}

.footer-map {
    width: 100%;
}

.footer-link {
    color: var(--backgroundColor);
    transition: .3s;
}

.footer-link:hover {
    color: var(--secondColor);
}

.social-media-icon {
    width: 30px;
    margin-left: 1rem;
}

.social-media-icon:hover {
    transform: scale(105%);
    transition: .5s;
}

@media screen and (max-width: 1140px) {
    .big-title {
        transform: None;
    }
}


@media screen and (max-width: 900px) {
    body {
        font-size: 24px;
    }

    .btn {
        font-size: 24px;
    }

    .hamburger-menu {
        display: flex;
    }

    .links {
        position: fixed;
        top: 0;
        right: 0;
        max-width: 450px;
        width: 100%;
        height: 100%;
        background-color: var(--mainColor);
        z-index: 95;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: 0.5s;
    }

    .links ul {
        flex-direction: column;
    }

    .links a {
        color: #fff;
        margin-left: 0;
        padding: 2rem 0;
    }

    .overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        backdrop-filter: blur(5px);
        opacity: 0;
        pointer-events: none;
        transition: 0.5s;
        overflow: hidden;
        z-index: 1;
    }

    .big-wrapper.active .links {
        transform: translateX(0);
        box-shadow: 0 0 50px 2px rgba(0, 0, 0, 0.4);
    }

    .big-wrapper.active .overlay {
        pointer-events: all;
        opacity: 1;
        overflow: hidden;
    }

    .btn-icon img {
        margin-right: 0.3rem;
        width: 0.4rem;

    }

    .showcase-area {
        padding: 2.5rem 0;
        /* max-width: 700px; */
        margin: 0 auto;
    }

    .showcase-area .container {
        grid-template-columns: 1fr;
        justify-content: center;
        grid-gap: 2rem;
    }

    .big-title {
        font-size: 1.1rem;
    }

    /* .rectangle {
        height: 60%;
    } */

    .right {
        grid-column: 1;
        grid-row: 1;
    }

    .crawfish {
        width: 120%;
        transform: none;
    }

    .rectangle {
        height: 40vh;
    }

}

@media screen and (max-width: 580px) {
    body {
        font-size: 18px;
    }

    p {
        font-size: 18px;
    }

    th {
        font-size: 18px;
    }

    h1 {
        font-size: 42px;
        line-height: 46px;
    }

    h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .logo img {
        height: 40px;
    }

    .row {
        margin-top: 1rem;
    }

    .container {
        padding: 0 2rem;
    }

    .btn {
        padding: .6rem 1.5rem;
    }

    .social-media-icon {
        width: 20px;
        margin-left: 0.5rem;
    }
}

@media screen and (min-width: 1920px) {
    .rectangle {
        height: 70vh;
    }
}

/* @media screen and (min-width: 1200px) {
    .rectangle {
        height: 70vh;
    }
} */

@media screen and (max-width: 860px) {
    .feedback {
        grid-template-columns: 1fr;
        grid-template-rows: 0.6fr 0.6fr 1.3fr;
        grid-template-areas:
            "tel1"
            "tel2"
            "location"
    }

    .form {
        grid-template-columns: 1fr;
        grid-template-rows: 0.4fr 0.4fr 0.4fr 0.4fr 1fr;
        grid-template-areas:
            "adv1"
            "adv2"
            "adv3"
            "adv4"
            "form";
    }
}

/* @media screen and (max-width: 505px) {
    .rectangle {
        height: 40%;
    }
}

@media screen and (max-width: 360px) {
    .rectangle {
        height: 45%;
    }
}

} */