@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,700');

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Typography */
body {
    font-size: 15px;
    margin: 0;
    padding: 0;
}

h1 {
    padding-bottom: 10px;
}

h2 {
    color: #0C3784;
    font-size: 18px;
    font-weight: 600;
}

ul {
    padding-left: 20px;
    list-style-type: disc;
    font-size: 15px;
}

/* Layout */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #F491B4;
}

.container {
    max-width: 1100px;
    width: 85%;
    height: 80%;
    margin-bottom: 18px;
    background-color: white;
    padding: 30px 10px;
    border-radius: 25px;
    display: flex;
    position: sticky;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

nav {
    position: sticky;
    z-index: 10;
    height: 50px;
    width: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav::after {
    content: "";
    background: silver;
    width: 100%;
    height: 1px;
    position: absolute;
    top: 47px;
    filter: blur(0.5px);
}

section {
    display: flex;
    align-items: left;
    justify-content: left;
    overflow-y: auto;
    width: 85%;
}

.section {
    margin-bottom: 15px;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin: 5px 0;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 5px;
    text-align: left;
    font-size: 15px;
}

/* Interactivity */
input[type='radio'] {
    display: none;
}

nav label {
    position: relative;
    height: 100%;
    width: 100%;
    display: block;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

nav .slider {
    position: absolute;
    height: 4.5px;
    background-color: #0C3784;
    border-radius: 20px;
    width: 20%;
    z-index: 1;
    left: 0;
    bottom: 0;
    transition: all 0.3s ease;
    filter: blur(0.4px);
}

#sixteen:checked ~ nav .slider{
    left: 20%;
}

#twentyone:checked ~ nav .slider{
    left: 40%;
}

#fortythree:checked ~ nav .slider{
    left: 60%;
}

#ninetyseven:checked ~ nav .slider{
    left: 80%;
}

#twelve:checked ~ nav .twelve,
#sixteen:checked ~ nav .sixteen,
#twentyone:checked ~ nav .twentyone,
#fortythree:checked ~ nav .fortythree,
#ninetyseven:checked ~ nav .ninetyseven {
    color: #0C3784;
}

#twelve:checked ~ section .content-1,
#sixteen:checked ~ section .content-2,
#twentyone:checked ~ section .content-3,
#fortythree:checked ~ section .content-4,
#ninetyseven:checked ~ section .content-5 {
    display: block;
}

section .content {
    display: none;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    font-size: 15px;
    text-align: right;
}

footer a {
    color: white;
    text-decoration: underline;
}