:root {
    --font-family: "raleway", sans-serif;
    --gold : goldenrod;
    --hover-gold : rgb(189, 143, 3);
    --black : #171715;
    --white : #fdfdfd;
    --gray : #f5f5f5;
    --light: rgb(115, 111, 111);
}

* {  
    font-family: var(--font-family);
    scrollbar-width: none;
}

body {
    overflow: hidden;
}

.overlay {
    position: fixed;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 10;
}

.overlay-open .bars:before {
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
}

.overlay-open .bars:after {
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);
}

.overlay-open .sidebar {
    margin-left: 0;
    z-index: 99999999;
}

.content {
    max-height: 100vh;
    overflow-y: scroll;
    position: relative;
}

.sidebar {
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    background: var(--white);
    overflow: hidden;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    border-top: 5px solid var(--gold);
    z-index: 11 !important;
    display: none;
}

svg {
    width: 24px;
}

.logo {
    margin: auto;
    height: auto;
}

.sidebar .menu {
    height: 85vh;
}

.sidebar .links > ul{
    list-style-type: none;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    color: var(--light);
}

.sidebar .links li:before {
    content: none;
}

.sidebar .links a {
    color: var(--light);
    text-decoration: none;
}

.link:hover {
    color: var(--hover-gold);
    cursor: pointer;
    text-decoration: underline var(--hover-gold);
}

.sidebar .footer{
    height: 15vh;
    margin: auto;
}

.test {
    margin: 0 10%;
    width: 80%;
}

.sidebar .contacts {
    margin: auto;
    justify-content: space-between;
    gap: 15px;
}

.sidebar .contacts .contact{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--black);
    color: var(--white);
    align-content: center;
    text-align: center;
    vertical-align: -webkit-baseline-middle;
}

.sidebar .links > ul{
    margin-left: 16%;
}

.sidebar .links li:not(:first-of-type) {
    margin-top: 3vh;
}

.sidebar .links li.selected {
    color: var(--gold);
    text-decoration: underline;
}

.sidebar .logo img{
    margin-top: 50px;
    margin-bottom: 55px;
    width: 110px;
    margin-left:15%;
}

.background {
    width: 80vw;
    position: fixed;
    top: 0;
    z-index: 0;
}

.page {
    z-index: 10;
}

