body{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: linear-gradient(to top, rgb(221, 221, 221), rgb(240, 240, 240));
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
}
.header{
    height: 50px;
    width: 60%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    margin: 10px auto;
}
.header img{
    height: 1.5em;
    transform: rotate(-45deg);
    margin: auto 0.5em;
}
.header h1{
    margin: 0;
    padding: 0;
    letter-spacing: -4px;
}
.bar{
    height: 40px;
    width: 60%;
    background: linear-gradient(to right, #ce494a, #120c37);
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.bar a{
    display: block;
    text-decoration: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0 15px 0 15px;
    border-left: 2px solid white;
}
.bar a:hover{
    text-decoration: underline;
}
.main{
    width: 60%;
    height: calc(100vh - 50px - 20px - 50px);
    background: white;
    border: 1px solid black;
    border-top: none;
    display: flex;
}
.left-column{
    width: 25%;
    height: 100%;
    border-right: 1px solid black;
    font-family: Arial, Helvetica, sans-serif;
    overflow-y: auto;
    background: rgb(231, 231, 231);
}
.left-column p{
    margin: 0;
    padding: 10px;
}
.left-column ul{
    margin: 0;
    padding: 0 20px;
    list-style-type: none;
    margin-bottom: 20px;
    line-height: 1.5;
}
.left-column li{
    margin-bottom: 0.5em;
}
.indent{
    margin-left: 20px;
}
.left-column a{
    text-decoration: none;
    color: #36c;
}
.left-column a:hover{
    text-decoration: underline;
}
.right-column{
    width: 85%;
    height: 100%;
    overflow-y: auto;
}
.right-column h1{
    margin: 20px;
    padding: 0;
    font-weight: lighter;
}
.right-column h2{
    display: block;
    margin: 20px;
    padding: 0;
    font-weight: lighter;
    width: calc(100% - 40px);
    border-bottom: 1px solid black;
}
.right-column h3{
    margin: 20px;
    padding: 0;
    font-weight: bold;
}
.right-column p{
    margin: 20px;
    padding: 0;
    font-weight: normal;
    line-height: 1.5;
}
#wiki-links{
    text-decoration: none;
    color: #36c;
}
#wiki-links:hover{
    text-decoration: underline;
}
#unlinked{
    color: red;
}
#links{
    font-style: italic;
    color: purple;
    text-decoration: none;
}
#links:hover{
    text-decoration: underline;
}
.info-summary-container{
    height: calc(100vh - 110px - 10px);
    width: calc(20% - 2px);
    position: fixed;
    right: 0;
    top: 110px;
    display: flex;
    justify-content: center;
}
.info-summary{
    height: 100%;
    width: 90%;
    background: rgb(231, 231, 231);
    border: 1px solid black;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    overflow-y: auto;
}
.info-summary img{
    width: 95%;
}
.info-summary p{
    display: block;
    width: 95%;
    margin: 0;
    padding: 0;
    margin-bottom: 1em;
}
.info-summary h1{
    font-size: 1.5em;
}
.info-summary table{
    width: 95%;
}
.info-summary th,td{
    width: 50%;
    text-align: start;
    vertical-align: text-top;
    padding-bottom: 0.75em;
}
.intro-header{
    display: block;
    width: 95%;
    background: rgb(211, 211, 211);
    margin: 0;
    padding: 5px 0;
    font-size: 1em;
}
.gallery{
    width: calc(100% - 40px);
    height: auto;
    display: flex;
    align-content: flex-start;
    flex-wrap: wrap;
    margin: auto;
}
.images{
    border: 1px solid black;
    padding: 4px;
    margin: 4px;
    min-width: 100px;
    max-width: 300px;
    background: rgb(231, 231, 231);
}
.images img{
    width: 100%;
}
.images p{
    text-align: center;
    margin: 0;
    padding: 0;
}
.energy-piechart{
    width: 75%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-image: conic-gradient(
        #d0b090 0% 62.15%,       /*Geothermal*/
        #d8d800 62.15% 80.35%,   /*Solar*/
        #0fafff 80.35% 97.05%,   /*Nuclear*/
        #dc8496 97.05% 99.55%,   /*Piezoelectric*/
        white 99.55% 100%       /*Others*/
    );
    margin: 10px auto 10px auto;
    border: 1px solid black;
}
.legend{
    width: 75%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 1em;
}
.legend-item{
    display: flex;
    align-items: center;
    margin-top: 0.5em;
}
.legend-color{
    width: 1em;
    height: 1em;
    border: 1px solid black;
    margin-right: 1em;
}
.geothermal { background: #d0b090; }
.solar { background: #d8d800; }
.nuclear { background: #0fafff; }
.piezoelectric { background: #dc8496; }
.others { background: white; }

.table{
    background: rgb(231, 231, 231);
    margin: auto;
    width: 90%;
    table-layout: fixed;
    margin-bottom: 50px;
}
.table, .table th, .table td{
    border: 1px solid black;
    border-collapse: collapse;
    height: auto;
    padding: 0.5em;
}
.table th{
    background: rgb(211, 211, 211);
}
.table td{
    margin: 0;
    vertical-align: middle;
}