/* Светлая тема (по умолчанию) */
body {
  background-color: #ffffff;
  color: #000000;
  transition: background-color 0.3s, color 0.3s;
}

/* Темная тема */
body.dark-theme {
  background-color: #121212;
  color: #ffffff;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
/* Стили для кнопки */
#theme-toggle {
  padding: 10px 20px;
  font-size: 24px;
  cursor: pointer;
  border: none;
  background: none;
  transition: transform 0.3s ease;
}

/* Анимация при нажатии */
#theme-toggle:active {
  transform: scale(0.9);
}

/* Скрываем иконку луны по умолчанию */
#moon-icon {
  display: none;
}
/* Стилизация формы */
form {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 35px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: form-entrance 0.5s ease-in-out;
  margin-top: 10%;
}

@keyframes form-entrance {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

label {
  display: block;
  margin-bottom: 10px;
  text-align: left;
  font-weight: bold;
}

input[type="text"],
input[type="password"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 15px;
}

button[type="submit"],
button[type="button"] {
  padding: 10px 25px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 35px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover,
button[type="button"]:hover {
  background-color: #45a049;
}

/* Компактная форма */
form.compact {
  max-width: 300px;
}

/* Дополнительные стили для поля "Отдел" */
select[name="department"] {
  -webkit-appearance: menulist;
  appearance: menulist;
}
.container{
  display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
}
.additional-text {
  text-align: left;
  margin: 20px 0;
}

.text-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  padding-top: 20px;
  color: #5d5d5d;
}


.text-container h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.text-container p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.text-container img {
  display: inline-block;
  margin: 10px;
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.zoomable-image {
  cursor: pointer;
  transition: transform 0.3s;
}

.zoomable-image:hover {
  transform: scale(3.5);
}
.full-image {
  cursor: pointer;
  transition: transform 0.3s;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}
.custom-button0 {
  background-color: #b8b8b8;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.2s;
  width: 100%;
  border-radius: 5px;
}

.custom-button0:hover {
  transform: scale(1.1);
}
.custom-button {
  background-color: #4caf50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.2s;
  width: 100%;
  border-radius: 5px;
}

.custom-button:hover {
  transform: scale(1.1);
}

.custom-button2 {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: transform 0.2s;
  width: 100%;
  border-radius: 5px;
}

.custom-button2:hover {
  transform: scale(1.1);
}

.button-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  transition: transform 0.2s;
}

.button-link:hover {
  transform: scale(1.1);
}

html {
  scroll-behavior: smooth;
}

ol li a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #eaeaea;
  color: #333333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

ol li a:hover {
  background-color: #00cc00;
  color: #ffffff;
}
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: #4CAF50;
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-size: 24px;
  border-radius: 50%;
  z-index: 9999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s, transform 0.3s ease-in-out;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s, 0s, 0s;
}

.scroll-to-top:hover {
  background-color: #6bdc64;
}


.logo{
  position: inherit;
  width: 200px;
  height: auto;
  padding: 20px;
}
span.copyright {
  display: block;
  text-align: -webkit-right;
  padding-top: 20px;
  color: #f2f2f2;
}

@import url('https://fonts.googleapis.com/css?family=Exo:400,700');

*{
    margin: 0px;
    padding: 0px;
}

body{
    font-family: 'Exo', sans-serif;
}


.context {
    width: 100%;
    position: absolute;
    top:50vh;
    
}

.context h1{
    text-align: center;
    color: #fff;
    font-size: 50px;
}


.area{
    background: #2d2d2d;  
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);  
    width: 100%;
    height:100vh;
    
   
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: #4caf50;
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 100%;
    }

}


.logo:hover .glow{
  transform: rotate(45deg) translate(450%, 0);
  transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.logo:hover img,
.logo:hover .glow-wrap{
  margin-top: 0;
}

.buttons_group {
  position: relative;
    display: flex;
    flex-direction: column;
    align-items: unset;
  }