body {
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #444;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

/* Value Resets */

ul,
ol,
h1,
h2,
h3,
h4,
h5 {
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

svg {
    width: 50px;
    height: 50px;
}

/* Individual Classes */

.img-container {
    display: flex;
    justify-content: center;
    padding: 5%;
    background-color: #a7a7a7;
    border-radius: 50%;
}

.img-container-small {
    width: 100%;
    max-width: 200px;
    padding: 1%;
    background-color: #444;
    border-radius: 50%;
}

.bottom-bar {
    font-size: clamp(10px, 1.5vw, 12px);
    text-align: center;
    width: 90%;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #a7a7a7;
    border-radius: 10px;
}

.container-horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 90%;
    margin-top: 10px;
    justify-content: center;
    padding: 20px;
    border-radius: 10px;
    background-color: #444;
}

.container-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    background-color: #444;
    margin: 5px;
}

/* Large Changes */

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

nav {
    display: flex;
    background-color: #a7a7a7;
    width: 90%;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
}

main {
    background-color: #a7a7a7;
    width: 90%;
    max-width: 1300px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

article {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #a7a7a7;
    border-radius: 20px;
}

footer {
    width: 100%;
}

table,
tr,
th,
td {
    border-spacing: 0;
    border: solid 1px black;
    text-align: center;
    font-size: clamp(14px, 2.5vw, 30px);
}

/* Specific Changes */

header img {
    width: 100%;
    max-width: 500px;
    border-radius: 100%;
}

header h1 {
    text-align: center;
    font-size: clamp(30px, 10vw, 40px);
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #a7a7a7;
    border-radius: 10px;
}

nav ul {
    width: 100%;
    max-width: 500px;
    /* v this is nescessary to remove 2px of deadspace below the content of each cell in the grid? v */
    height: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 2fr));
    justify-items: center;
}

nav ul li img {
    width: 50px;
}

section h2 {
    font-size: clamp(25px, 5vw, 30px);
    text-align: center;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

section p {
    font-size: clamp(16px, 2vw, 20px);
    text-align: center;
    margin-left: 10px;
    margin-right: 10px;
}

section ul {
    margin: 10px;
    width: 90%;
    max-width: 1200px;
}

section .link-buttons li {
    background-color: #555;
    border-radius: 50px;
}

section ul li a {
    display: block;
    text-align: center;
    margin: 20px;
    padding: 30px;
    border-radius: 50px;
    font-size: clamp(18px, 4vw, 25px);
    text-decoration: none;
    color: rgb(22, 224, 224);
}

section .link-buttons li:hover {
    color: rgb(11, 158, 158);
    background-color: #444;
    transform: translateY(5px);
}

section .link-buttons li:active {
    color: rgb(9, 119, 119);
    background-color: #333;
    transform: translateY(10px);
}

section .link-buttons li a:visited {
    color: rgb(109, 16, 163);
}

.link-buttons li:first-of-type {
    background: #833AB4;
    background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}

.link-buttons li:nth-child(even) {
    background-color: #7e7e7e;
}

.link-buttons li:last-child {
    background-color: #7f3bac;
}

footer ul {
    margin-top: 10px;
    width: 100%;
    max-width: 500px;
    /* v this is nescessary to remove 2px of deadspace below the content of each cell in the grid? v */
    height: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 2fr));
    justify-items: center;
}

footer ul li a {
    color: black;
}

footer ul li:nth-of-type(1) {
    height: 50px;
    background-color: rgb(207, 22, 22);
    border-radius: 100%
}

footer ul li:nth-of-type(2) {
    height: 50px;
    background-color: rgb(22, 214, 48);
    border-radius: 100%
}

footer ul li:nth-of-type(3) {
    height: 50px;
    background-color: rgb(211, 135, 22);
    border-radius: 100%
}

footer ul li a:hover {
    color: rgb(15, 15, 15);
}

footer p {
    text-align: center;
    color: #242424;
}

body header p {
    padding: 10px;
    font-size: 20px;
    background-color: #a7a7a7;
    border-radius: 20px;
    margin-bottom: 0;
}

.container-horizontal article {
    width: 50%;
    flex: 1 1 300px;
    margin: 5px;
}

.container-horizontal article h3,
.container-vertical article h3 {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    text-align: center;
    font-size: 20PX;
}

.container-horizontal article ul,
.container-vertical article ul {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.container-horizontal article table {
    width: 90%;
    height: 95%;
    margin: 5px;
    background-color: rgb(241, 241, 241);
    border: solid 3px black;
    border-radius: 10px;
}

.container-horizontal article table td:nth-child(2n-1) {
    background-color: rgb(211, 211, 211);
}

.img-container-small:hover {
    transform: translateY(-5px);
}