
body {
    margin: 0;
    font-family: 'Merriweather', serif;
    background: linear-gradient(to right, #ffffff 25%, #ffbfc5 50%);
    overflow: hidden;
}



.menu {
    display: flex;
    justify-content: flex-end; 
    gap: 30px;
    position: absolute; 
    top: 40px; 
    right: 40px; 
}

.menu a {
    font-size: 1.2rem; 
    text-decoration: none;
    color: black;
    font-weight: bold; 
    transition: color 0.3s;
}

.menu a:hover {
    color: #7b4c7b;
}

/* Галерея */
.gallery-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 100vh;
    margin: 0 auto;
    max-width: 80%;
    overflow: hidden;
}

.gallery {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    flex: 0 0 33.33%;
    text-align: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    opacity: 0.6;
}

.gallery-item img {
    width: 70%;
    border-radius: 20px;
    transition: transform 0.3s ease;
    height: 80%;
}

.gallery-item.active {
    opacity: 1;
    transform: scale(1.1);
}

.gallery-item .buttons {
    display: none;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gallery-item.active .buttons {
    display: block;
}

.btn {
    display: block;
    margin: 5px auto;
    padding: 10px 20px;
    background: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    color: #000;
    transition: background 0.3s, color 0.3s;
    opacity: 80%;
}

.btn:hover {
    background: #ffbfc5;
    color: #fff;
}


.arrow {
    position: absolute;
    top: 50%;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
    transform: translateY(-50%);
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}
