:root {
  --black: #1A1A1A;
  
  --yellow: #F5E76E;
  --white: #EEF2F5;
  --gray-01: #4A4A4A;
  --gray-02: #363636;
  --secondary: #BABABA;
  --shadow-01: 0px 1px 3px 1px rgba(0, 0, 0, 0.14), 0px 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-02: 0px 2px 6px 2px rgba(0, 0, 0, 0.14), 0px 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-03: 0px 4px 8px 3px rgba(0, 0, 0, 0.14), 0px 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-04: 0px 6px 10px 4px rgba(0, 0, 0, 0.14), 0px 2px 3px rgba(0, 0, 0, 0.3);
  --shadow-05: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
  --yellow-90:rgba(245, 231, 110, 0.9);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-4: rgba(255, 255, 255, 0.04);
  --white-70: rgba(255, 255, 255, 0.7);


  --surface: #363636;
  --surface-hover: #404040;
  --white-100: #ffffff;
  --white-88:  rgba(255, 255, 255, 0.88);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-24: rgba(255, 255, 255, 0.24);
  --bg-night: #222;
    

}



.menu li::before{
  visibility: hidden;
}

.restyled-footer-social-items li::before{
  visibility: hidden;
}

.menu {
      display: flex;
      flex-direction: row;
      list-style-type: none;
      justify-content: center;
      align-content: flex-start;
      margin: 0px;
      background-color: var(--gray-01);
      border-radius: 10px;
      padding:  0px;
    }
    
    .menu > li {
      margin: 0px;
      overflow: hidden;
      padding: 10px 16px;
    }

    .menu > li:hover {
      background-color: var(--white-12);
    }

 	.menu > li:first-child {
      border-radius: 10px 0px 0px 10px;
    }

	.menu > li:last-child {
      border-radius: 0px 10px 10px 0px;
    }
     .menu > li >a{
    width: 100%;
    height: 100%;
       text-align: center;}

    .menu-button-container {
      display: none;
      height: 100%;
      width: 30px;
      cursor: pointer;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    
    #menu-toggle {
      display: none;
    }
    
    .menu-button,
    .menu-button::before,
    .menu-button::after {
      display: block;
      background-color: #fff;
      position: absolute;
      height: 3px;
      width: 30px;
      transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
      border-radius: 2px;
    }
    
    .menu-button::before {
      content: '';
      margin-top: -8px;
    }
    
    .menu-button::after {
      content: '';
      margin-top: 8px;
    }
    
    #menu-toggle:checked + .menu-button-container .menu-button::before {
      margin-top: 0px;
      transform: rotate(45deg);
    }
    
    #menu-toggle:checked + .menu-button-container .menu-button {
      background: rgba(255, 255, 255, 0);
    }
    
    #menu-toggle:checked + .menu-button-container .menu-button::after {
      margin-top: 0px;
      transform: rotate(-45deg);
    }
    
    @media (max-width: 767px) {
      .menu-button-container {
        display: block;
        position: absolute;
        top: 30px;
        right: 20px;
      }

      .menu > li:first-child {
      border-radius: 0px;
    }

	.menu > li:last-child {
      border-radius: 0px;
    }
      
      .image-contain{
        width: 85%;
        height: 85%;
      }
      .menu {
        position: absolute;
        top: 0;
        margin-top: 70px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        border-radius:10px;
      }
      
      #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
      }
      #menu-toggle:checked ~ .menu li {
        border: 1px solid #333;
        height: 2.5em;
        
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
      }
      .menu > li {
        font-size:16px !important;
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #222;
      }
      
      .menu > li > a {
        padding: 0.5em;
      }
      
      
      .menu > li:not(:last-child) {
        border-bottom: 1px solid #444;
      }
      
      
      
    }
.restyled-header{
  background-color: rgba(25, 25, 25, 0.85);
  padding-bottom: 10px;
}

.g-btn{
  box-shadow: var(--shadow-02);
  background-color: var(--yellow-90);

}

.restyled-header__button-yellow{
  font-size: 16px;
  height: 40px !important;
  box-shadow: var(--shadow-02);
}

.g-btn:hover {
  cursor: pointer;
  background-color: var(--yellow);
  box-shadow: var(--shadow-03);
}

  .restyled-header__button-yellow{
    font-size: 16px;
    height: 40px !important;
    box-shadow: var(--shadow-02);
  }

.restyled-header__button-yellow.g-btn {
    margin-left: 0px !important;
}

/* Стили для кнопки   */
.dropbtn {  
    background-color: transparent;  
    color: white;  
  
    font-size: 16px;  
    border: none;  
    cursor: pointer;  
}  
/* Контейнер для выпадающего списка   */
.dropdown {  
    position: relative;  
    display: inline-block;  
}  
/* Скрытый контент выпадающего списка   */
.dropdown-content {  
    display: none;  
    position: fixed;  
    background-color: #363636;  
    min-width: 160px;  
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);  
    z-index: 1; 
    border-radius: 10px; 
}  
/* Стили для ссылок внутри выпадающего списка */
.dropdown-content a {  
    color: #fff;  
    padding: 12px 16px;  
    text-decoration: none;  
    display: block;  
}  
/* Стили для ссылок при наведении  */
.dropdown-content a:hover {  
    background-color: #F5E76E;  
     border-radius: 10px; 
     color: #363636;
}  
/* Показать выпадающий список при наведении на кнопку */
.dropdown:hover .dropdown-content {  
    display: block;  
}  

/* Мобильная адаптация */
@media (max-width: 767px) {
    .dropdown > .dropbtn  {
        padding: 0.5em;
    }  

    /* Скрытый по умолчанию */
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Показать при .show */
.dropdown-content.show {
  max-height: 500px; /* Задаем заведомо большую высоту, больше контента */
}
  } 

  