.drop {
  position: relative;
  display: inline-block;
}

.drop-button {
  background-color: #ffffff00;
  color: rgb(255, 255, 255);
  padding: 10px 20px;
}

.drop:hover .drop-content {
  max-height: 1000px;
  display: block;
}

.drop:hover .drop-button {
  background-color: #fbc02d;
  color: #000000;
}

.dropright {
  display: inline-block;
}

/* Для телефонов (максимум 600px) */

@media (max-width: 600px) {
  .dropright-content {
    width: 90%;
  }
  .dropright-content .text {
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  header a {
    color: #ffffff;
    margin: 5px;
    padding: 5px;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
  }
  .name_marcet {
    font-size: 12px;
    color: #ffffff;
  }
  header a.logo {
    font-size: 18px;
    font-weight: bold;
  }
  .schedule-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    font-size: 12px;
  }
}

@media (min-width: 601px) {
  .dropright-content .text {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  header a {
    color: #ffffff;
    margin: 5px;
    padding: 5px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 4px;
  }
  .name_marcet {
    font-size: 18px;
    color: #ffffff;
  }
  header a.logo {
    font-size: 25px;
    font-weight: bold;
  }
  .schedule-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    font-size: 18px;
  }
}

.text div {
  padding: 15px 20px;
  width: 200px;
  background-color: #ffffff;
}

.dropright-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropright-content a:hover {
  background-color: #ddd;
}

.dropright:hover .dropright-content {
  min-height: 300px;
  max-height: 1000px;
}

.dropright:hover .dropright-button {
  background-color: #6c6c6c;
}

.text a {
  margin: 0px;
  padding: 5px;
}

.drop_info {
  right: 0px;
  top: 0px;
}

.drop_info-button {
  background-color: #ffffff00;
  color: rgb(255, 255, 255);
  padding: 10px 20px;
}

.drop_info-content {
  background-color: #ffffff;
  position: absolute;
  top: 55px;
  right: 10px;
  width: max-content;
  padding: 0px 40px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  z-index: 1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.drop_info-content p {
  color: rgb(0, 0, 0);
  padding: 5px 5px;
  margin: 5px 5px;
  text-decoration: none;
}

.drop_info:hover .drop_info-content {
  max-height: 1000px;
}

.drop_info:hover .drop_info-button {
  background-color: #fbc02d;
  color: #000000;
}
.drop_info:hover .name_marcet {
  background-color: #fbc02d;
  color: #000000;
}
