/* ================ IMPORTS ================ */
@import url("https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&display=swap");

/* ================ IMPORTS ================ */

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

li {
    list-style: none;
}

ul,
p {
    margin: 0;
    padding: 0;
}

button {
    border: none;
}

body {
    font-size: 16px;
}

a {
    text-decoration: none;
    transition: all 0.2s linear;
}

input:focus {
    outline: none;
}

body {
    font-family: "Montserrat";
    background-color: #f5f5dc;
}

a,
button {
    transition: all 0.2s linear;
}

textarea:focus {
    outline: none;
}

.container {
    max-width: 1110px;
}

.btn {
    display: block;
    margin: 0 auto;
    font-weight: 500;
    background-color: #caca6d;
    padding: 12px 24px;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #bcbc48;
}


/* ================ GENERAL ================ */

/* ================ HEADER ================ */
.header__top {
    position: relative;
    z-index: 0;
    background-image: url("../img/bg-1-2048x1152.png");
    background-position: 0px -33px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: 65vh;
}

.header__top-title {
    color: #e0dddd;
    font-family: "Montserrat", Sans-serif;
    font-size: 100px;
    font-weight: 400;
    text-align: center;
}

.header__top-cover {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.header__top-content {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: end;
}

.header__navigation-wrapper {
    display: flex;
    justify-content: center;
    padding: 23px 0;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.header__navigation-list {
    display: flex;
}

.header__navigation-link {
    color: #000000;
    font-weight: 600;
    padding: 13px 20px;
}

.header__navigation-link:hover {
    color: #68681b;
}

.header__navigation-link.active {
    color: #ca9b52;
}

.header__navigation-burger {
    box-shadow: 0px 0px 18px 6px rgba(34, 60, 80, 0.2);
    width: 80px;
    height: 80px;
    margin-left: 20px;
    border-radius: 50px;
    background-color: #fff;
    display: none;
}

.header__burger-inner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header__burger-inner span {
    display: inline-block;
    width: 60%;
    height: 3px;
    position: relative;
    background-color: #000;
}

.header__burger-inner span::before {
    position: absolute;
    top: -14px;
    content: "";
    display: inline-block;
    width: 48px;
    height: 3px;
    background-color: #000;
}

.header__burger-inner span::after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 3px;
    background-color: #000;
}

.mobile__menu {
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: beige;
    transition: all 0.2s linear;
    opacity: 0;
    visibility: hidden;
}

.mobile__menu.visible {
    opacity: 1;
    visibility: visible;
}

.mobile__menu-inner {
    display: flex;
    justify-content: center;
}

.mobile__menu-list {
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.mobile__menu-list .header__navigation-item {
    display: flex;
    justify-content: center;
}

.mobile__menu-close {
    display: flex;
    justify-content: end;
}

.mobile__close-click {
    margin: 20px;
    color: #000;
    background-color: #fff;
    border-radius: 50px;
    padding: 0;
}

.mobile__close-click:focus {
    box-shadow: 0px 0px 18px 6px rgba(34, 60, 80, 0.2);
}

.mobile__close-click i {
    padding: 10px 12px;
}

.mobile__close-click i:hover {
    color: #000;
}

/* ================ HEADER ================ */

/* ================ ABOUT ===================== */
.about {
    padding-top: 40px;
}

.about__title {
    color: #000000;
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
}

.about__content {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 7px;
    margin-bottom: 20px;
}

.about__content-text {
    margin-left: 20px;
}

.about__img {
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-radius: 7px;
}

.about__text-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.about__text-paragraph {
    font-weight: 400;
    color: #7a7a7a;
}

.about__row {
    margin-bottom: 20px;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.about__row-item {
    background-color: #fff;
    border-radius: 15px;
    padding-bottom: 15px;
}

.about-item__img {
    width: 100%;
    border-radius: 15px;
    height: auto;
    height: 490px;
}

.about-item__title {
    font-weight: 600;
    text-align: center;
    padding: 20px 0;
}

.about-item__btn {
    display: block;
    margin: 0 auto;
    font-weight: 500;
    background-color: #caca6d;
    padding: 12px 24px;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    transition: all 0.3s;
}

.about-item__btn:hover {
    background-color: #bcbc48;
}

/* ================ ABOUT ===================== */

/* ================ CONTACT-FORM ===================== */
.contact__form-social {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact__form-init {
    margin-bottom: 20px;
}

.contact__social-item {
    width: 50px;
    height: 50px;
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.contact__social-item i {
    font-size: 50px;
}

.contact__social-item.item--1 i {
    color: #2a53d2;
}

.contact__social-item.item--2 i {
    color: #e1306c;
}

.contact__social-item.item--3 i {
    color: #2ca5e0;
}

.contact__social-item.item--4 i {
    color: #bd081c;
}

.contact__form-inner {
    display: flex;
}

.contact__form-item {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact__form-input {
    padding: 5px 10px;
}

.contact__form-inner {
    margin-bottom: 10px;
}

.contact__form-inner .contact__form-item:first-child {
    margin-right: 10px;
}

.contact__form-label {
    font-weight: 400;
    color: #7a7a7a;
}

.contact__form-item.textarea {
    padding: 20px 0;
}

.contact__form-item.textarea textarea {
    padding: 5px 10px;
}

.contact__form {
    padding-bottom: 20px;
}

.contact__form-label::after {
    content: "*";
    color: red;
    padding-left: 0.2em;
}

/* ================ CONTACT-FORM ===================== */
/* ================ DIRECTION ===================== */
.direction__about-img {
    flex: 0.6;
    margin-right: 15px;
}

.direction__about-img img {
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    border-radius: 7px;
}

.direction__about-text {
    flex: 1;
}

.direction__about-content {
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 7px;
}

.direction__text-paragraph {
    padding: 10px 0;
}

.direction__about-title {
    text-align: center;
    font-weight: 400;
    margin-top: 20px;
    font-size: 43px;
    line-height: 1.2;
}

.direction__about-title span {
    font-weight: 500;
}

.direction__about-accordion {
    margin-bottom: 30px;
}

.direction__accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 15px 20px;
}

.direction__accordion-trigger span {
    font-weight: 600;
}

.direction__accordion-item {
    background-color: #fff;
    border: 1px solid #000;
    border-bottom: none;
}

.direction__accordion-item:last-child {
    border-bottom: 1px solid #000;
}

.direction__accordion-content {
    display: none;
    border-top: 1px solid #000;
}

.direction__accordion-content {
    padding: 15px 20px;
}

.direction__accordion-wrapper {
    padding-bottom: 15px;
}

.trigger__active {
    color: #ca9b52;
}

.shevrone__rotate {
    transform: rotate(180deg);
}
.direction-item__btn {
    display: block;
    margin: 0 auto;
    font-weight: 500;
    background-color: #caca6d;
    padding: 12px 24px;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    transition: all 0.3s;
}

.direction-item__btn:hover {
    background-color: #bcbc48;
}


/* ================ DIRECTION ===================== */

/* ================ NEWS ===================== */
.news__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
    margin: 30px 0;
}

.news__item-img img {
    width: 100%;
    height: 480px;
}

.news__item-title {
    margin: 15px 0;
}

.news__item-title a {
    font-size: 21px;
    font-weight: 500;
    margin-top: 20px 0;
    color: #000000;
}

.news__item-text {
    margin-bottom: 20px;
}

.news__text-wrapper {
    height: 100px;
    overflow: hidden;
    margin-bottom: 20px;
}

.news-btn__wrapper {
    display: flex;
    justify-content: start;
}

.news-btn__wrapper button {
    margin: 0;
}

/* ================ NEWS ===================== */

/* ================ TASKS ===================== */
.tasks__list {
    background-color: #fff;
    margin: 30px 0;
    border-radius: 10px;
}

.tasks__list-item {
    padding: 10px;
    transition: all 0.2s linear;
    border-bottom: 3px solid #fff;
    cursor: pointer;
}

.tasks__list-item:last-child {
    border-radius: 0px 0px 10px 10px;
}

.tasks__list-item:hover {
    border-color: #68681b;
}

.tasks__list-item:hover * {
    color: #68681b;
}

.tasks__list-link {
    color: #000;
    font-weight: 600;
    transition: all 0.2s linear;
}

/* ================ TASKS ===================== */

/* ================ MENU ===================== */
.menu__wrapper {
    background-color: #000;
    font-size: 18px;
    font-family: sans-serif;
}

.topmenu {
    display: flex;
}

a {
    text-decoration: none;
    color: #fff;
    padding: 15px 30px;
    display: inline-block;
}

.submenu {
    min-width: 300px;
    position: absolute;
    z-index: 5;
    transform-origin: 0 0;
    transform: rotateX(-90deg);
    transition: 0.3s linear;
    border-radius: 5px;
    border: 2px solid #000;
}

.submenu li {
    position: relative;
}

.submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    transition: 0.3s linear;
    visibility: hidden;
    opacity: 0;
}

.submenu a {
    padding: 10px 20px;
    background-color: beige;
    color: #000;
    font-size: 16px;
    display: block;
}

.topmenu li {
    position: relative;
}

.topmenu li:hover>.submenu {
    opacity: 1;
    visibility: visible;
    transform: rotateX(0deg);
}

/* ================ MENU ===================== */


.body__blocked {
    overflow-y: hidden;
}

.popup__cover {
    cursor: pointer;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s linear;
    visibility: hidden;
    opacity: 0;
}

.popup__cover.visible {
    visibility: visible;
    opacity: 1;
}

.popup {
    padding: 20px;
    background-color: #fff;
    width: 850px;
}

.popup__images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    margin: 30px 0;
}

.popup__images-item img {
    height: auto;
    max-width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.contact__social-item.item--1 .contact__social-item i {
    color: #62699f !important;
}

/* ============== CARD ============== */

.card__list {
    margin: 40px 0;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.card__content * {
    color: #000;
}

.card__btn {
    color: #fff;
}

.card__content-body {
    display: flex;
    flex-direction: column;
}

.card__content-text {
    margin: 20px 0;
}

.card__list-link {
    padding: 0;
    margin: 0;
}

/* ============== CARD ============== */

/* ============== 404 ============== */
.not-found__wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.found {
    margin-top: 20px;
}

a.found:hover {
    color: #fff;
}

/* ============== 404 ============== */