*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background-color: #f7f7f7;

    -webkit-font-smoothing: antialiesed;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* -webkit-user-select: none;
            -moz-user-select: none;
            user-select: none;
            pointer-events: none; */
}

.container {
    max-width: 80vw;
    margin: 0 auto;
}

main {
    min-height: 65vh;
    padding: 100px 0;
}

p {
    margin: 0 0 10px;
}

img {
    height: auto;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* header */

.header {
    width: 100%;
    height: 60px;
    background-color: #fff;
    position: fixed;
    top: 0;
    z-index: 10;
    box-shadow: 0px -5px 8px 2px #979494;
}

.header__inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;

}

.header__logo__content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: -20px;
}


.header__logo {
    width: 40px;
    height: 40px;
}

.header__logo__title {
    color: #000;
    margin-left: 7px;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 400;
}


.header__search {
    fill: #000;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 0px;
}



/* burger */

.burger {
    background: none;
    border: 0;
    cursor: pointer;
    box-sizing: border-box;
    padding: 5px;
}

.burger__item {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #000;
    font-size: 0;
    color: transparent;
    position: relative;
}

.burger__item::before,
.burger__item::after {
    content: "";
    width: 100%;
    height: 100%;

    background-color: #000;
    position: absolute;
    right: 0;
    z-index: 1;
    transition: transform linear 0.2s;
}

.burger__item::before {
    top: -8px;
}

.burger__item::after {
    bottom: -8px;
}

/* nav */

.nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 400px;
    position: fixed;
    top: 0;
    left: -420px;
    z-index: 200;
    background-color: #fff;
    padding: 50px 25px;
    box-shadow: 0 0px 10px 2px #979494;
    transition: 0.5s;
}

.nav.active {
    left: 0;
}


.nav__close__content {
    background-color: #eee;
    padding: 22px;
    margin-top: 20px;
    margin-right: 15px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}

.nav__close__content:hover {
    cursor: pointer;
}

.nav__close {
    position: relative;
    right: -10px;
}

.nav__close::after,
.nav__close::before {
    content: "";
    background-color: #000;
    width: 20px;
    height: 2px;
    position: absolute;
    right: 0;
    z-index: 201;
}

.nav__close::after {
    transform: rotate(45deg);
}

.nav__close::before {
    transform: rotate(-45deg);
}

.nav ul {
    list-style: none;
}

.nav ul li a {
    display: flex;
    align-items: center;
    color: #000;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    margin: 20px 0;
    opacity: 90%;
    transition: opacity .1s linear;
}

.nav ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.nav ul li a span {
    margin-left: 10px;
}

.nav__icon {
    width: 25px;
    height: 25px;
    fill: rgb(28, 30, 28);
}

/* form */

.paragrafs {
    text-align: left;
    color: #837f7f;
    max-width: 640px;
    margin: 0 auto;
}

.form {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}


.flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.field {
    box-sizing: border-box;
    width: 310px;
    border: 1px solid #999;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 15px;
    outline: none;
}

.field__focus {
    font-family: 'Raleway', sans-serif;
}

.field__focus:focus {
    border: 1px solid #030303;
}

.field-com {
    width: 640px;
    height: 200px;
    padding: 7px 10px;
    font-size: 15px;
    border-radius: 7px;
    margin-top: 35px;
    margin-bottom: 35px;
    resize: none;
    outline: none;
    box-sizing: border-box;
}

.button-content {
    text-align: center;
}

.button {
    border: none;
    border-radius: 7px;
    padding: 15px 55px;
    color: #fff;
    background-color: #d92a16;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: .15s linear;
}

.button:hover {
    background-color: #e74c3c;
}

.response {
    width: 40vw;
    height: 40vh;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: lightgreen;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.response-close {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.response-close::before {
    content: 'X';
    font-size: 25px;
}

.response-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1c1a1a;
    font-size: 20px;
}

.error {
    color: red;
    font-size: 20px;
    margin-top: 20px;
}

/* footer */

footer {
    background-color: #292929;
    padding: 40px 30px;
}

.footer__header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.footer__img {
    width: 40px;
    height: 40px;
}

.footer__logo__title {
    color: #fff;
    margin-left: 7px;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 400;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

footer ul li {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s linear;
}

footer ul li:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer__paragraf {
    text-align: center;
    margin-top: 50px;
    color: #d0d0d0;
}