/* Basic CSS Starter Template */

/* Reset default browser styles */
body, h1, h2, h3, p, ul, ol, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General body styles */
body {
    margin-top: 0px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: #262938;
    color: #333;
}
header {
    margin-top: 0px;
    text-align: center;
    padding: 20px;
    width: 100%;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Header styles */
h1, h2 {
    font-weight: bold;
    color: #222;
}
h3 {
    font-weight: bold;
    color: #222;
    text-align:right;
}

/* Navbar styles */
a {
    color: #0078d7;
    text-decoration: none;
}
.navbar {
    background-color: #333;
    padding: 20px;
    position: fixed;
}
table {
    font-family: arial, sans-serif;
    width: 40%;
    color:antiquewhite
  }
  
  td, th {
    text-align: left;
    padding: 8px;
    border-radius: 10px;
  }
  .table-spacing{
    border-spacing:10px;
 }
  
  tr:nth-child(even) {
    background-color: #43465f;
  }
  tr:nth-child(odd) {
    background-color: #43465f;
  }

    
.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.nav-item:first-child {
    margin-right: auto;
}
.nav-item {
    margin-top: 0px;
    margin-right: 20px;
    margin-left: 15px;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.nav-header {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.nav-link:hover {
    background-color: #3f4b5c;
    color: #9c9c9c;
}
button:hover {
    background-color: #12a957;
    transform: scale(1.05);
}
/* Progress Bar Appearance */
.progress-bar {
    background: linear-gradient(90deg, #14c46f, #4bdba7);
    border-radius: 10px;
}
.energy-tip-container {
    margin-top: 30px;
    padding: 40px;
    background: #1e2235;
    border-radius: 12px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive media queries to adjust to different screen sizes*/
    @media (min-width: 600px) {
        .nav-list {
            flex-wrap: nowrap;
        }
        .content-box {
            flex-direction: row;
            text-align: left;
        }
        .image-section {
            flex: 1;
            
        }
        .text-section {
            flex: 2;
            padding-right: 20px;
        }
        .main-image {
            width: 60%;
        }
    }
    @media (min-width: 900px) {
        .nav-link {
            font-size: 20px;
            padding: 15px 30px;
        }
        header .title {
            font-size: 4rem;
        }
        .text-section h2 {
            font-size: 2.5rem;

        }
        .main-image {
            width: 50%;
        }
        .nav-header {
            font-size: 20px;
            padding: 15px 30px;
         }
        header .title {
            font-size: 4rem;
        }
        .text-section h2 {
            font-size: 2.5rem;

        }
        .main-image {
            width: 50%;
        }
    }
    .progress-container {
        width: 75%;
        background-color: #f3f3f3;
        border-radius: 10px;
        overflow: hidden;
        margin: 0 0 0 12.5rem;
    }

    .progress-bar {
        height: 25px;
        width: 80%; /* Set percentage dynamically */
        background-color: #4caf50; /* Green color */
        text-align: center;
        color: rgb(51, 52, 70);
        line-height: 25px; /* Align text vertically */
    }

    .progress-text {
        margin-top: 10px;
        text-align: center;
        font-size: 16px;
        color: #f0f1de;
    }
    h2 {
        color: #14c46f;
    }
    h3 {
        color: #f0f1de;
    }
