*{
    margin: 0;
}
body{
    background-color: rgb(251, 251, 251) !important;
}
header{
    background-image: url(./images/digital-twins-equiptment.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;
}
.topbar{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
nav img{
    margin-top: 3px;
    width: 10%;
}
.herosection{
    margin-top: 60px;
}
.herosection p{
    font-size: 20px;
}
.bg-any{
    background-color: #333;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.header__text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 55%;
    text-align: center;
    z-index: 2;
}
.header__text h1 {
    font-size: 60px;
}
.header__text p {
    font-size: 22px;
}
nav{
    max-width: 1200px;
    margin: auto;
    height: 90px;
    position: relative;
    z-index: 2;
}

#check{
    display: none;
}

.checkbtn{
    color: white;
    float: right;
    font-size: 30px;
    display: none;
    line-height: 80px;
}
.pppp{
    color: white;
    font-size: 40px;
    font-weight: 600;
    line-height: 80px;
}
.link{
    list-style: none;
    float: right;
    line-height: 90px;
}

.link li{
    display: inline-block;
    color: white;
    font-size: 20px;
    margin-right: 12px;
    line-height: 60px;
}
.link li a{
    color: white;
    text-decoration: none;
}






/* Normal or large Mobile devices
@media screen and (min-width: 990px) and (max-width: 1200px) {
    
    .first_Section{
        background-color: green;
    }
}
Ipads/Tablets screen size
@media screen and (min-width:767px) and (max-width:990px){
    .first_Section{
        background-color: gray;
    }

} */



.chart-container {
    width: 100%;
    max-width: 700px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.chart-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
#temperatureChart {
    max-width: 100%;
    height: 400px;
}


.energy-chart-container {
    width: 100%;
    max-width: 700px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px; /* Add margin to separate from other charts */
}
.energy-chart-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
#energyConsumptionChart {
    max-width: 100%;
    height: 400px;
}
.wrapper{
    width: 100%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px; /* Add margin to separate from other charts */
}



@media screen and (max-width: 560px) {
    .header__text{
        left: 0;
        top: 30%;
        transform: none;
        width: 90%;
    }
    .header__text h1 {
        font-size: 32px;
    }
    nav img {
        width: 25%;
    }
    .link{
        background: rgb(49, 49, 230);
        height: 100vh;
        width: 100%;
        position: absolute;
        top: 80;
        left: -100%;
        padding: 0;
        transition: 0.5 ease;
        text-align: center;

    }
    .link li{
        display: block;
    }
    .checkbtn{
        display: block;
    }
    #check:checked ~ .link{
        left: 0;
    }
}