/*@charset  "utf-8";*/

@font-face { 
	font-family: 'Open Sans'; 
	src: url('/fonts/OpenSans-Regular.ttf'); 
}

body {
	margin:0px;
	padding:0px;
	background-color: #ffffff; 
	/* font-family: Arial,Helvetica,sans-serif; */
	font-family: 'Open Sans', sans-serif;
       
}

.logo img {
  width: 100px;
  height: 67px;
}

#maincontent {
	position:relative;
	width:1100px;
	margin:0px auto;
	padding:0px; 
	background-color: #FFFFFF; 
}


/* --- Базовая шапка --- */
header {
  position: relative;
  width: 100%;
  background-color: #000;
}

.header-container {
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.right-group {
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative; /* Для позиционирования выпадающего меню */
}

.about-link {
  color: #fff;
  text-decoration: none;
}

/* --- Кнопка и меню --- */

/* Скрываем сам чекбокс */
.menu-toggle {
  display: none;
}

/* Иконка гамбургера (3 полоски) */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 10;
}

.burger-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Скрытое выпадающее меню */
.nav-menu {
  display: none; /* По умолчанию скрыто */
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 15px;
  background-color: #111;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 15px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  min-width: 160px;
  z-index: 1000;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  display: block;
}

.nav-menu a:hover {
  color: #007bff;
}

/* --- Магия открывания по клику --- */

/* Показывать меню, когда чекбокс активен */
.menu-toggle:checked ~ .nav-menu {
  display: block;
}

/* Анимация иконки в крестик при открытии */
.menu-toggle:checked ~ .burger-btn span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle:checked ~ .burger-btn span:nth-child(2) {
  opacity: 0;
}
.menu-toggle:checked ~ .burger-btn span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


@media (max-width: 768px) {
  #maincontent {
    width: auto !important;
  }
}