body {
    margin: 0;
}

body * {
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "slnt" 0;
    /* background-color: hsl(0, 7%, 76%); */

}

.font-nav {
    font-weight: 500;
    font-size: 14px;
    line-height: 200%;
    color: rgb(51, 51, 51);
}

.font-title {
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #333;
}

.font-subtitle {
    font-weight: 400;
    font-size: 36px;
    line-height: 130%;
    letter-spacing: -0.04em;
    color: #333;
}

.font-text {
    font-weight: 500;
    font-size: 20px;
    line-height: 160%;
    letter-spacing: -0.03em;
    color: #333;
}

.font-footer {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: -0.03em;
    color: rgb(51, 51, 51);
}

.container {
    max-width: 1272px;
    margin: 0 auto;
    margin-top: 0;
}

.header {
    /* background-color: rgba(98, 231, 102, 0.654); */
}

.header-content {
    display: flex;
    justify-content: space-between;
    padding-top: 0px;
    height: 580px;
    /* align-items: center; */
}

.logo {
    margin-top: 34px;
    margin-left: 71px;
}

.logo:hover {}

.header-nav-link:visited {
    color: white;
}

.front-cover {
    background-image: url("../images/contactsCover.jpg");
    /* background-repeat: no-repeat; */
}

.header-nav {
    margin-top: 60px;
    margin-right: 75px;
    list-style: none;
    display: flex;
    padding-inline-start: 80px;
    text-align: center;
}

.header-nav-item {
    margin-right: 0px;
    margin-left: 27px;
}

.header-nav-link {
    text-decoration: none;
    color: rgb(51, 51, 51);
}

.header-nav-link:hover {
    color: #E3B873;
}

a.header-nav-link:active,
/* активная/посещенная ссылка */
/* a.header-nav-link:hover, */
/* при наведении */
a.header-nav-link {
    text-decoration: none;
    color: rgb(51, 51, 51);
}


.header-nav-link:visited {
    color: rgb(51, 51, 51);
}

.header-nav-container {
    position: relative;
}

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    height: 40px;
    width: 40px;
    background-color: white;
    border-radius: 50%;
    align-items: center;
    padding: 8px;
    margin-top: 40px;
    margin-right: 40px;
}

.burger-line {
    width: 20px;
    height: 2px;
    background-color: rgb(0, 199, 255);
    border-radius: 1px;
}

.contacts-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 700px;
    background-color: #fff;

}

.title {
    margin-top: 50px;
    margin-left: 65px;
    text-align: left;
    margin-bottom: 50px;
}

.text {
    margin-top: 28px;
    margin-left: 70px;
    /* min-height: 400px; */
    color: #333;
}



.footer {
    display: flex;
    padding-top: 50px;
    padding-bottom: 50px;
    justify-content: space-between;
    background-color: #fff;
}

.copyright {
    /* text-align: center; */
    margin: auto;
    margin-top: 10px;
}

.designed {
    /* text-align: center; */
    margin: auto;
    margin-top: 10px;
}

.designed-link {
    text-decoration: none;
    color: rgb(51, 51, 51);
}

.designed-link:hover {
    color: #E3B873;
}

@media (max-width: 1210px) {
    .font-footer {
        font-size: 10px;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        background: rgba(51, 51, 51, 0.8);
        /* position: absolute; */
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }

    .header-nav-link {
        color: rgb(255, 255, 255);
    }

    .header-nav-link:visited {
        color: rgb(255, 255, 255);
    }

    .burger-menu {
        display: flex;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav-item {
        margin: 10px 0;
    }

    .front-cover-content {
        height: 445px;
    }


}

@media (max-width: 790px) {

    .font-title {
        font-weight: 600;
        font-size: 24px;
        line-height: 120%;
        letter-spacing: -0.02em;
        color: #333;
    }


    .font-text {
        font-weight: 600;
        font-size: 14px;
        line-height: 130%;
        letter-spacing: -0.03em;
        color: #333;
    }

    .font-footer {
        font-size: 8px;
    }


    .logo {
        margin-top: 16px;
        margin-left: 20px;
    }

    .logo-img {
        width: 58px;
        height: 58px;
    }

    .burger-menu {
        margin-top: 20px;
        margin-right: 20px;
    }

    .header-content {
        height: 280px;
    }
    .title {
        margin-top: 30px;
        margin-left: 10%;
    }

    .text {
        margin-top: 20px;
        margin-left: 10%;
    }


}