*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
background: #e2dedb;
}
header {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: #e2dedb;
  color: white;
  padding: 1rem 0;
  align-items: center;
  border: 1px solid rgb(159, 159, 159);
}

.container1, .container {
  width: 80%;
  margin: 0 auto;
}

.container1 {
  display: flex;
  justify-content: space-between;
}

#commonMenu{
  display: flex;

}

#menu {
  display: none;
}

#menuToggle {
  position: relative;
  display: none;
  right: 20%;
}
#authBlock:hover .dropdown-content {
  display: block;
  position: absolute;
left: -20%;
}
#authBlock{
  display: block;
  
}
.text {
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}
/* 
.menu_button {
  width: 15%;
  height: 50px;
  color: #fff;
  background: #111;

  border-radius: 50px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
  margin-right: 30px;
  padding: 0 30px;
}

.menu_button:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 30px;
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  background-size: 400%;
  filter: blur(5px);
  opacity: 0;
  transition: opacity .3s ease-in-out;
  z-index: -1;
  animation: glowing 20s linear infinite;
}

.menu_button:hover:before {
  opacity: 1;
}

.menu_button:active {
  color: #000;
}

.menu_button:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  top: 0;
  right: 0;
  border-radius: 30px;
  z-index: -1;
} */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
.menu_button {
  background-color: transparent; /* Початковий фон */
  color: black; /* Початковий колір тексту */
  border: 2px solid black; /* Чорна рамка */
  padding: 10px 20px; /* Внутрішні відступи */
  border-radius: 25px; /* Закруглені кути */
  font-size: 16px; /* Розмір тексту */
  cursor: pointer; /* Курсор у вигляді руки */
  transition: background-color 0.3s, color 0.3s; /* Плавна зміна кольору */
  font-family: 'Montserrat', sans-serif;
}

.menu_button:hover {
  background-color: black; /* Чорний фон при наведенні */
  color: white; /* Білий текст при наведенні */
}



@keyframes glowing {
  0% { background-position: 0 0; }
  50% { background-position: 400% 0; }
  100% { background-position: 0 0; }
}

.menu_button a, p {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  
}

.button-container {
  display: inline-block;
}

.wave-button {
  position: relative;
  padding: 15px 30px;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  background-color: #3498db;
  border-radius: 50px;
  overflow: hidden;
  transition: color 0.4s ease;
}

.wave-button:hover {
  color: #3498db;
}

.wave-button::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  border-radius: 50px;
}

.wave-button:hover::before {
  transform: translateY(0);
}

.wave-button:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
  transform: translateY(100%);
  transition: transform 0.7s ease;
  border-radius: 50px;
}

.wave-button:hover::after {
  transform: translateY(0);
}
.dropdown {
  position: absolute;
  display: inline-block;
  margin: 0;
}

.text {
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
}

.dropdown-content {
  display: none;

  background-color: white;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 5px;
  z-index: 3;
  margin-right: 30px;
}

h1{
  color:#000000;
}
a{
  text-decoration: none;
  font-size: 90%;
  font-weight: bold;
  z-index: 10;
}





.button {
  background-color: transparent; /* Початковий фон */
  color: black; /* Початковий колір тексту */
  border: 2px solid black; /* Чорна рамка */
  padding: 10px 20px; /* Внутрішні відступи */
  border-radius: 25px; /* Закруглені кути */
  font-size: 16px; /* Розмір тексту */
  cursor: pointer; /* Курсор у вигляді руки */
  transition: background-color 0.3s, color 0.3s; /* Плавна зміна кольору */
  margin: 10px;
  text-align: center; /* Центрує текст */
  display: flex; /* Робить кнопку блоком для вирівнювання */
  align-items: center; /* Вертикальне центрування */
  justify-content: center; /* Горизонтальне центрування */
  white-space: nowrap;
}

.button:hover {
  background-color: black; /* Чорний фон при наведенні */
  color: white; /* Білий текст при наведенні */
}

