@import url("/fonts/Darumadrop_One/darumadrop-one.css");
@import url("/fonts/Quicksand/quicksand.css");
@import url("/fonts/Secular_One/seecular-one.css");

body {
    background: whitesmoke;
    color: black;

    font-family: "Quicksand", sans-serif;
    font-weight: 500;

    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Secular One";
    font-weight: bold;
}

.ccc {
    font-family: "Darumadrop One";
}

main {
    padding-top: 15px;
    padding-bottom: 15px;
}

main > * {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
}

.image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr;
    grid-auto-rows: minmax(1fr, max-content);
    gap: 1em;
    padding-top: 10px;
    padding-bottom: 10px;
}

.image-gallery img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.image-gallery > *:nth-child(1) {
    grid-column: span 2;
    grid-row: 1;
}

@media (max-width: 600px){
    .image-gallery {
        display: flex;
        flex-direction: row;
        align-items: center;

        overflow-x: auto;
        max-width: 100%;
    }

    .image-gallery img {
        display: block;
        max-width: calc(95vw - 15px * 2);
        flex-shrink: 0;
    }

    .image-gallery img:first-child:last-child {
        max-width: 100%;
    }
}