@import "colors.css";

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Mulish', sans-serif;
}

body.no-scroll {
    overflow-y: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.top-section {
    background: url('../images/main_page_top_section.png') no-repeat center;
    background-size: cover;
    color: var(--white);
    height: 960px;
}

.top-section .top-section__texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.top-section .text-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.top-section__texts .heading1 {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 47px;
}

.header.active {
    background: var(--background-600);
    backdrop-filter: blur(6px);
}
.top-section .header.active .list .link {
    color: var(--gray-900);
}
.header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    padding: 16px;
    transition: all .3s linear;
}

.header .menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all .3s linear;
    background: url('../images/octagon.jpg') no-repeat;
    background-size: cover;
    padding: 16px;
    box-sizing: border-box;
}

.header .list {
    display: grid;
    gap: 24px;
}

.top-section .header .list .link {
    color: var(--gray-900);
}

.header .list .link {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--gray-900);
    transition: all 0.3s linear;
}

.header .list .item:hover .link {
    color: var(--link-hover);
}

.header .menu.active {
    right: 0;
}

.header .close-btn {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.top-section .header .menu-btn {
    color: var(--white);
}
.top-section .header.active .menu-btn {
    color: var(--gray-900);
}

.header .menu-btn {
    display: flex;
    justify-content: flex-end;
    color: var(--gray-900);
}

.top-section .text-list .text {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
}

.footer {
    padding: 24px 16px;
    background: var(--footer);
}

.footer .heading2 {
    font-weight: 800;
    font-size: 16px;
    line-height: 24px;
    color: var(--blue-950);
    margin-bottom: 32px;
}

.footer .list {
    display: grid;
    gap: 12px;
}

.footer .text {
    font-weight: 600;
    font-size: 14px;
    line-height: 21px;
    color: var(--gray-500);
}

.footer .link {
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: var(--blue-600);
    display: block;
    margin-top: 2px;
}

.footer .link.desktop {
    display: none;
}

.breadcrumbs {
    background: var(--gray-50);
    padding: 12px 16px;
    margin: 0 -16px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
}

.breadcrumbs .wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.breadcrumbs .link {
    color: var(--gray-800);
    text-decoration: none;
}

@media (min-width: 768px) {
    .top-section__texts .heading1 {
        font-size: 56px;
        line-height: 83px;
    }
    .top-section .text-list .text {
        font-size: 18px;
        line-height: 27px;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 32px 0;
    }
    .header .close-btn {
        display: none;
    }
    .header .menu-btn {
        display: none;
    }
    .header .menu {
        padding: 0;
        position: static;
        background-image: none;
    }
    .header .list {
        display: flex;
        justify-content: center;
        gap: 32px;
    }
    .top-section .header .list .link {
        color: var(--white);
    }
    .top-section__texts .heading1 {
        font-size: 78px;
        line-height: 116px;
    }
    .top-section .text-list .text {
        font-size: 24px;
        line-height: 36px;
    }
    .footer {
        padding: 32px 24px;
    }
    .footer .heading2 {
        font-size: 18px;
        line-height: 27px;
    }
    .footer .list {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .footer .link.desktop {
        display: block;
    }
    .footer .link.mobile {
        display: none;
    }
    .breadcrumbs {
        font-size: 16px;
        line-height: 20px;
        margin: 0 -24px;
    }
}