html, body { margin:0; padding:0; width:100%; height:100% }

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}



.main1 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: calc(100% - 250px)
 
}

.top-header {
  background-color: #1E2019;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 24px 32px;
  position: relative;
}

.header-logo {
  color: #FFFBFA;
  font-size: 32px;
  margin: 0;
  padding-bottom: 32px;
}

.new-btn {
  align-self: flex-start;
}

.btn-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  flex: 1;
}

.range_container {
  display: flex;
  gap: 8px;
}

.range-1 {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.range, .speed {
  color: #FFFBFA;
  font-size: 18px;
}
.sorting-container {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  gap: 8px;
}

.bar {
  width: 20px;
  background-color: #6279B8;
  transition: 0.2s all ease;
}

.block_id {
    position: absolute;
    top: -24px;
    width: 100%;
    text-align: center;
    font-size: 12px;
}


.btn {
  background-color: #92374D;
  color: #FFFBFA;
  font-weight: bold;
  border-radius: 7px;
  padding: 0.5rem 0.75rem;
  height: 3rem;
  border: 1px solid #FFFBFA;
}

.btn:hover {
  cursor: pointer;
  background-color: #FFFBFA;
  color: #92374D;
  border: 1px solid #92374D;
}

.btn:disabled {
  opacity: 0.8;
}

.btn:disabled:hover {
  background-color: #92374D;
  color:  #FFFBFA;
  font-weight: bold;
  border-radius: 7px;
  padding: 0.5rem 0.75rem;
  height: 3rem;
  border: 1px solid #FFFBFA;
}
.aa {
  display: flex;
  flex: 1;
  justify-content: space-between;
}


@media (max-width: 1050px) {

  .top-header {
 
    padding: 24px 32px;
  }

  .btn-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap: 12px;
  }
  
  .sorting-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 4px;
    
  }
  .aa {
    padding-left: 12px;
    align-content: center;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
   
  }
}










