/* ------------------------ logo ------------------------ */
.block_logo {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  width: 140px;
}

.logo_first_part {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: rgb(0, 0, 0);
  font-size: var(--logo-part-one);
  font-family: 'Times New Roman', Times, serif;
  transform: scale(1.05);
  box-shadow: 5px 5px 20px black;
  transition: 0.5s;
}

.logo_second_part {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--logo-part-two);
  font-family: 'Impact', Courier, monospace;
}

/* ---------- top menu buttons------------- */
.top_menu {
  height: 100%;
  margin-right: 10px;
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.top_menu_block_btn {
  float: left;
  width: 150px;
  height: 50px;
  line-height: 50px;
  margin-right: 5px;
  opacity: 0.8;
  text-align: center;
  font-size: var(--top-menu-btn);
  font-weight: bold;
  list-style: none;
}

.list_first_element {
  height: 10px;
  width: 615px;
  background-color: rgb(0, 0, 0);
}

.last_column {
  width: 305px;
  margin-left: -155px;
}

.top_menu_block_btn_add {
  width: 615px;
  padding: 0 10px 10px;
  background-color: black;
}

.top_menu_block_btn_add_last_column {
  width: 305px;
  margin-left: -155px;
  padding: 0 10px 10px;
  background-color: black;
}

.btn_name {
  text-decoration: none;
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  display: block;
}

.btn_name:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(0, 0, 0);
  transition: 0.3s;
  font-weight: bold;
}

.add {
  transition: 0.3s;
  text-align: start;
  font-size: var(--top-menu-menu-additional);
  padding-left: 10px;
}

ul li ul li {
  display: none;
}

ul li:hover ul li {
  display: block;
}

/* Mobile menu styles */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1000;
}

/* Responsive styles */
@media (max-width: 1100px) {
  .top_menu_main_block_btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .top_menu {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 50px;
  }
  
  .top_menu_block_btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .top_menu.active {
    display: flex;
  }
}

@media (max-width: 800px) {
  .block_logo {

    padding: 1%;
    width: 15vw;
    height: 15vw;
  
    margin: 5px;
  
    /* background-color: rgb(233, 233, 233); */
  
  }
  
  .logo_first_part {
  
    width: 100%;
    height: 75%;
    font-size: 5vw;
  
  }
  
  .logo_second_part {
  
    width: 100%;
    font-size: 3vw;
  
    }
  
  
}