* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(209, 209, 209);
}

header {
    width: 100%;
    text-align: center;
    font-size: min(60px, 5vw);
    font-weight:bold;
    padding: 10px;
    background-color: rgb(0, 160, 253);
    box-shadow: 0px 2px 9px rgba(0, 0, 0, 0.5);
    color: white;
}

.form {
    margin-top: 30px;
}

.form > a {
    color: rgb(2, 49, 87);
    font-weight: bold;
    text-decoration: none;
    font-size: large;
}

.form > a:hover {
    text-decoration: underline;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 35px 20px 35px 20px;
    margin-top: 50px;
    width: clamp(320px, 100%, 900px);
    font-size: min(20px, 4vw);
    box-shadow:  0px 0px 20px 2px rgba(0, 0, 0, 0.5);
    background-color: rgb(255, 255, 255);
}

.container > div {
    width: 100%;
    padding: 15px 15px 10px 20px;
    background-color: rgb(2, 49, 87);
    color: white;
    overflow: auto;
}

.container > div:hover {
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.container > div > p {
    font-weight: bold;
    letter-spacing: 1px;
    color: rgb(43, 235, 209);
    padding-bottom: 5px;
}

.table-container {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all .5s ease-in-out;
}

.container > div:focus > .table-container,
.container > div > p:focus + .table-container {
    max-height: 500px;
    opacity: 1;
    overflow: auto;
}

.container > div:focus > p ,.container > div > p:focus{
    border-bottom: solid 1px rgb(255, 255, 255);
}

.table-container table{
    border-collapse: collapse;
    overflow: auto;
}

table * {
    border: solid 1px;
    padding: 10px;
    text-align: center;
}

table  th {
    border: solid 2px white;
    color: rgb(43, 235, 209);
}
