html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

#Container {
    display: flex;
    flex-direction: column;
    background-color: rgb(83, 4, 4);
    margin: 0;
    padding: 0;
    border-left: double 3px black;
}

main {
    display: flex;
    gap: 1.5vw;
}

/* ====================================================================================================================================================================================================== */

header {
    background-color: #700808;
    border: 3px solid #a76905;
    border-radius: 12px;
    padding: 60px 40px;
    max-width: 100vw;
    text-align: center;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.53);
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

header::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid #a76905;
    border-radius: 8px;
    pointer-events: none;
}

header h1 {
    font-family: 'Staatliches', sans-serif;
    font-size: 72px;
    color: #000;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.53);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    -webkit-text-stroke: 2px #a76905;
    paint-order: stroke fill;
    margin: 0;
}

/* ====================================================================================================================================================================================================== */

#left_section { 
    position: relative;
    width: 28%;
    flex-grow: 0;
    background: #700808FF;
    border: 3px solid #a76905FF;
    border-radius: 5px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    gap: 1.4vh;
    overflow: hidden;
    font-weight: 600;
    word-spacing: 4px;
    color: rgb(229, 159, 66);
    -webkit-text-stroke: 1px #6d4709;
    paint-order: stroke fill;
    font-size: 0.732vw;
    height: fit-content;
    letter-spacing: 1.5px;
}

#left_section::before {
    content: '';
    position: absolute;
    inset: 2% 2%;
    border: 3px solid #a76905FF;
    border-radius: 5px;
    pointer-events: none;
    z-index: 0;
    background-color: #510303;
    height: calc(100% - 4%); 
}

#left_section h2,
#left_section article,
#left_section a {
    z-index: 1;
}

#left_section label {
    margin: 2px;
    font-weight:900 ;
    font-size: 2vh;
    margin-bottom: 20px;
}

#left_section article div {
    margin-left: 0.5vw;
}

#left_section a {
    position: relative;
    border: 2px solid #a76905FF;
    width: fit-content;
    padding: 15px;
    border-radius: 5px;
    background-color: #630404;
    text-decoration: none;
    color: #a76905;
}

#left_section a:hover {
    box-shadow: 2px 4px 5px #3d0101; 
    scale: 1.1;
}

#left_section a:hover::before {
    content: "";
    position: absolute;
    inset: 2% 2%;
    border: 1.5px solid #a76905FF;
    border-radius: 5px;
    pointer-events: none;
    z-index: 1;   
}

/* ====================================================================================================================================================================================================== */

#right_section {
    width: 70%;
    position: relative;
    flex-grow: 1;
    background: #700808FF;
    border: 3px solid #a76905FF;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    max-height: fit-content;
}

#right_section canvas {
    border-radius: 5px;
}

#district_list {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 0;
    height: max-content;
    margin: 5px;
    gap: 5px;
    background: #3d0101;
    z-index: 1;
    border: 3px solid #a76905FF;
    padding: 2vw;
    border-radius: 3px;
    width: fit-content;
    align-items: center;
    padding-bottom: 1.5vh;
    padding-top: 1.5vh;
}

#district_list::before {
    content: "";
    position: absolute;
    inset: 1% 4%;
    border: 3px solid #a76905FF;
    border-radius: 5px;
    pointer-events: none;
    z-index: 1;   
}

#district_list button {
    margin: 1px;
    padding: 0.1vw;
    font-size: 1.5vh;
    width: 150%;
    background-color: #630404;
    text-decoration: none;
    color: #a76905;
    box-shadow: none;
    border: 1.5px solid #a76905FF;
    border-radius: 2px;
}

#district_list button:hover {
    scale: 1.1;
    box-shadow: 2px 4px 5px #3d0101; 
}

/* ====================================================================================================================================================================================================== */

footer {
    position: sticky;
    bottom: 0;
    border: 3px solid #a76905FF;
    padding: 1vh;
    z-index: 3;
    background-color: #700808FF;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer svg {
    min-height: 40px;
    min-width: 40px;
}