﻿body {
      margin: 0;
      background-image: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1920&q=80');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      font-family: sans-serif;
      overflow-x: hidden; /* чтобы не было горизонтального скролла */
    }

    /* Контейнер кнопок с фиксированной шириной и высотой */
    .button-container {
      width: 960px; /* фиксированная ширина */
      margin: 40px auto 20px auto;
      text-align: center;
      height: 50px; /* фиксированная высота */
      white-space: nowrap; /* чтобы кнопки в ряд */
    }

    /* Кнопки фиксированного размера, с отступом */
    .button-container button {
      display: inline-block;
      margin-right: 15px;
      padding: 10px 30px;
      font-size: 16px;
      background-color: #3498db;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      vertical-align: middle;
      white-space: nowrap;
      user-select: none;
    }
    .button-container button:last-child {
      margin-right: 0;
    }

    /* Основное окно фиксированного размера */
    .main-window {
      width: 960px;
      height: 340px;
      background-color: rgba(255, 255, 255, 0.9);
      border: 2px solid #ccc;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      margin: 40px auto 30px auto;
      padding: 20px;
      box-sizing: border-box;
      backdrop-filter: saturate(180%) blur(10px);
      color: black;
      display: flex;
      gap: 20px;
      overflow: hidden; /* без скроллов */
    }

    /* Левая часть с изображением фиксированного размера */
    .image-box {
    

    
    background-color: #e0e0e0;
      width: 300px;
      height: 300px;
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      box-sizing: border-box;
      flex-shrink: 0;
    }
    .image-box img {
      width: 280px;
      height: 280px;
      border-radius: 5px;
      object-fit: cover;
      display: block;
    }

    /* Правая часть с текстом фиксированного размера */
    .text-box {
		
      width: 600px;   /*  текста */
      height: 300px;
	  
      overflow-y: auto;
      padding-left: 20px; /* отступ текста */
      padding-right: 10px;
    }
	
	/* слайд */
	#slideshow img {
  display: none;
  width: 280px;
  height: 180px;
  border-radius: 5px;
}

#slideshow img.active {
  display: block;
}

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	