:root{
  --deco:#046ab1;
 --contrast:#990099;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;

}

.wrapper {
  width: 90%;
  max-width: 900px;

}
.image{
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), /* слабая мягкая тень */
  0 6px 20px rgba(0, 0, 0, 0.1); /* более глубокая тень */
}
.logoLine{
  display:flex;
  justify-content: space-evenly;
  align-items: center;
  margin:19px;  
}
.logo{
  width:200px;
  height:auto;
}

.espaBanner{
  width:400px;
  height:auto;
}
header {
  background-color: white;
  color: #fff;
  padding: 15px 0;
  text-align: center;
}
.flag{
width:32px;
height:auto;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  background-color:  var(--deco);
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 15px 10px;
  display: block;
}

nav ul li a:hover {
  background-color: var(--contrast);
}
nav ul > li > a.active{
  font-weight: 800;
}

.container {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.content {
  text-align: center;
}
.list{
  text-align: left;
}
.entona{
  font-size: larger;
}
.content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.content p {
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
}

footer {
  background-color:  var(--deco);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}
footer a{
  text-decoration: none;
  color:white;
}

.address {

  width: 60%;
  margin:auto auto;
  text-align: center;
}
iframe{
  width:60%;
}
.table-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: calc(750px * 3 + 4px);
  margin: 0 auto;
  align-items: stretch; /* Выравниваем элементы по высоте */
  justify-content: center;
  height: 100%;
}

.table-item {
  border-radius: 10px;

  width: 250px;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Выравниваем текст по верхнему краю */
  border-left: 2px solid #410202;
  text-align: left;
  padding: 12px;
  flex-grow: 1; /* Все элементы будут занимать одинаковое пространство */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), /* слабая мягкая тень */
  0 6px 20px rgba(0, 0, 0, 0.1); /* более глубокая тень */
}

/* Стиль для заголовков h2 внутри table-item */
.table-item:nth-child(odd) h2 {
  color: var(--deco);
}

.table-item:nth-child(even) h2 {
  color: var(--contrast);
}
.table-item:nth-child(odd) {
  border-left: 2px solid var(--contrast);
}

.table-item:nth-child(even) {
  border-left: 2px solid var(--deco);
}


@media (max-width: 768px) {
  nav ul {
  
      flex-direction: column;
  }

  nav ul li {
      margin: 10px 0;
  }

  .content p {
      font-size: 16px;
  }

  .logoLine{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin:10px;
    height: 200px;
    gap: 20px;
  }
    iframe{
      width:60%;
    }
    .espaBanner{
      width: 80%;
    }
    .logo{
      width: 120px;
    }
  
}
