@import "../fonts/MontserratAlternates/stylesheet.css";
@import "../fonts/Montserrat/stylesheet.css";

h1,
h2,
h3,
h4,
p,
div,
li,
ul,
.header__nav_link,
.banner__headline,
.filter__button {
    font-style: normal;
    font-family: inherit;
}

.sub_one,
.sub_two,
.button,
span,
.header__phone,
.open__link,
.footer__nav_link,
.descr__tag {
    font-family: Montserrat;
}

h1,
h2,
h3,
h4,
.sub_one,
.banner__headline,
.button,
.header__nav_link,
.footer__nav_link,
.main-name-h3 {
    font-weight: 500;
}

.header__nav_link,
.footer__nav_link,
.footer__social_link {
    text-decoration: none;
}

.header__nav_link,
.footer__nav_link,
.footer__social_link,
.about__dropdown_link,
.button {
    transition: all 0.3s ease-out;
}

li {
    list-style: none;
}

h1 {
    font-size: 64px;
    line-height: 64px;
}

h2 {
    font-size: 30px;
    line-height: 45px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    line-height: 110%;
    font-weight: 600;
}

h4 {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.5px;
}

.banner__headline {
    font-size: 64px;
    line-height: 56px;
    color: var(--white);
}

.sub_one {
    font-weight: normal;
    font-size: 24px;
    line-height: 120%;
}

.sub_two {
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.01em;
    font-weight: 600;
}

.sub_three {
    font-family: "Montserrat";
    font-weight: 600;
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.01px;
}

.button {
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0.6px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border: none;
    border-radius: 1px 20px;
    padding: 20px 60px;
}

.button:hover {
    box-shadow: 0px 0px 10px 5px rgba(211, 148, 90, 0.5);
    color: var(--white);
}

.header__nav_link {
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.6px;
    color: var(--white);
    cursor: pointer;
}

.header__nav_link:hover {
    color: var(--accent);
}

.open-about-link.active path {
    color: var(--accent);
    stroke: var(--accent);
}

.header__nav_link:hover .dropdown-arrow path {
    stroke: var(--accent);
    transition: all 0.3s ease-out;
}

.dropdown-arrow {
    user-select: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.dropdown-arrow.open {
    transform: rotate(180deg) translateY(0px);
}

.header__phone {
    font-size: 14px;
    line-height: 110%;
    letter-spacing: 0.04em;
    color: var(--accent);
    font-weight: 700;
}

.header__phone:hover {
    color: var(--white);
}

.contacts__phone {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease-out;
}

.contacts__phone:hover {
    color: var(--black);
}

.open__link {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 28px;
    color: var(--black);
    text-decoration: none;
    width: fit-content;
}

.open__link:hover {
    color: var(--accent);
}

.open__link:hover path {
    fill: var(--accent);
    stroke: var(--accent);
}

.footer__nav_link {
    font-size: 14px;
    /* line-height: 32px; */
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--black);
    white-space: nowrap;
}

.footer__nav_link:hover {
    color: var(--accent);
}

.footer__social_link:hover path {
    fill: var(--accent);
    transition: all 0.3s ease-out;
}

.footer__arrow-text {
    margin: auto;
    font-weight: bold;
    font-size: 14px;
    line-height: 14px;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease-out;
}

.footer__arrow-text:hover {
    color: var(--accent);
}

.nav-toggler {
    border: none;
    background-color: transparent;
}

.toggler {
    display: block;
    content: "";
    border: 1px solid var(--accent);
    width: 30px;
    height: 1px;
}

.toggler::before {
    display: block;
    content: "";
    border: 1px solid var(--accent);
    width: 30px;
    height: 1px;
    margin: 5px;
}

.toggler::after {
    display: block;
    content: "";
    border: 1px solid var(--accent);
    width: 30px;
    height: 1px;
    margin: 5px;
}

.page-item.active .page-link.link-active {
    background-color: var(--accent);
    border-color: var(--accent);
    padding: 23px 24px;
}
.page-item.active .page-link.page-active {
    background-color: var(--accent);
    border-color: var(--accent);
    font-size: 12px;
    line-height: 13px;
    padding: 11px 27px;
}

.page-link:hover {
    background-color: var(--accent);
    color: var(--white);
    border: 1px solid var(--accent);
}

.page-link.link-numbers {
    font-size: 14px;
    line-height: 32px;
    font-variant-numeric: lining-nums;
    font-weight: 600;
    border: 2px solid #868994;
    padding: 13px 24px;
    color: #202020;
}
.page-link.page-numbers {
    font-size: 12px;
    line-height: 13px;
    font-weight: 700;
    padding: 11px 20px;
}

.page-item.active .page-numbers {
    background-color: var(--accent);
    border-color: var(--accent);
    font-size: 12px;
    line-height: 13px;
}

.filter__button {
    border: 2px solid var(--gray);
    color: var(--black);
    font-weight: 600;
    padding: 12px 14px;
    letter-spacing: 0.6px;
    font-size: 13px;
    line-height: 14px;
    cursor: pointer;
}

.filter__button:hover {
    background-color: rgba(134, 137, 148, 0.2);
}

.filter__button._actiive-filter {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.filter__list__btn {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 14px;
    color: var(--darkGray);
}

.descr__tag {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 28px;
    color: var(--darkGray);
    margin: 0;
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    .sub_two {
        font-size: 16px;
    }

    .sub_three {
        font-size: 14px;
    }

    .banner__headline {
        font-size: 50px;
    }

    .button {
        font-size: 12px;
        border: none;
        padding: 20px 60px;
    }

    .filter__btn {
        font-size: 16px;
    }

    .footer__nav_link {
        font-size: 13px;
    }
}

@media (max-width: 992px) {
    .header__nav_link {
        color: var(--black);
    }

    .header__nav_link,
    .header__phone {
        font-size: 16px;
    }
}

.about__dropdown_link {
    padding: 20px;
}

.about__dropdown_link:hover {
    /* display: block; */
    background-color: rgba(211, 148, 90, 0.85);
}

.about__dropdown_link:hover .header__nav_link {
    color: var(--white);
}
