@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@font-face {
	font-family: 'audiowide-regular-webfont';
	src: url('../fonts/audiowide-regular-webfont.eot');
	src: url('../fonts/audiowide-regular-webfont.woff') format('woff'), url('../fonts/audiowide-regular-webfont.ttf') format('truetype'), url('../fonts/audiowide-regular-webfont.svg') format('svg');
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
     text-decoration: none;
}

body{
    width: 100%;
    min-height: 100vh;
    background: white;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
}

header .navbar ul{
    list-style: none;
}

header .navbar ul li{
    position: relative;
    float: left;
}

header .navbar ul li a{
    font-size: 18px;
    padding: 20px;
    color: #333;
    display: block;
}
header .navbar ul li a:hover{
    background: #333;
    color: #fff;
}

header .navbar ul li ul {
    position: absolute;
    left: 0;
    width: 200px;
    background: #fff;
    display: none;
}

header .navbar ul li ul li{
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

header .navbar ul li:hover > ul{
    display: initial;
}

#menu-bar{
    display: none;
}
header label{
    font-size: 18px;
    color: #333;
    cursor: pointer;
    display: none;
}

header .fa-bars{
    font-size: 3rem;
    color: #333;
    border-radius: .5rem;
    padding: .5rem 0.5rem;
    cursor: pointer;
    border: .1rem solid rgba(0, 0, 0, .3);
    display: none;
}
.logo{
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img{
    height: 40px;
    max-width: 1200px;
}

.logo h3{
    font-family: audiowide-regular-webfont;
    font-size: 20px;
    color: #78e817;
}

.home{
    width: 100%;
    height: 60vh;
    background: url(image/main.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    font-size: 3.5rem;
    padding: 100px 0;
}
.database{
    width: 100%;
    height: 60vh;
    background: url(image/database.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    font-size: 3.5rem;
    padding: 100px 0;
}
/**********************Sensor Data Page***************************/
.sensor{
    width: 100%;
    height: 60vh;
    background: url(image/sensor-data.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    font-size: 3.5rem;
    padding: 150px 0;
}

.sensor .sensor-section h3{
   font-family: "Ubuntu", sans-serif;
}

.sensor-data{
    padding: 50px 0;
    background: #aaa7a7;
    color: #fff;
}
.sensor-data-title{
    margin-bottom: 20px;
}
.sensor-data-title h1{
    text-align: center;
    font-size: 2rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
  
}

.sensor-data-title .line{
    width: 235px;
    height: 2px;
    border: 10px;
    background: #1eea0c;
    margin: auto;

}

.data-section{
     display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      max-width: 1200px;
      margin: 0 auto;
}
.data-card{
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    text-align: left;
}

.data-card h3{
    font-size: 20px;
    margin-top: 10px;
    font-family: "Ubuntu", sans-serif;
}

.data-card p{
    text-align: justify;
    margin-top: 10px;
}


.icon {
      font-size: 40px;
      margin-right: 25px;
      min-width: 50px;
      text-align: center;
    }

.content {
      display: flex;
      flex-direction: column;
    }
/*.label {
      font-size: 16px;
      color: #7f8c8d;
      margin-bottom: 5px;
      font-weight: bold;
    }*/
    .value {
      font-size: 24px;
      color: #2c3e50;
      display: flex;
      align-items: baseline;
    }
    .unit {
      font-size: 16px;
      color: #95a5a6;
      margin-left: 5px;
    }
    .fa-battery-full{color: #2ecc71;}
    .fa-thermometer-half { color: #e74c3c; }
    .fa-bolt { color: #f1c40f; }
    .fa-asterisk { color: #5bb0e9; }
    .fa-plug { color: #e74c3c; }
    .fa-line-chart { color: #16e0cf; }
    .fa-wave-square { color: #9b59b6; }
    .fa-percent { color: #e67e22; }

/**********************Graph Page***************************/
.graph{
    width: 100%;
    height: 60vh;
    background: url(image/graphs.jpg);
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    font-size: 3.5rem;
    padding: 150px 0;
}

.graph .graph-section h3{
   font-family: "Ubuntu", sans-serif;
}

.sensor-graph{
    padding: 50px 0;
    background: #aaa7a7;
    color: #fff;
}
.sensor-graph-title{
    margin-bottom: 20px;
}
.sensor-graph-title h1{
    text-align: center;
    font-size: 2rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
}
.sensor-graph-title .line{
    width: 235px;
    height: 2px;
    border: 10px;
    background: #1eea0c;
    margin: auto;

}
.graph-filter{
    display: flex;
    align-items: center;
    justify-content: center;
   
    height: 80px;
    background: #c7c9c8;
}
.graph_btn{
    background: #2c3e50;
    color: white;
    height: 30px;
    border-radius: 10px;
    padding: 5px 10px;
}

/******************************************************/
.home .home-section h3{
   font-family: "Ubuntu", sans-serif;
}

.about-project{
    padding: 50px 0;
    background: #aaa7a7;
    color: #fff;
}
.about-project-title{
    margin-bottom: 20px;
}
.about-project-title h1{
    text-align: center;
    font-size: 2rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
  
}

.about-project-title .line{
    width: 235px;
    height: 2px;
    border: 10px;
    background: #1eea0c;
    margin: auto;

}

.about-section{
    width: 60%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    column-gap: 50px;
}

.about-card img{
    width: 100%;
    border-radius: 10px;
}
.about-card h3{
    font-size: 20px;
    margin-top: 10px;
    font-family: "Ubuntu", sans-serif;
}

.about-card p{
    text-align: justify;
    margin-top: 10px;
}

.about-card .line1{
    background: #1eea0c;
    height: 2px;
    width: 250px;
}

.about-card .line2{
    background: #1eea0c;
    height: 2px;
    width: 230px;
}

.project-aim{
    padding: 50px 0;
    background: #9f9d9d;
    color: #fff;
}
.project-aim-title{
    margin-bottom: 20px;
}
.project-aim-title h1{
    text-align: center;
    font-size: 2rem;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
  
}

.project-aim-title .line{
    width: 235px;
    height: 2px;
    border: 10px;
    background: #1eea0c;
    margin: auto;

}

.project-section{
    width: 60%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    column-gap: 50px;
}

.aim-card img{
    width: 100%;
    border-radius: 10px;
}
.aim-card h3{
    font-size: 20px;
    margin-top: 10px;
    font-family: "Ubuntu", sans-serif;
}

.aim-card p{
    text-align: justify;
    margin-top: 10px;
}

.aim-card .line1{
    background: #1eea0c;
    height: 2px;
    width: 200px;
}

.aim-card .line2{
    background: #1eea0c;
    height: 2px;
    width: 180px;
}

.aim-card .line3{
    background: #1eea0c;
    height: 2px;
    width: 250px;
}

footer{
    background:  rgb(102, 100, 100);
    padding: 20px 0;
    color: #fff;
    text-align: center;
}
footer p{
    font-family: 'audiowide-regular-webfont';
}

.menu-icon {
    font-size: 24px;
    padding: 20px;
    text-align: right;
    cursor: pointer;
    display: block;
}





/* media queries */
@media (max-width:991px){
    html{
    font-size: 55%;
}
header .fa-bars{
    display: initial;
}
header{
    padding: 2rem;
}
header label{
    display: initial;
}
header .navbar{
    position: absolute;
    top: 100%;left: 0;right: 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .1);
    display: none;
 }
  header .navbar ul li{
    width: 100%;
  }
header .navbar ul li ul{
        position: relative;
        width: 100%;
    }

header .navbar ul li ul li{
    background: #eee;
}   
#menu-bar:checked ~ .navbar {
    display: initial;
} 

}


