

* {
  margin: 0;
  padding: 0;
}



body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  color: black;
  text-align: center;
}

header {
  background-color: white;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex; 
  justify-content: space-between;
  margin-bottom: 20px;
}

main {
  display: flex;
  justify-content: space-around;
  gap:10%;
}

.logo_gr  {
  width: 220px;
  display: flex;
  text-align: left;
  font-size: large;
  align-items: center;
  gap: 10px;
}

#logo_img {
  width: 40px;
  /* height: 40px; */
}

.btn-group {
  display: flex;
  gap: 10px;
  text-decoration: none;
  }

  .btn-group a{
  text-decoration: none;
  }

.btn {
  padding: 14px 20px;
  border: 2px solid #0e7d96;
  background-color: transparent;
  color: #0e7d96;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
  font-weight: bold;
}

.btn:hover {
  background-color: #e8f5e9;
}

.btn.active {
  background-color: #0e7d96;
  color: white;
}

.users {
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

#user {
  border-radius: 50%;
  border: solid 0.5px gray;
  width: 60px;
}

#search {
  border: none;
  border-bottom: solid 1px #0e7d96;  
  border-right: solid 1px #0e7d96;
  box-shadow: -2px -2px gray;  
  font-size: 16px;
  margin-right: 10px;
}

#search:hover {
  box-shadow: none;
  border: solid 1px #380aee;  
  /* border-right: solid 1px #380aee; */
  background-color: antiquewhite;
  color: blue;
}

section {
  display: flex;
  gap: 30px;
}

.section1 {
  width: 50%;

}

.title_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}



/* grafiglar  */

.semi-circle-container {
  position: relative;
  margin: 0 auto;
  width: 200px;
  height: 100px;
  overflow: hidden;
}

.semi-circle-bg, .semi-circle-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 15px solid #0e7d96;
  box-sizing: border-box;
}

.semi-circle-fill {
  border-color: #e0e0e0;
  clip-path: inset(0 0 50% 0);
  transform: rotate(0deg);
  transition: transform 0.5s ease-in-out;
}

.center-text {
  color: #0e7d96;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  font-weight: bold;
}


    /*! status button  */

#status {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);      
    background-color: #f9f9f9;
    cursor: pointer;
    border-radius: 1em;
}

.title {
  text-align: left;
  font-weight: normal;
}

.title>b {
  font-size: 35px;
  font-weight: bold;
}

#status p {
    margin: 0 0 10px 0;
    font-weight: bold;
}

.doira {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: green;
    transition: background-color 0.3s;
}

/* * status button */

/* ?!  weather */
.weather {
  display: flex;
  flex-wrap: wrap;
  /* flex-wrap: wrap; */
  gap: 20px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  width: 90%;
  height: 470px;
  background-image: url(../img/water.jpg );
  background-repeat: no-repeat;
  background-size: 100%;
}

/* Har bir info blok */
.info_temp,
.info_ph,
.info_tds{
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }

/* Info sarlavhalari uchun umumiy uslub */
.info_temp::before,
.info_ph::before,
.info_tds::before,
.info_date::before {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}


.info_temp:hover,
.info_ph:hover,
.info_tds:hover {
  border: 1px solid #0e7d96;
  border-radius: 15px;
  background-color: linen;
  box-shadow: none;
}



/* P elementlar */
#info_temp,
#info_ph,
#info_tds,
#date_i {
    font-size: 16px;
    font-weight: 900;
    /* color: #333; */
    margin: 5px 0 0 0;
}

.info_temp {
  position: absolute;
  transform: translate(40px, 100px);
}

.info_ph {
  position: absolute;
  transform: translate(270px, 40px);
}

.info_tds {
  position: absolute;
  transform: translate(50px, 380px);
}

.info_date {
  width: 130px;
  height: 90px;
  border-radius: 1em;
  position: absolute;
  transform: translate(300px, 280px);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.info_date>div {
  display: flex;
  /* justify-content: space-evenly; */
  gap: 40px;
}

#weather_user {
  border-radius: 50%;
}

/* Sana bloki */
#info_date {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info_date p {
  margin-top: 5px;
}

/* pre elementi (day) */
#info_date pre {
    font-size: 20px;
    margin: 0;
}

/* ob-havo rasmi */
#weather_user {
    width: 30px;
    height: 30px;
    margin: 5px 0;
}


/*  ? water  */

.section2 {
  width: 50%;
}

.select_top {
  display: flex;
  justify-content: space-between;
}



.water_item1 {
  padding: 15px;
  border-radius: 1em;
  width: 100%;
  box-shadow:  0 0 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

/*! new styles */

.wat_vol {
  width: 600px;
  /* width: 100%; */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

#title_wat, #title_vol {
  margin-bottom: 10px;
}

.item_wat, .item_vol {
  background: rgba(0, 0, 0, 0.1);
  padding: 5px 5px ;
  border-radius: 1vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 11px;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

#water img, #volume img {
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
}

#water, #volume {
  width: 260px;
  height: 200px;
  padding: 15px;
  border-radius: 1em;
  box-shadow:  0 0 10px rgba(0, 0, 0, 0.5);
  text-align: left;

}





/*  ! ul-li */

ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  list-style: none;
  margin: 0;
}

/* ? ul-li */

#info_wat {
  margin-bottom: 20px;
}

.item_wat1 {
  width: 120px;
  padding: 0 ;
  text-align: left;
  background-color: white;
  flex-wrap: wrap;
  font-size: 20px;
  align-items: center;
  margin: 0;

  /* gap: 10px; */
  margin-bottom: 10px;
}

.turb {
  display: flex;
  justify-content: space-between;
}

#water img:last-child {
  width: 30px;
  height: 30px;
}








/* ! img */


.strelka {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: solid 0.5px cyan;
  background-color: #0e7d96;
}



#diagram-img {
  width: 100%;
}

#ring, #user 
{
  width: 25px;
}



/* diagramma uchun  */

.diagram-box {
  width: 96%;
  height: 200px;
  border: 1px solid #ccc;
  margin-top: 10px;
  padding: 10px;
  background-color: #f9f9f9;
}
