body {
  background-color: #ffffff;
}
.navbar-brand img {
  max-height: 60px;
  width: auto;
}

.navbar-brand img {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.navbar {
  background-color: rgb(207, 158, 23) !important; 
  margin-bottom: 20px;
}

.navbar-brand {
  color: #f8f9fa !important; 
}

.navbar-nav .nav-link {
  color: #000000 !important;
}

.navbar-nav .nav-link:hover {
  color: #2875a1 !important; 
}

.container1 {
  background-color: #ffe8cc;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}
.container2 {
  background-color: #ffffff;
  padding: 20px;
  margin-top: 20px;
}

.page-intro {
  background-color: #ffe8cc;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.navbar-dark .navbar-toggler-icon {
  background-color: rgb(207, 158, 23) !important; /* Цвет иконки меню */
}

.card {
  background-color: #2162a3;
  color: #f8f9fa;
}
.card {
  margin-bottom: 20px;
  text-decoration: none !important; /* Убираем стандартное подчеркивание текста */
}

.card:hover {
  text-decoration: none; /* Убираем подчеркивание при наведении */
  color: rgb(207, 158, 23) !important;
}

.about-me-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-me-img {
  width: 35%; /* Ширина блока с изображением */
  border-radius: 5px;
  overflow: hidden;
}

.about-me-img img {
  width: 100%;
  height: auto;
}

.about-me-text {
  width: 60%; /* Ширина блока с текстом */
  font-size: large;
}

.book-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.book {
  width: 200px;
  margin: 10px;
  text-align: center;
}

.book img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.poetry-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 20px;
  border-top: 2px solid #343a40; /* Цвет верхней границы (перегородки) */
  border-bottom: 2px solid #343a40; /* Цвет нижней границы (перегородки) */
}

.poem {
  flex: 1;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.header-container {
  background-image: url('img/Ward Hill picture.png');
  background-size: cover; /* Растягивает изображение на всю область */
  background-position: center; /* Позиционирует изображение по центру */
  color: white; /* Цвет текста заголовка (если он белый, например) */
  text-align: center; /* Выравнивает текст по центру */
  padding: 100px 0; /* Добавляет внутренний отступ сверху и снизу заголовка */
}

.PeterGunn-img {
  width: 100%; /* Ширина блока с изображением */
  border-radius: 5px;
  overflow: hidden;
}

.PeterGunn-img img {
  width: 100%;
  height: auto;
}

.custom-carousel {
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  height: 550px;
}
.carousel-content {
  display: flex;
  align-items: center;
}
.text-side {
  padding: 40px;
  width: 50%;
}
.image-side {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.3s;
}
.carousel-control-prev {
    left: 20px;
}
.carousel-control-next {
    right: 20px;
}
.carousel-control-prev:hover, 
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}
.carousel-control-prev-icon, 
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}
