@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

*
{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}
header
{
  background-image: url(b4b7d53a-6315-4d7d-804a-54bdf40d2d6f.jpg);
  width: 100%;
  height: 1300px;
  background-repeat: no-repeat;
  margin: 0px;
  padding: 0px;
  background-attachment: fixed;
  text-align: center;
  display: flex;
  background-position-x: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.history
{
  font-size: 150px;
  font-family: 'Avenir', sans-serif;                                              
  font-optical-sizing: auto;
  font-style: normal;
  color: white;
}
.header-about
{
  font-size: 60px;
  color: white;
  text-shadow: #000000 1px;
}
.about-site
{
  width: 100%;
  height: 500px;
  text-align: center;
  font-size: 25px;
  display: flex;
  justify-content: center;
}
.about-site-p
{
  animation-name: about-site-p;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;

} 
.about-site-div
{
  align-items: center;
  justify-content: center;
  margin-top: 5%;
}
.wikipedia
{
    margin-top: 30px;
}
.footer {
    position: absolute;
    
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 100%;
    background: #0a0a0a;
    border-radius: 6px;
    margin-top: 250px;
  }
  .footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3.5rem;
    padding: 60px;
  }
  .footer-row .footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
  }
  .footer-col .links {
    margin-top: 20px;
  }
  .footer-col .links li {
    list-style: none;
    margin-bottom: 10px;
  }
  .footer-col .links li a {
    text-decoration: none;
    color: #bfbfbf;
  }
  .footer-col .links li a:hover {
    color: #fff;
  }
  .footer-col p {
    margin: 20px 0;
    color: #bfbfbf;
    max-width: 300px;
  }
  .footer-col form {
    display: flex;
    gap: 5px;
  }
  .footer-col input {
    height: 40px;
    border-radius: 6px;
    background: none;
    width: 100%;
    outline: none;
    border: 1px solid #ffffff ;
    caret-color: #fff;
    color: #fff;
    padding-left: 10px;
  }
  .footer-col input::placeholder {
    color: #ccc;
  }
   .footer-col form button {
    background: #fff;
    outline: none;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s ease;
  }
  .footer-col form button:hover {
    background: #cecccc;
  }
  .footer-col .icons {
    display: flex;
    margin-top: 30px;
    gap: 30px;
    cursor: pointer;
  }
  .footer-col .icons i {
    color: #afb6c7;
  }
  .footer-col .icons i:hover  {
    color: #fff;
  }
  @media (max-width: 768px) {
    .footer {
      position: relative;
      bottom: 0;
      left: 0;
      transform: none;
      width: 100%;
      border-radius: 0;
    }
    .footer .footer-row {
      padding: 20px;
      gap: 1rem;
    }
    .footer-col form {
      display: block;
    }
    .footer-col form :where(input, button) {
      width: 100%;
    }
    .footer-col form button {
      margin: 10px 0 0 0;
    }
  }
  #popup-container {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-x: hidden;
    padding-top: 60px;
    animation: fadeIn 0.5s ease-in-out; /* Анимация плавного появления */
  }
  
  @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
  }
  
  #popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  #contact-form label {
    display: block;
    margin-bottom: 10px;
  }
  
  #contact-form input[type="text"],
  #contact-form input[type="email"],
  #contact-form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }
  
  #contact-form button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  #contact-form button:hover {
    background-color: #45a049;
  }