@font-face {
  font-family: 'Roboto Condensed';
  src: url("../fonts/Roboto_Condensed-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url("../fonts/Roboto_Condensed-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: bold;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url("../fonts/Roboto_Condensed-Regular.ttf") format("truetype");
  font-weight: normal;
}

@font-face {
  font-family: 'Roboto Condensed';
  src: url("../fonts/Roboto_Condensed-BoldRegular.ttf") format("truetype");
  font-weight: bold;
}

@font-face {
  font-family: 'GothamPro-Bold';
  src: url("../fonts/GothamPro-Bold.eot");
  src: url("../fonts/GothamPro-Bold.eot?#iefix") format("embedded-opentype"), url("../fonts/GothamPro-Bold.otf") format("opentype"), url("../fonts/GothamPro-Bold.woff") format("woff"), url("../fonts/GothamPro-Bold.svg#GothamPro-Bold") format("svg");
  font-style: normal;
  font-weight: normal;
}

body {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
}

.container {
  background-color: #ffffff;
  -webkit-box-shadow: -7px 13px 29px 0 rgba(135, 144, 157, 0.75);
  -moz-box-shadow: -7px 13px 29px 0 rgba(135, 144, 157, 0.75);
  box-shadow: -7px 13px 29px 0 rgba(135, 144, 157, 0.75);
}
  .container section {
    position: relative;
    margin-left: 30px;
    margin-right: 30px;
  }
    .container section .title {
      text-align: center;
      font-size: 24px;
      color: #c7183f;
      font-family: "Roboto Condensed", sans-serif;
      font-weight: bold;
      margin-top: 25px;
      margin-bottom: 20px;
    }
    .container section .porridge-info__box {
      position: absolute;
      top: -30px;
      left: -20px;
      background-color: #ed1c24;
      border: 5px solid #cccccc;
      width: 88px;
      height: 88px;
      display: flex;
      align-items: center;
      justify-content: center;
  text-align: center;
      font-size: 30px;
      line-height: 28px;
      color: #ffffff;
      border-radius: 50%;
      font-family: "GothamPro-Bold";
      text-shadow: 0 1px 1px rgba(75, 120, 11, 0.75);
    }
      .container section .porridge-info__box__info {
        position: relative;
        top: -4px;
      }

.header {
  height: 100px;
  max-width: 1070px;
  margin: auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
}
  .header__img {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    left: 0;
  }
    .header__img img {
      -webkit-box-shadow: -5px 9px 10px 0 rgba(0, 0, 0, 0.5);
      -moz-box-shadow: -5px 9px 10px 0 rgba(0, 0, 0, 0.5);
      box-shadow: -5px 9px 10px 0 rgba(0, 0, 0, 0.5);
      max-width: 550px;
    }
  .header .header__link {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: flex-end;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: bold;
    font-size: 24px;
    color: #093f89;
  }
  .header-image {
    background: url("../images/header-bg.jpg");
    width: 100%;
  }
    .header-image img {
      max-width: 1070px;
      margin: auto;
      border-left: 4px solid #ffffff;
      border-right: 4px solid #ffffff;
    }

.porridge-wrapper {
  width: 100%;
  height: 100%;
  background: url("../images/bg.jpg") center;
}

.porridge-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: baseline;
}
  .porridge-container.items {
    justify-content: center;
  }
    .porridge-container.items .porridge-box {
      margin: 0 10px;
    }

.porridge-info p {
text-indent: 2em;
  text-align: justify;
  color: #666666;
  font-size: 19px;
  line-height: 25px;
  font-family: "Roboto Condensed", sans-serif;
  margin-top: 5px;
}
  .porridge-info p span {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: bold;
  }

.separation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}
  .separation:before {
    content: '';
    width: 100%;
    position: absolute;
    left: 0;
    height: 1px;
    background-color: #999999;
  }
  .separation img {
    padding-left: 5px;
    background-color: #ffffff;
    z-index: 2;
    padding-right: 5px;
  }