.page .initial {
    background: linear-gradient(rgba(20, 20, 20, .4), rgba(20, 20, 20, .4)), url("/images/guest/background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
    max-height: 700px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    text-align: center;
}

.page .initial ul{
    width: 100%;
    margin-top: -10%;
    list-style-type: none;
}

.initial .title {
    color: var(--white);
    font-size: 80px;
    margin-top: 10%;
    font-weight: 600;
    line-height: 90px;
}

.initial .subtitle {
    color: var(--white);
    font-size: 25px;
    margin-top: 2vh;
}

.initial .buttons {
    margin-top: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.initial .main-button {
    padding: 7px;
    background-color: var(--gold);
    color: #fff;
    font-weight: 500;
    border: none;
    text-decoration: none;
    font-size: 15px;
    width: 100px;
}

.main-button:hover {
    background-color: var(--hover-gold);
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.second {
    height: max(50vh, max-content);
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

.second .left {
    width: 45%;
    font-size: 20px;
}

.second .left .text {
    color: var(--light);
    margin-top: 20px;
}

.separator {
    width: 10%;
    margin-top: 20px;
    border-bottom: 2px solid var(--gold);
}

.second .right {
    width: 30%;
    text-align: center;
}

.second .right .gold_bar {
    width: 60%;
}

.third {
    height: max(50vh, max-content);
    margin-top: 50px;
}

.third .offers {
    height: max-content;
    background-color: var(--gray);
}

.third .offer {
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 20px;
    height: max-content;
}

.third .offer .header {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.third .offer .icon {
    border-radius: 50%;
    background-color: var(--white);
    width:min-content;
}

.third .offer .icon img {
    width: 120px;
    height: 120px;
    padding: 30px;
}

.third .offer .text {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.third .offer .text h3 {
    font-size: 22px;
    font-weight: 550;
}

.third .offer .text p {
    font-size: 15px;
    color: var(--light);
}

.fourth {
    height: max(40vh, max-content);
    background-color: var(--black);
    border-top: 5px solid var(--gold);
    border-bottom: 5px solid var(--gold);
}

.fourth .title h1{
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin-top: 4vh;
}

.fourth .catalog{
    margin-top: 6vh;
    margin-bottom: 6vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 5%;
    padding-right: 5%;
}

.catalog .catalog-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.catalog .catalog-item img{
    width: 140px;
    height: 140px;
}

.fifth {
    height: max(30vh, max-content);
    margin-top: 50px;
    margin-bottom: 80px;
    background-color: var(--white);
}

.fifth .title {
    text-align: center;
    margin-top: 10vh;
}

.fifth .title h1{
    font-size: 24px;
    font-weight: 600;
}

.fifth .actions {
    margin-top: 2vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fifth .actions .main-button {
    padding: 10px;
    background-color: var(--gold);
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
    width: 150px;
    text-align: center;
    border: none;
    text-decoration: none;
}

.sixth {
    height: max(50vh, max-content);
}

.sixth .hero .image {
    overflow: hidden;
}

.sixth .hero .info {
    padding: 5% 8%;
    background-color: var(--gray);
}

.sixth .hero .info .title {
    font-size: 20px;
    font-weight: 500;
}

.sixth .hero .info .text {
    font-size: 15px;
    color: var(--light);
    height: max-content;
    margin-top: 3vh;
}

.info .text p:nth-child(2) {
    margin-top: 2vh;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.stat .value {
    font-size: 40px;
    font-weight: 500;
    color: white;
}

.stat .label {
    font-size: 20px;
    color: white;
}

.stat:nth-child(1) {
    background-color: var(--gold);
}

.stat:nth-child(2) {
    background-color: rgba(218, 165, 32, 0.8);
}

.stat:nth-child(3) {
    background-color: rgba(218, 165, 32, 0.7);
}

.stat:nth-child(4) {
    background-color: rgba(218, 165, 32, 0.6);
}

.eighth {
    height: max-content;
    background-color: var(--white);
}

.eighth .header .title {
    text-align: center;
    margin-top: 10vh;
}

.eighth .header .title h1{
    font-size: 24px;
    font-weight: 600;
}

.eighth .header .subtitle {
    font-size: 15px;
    color: var(--light);
    margin-top: 2vh;
    text-align: center;
}

.eighth .services {
    margin: 5% 10%;
}

.eighth .service {
    padding: 3% 5%;
}

.eighth .service .title h3{
    font-size: 18px;
    font-weight: 600;
}

.eighth .service .text {
    font-size: 15px;
    color: var(--light);
}

.page .footer {
    height: max-content;
}

.page .footer .sell {
    height: 5vh;
    background-color: var(--gold);
}

.page .footer .contacts {
    height: max-content;
    background-color: var(--black);
    padding: 2% 8%;
}

.page .footer a, .page .footer p {
    text-decoration: none;
    color: white;
}

.page .footer a:hover, .page .footer p:hover {
    text-decoration: underline;
    color: var(--hover-gold);
}

.contacts .contact {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 12px;
    line-height: 15px;
    margin-top: 1px;
}

.contact .golden {
    color: var(--gold);
}

.page .footer .copyright {
    background-color: var(--gold);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    padding: 3px 0;
}

.topbar {
    width: 100%;
    height: 55px;
    display: flex;
    border-bottom: 5px solid var(--gold);
}

.topbar .toggle {
    width: 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--gold);
}

.topbar .toggle:hover {
    cursor: pointer;
    color: var(--hover-gold)
}

.topbar .logo {
    width: 95vh;
    margin-left: 10px;
}

.topbar .logo img{
    width: 75px;
}

@media (min-width: 1200px) {
    .sidebar {
        display: initial;
    }

    .col-xl-2-5 {
        flex: 0 0 auto;
        width: 20%;
    }

    .content {
        width: 80vw;
        margin-left: 20vw;
    }

    .topbar {
        display: none;
    }
}

@media (min-width: 1750px) {
    .sidebar {
        display: initial;
        max-width: 350px;
    }

    .content {
        width: calc(100vw - 350px);
        margin-left: 350px;
    }
}