body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #1A2638;
  margin: 0;
  padding: 0;
  flex: auto;
}

header {
    background: #0F1923;
    color: #fff;
    padding: 1em 0;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-container {
    position: absolute;
    margin-top: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.logo {
    display: inline-block;
}

.buttonVhod {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-shadow: 2px 2px 20px #0F1923;
    background: linear-gradient(45deg, #54CBC8, #0063FF);
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    border-radius: 25px;
    position: absolute;
    left: 150px; /* Отступ от левого края */
}
.logoimg {
  width: 200px;
  height: 40px;
}

.site_title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site_title h1 {
  color: rgb(255, 255, 255);
}

.site_title p {
  color: rgb(77, 255, 0);
}

.form {
  text-align: left;
  background-color: #0F1923;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  color: white;
  font-size: small;
}

.section {
  text-align: center;
  background-color: #0F1923;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  color: white;
  font-size: 14px;
}

p {
  font-size: 1.2em;
}

.mirrorButton {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 2px 2px 20px #0F1923;
  background: linear-gradient(45deg, #54CBC8, #0063FF);
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  border-radius: 25px;
  padding: 7px 15px;
  display: inline-block;
}

.blockText {
  text-align: left;
}

.ulText {
  color: white;
  text-align: left;
  font-size: 16px;
}

.mirrorImg {
  border-radius: 15px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
  font-size: 16px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group textarea {
  width: calc(100% - 12px);
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-group textarea {
  height: 120px;
}

.form-group button {
  background: linear-gradient(45deg, #54CBC8, #0063FF);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
}

.form-group button:hover {
  background-color: #0056b3;
}

footer, a, .guard {
  color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Если элементы должны быть выровнены по вертикали */
}

footer .date-container {
  color: rgb(77, 255, 0);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* Если элементы должны быть выровнены по вертикали */
}


.img {
  width: 100%;
  height: auto;
  max-width: 800px; /* Максимальная ширина для больших экранов */
}

@media only screen and (max-width: 1150px) {
  .buttonVhod {
    left: 20px; /* Отступ от левого края */
  }
}

@media only screen and (max-width: 1000px) {
  .buttonVhod {
    left: 20px; /* Отступ от левого края */
  }
}

/* Mobile */
@media only screen and (max-width: 700px) {
  header {
    padding: 0.5em 0;
    padding-bottom: 50px;
  }

  .container {
    padding: 0.5em;
  }

  .content {
    padding: 0.5em;
  }

  h1 {
    font-size: 1.5em;
  }

  p {
    font-size: 1.1em;
  }

  .mirrorButton {
    font-size: 0.9em;
    padding: 10px;
  }

  .date-container {
    display: inline-block;
    padding: 0px;
    margin-top: 0px;
  }

  .buttonVhod {
    padding: 8px 14px;
    left: 10px; /* Отступ от левого края */
  }

  .img {
    max-width: 75%; /* Максимальная ширина для мобильных устройств */
  }
}

/* Стили для отзывов */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
  padding: 0 10px;
}

.review {
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.8), rgba(45, 55, 72, 0.6));
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(84, 203, 200, 0.2);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(84, 203, 200, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.review::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #54CBC8, #4FD1C7, #54CBC8);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.review:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(84, 203, 200, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(84, 203, 200, 0.4);
}

.review h3 {
  color: #54CBC8;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.review h3::before {
  content: '⭐';
  font-size: 16px;
  opacity: 0.8;
}

.review p {
  font-style: italic;
  color: #f1f5f9;
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
  position: relative;
  padding-left: 20px;
}

.review p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 24px;
  color: #54CBC8;
  opacity: 0.6;
  font-family: serif;
}

/* Стили для информации об авторе */
.author-info {
  background: linear-gradient(135deg, #2d3748, #1a2332);
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
  border: 1px solid #54CBC8;
}

.author-info h3 {
  color: #54CBC8;
  margin-bottom: 15px;
  font-size: 18px;
}

.author-info p {
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0;
}

/* Адаптивность для отзывов */
@media only screen and (max-width: 700px) {
  .reviews {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
    padding: 0 5px;
  }
  
  .review {
    padding: 20px;
    border-radius: 12px;
  }
  
  .review h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .review p {
    font-size: 14px;
    padding-left: 18px;
  }
  
  .review p::before {
    font-size: 20px;
    top: -3px;
  }
  
  .author-info {
    padding: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .reviews {
    gap: 15px;
  }
  
  .review {
    padding: 18px;
  }
  
  .review h3 {
    font-size: 15px;
  }
  
  .review p {
    font-size: 13px;
    line-height: 1.6;
  }
}