/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #1e1e1e;
}

.logo img {
    max-width: 100px;
    height: auto;
}

.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.btn-register {
  background-color: #008000; /* зеленый фон */
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 30px; /* округленные углы */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-register:hover {
  background-color: #00a000; /* немного ярче при наведении */
}

/* Псевдоэлемент для пульсирующего эффекта */
.btn-register::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 128, 0, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  pointer-events: none;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}


/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Table Section */
.table-section {
    padding: 2rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background-color: #222;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #1e1e1e;
    margin-top: 2rem;
}

/* Кнопка "Наверх" */
#back-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: none;
    background-color: #013220;
    padding: 0.5rem 1rem;
    border: none;
    outline: 1px solid #00ff00;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8; /* Прозрачность всей кнопки */
}

img {
    width: 100%;
    height: auto;
    display: block;
}

@media only screen and (max-width: 768px) {
    img {
        width: 100%;
        height: auto;
    }
}
