body {
  margin: 0;
  font-family: "Advent Pro", sans-serif;

}
.logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1001;
    cursor: pointer;
}
.logo img {
    width: 120px;
    height: auto;
    background-color: rgba(77, 119, 49, 0.8);
    padding: 15px 5px;
}

.main-container {
    width: 100vw;
    height: 100vh;
     background-image: url('background1.jpg'); 
          background-size: cover;
  background-position: top; 
    position: relative;
    overflow: hidden; 
    box-sizing: border-box; 
}


.header-container {
    background-color: rgba(255, 255, 255, 0.5);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navigation {
    text-align: center;
}
nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
}
nav ul li {
    margin-right: 20px;
}
nav ul li a {
    text-decoration: none;
    color: #1d1d1d;
    font-weight: 750;
    position: relative;
    transition: color 0.3s ease;
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #1d1d1d;
    transition: width 0.3s ease, left 0.3s ease, background-color 0.3s ease;
}
nav ul li a:hover,
nav ul li a:focus,
nav ul li a:active,
nav ul li a.active {
    color: #4d7731;
}
nav ul li a:hover::after,
nav ul li a:focus::after,
nav ul li a:active::after,
nav ul li a.active::after {
    width: 100%;
    left: 0;
    background-color: #4d7731;
}


@media (max-width: 768px) {
    .content {
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
    }

    .main-heading, .sub-heading {
        text-align: center;
    }

    .sub-heading {
        font-size: 3em;
    }

    .button-viewroom {
        margin-left: 0;
        width: 100%;
    }
}

/* Для экранов шириной до 1024px (планшеты) */
@media (max-width: 1024px) {
    .logo img {
        width: 90px;
    }

    .sub-heading {
        font-size: 5em;
    }
}


.content {
    margin-top: 200px;
    margin-left: 200px;
    text-align: left;
    color: #ffffff;
    padding-bottom: 150px; 
}
.main-heading, .sub-heading {
    margin: 0;
    text-align: left;
    color: #4d7731;
}
.main-heading {
    font-size: 2em;
    font-weight: 500;
    max-width: 800px;
}
.sub-heading {
    font-size: 7em;
    font-weight: 800;
    max-width: 600px;
}
.button-viewroom {
    background-color: #fff;
    color: #4d7731;
    margin-left: 200px;
    border: 2px solid #4d7731; 
    margin-top: 40px;
    padding: 15px 15px;
    font-family: "Khand", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.5s, transform 0.5s;
}   
.button-viewroom:hover {
    background-color: #4d7731;
    color: #fff;
    border: 2px solid #fff; 
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .logo {
        position: relative;
        display: block;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .logo img {
        width: 80px;
        padding: 10px;
    }
    
    .header-container {
        position: relative;
    }
    
    .navigation {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    nav ul {
        display: inline-block;
        padding: 0 10px;
    }
    
    nav ul li {
        display: inline-block;
        margin: 0 8px;
    }
    
    nav ul li a {
        font-size: 14px;
        padding: 5px 0;
    }
    
    .content {
        margin: 50px 20px 0;
        padding-bottom: 50px;
        text-align: center;
    }
    
    .main-heading, .sub-heading {
        text-align: center;
        max-width: 100%;
    }
    
    .main-heading {
        font-size: 1.5em;
    }
    
    .sub-heading {
        font-size: 3em;
        line-height: 1.2;
    }
    
    .button-viewroom {
        margin: 30px auto 0;
        display: block;
        width: 80%;
        max-width: 250px;
    }
    
    /* Чат-бот */
    .chat-icon {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-window {
        width: 90%;
        right: 5%;
        bottom: 80px;
    }
}