body {
    font-family: 'Kanit', sans-serif;
}

main {
    display: grid;

    max-width: 1280px;

    margin-left: auto;
    margin-right: auto;

    grid-template-rows: 70px repeat(4, 1fr);
    grid-template-columns: repeat(3, 1fr);

    text-align: center;

    padding: 20px;
    border: 1px solid rgb(230, 230, 230);
}

main > * {
    /* border: 1px solid black; */
}

h1 {
    display: flex;

    justify-content: center;
    align-content: center;
    
    grid-row: 1 / 2;
    grid-column: 1 / 4;

    font-size: 36px;

    padding: 10px;
}

h2 {
    font-size: 28px;
    padding: 10px;
}

img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: 50% 50%;
    box-sizing: border-box;
}

figure {
    position: relative;
    max-height: 400px;
}

figcaption {
    position: absolute;
    color: white;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 1px;

    width: calc(100% - 20px);
    padding: 5px;
    box-sizing: border-box;

    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.stonehenge {
    grid-row: 3 / 4;
    grid-column: 2 / 4;
}

.poem {
    grid-row: 4 / 6;
    grid-column: 2 / 4;

    justify-content: center;
    align-items: center;

    font-size: 20px;
    padding: 20px;
}

.poem > .line {
    margin-top: 20px;
}

.line {
    display: block;
}

.hakaLogo {
    grid-row: 5 / 6;
    grid-column: 1 / 2;
}

.topGrossingMovies {
    grid-row: 3 / 5;
    grid-column: 1 / 2;

    /* padding: 20px;

    display: flex;
    justify-content: center;
    align-items: center; */
}

.topGrossingMovies > table {
    height: 100%;
}

td, th {
    align-items: center;

    padding: 5px;

    padding-top: 20px;
    padding-bottom: 20px;
    
    margin: 20px;

    border: 1px solid lightgray;
    border-collapse: collapse;
}

th {
    font-weight: bold;
}