:root {
    --color-1: #CBE4DE;
    --color-2: #0E8388;
    --color-3: #2E4F4F;
    --color-4: #2C3333;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media only screen and (min-width: 600px) {
    .grid {
        display: grid;
        grid-template-columns: auto auto;
        padding: 8px;
    }
}

@media only screen and (min-width: 1000px) {
    .grid {
        display: grid;
        grid-template-columns: auto auto auto;
        padding: 8px;
    }
}

body {
    background-color: #8EC5FC;
    background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    font-family: var(--font-family);
    color: var(--color-4);
}

h1 {
    text-align: center;
}

section {
    padding: 8px;
    margin: 5px;
    border-radius: 20px;
    text-align: center;
}

img {
    display: block;
    width: 50%;
    margin: auto;
    padding-bottom: 10px;
}

.date {
    color: var(--color-3);
    background-color: var(--color-1);
    font-weight: 800;
    padding: 6px;
    border-radius: 10px;
}

.buttons {
    display: grid;
    justify-items: center;
}

button {
    font-family: var(--font-family);
    width: 100px;
    height: 50px;
    background-color: var(--color-2);
    color: var(--color-1);
    border: 0px;
    border-radius: 20px;
    box-shadow: 0px 5px 3px black;
}

button:hover {
    translate: 0px -3px;
}

button:disabled {
    background-color: var(--color-3);
    translate: 0px 0px;
}

table {
    border-collapse: collapse;
    width: 100%;
    border-radius: 10px;
}

th {
    background-color: var(--color-2);
    color: var(--color-1);
}

td {
    background-color: var(--color-1);
}

th,
td {
    text-align: center;
    padding: 6px;
}

/* top-left border-radius */
table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

/* top-right border-radius */
table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

/* bottom-left border-radius */
table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

/* bottom-right border-radius */
table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}