*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: -webkit-fill-available;
    background: #ff0031;
}

body {
    font-family: "Kanit", sans-serif;
    background: #ffffff;
    color: #0b0b0b;
    margin: 0;
    line-height: 1.3;
    text-align: left;
    min-height: 100vh;
    min-height: -moz-available;
    min-height: -webkit-fill-available;
    min-height: fill-available;
    min-height: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

a {
    color: #414141;
    transition: 0.2s ease-in-out color;
}

a:hover {
    color: #ff0031;
}

::-moz-selection,
::selection {
    color: #ffffff;
    background: rgba(255, 0, 49, 0.5);
}

img {
    height: auto;
    max-width: 100%;
}

.container {
    max-width: 900px;
    width: 100%;
    padding: 40px 15px;
}

* {
    margin: 0;
}

.container > * + * {
    margin-top: 30px;
}

.logo {
    height: 100px;
}

ul.list {
    --gap: 15px;
    --columns: 1;

    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    justify-content: start;
}

@media screen and (min-width: 500px) {
    ul.list {
        --columns: 2;
    }
}

@media screen and (min-width: 768px) {
    ul.list {
        --columns: 3;
    }
}

ul.list li {
    background: #e7e7e7;
    border-radius: 10px;
    padding: 20px;
    color: #ff0031;
    text-align: center;
    font-weight: 700;
    width: calc(
        (100% / var(--columns)) -
            (var(--gap) / (var(--columns)) * (var(--columns) - 1))
    );
}

.quote {
    background-color: #ff0031;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
}

h1,
h2 {
    white-space: balance;
}

h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.team-wrapper {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .team-wrapper {
        flex-direction: row;
    }
}

.team {
    background: #f2f2f2;
    color: #414141;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 16px;
    text-align: left;
}

.team img {
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    margin-bottom: 8px;
}

.team .name {
    color: #0b0b0b;
    font-weight: 700;
    font-size: 20px;
}

.team--wide {
    text-align: center;
}

.team--wide img {
    aspect-ratio: 0;
}

.img {
    border-radius: 10px;
}
