body{
    color: rgb(255, 255, 255);
    font-family: sans-serif;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(./bg.png);
    margin: 0;
}


body a{
    text-decoration: none;
    color: white;
}

header img{
    max-width: 200px;
}

header {
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: black;
    border-bottom: 3px solid red;
    position: sticky;
    top: 0;
    width: 100%;
}


nav {
    display: flex;
    justify-content: center; 
}
  
  
ul {
    list-style-type: none; 
    padding: 0;
    margin: 0;
    display: flex; 
    gap: 20px; 
}
  
li {
    text-align: center;
    font-size: 18px;
}

li button{

    transition: color 0.3s ease;
}

li button:hover{
    color: red;
}

main{
    display: flex;
    justify-content: center;

}

main div{
    font-size: 20px;
    text-align: center;
}

a img{
    max-width: 100px;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

  /* Контейнер для слайдов */
.slides {
    display: flex;
    flex-direction: column; /* Вертикальное расположение */
    transition: transform 0.5s ease; /* Плавный переход */
    /* height: 400vh; Высота, чтобы разместить оба слайда */
}

  /* Каждый слайд */
.slide {
    width: 100%;
    height: calc(var(--vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 10px o;
    font-size: 2em;
}

  /* Задний фон для каждого слайда */
.slide1 {
    background: url(./bg.png) no-repeat center center / cover; /* Первый слайд с изображением */   
    
}
.slide1 div{
    padding: 0 200px;
}

.slide1 div div{
    padding-top: 150px;
}


.slide2 {
    background: black; /* Второй слайд с черным фоном */
}

.slide3 {
    background-color: black; 
}

.slide4{
    background: black;
}


.button{
    all: unset; /* Убирает все стили по умолчанию */
    max-width:  120px;
}

.button img{
    max-width: 100px;
    transition: transform 0.3s ease;
}

.button img:hover{
    transform: scale(1.1);
}

.button.active{
    color: red;
}


.text-left{
    padding-right: 10px;
    border-right: 3px solid red;
}

.text-right{
    transition: background-color 0.3s ease;
    background-color: rgba(255, 0, 0, 0.253);
    padding: 0 10px;
}

.text-right:hover{
    background-color: red;
}

.text-left p {
    text-align: right;
    font-size: 25px;
}

.tel{
    color: red;
}

iframe{
    margin-left: 100px;
}

.menu .burger{
    display: none;
    font-size: 24px;
    color: red;
    cursor: pointer;
}

.background-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* Чтобы круги не мешали кликам по другим элементам */
}

/* Стили для каждого круга */
.circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2); /* Полупрозрачный цвет */
    transition: background-color 0.3s ease, transform 0.3s ease;
    pointer-events: auto; /* Включаем возможность наведения */
}

/* Размер и начальная позиция кругов */
.circle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 85%;
    left: 10%;
}

.circle:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 75%;
    left: 77%;
}

.circle:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 30%;
}

.circle:nth-child(4){
    width: 170px;
    height: 170px;
    top: 90%;
    left: 80%;
}


.circle:nth-child(5){
    width: 110px;
    height: 110px;
    top: 81%;
    left: 85%;
}

.circle:nth-child(6){
    width: 180px;
    height: 180px;
    top: 94%;
    left: 15%;
}

.circle:nth-child(7){
    width: 150px;
    height: 150px;
    top: 49%;
    left: 67%;
}

.circle:nth-child(8){
    width: 110px;
    height: 110px;
    top: 54%;
    left: 27%;
}

.circle:nth-child(9){
    width: 80px;
    height: 80px;
    top: 69%;
    left: 68%;
}

.circle:nth-child(10){
    width: 150px;
    height: 150px;
    top: 26%;
    left: 65%;
}

.circle:nth-child(11){
    width: 110px;
    height: 110px;
    top: 30%;
    left: 25%;
}

.circle:nth-child(12){
    width: 180px;
    height: 180px;
    top: 39%;
    left: 15%;
}

.circle:nth-child(13){
    width: 170px;
    height: 170px;
    top: 37%;
    left: 75%;
}


/* Эффект при наведении */


@media screen and (max-width: 916px) {

    .menu .menu-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 62px;
        right: 0;
        background-color: rgb(0, 0, 0);
        width: 100%;
        border-top: 3px solid red;
        border-bottom: 3px solid red;
    }

    .menu .burger {
        display: block;
    }

    .menu.active .menu-items {
        display: flex;
    }

    main div{
        font-size: 15px;
        text-align: center;
    }

    .slide1 div{
        padding: 10px;
    }

    .slide1 div div{
        padding-top: 10px;
    }

    .button img{
        max-width: 40px;
        transition: transform 0.3s ease;
    }

    .slides{
        height: 400vh;
        height: calc(var(--vh, 1vh) * 400);
    }

    .slide{
        height: calc(var(--vh) * 100);
    }

    .text-left p {
        text-align: center;
        font-size: 15px;
    }

    .text-right{
        padding: 0 10px;
    }

    .text-left{
        padding-right: 0px;
        border-right: 0 solid red;
        border-bottom: 3px solid red;
    }

    .slide2{
        display: flex;
        flex-direction: column; /* Выстраивает элементы по вертикали */
        border: 1px solid #000; /* Для визуализации контейнера */
    }

    .slide3{
        display: flex;
        flex-direction: column; /* Выстраивает элементы по вертикали */
        border: 1px solid #000; /* Для визуализации контейнера */
    }

    iframe{
        margin-left: 0px;
        width: 300px;
        height: 200px;
        max-width:100%;
    }

    

    
}