/* Base styles */
html {
    font-size: 24px;
}

body {
    font-family: 'Roboto', Arial, sans-serif; /* Modern sans-serif font */
    margin: 0;
    padding: 0;
}

/* General Background Styling */
body.bg {
    width: 100%;
    min-height: 100vh;
    height: max-content;
    background-image: linear-gradient(to bottom, #84A9C0, #FFB677); /* Same as wind */
    margin: 0 auto;
}

/* Gradient for wind page */
body.bg-wind {
    background-image: linear-gradient(to bottom, #84A9C0, #FFB677); /* Soft blues and oranges */
    color: #333; /* Text color for contrast */
}

/* Gradient for biomass page */
body.bg-biomass {
    background-image: linear-gradient(to bottom, #6A994E, #A7C957); /* Earthy greens */
    color: #222;
}

/* Gradient for solar page */
body.bg-solar {
    background-image: linear-gradient(to bottom, #FFD27F, #FFA500); /* Warm yellows and oranges */
    color: #333;
}

/* Content styles */
div.content {
    width: 90%;
    min-height: 149.5dvh;
    height: max-content;
    margin: 24px auto;
    border-radius: 10px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)); /* Light gradient overlay */
    background-color: rgba(255, 255, 255, 0.7); /* Light background with transparency */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Titles */
div.content h1 {
    padding-top: 10px;
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 700; /* Bold for headers */
    text-align: center;
    color: #2A2A2A;
}

div.content h2 {
    font-size: 24px;
    margin: 15px 0;
    color: #333333;
    font-weight: 600; /* Slightly bold for subheadings */
}

div.content h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #333333;
    text-align: center;
    font-weight: 600; /* Slightly bold for subheadings */
}


/* Paragraph styling */
div.content p {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

/* Image Styling */
figure.img_center img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

figure.img_center figcaption {
    text-align: center;
    font-size: 16px;
    color: #777;
}

/* Navigation styling */
div.header {
    width: 90%;
    margin: 10px auto;
    padding: 10px 0;
}

ul.horizontal-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

ul.horizontal-list li {
    margin: 0 5px;
}

/* Button Styling */
input.page_select {
    width: 100%;
    height: 100%;
    padding: 10px;
    text-align: center;
    background-image: linear-gradient(#007BFF, #0056b3); /* Blue gradient */
    border: none;
    color: #FFFFFF;
    font-weight: bold;
    border-radius: 10px;
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
}

input.page_select:hover {
    background-image: linear-gradient(#0056b3, #007BFF);
    transform: scale(1.05);
}

/* Disable state styling */
input.page_select[disabled] {
    background-image: linear-gradient(#B0B0B0, #A0A0A0);
    color: #666;
}

/* Table styling */
table.pro_con {
    margin: 20px 2%;
    width: calc(100% - 4%);
    border-collapse: separate;
    border-spacing: 0;
    font-size: 18px;
    color: #333;
    background-color: #F5F5F5;
    border: 2px solid #A37C40;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

table.pro_con th,
table.pro_con td {
    border: 1px solid #DBB467;
    text-align: left;
    padding: 15px;
    background-color: #FAF8F6;
}

table.pro_con th {
    background-color: #F3F3F3;
    font-weight: bold;
    color: #2A2A2A;
}

/* Lists inside table cells */
table.pro_con ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

table.pro_con ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

table.pro_con tr:hover {
    background-color: #f0f0f0; /* Subtle hover effect */
}

/* Footer styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #DBB467;
    color: #1A1A1A;
    font-size: 16px;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    ul.horizontal-list {
        flex-direction: column;
        align-items: flex-start;
    }

    div.content {
        width: 100%;
        padding: 10px;
    }

    h1.title_header {
        font-size: 28px;
    }

    table.pro_con {
        font-size: 14px;
    }
}

/* Image Styling */
figure.img_center {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    max-width: 90%;
    padding: 15px;
}

figure.img_center img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0;
}

figure.img_center figcaption {
    font-size: 16px;
    color: #777;
    margin-top: 10px;
    text-align: center;
}

figure.img_right {
	float: right;
	margin-right: 0.5%;
	border-radius: 5px;
	padding: 15px;

}
figure.img_right figcaption {
	font-size: 16px;
	margin-top: 10px;
	text-align: center;
}

/* Energy Breakdown Lists Styling */
ul.energy-breakdown {
    list-style-type: none;
    margin: 0;
    font-size: 18px;
	padding-left: 20px;
}

ul.energy-breakdown li {
    margin-bottom: 10px;
}

ul.energy-breakdown .energy-label {
    font-weight: bold;
}
