.tabs input {
    display: none;
  }
  
  .tabs-container {
    display: flex;
    border-bottom: 2px solid #2c2c2c;
  }
  
  .tabs-container label {
    padding: 12px 20px;
    background: #333;
    color: white;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-right: 5px;
  }
  
  .tabs-container label:hover {
    background: rgba(124, 124, 124, 0.5);
  }
  
  .tabs-content {
    background: rgba(33, 33, 33, 0.5);
    padding: 20px;
    color: white;
  }
  
  .tab-content {
    display: none;
  }
  
  #tab1:checked ~ .tabs-content .content1,
  #tab2:checked ~ .tabs-content .content2,
  #tab3:checked ~ .tabs-content .content3,
  #tab4:checked ~ .tabs-content .content4 {
    display: block;
  }
  .spoiler {
    width: 100%;
  }
  
  .spoiler-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #333;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    position: relative;
    top: -3px;
  }
  
  .spoiler-content {
    display: none;
    padding: 10px;
    background: rgba(33, 33, 33, 0.5);
    color: white;
    border-radius: 5px;
    margin-top: 5px;
  }
 
  .spoiler-toggle {
    display: none;
  }
  
  .spoiler-toggle:checked ~ .spoiler-content {
    display: block;
  }
  
  .spoiler-toggle:checked ~ .spoiler-title .arrow {
    transform: rotate(-135deg);
    top: 0;
  }
  .wr {
    background: rgb(72, 0, 0);
  }
  .wb {
    background: #000;
  }
  
  @media (max-width: 500px) {
    .tabs-content {
      padding: 10px;
    }
  .tabs-container {
    flex-wrap: wrap;
  }
  .tabs-container label {
    padding: 10px;
  }
}