.porridge-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 224px;
  }
  
  .porridge-box h4 {
    text-align: center;
    font-size: 18px;
font-style: italic;
    font-family: "Roboto Condensed", sans-serif;
    color: #999999;
    margin-top: 15px;
    margin-bottom: 22px;
    width: 90%;
  }
  .porridge-box .porridge-info__box {
    left: -60px !important;
  }

.scroll-top {
  z-index: 1049;
  position: fixed;
  visibility: visible;
  bottom: 5%;
  right: 5%;
  background: #0d0d0d;
  opacity: 0.6;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 50%;
  border: 0;
  display: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
  .scroll-top svg {
    margin: auto;
    height: 45px;
  }
  .scroll-top:hover {
    opacity: 1;
  }

.footer {
  background-color: rgba(238, 236, 236, 0.7);
  font-size: 24px;
  color: #003366;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: bold;
  border-radius: 10px;
  max-width: 600px;
  padding: 10px;
  margin: 30px auto;
  text-align: center;
}
  
  /* Стиль для головного заголовка H1 */
.porridge-info h1 {
    text-align: center; /* Вирівнювання по центру, як і заголовки секцій */
    font-family: 'Roboto Condensed', sans-serif; /* Використовуємо той самий фірмовий шрифт */
    font-weight: bold;
    color: #c7183f; /* Основний червоний колір вашого бренду */
    font-size: 28px; /* Зробимо його трохи більшим за заголовки секцій (h2) */
    line-height: 1.3; /* Покращимо міжрядковий інтервал для кращої читабельності */
    margin-top: 25px;
    margin-bottom: 25px; /* Додамо відступ знизу, щоб "відділити" від тексту */
}

/* === Виправлення відступу після тексту опису === */

.porridge-info {
    margin-bottom: 40px; /* Створює простір між текстом опису і першим роздільником */
}

@media (min-width: 320px) and (max-width: 991px) {
  .header {
    height: 70px;
  }
    .header img {
      height: 70px;
      left: 0;
    }
    .header-image {
      background-size: cover;
    }
      .header-image img {
        max-width: 70%;
      }
  .scroll-top {
    width: 40px;
    height: 40px;
  }
    .scroll-top svg {
      height: 35px;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
  .container section {
    margin-left: 0;
    margin-right: 0;
  }
    .container section .title {
      width: 80%;
      margin: 25px auto 20px;
padding: 25px;
    }
  .header {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
    .header .header__img {
      position: relative;
    }
    .header .header__link {
      justify-content: center;
    }
  .porridge-info p {
    margin-bottom: 30px;
  }
  .porridge-container {
    justify-content: center;
  }
  .footer {
    font-size: 20px;
  }
}

@media (min-width: 750px) and (max-width: 991px) {
    .container section .title {
      width: 80%;
      margin: 25px auto 20px;
padding: 25px;
    }
  .header-image img {
    width: 750px;
  }
  .header {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
    .header .header__img {
      position: relative;
    }
    .header .header__link {
      justify-content: center;
    }
    }

@media (min-width: 992px) and (max-width: 1200px) {
    .container section .title {
      width: 80%;
      margin: 25px auto 20px;
padding: 25px;
    }
  .header-image img {
    width: 970px;
  }
  .header {
    height: auto;
    flex-direction: column;
    align-items: center;
  }
    .header img {
      position: relative;
    }
    .header .header__link {
      justify-content: center;
    }
}

@media (min-width: 1200px) {
  .container {
    width: 1070px;
  }
    .container section .title {
      width: 80%;
      margin: 25px auto 20px;
padding: 25px;
    }
}

@media (min-width: 320px) and (max-width: 575px) {
  .container {
    margin: 0 10px;
  }
    .container section .title {
      width: 80%;
      margin: 25px auto 20px;
padding: 25px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
  .container {
    margin: 0 20px;
  }
    .container section .title {
      width: 80%;
      margin: 25px auto 20px;
padding: 25px;
    }
}