h1,
h4 {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #646363;
}

html {
  font-size: 150%;
}

/* Image */
img.rounded-img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4x 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 1em;
}
#rectangleImage {
  border-radius: 5%;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4% 8% rgba(0, 0, 0, 0.2);
  margin-bottom: 1em;
}

/* Video */
video {
  max-width: 100%;
  height: auto;
  border-radius: 5%;
  box-shadow: 0 4% 8% rgba(0, 0, 0, 0.2);
  margin-bottom: 1em;
}

.text-center {
  text-align: center;
}

.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*background */
.card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 15px;
  text-align: center;
  background-color: #f9f9f9;
}

#contact-page {
  background-image: url("/contact/table.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  font-family: Arial, sans-serif;

  #container1 {
    margin-top: 50px;
    padding: 20px;
    text-align: left;
  }

  #container1 h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
  }

  #container1 .typewriter {
    font-size: 1.3rem;
    color: #000000c8;
    white-space: pre-wrap;
    overflow: hidden;
    border-right: 2px solid #33333300; /* Animation */
    display: inline-block;
    animation: blink 0.1s step-end infinite; /* Animation */
  }

  /* Animation */
  @keyframes blink {
    from {
      border-color: transparent;
    }
    to {
      border-color: #333;
    }
  }
}

/* Основные стили */
#index-page {
  font-family: "Arial", sans-serif;

  background-color: #f9f9f959;
  color: #333;
  margin: 0;
  padding: 0;

  background-image: url("tablehome.jpeg");
  background-size: cover;

  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  }
  /* Video */

  .video-caption {
    color: #555;
  }
}
#index-page {
  h1,
  h4,
  h1 + p {
    animation: fadeInDown 2s ease-in-out;
  }
  h2 {
    color: #555;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#index-page {
  position: relative;
  background: url("tablehome.jpeg") no-repeat center center fixed;
  background-size: cover;
}

#index-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.03);
  z-index: 1;
  pointer-events: none;
}

#index-page {
  position: relative;
  z-index: 2;
}
#index-page {
  .card {
    animation: fadeInUp 2s ease-in-out;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 1rem 0;
}

footer p {
  margin: 0;
}
