body {
    background-color: black;
    margin: 0;
    padding: 0;
    color: white;
}

.avatar {
    margin: 10pt 0 0;
    display: block;
    width: 60px;
}

/* Grid */
.wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    justify-content: center;
    justify-items: center;
    max-width: 100%;
    margin-top: 15px;
}


.fixed {
    width: calc(2 * (400px + 2 * 30px));
}

.item {
    width: 100%;
    margin: 0 15px;
}

.item img,
.item video {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

video,
img {
    max-height: 95vh;
    max-width: 95vw;
}

.novh {
    max-height: 100%;
    max-width: 100%;
}

.next {
    margin: 100px 0;
}

.next a {
    padding: 60px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.1s ease;
}

.next a:hover {
    opacity: 1;
}



.mb {
    margin-bottom: 120px;
}

/* Typography */

body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 30px;
}

h1,
h2 {
    font-size: 32px;
    margin: 30px 0 43px;
    padding: 0;
    font-weight: 300;
}

a {
    color: #fff;
}

.caption {
    opacity: 0.8;
    font-size: 16px;
    text-align: left;
    position: relative;
}

.caption p {
    width: 100%;
    margin: 0;
}

.grid + .caption {
    margin-top: 15px;
}

.item p:first-child {
    margin-top: 0;
}



/* Index */
.index .item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.index .item:hover,
.index .item:hover video {
    transform: scale(1.00);
}

img:active,
video:active {
    transform: scale(1);
}

.item a p {
    opacity: 0.8;
    color: #fff;
    transition: opacity 0.1s ease;
}

.item:hover a p {
    color: #fff;
    opacity: 1;
}


/* Arrow */
.item p img {
    width: 10px;
    height: 10px;
    margin-left: 5px;
    transform: none;
    display: none;
}

/* About section */
.about {
    margin-top: 100px;
}

.about img {
    width: 70%;
    top: 50px;
    position: relative;
}
.about .item:nth-child(2) {
    text-align: center;
}