/*!
Theme Name: Urist163
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: urist163
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Urist163 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
@import url('https://fonts.googleapis.com/css2?family=Forum&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1 {
    font-family: 'Inter', sans-serif;
    font-size: 6rem;
    font-weight: 400;
    color: #fff;
}
h2 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: #393636;
    margin-bottom: 40px;
}
p {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #393636;
}
img {
    width: 100%;
}
body {
    font-family: 'Inter', sans-serif;
    position: relative;
    background-color: #e5e5e5;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
header {
    width: 100%;
    height: 100%;
    /* padding-left: 15px;
    padding-right: 15px; */
    background-color: #fff;
    border-bottom: 2px solid #2f2f2f;
}
header .container {
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
header .logo {
    font-size: 18px;
    text-transform: uppercase;
    color: #2f2f2f;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}
.head-top {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: 2px solid #2f2f2f;
    background-color: #8DB8A3;
    display: flex;
    justify-content: space-between;
}
header a {
    text-decoration: none;
    color: #2f2f2f;
    font-weight: 700;
    font-size: 22px;
}
.top-right {
    display: flex;
    gap: 20px;
}
.head-bottom {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 15px;padding-right: 15px;
    display: flex;
    justify-content: space-between;
    background-color: #fff;
}
.head-bottom .left {
    color: #2f2f2f;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
}
.head-btn {
    width: 150px;
    height: 50px;
    background-color: #2f2f2f;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    color: 14px;
    padding-top: 5px;
    position: relative;
}
.head-btn svg {
    position: absolute;
    right: 5px;
    bottom: 5px;
}
section {
    background-color: #e5e5e5;
    width: 100%;
}
.btn {
    background-color: #2f2f2f;
    color: #fff;
    width: 250px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.btn.light {
    background-color: #f2eee9;
    color: #986b3b;
}
.menu ul {
    display: flex;
    gap: 15px;
}
.menu li {
    list-style: none;
    padding-top: 15px;
}
.menu a {
    text-transform: uppercase;
}
.main {
    padding-top: 100px;
    padding-bottom: 85px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}
.main img {
    width: 100%;
    max-width: 636px;
    height: 100%;
}
.main .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.main .btn {
    margin-top: 50px;
}
.main .first-slogan {
    font-size: 100px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: bold;
    position: absolute;
    z-index: 1;
}
.main .second-slogan {
    font-size: 100px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-weight: bold;
    position: absolute;
    z-index: 1;
    max-width: 705px;
    right: 15px;
    bottom: 80px;
    text-align: right;
    text-transform: uppercase;
}
.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #676767b3;
    /* backdrop-filter: blur(2px); */
}
.about {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
}
.about .container {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}
.about-img {
    width: 100%;
    max-width: 605px;
}
.about-content {
    background-color: #E5E5E5;
    width: 100%;
    max-width: 605px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 80px;
}
.about-name {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #2f2f2f;
    margin-bottom: 8px;
}
.sub-name {
    color: #746D6D;
    font-size: 14px;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 12px;
}
.sub-name::after {
    content: '';
    position: absolute;
    display: block;
    width: 100px;
    height: 5px;
    bottom: 0;
    background-color: #006C78;
}
.about-text p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #746D6D;
}
.about p {
    margin-bottom: 20px;
}
.about img {
    width: 100%;
}
.services {
    padding-top: 80px;
    padding-bottom: 60px;
}
.services h2 {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 100px;
    color: #2f2f2f;
    text-transform: uppercase;
    text-align: right;
}
.services-block {
    display: flex;
    justify-content: space-between;
}
.services-desc {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 40px;
    color: #2f2f2f;
    max-width: 365px;
}
.services-desc span {
    color: #006C78;
}
.services-items {
    display: flex;
    flex-direction: column;
    width: 65%;
    align-items: end;
}
.services-item {
    width: 100%;
    max-width: 700px;
    height: 200px;
    max-height: 200px;
    background-color: #B4D6C6;
    display: flex;
    padding: 30px;
    justify-content: flex-start;
    align-items: center;
    gap: 100px;
}
.services-item .item-icon img {
    width: 100%;
    max-width: 100px;
}
.services-item .item-title {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
}
.team {
    padding-bottom: 100px;
}
.expert {
    width: 100%;
    max-width: 1050px;
    display: flex;
    margin: 0 auto;
    margin-bottom: 80px;
}
.expert:last-child {
    margin-bottom: 0;
}
.expert.reverse {
    flex-direction: row-reverse;
}
.expert-img {
    width: 375px;
}
.expert-img img {
    height: 100%;
    max-width: 375px;
    width: 375px;
}
.expert-text {
    position: relative;
    margin-left: 10px;
}
.expert-text .btn {
    position: absolute;
    left: 0;
    bottom: 0;
}
.reverse .expert-text .btn {
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
}
.expert-name {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 80px;
    color: #2f2f2f;
    text-transform: uppercase;
}
.reverse .expert-name {
    text-align: right;
}
.reverse .expert-text {
    margin-left: 0;
    margin-right: 10px;
    text-align: right;
}
.olive {
    display: flex;
    margin-top: 15px;
    margin-bottom: 15px;
    justify-content: center;
}
.olive img {
    max-width: 148px;
    margin-right: 15%;
    display: block;
}
.expert-content p {
    color: #746D6D;
    font-size: 20px;
    margin-bottom: 15px;
}
footer {
    background-image: url("./img/footer.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 80px;
    padding-top: 150px;
    padding-bottom: 150px;
}
footer h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 80px;
    text-transform: uppercase;
    position: absolute;
    top: -100px;
    color: #fff;
}
footer h2 span {
    color: #2f2f2f;
}
.footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 32px;
    text-transform: uppercase;
}
.footer-row {
    display: flex;
}
.footer-col.second {
    max-width: 50%;
    width: 100%;
}
.title-footer {
    font-size: 5vw;
    line-height: 4vw;
    font-family: 'Forum', sans-serif;
    color: #F2EEE9;
    margin-bottom: 40px;
}
.footer-list {
    margin-top: 34px;
    margin-bottom: 40px;
}
.footer-list li {
    list-style: none;
    margin-bottom: 25px;
}
.footer-list .vk {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding-left: 45px;
    position: relative;
    text-decoration: none;
    color: #fff;
}
.footer-list .tg {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding-left: 45px;
    position: relative;
    text-decoration: none;
    color: #fff;
}
.footer-list .mail {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding-left: 45px;
    position: relative;
    text-decoration: none;
    color: #fff;
}
.footer-list .phone {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding-left: 45px;
    position: relative;
    text-decoration: none;
    color: #fff;
}
.footer-list .vk::before {
    content: '';
    display: block;
    width: 33px;
    height: 20px;
    position: absolute;
    background-image: url("./img/vk.svg");
}
.footer-list .tg::before {
    content: '';
    display: block;
    left: 4px;
    width: 21px;
    height: 20px;
    position: absolute;
    background-image: url("./img/tg.svg");
}
.footer-list .mail::before {
    content: '';
    display: block;
    left: 4px;
    width: 20px;
    height: 20px;
    position: absolute;
    background-image: url("./img/mail.svg");
}
.footer-list .phone::before {
    content: '';
    display: block;
    left: 4px;
    width: 20px;
    height: 20px;
    position: absolute;
    background-image: url("./img/phone.svg");
}
.footer-btn {
    background-color: #CFC800;
    width: 320px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    cursor: pointer;
}
.modal {
    display: none;
}
.modal.open {
    display: block;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #676767b8;
}
.modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-form {
    background-color: #D9D9D9;
    width: 100%;
    max-width: 360px;
    padding: 10px 10px 36px;
    position: relative;
}
.modal-form form {
    display: flex;
    flex-direction: column;
    position: relative;
}
.modal-form .close {
    width: 50px;
    height: 50px;
    display: flex;
    justify-self: end;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    margin-bottom: 40px;
    position: relative;
    right: 0;
}
.modal-form .form-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 25px;
    text-transform: uppercase;
    text-align: center;
}
.modal-form input {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 500;
    border: none;
    height: 50px;
	width: 100%;
    border-radius: 10px;
    margin-bottom: 25px;
    padding-left: 15px;
}
.modal-form input[type=submit] {
    background-color: #CFC800;
    color: #000;
}
@media (max-width: 1280px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .main .first-slogan,
    .main .second-slogan,
    .services h2 {
        font-size: 80px;
    }
    .expert-name {
        font-size: 50px;
    }
}
@media (max-width: 1100px) {
    .about-content {
        padding-left: 20px;
    }
    .about-img,
    .about-content {
        width: 48%;
    }

}
@media (max-width: 960px) {
    header a {
        font-size: 18px;
    }
    h1 {
        font-size: 60px;
        text-align: center;
    }
    .about .container {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
        align-items: center;
    }
    .about-img,
    .about-content {
        width: 100%;
    }
    .about-content {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .services h2 {
        font-size: 60px;
        text-align: center;
    }
    h2 br {
        display: none;
    }
    .services-block {
        flex-direction: column;
        gap: 40px;
    }
    .services-desc {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    .services-items {
        width: 100%;
    }
}
@media (max-width: 850px) {
    .logo, .menu {
        display: none;
    }
}
@media (max-width: 760px) {
    .main {
        display: flex;
        padding-top: 0;
        flex-direction: column;
    }
    .main br {
        /*display: none;*/
    }
    .main .first-slogan,
    .main .second-slogan {
        font-size: 45px;
        /*position: static;*/
    }
    .head-mail {
        display: none;
    }
    .expert,
    .expert.reverse {
        flex-direction: column;
        align-items: center;
    }
    .expert-name,
    .reverse .expert-name {
        text-align: center;
    }
    .reverse .expert-text {
        text-align: center;
    }
    .reverse .expert-text .btn,
    .expert-text .btn {
        display: none;
    }
    .olive img {
        margin: 0;
    }
    footer h2 {
        font-size: 50px;
        top: -50px;
    }
}
@media (max-width: 600px) {
    header .container {
        flex-direction: column;

        gap: 30px;
    }
    .tel a {
        font-size: 32px;
    }
    .main {
        background-position: right;
    }
    .main .container {
        align-items: center;
    }
    .about {
        padding-top: 40px;
    }
    p {
        font-size: 22px;
    }
    .services-item {
        gap: 30px;
    }
    .services-item .item-title {
        font-size: 18px;
    }
    .services-item .item-icon img {
        max-width: 50px;
        width: 50px;
    }

}
@media (max-width: 550px) {
    .head-bottom .left {
        font-size: 14px;
    }
    .expert-name {
        font-size: 40px;
    }
    .main .second-slogan {
        bottom: 0;
    }
    footer h2 {
        font-size: 32px;
        top: -35px;
    }
}