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


:root {
    --button: #778A00;
    --button-hover: #008A61;
    --border: #AEFF88;
    --yellow: #FFD600;
    --white: #fff;
    --black: #000;
    --main-gradient: linear-gradient(117.05deg, #c2be09 -12%, #ff6d6d 20%, #f2ffa8 100%);
    --main-shadow: 0px 4px 12px rgba(0, 0, 0, 0.425);
    --text-color: #ff6d6d;
}

* {
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100%;
}



blockquote,
body,
code,
dd,
div,
dl,
dt,
fieldset,
form,
h1,
h2,
h3,
h4,
h5,
h6,
input,
li,
p,
pre,
td,
textarea,
th,
ul {
    margin: 0;
    padding: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

abbr,
fieldset,
img {
    border: 0
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: 700
}

ul li {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 700;
    text-align: center
}

sup {
    vertical-align: text-top
}

sub {
    vertical-align: text-bottom
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit
}

legend {
    color: #000
}

.desktop,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block
}

img {
    display: block;
    max-width: 100%;
    /* height: auto */
}

button,
input,
textarea {
    border: unset;
    background: 0 0;


}

button:active,
button:focus,
input:active,
input:focus,
textarea:active,
textarea:focus {
    outline: 0;
}

a {
    text-decoration: none
}

.container {
    max-width: 1220px;
    padding: 0 5px;
    margin: auto;
}


.wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.main {
    background-image: url(../img/background.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.main__wrappers div:not(.main__wrapper) {
    color: var(--white);
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    max-width: 970px;
    font-size: 16px;
    padding-bottom: 2rem;
}



.main__wrappers div:not(.main__wrapper) h3 {
    font-size: 48px;
    font-weight: 700;
    text-align: left;
}

.main__wrappers div:not(.main__wrapper) h4 {
    font-weight: 600;
    font-size: 24px;
}

.back__btn {
    cursor: pointer;
}

.back__btn:hover {
    color: var(--button-hover);
}

.mob-menu {
    position: fixed;
    display: none;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-color: #000000e4;
    overflow: hidden;
}

.mob-menu__col {
    display: flex;
    color: var(--white);
    align-items: end;
    text-align: right;
    justify-content: flex-end;
    font-size: 20px;
    font-weight: 600;

}

.mob-menu__close {
    position: absolute;
    right: 18px;
    top: 35px;

}

.mob-menu__close i {
    font-size: 35px;
    color: var(--yellow);
}

.mob-menu__nav ul {
    display: flex;
    flex-direction: column;
    padding-right: 1.3rem;
    padding-top: 4rem;
    gap: 2rem;
}

.main__before {

    position: absolute;
    left: 7%;
    bottom: -5%;

    background-position: center;
    max-width: 300px;
    max-height: 475px;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    z-index: 1;
    overflow: hidden;
}

.main__after {

    position: absolute;
    right: 0%;
    bottom: -15%;

    background-position: center;
    width: 520px;
    height: auto;
    background-repeat: no-repeat;
    z-index: 2;
    overflow: hidden;
}

.main__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    position: relative;
    /* top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

.main__burger {
    display: none;
    position: relative;
    z-index: 10;
    width: 40px;
    height: 50px;
    margin-left: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: var(--yellow);
    font-size: 30px;
}



.main__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    margin-bottom: 168px;
    position: relative;
    z-index: 3;
}

.main__nav ul {
    display: flex;
    align-items: center;
    gap: 50px;
    color: var(--white);
}

.main__nav ul li {
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
}

.main__nav ul li:hover {
    color: var(--button-hover);
}

.main__title {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 30px;
    text-shadow: var(--main-shadow);
}

.main__subtitle {
    color: var(--white);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: var(--main-shadow);
}

.main__btn {
    width: 400px;
    height: 90px;
    border: 4px solid var(--border);
    background-color: var(--button);
    color: var(--white);
    text-align: center;
    font-size: 30px;
    padding: 20px;
    text-shadow: var(--main-shadow);

}

.main__btn:hover {
    background-color: var(--button-hover);
}

.main__hero {}



.main__hero-man {}

.footer {
    height: 100%;
    background-color: var(--black);
    position: relative;
    z-index: 3;
    flex-shrink: 1;
}

.footer__row {
    display: flex;
    color: var(--white);
    max-width: 90%;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 42px 80px;
}

.footer__row-left {
    font-size: 14px;
    flex: 1 1 40%;
}

.footer__row-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 12px;
    flex: 1 1 40%;
}

.row__rect {
    border: 2px solid var(--white);
    border-radius: 6px;
    padding: 12px 10px;
    position: relative;
    font-size: 16px;

}



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


    .main__wrapper {
        margin-bottom: 400px;
        padding: 0 5px;
    }

    .main__before {
        left: -7.8%;

        background-size: contain;
        max-width: 300px;
    }

    .main__after {
        right: -35px;

        width: 450px;
        background-size: contain;

    }

    .main__title {
        font-size: 38px;
    }

    .footer__row {
        padding: 18px 13px;
    }

    .main__nav {
        display: none;
    }

    .main__burger {
        display: block;
    }
}


@media screen and (max-width: 510px) {
    .about__wrapper h3 {
        font-size: 38px;
        text-align: center;
    }

    .main__btn {
        width: 313px;
        font-size: 24px;
        height: 80px;
        margin-bottom: 2rem;
        margin-left: auto;
        margin-right: auto;
    }

    .footer__row {
        flex-direction: column;
        gap: 1rem;
    }

    .footer__row-right {
        flex-direction: column;
    }
}

@media screen and (max-width: 420px) {
    .main__title {
        font-size: 28px;
    }

    .main__subtitle {
        font-size: 22px;
    }

    .main__before {

        background-size: contain;
        max-width: 180px;
        bottom: 0;
    }

    .main__after {
        bottom: 0;
        width: 250px;
        background-size: contain;

    }

    .main__wrapper {
        margin-bottom: 320px;
    }
}