:root {
    --hero-color: #80CC28;
    --white: #fff;
    --black: #000;
    --dark-bg: #171717;
    --text-bg: #252525;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('woff2'),
}

*,
::after,
::before {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
    font-family: 'Montserrat';
}

body {
    background: var(--dark-bg);
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: clip;
}

main {
    flex-grow: 1;
}

h3 {
    font-size: 18px;
    font-weight: 600;
}

[class*="__container"] {
    max-width: 1230px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

.header {
    padding-block: 20px;
    background: url(/images/upscaled_photo3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.advantages-img-block {
    flex: 1;
    background: url(/images/upscaled_photo4.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    position: relative;
    border-radius: 30px 10px 30px 10px;
    border: 1px solid var(--hero-color);
}

.header-page {
    padding-block: 20px;
    background: url(/images/upscaled_photo3.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

/* Header */

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    opacity: 0.8;
}

.header__container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    padding-block: 20px;
}

.header-logo img {
    width: 140px;
}

.header-menu {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.header-menu a {
    transition: 0.7s all;
    color: var(--white);
    font-size: 20px;
}


.active-menu {
    color: var(--hero-color);
    border-bottom: 1px solid var(--hero-color);
    padding-bottom: 5px;
    width: fit-content;
}

.header-menu a:hover {
    transform: translateY(-5px);
    color: var(--hero-color);
    border-bottom: 1px solid var(--hero-color);
}

.header-btn a {
    background: var(--hero-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px 10px 30px 10px;
    transition: 0.7s all;
    border: 2px solid var(--hero-color);
}

.header-btn a:hover {
    background: #00000000;
    color: var(--hero-color);
    border-radius: 20px 15px 20px 15px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .header__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-btn {
        display: none;
    }
}

/* Burger */

.burger-btn {
    display: none;
    cursor: pointer;
    position: relative;
    z-index: 50;
}

.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    transition: 0.3s all;
}

.burger-icon span {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: 0.3s all;
}

.burger-icon span:nth-child(1) {
    top: 0;
}

.burger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger-icon span:nth-child(3) {
    bottom: 0;
}

.burger-icon.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 600px) {
    body.lock {
        overflow: hidden;
    }

    .burger-btn {
        display: block;
    }

    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--text-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 80px 20px 30px;
        transition: 0.5s all;
        z-index: 5;
    }

    .header-menu.active {
        right: 0;
    }

    .header-menu a {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .header-btn {
        margin-left: auto;
    }
}

/* Hero */

.hero__container {
    color: var(--white);
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-block: 200px;
}

.hero__container h1 {
    font-size: 70px;
    letter-spacing: 10px;
    font-weight: 400;
}

.hero__container h2 {
    font-size: 22px;
    font-weight: 400;
}

.hero__container a {
    background: var(--hero-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 10px 30px 10px 30px;
    transition: 0.7s all;
    border: 2px solid var(--hero-color);
    width: fit-content;
}

.hero__container a:hover {
    background: #00000000;
    color: var(--hero-color);
    border-radius: 15px 20px 15px 20px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .hero__container {
        z-index: 2;
    }

    .hero__container h1 {
        font-size: 50px;
    }

    .hero__container h2 {
        font-size: 20px;
    }
}

/* Advantages */

.advantages-section {
    padding-block: 100px;
}

.advantages__container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.advantages-text-block {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--white);
    background: var(--text-bg);
    padding: 30px;
    border-radius: 10px 30px 10px 30px;
    transition: 0.7 all;
    border: 1px solid var(--hero-color);
}

.advantages-text-block ul {
    padding-left: 20px;
}

@media (max-width: 600px) {

    .advantages__container {
        flex-direction: column;
    }

    .advantages-img-block {
        padding: 200px 0;
    }
}

/* Rating */

.rating-section {
    background: var(--text-bg);
    padding-block: 100px;
}

.rating-heading__container {
    color: var(--white);
    font-size: 35px;
    text-align: center;
    padding-bottom: 50px;
}

.rating__container {
    display: flex;
    flex-direction: row;
    text-align: center;
    gap: 20px;
}

.rating-heading__container h3 {
    font-size: 35px;
}

.rating-block {
    flex: 1;
    color: var(--white);
    border: 1px solid var(--hero-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--dark-bg);
    transition: 0.7s all;
}

.rating-block:hover {
    transform: translateY(-10px);
}

.left {
    border-radius: 10px 30px 10px 30px;
}

.center {
    border-radius: 30px;
}

.right {
    border-radius: 30px 10px 30px 10px;
}

.response-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: start;
    justify-content: center;
    gap: 20px;
}

.response-img img {
    width: 100px;
    height: 70px;
    border-radius: 100px;
}

.response-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.response-text p {
    color: var(--hero-color);
    font-size: 22px;
}

.star img {
    width: 20px;
}

@media (max-width: 600px) {

    .rating__container {
        flex-direction: column;
    }

    .rating-heading__container h3 {
        font-size: 25px;
    }
}

/* Footer */

.footer {
    padding-block: 50px;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.footer-dasclaimer {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer-disc {
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 3;
}

.footer-ico {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-ico p {
    color: var(--hero-color);
    font-size: 60px;
    border-radius: 100px;
    border: 5px solid var(--hero-color);
    padding: 20px;
}

.footer-menu {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.footer-menu a {
    transition: 0.7s all;
    color: var(--white);
    font-size: 20px;
}

.footer-menu a:hover {
    transform: translateY(-5px);
    color: var(--hero-color);
    border-bottom: 1px solid var(--hero-color);
}

@media (max-width: 600px) {

    .footer-dasclaimer {
        flex-direction: column;
        gap: 20px;
    }

    .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-menu a {
        font-size: 16px;
    }

}

/* Page */

.header-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    opacity: 0.8;
}

/* How */

.how-section {
    background: var(--text-bg);
}

.how__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-block: 100px;
    color: var(--white);
}

.step {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid var(--hero-color);
    padding: 30px;
    border-radius: 10px 30px 10px 30px;
    background: var(--dark-bg);
    transition: 0.7s all;
}

.step:hover {
    transform: translateY(-10px);
}

.step ul {
    padding-left: 20px;
}

/* Contact */

.form-section {
    background: var(--text-bg);
}


.form__container {
    color: var(--white);
    display: flex;
    flex-direction: row;
    padding-block: 100px;
    gap: 30px;
}

.form__container h3 {
    font-size: 22px;
    font-weight: 600;
}

.form-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    background: var(--dark-bg);
    border-radius: 30px 10px 30px 10px;
    padding: 30px;
    border: 1px solid var(--hero-color);
}

.form-block input,
.form-block textarea {
    border: 1px solid var(--hero-color);
    background: var(--text-bg);
    border-radius: 10px 30px 10px 30px;
    color: var(--white);
    padding: 10px 20px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
}

.form-info {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.form button {
    background: var(--hero-color);
    color: var(--white);
    padding: 10px;
    border-radius: 10px 30px 10px 30px;
    transition: 0.7s all;
    border: 1px solid var(--hero-color);

}

.form button:hover {
    background: #00000000;
    color: var(--hero-color);
    border-radius: 15px 20px 15px 20px;
    font-weight: 600;
}

.contact-block {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: var(--dark-bg);
    border-radius: 10px 30px 10px 30px;
    padding: 30px;
    border: 1px solid var(--hero-color);
}

.contact {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact svg {
    width: 25px;
}

.contact path {
    stroke: var(--hero-color);
}

.contact p {
    font-size: 18px;
}

@media (max-width: 600px) {
    .form__container {
        flex-direction: column;
    }

    .form-info {
        flex-direction: column;
    }
}

/* Policy */

.policy-section {
    background: var(--text-bg);
}

.policy__container {
    padding-block: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: var(--white);
}

.policy__container ul,
.policy__container ol {
    padding-left: 20px;
}

.policy__container a {
    color: var(--hero-color);
}