:root, [data-theme="dark"] {
    --bg-color: #09002f;
    --card-bg: #533ede;
    --text-color: #a1b1ff;
    --hr-color: white;
}

[data-theme="light"] {
    --bg-color: #f4f5fc;
    --card-bg: #533ede;
    --text-color: #004EB9;
    --hr-color: black;
}

@font-face {
    font-family: "title-font";
    src: url(/static/fonts/Titile-Regular.otf) format("opentype");
}

@font-face {
    font-family: "worst handwriting";
    src: url(/static/fonts/worst-handwriting.otf);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.back {
    text-decoration: none;
    position: absolute;
    top: 16px;
    left: 16px;
}

.back p {
    padding: 16px;
    font-size: 2rem;
    color: var(--text-color);
    text-decoration: none;
}

.title {
    display: grid;
    justify-content: center;
    width: 100%;
    height: 30%;
    padding-top: 40px;
    padding-bottom: 40px;
}

h1 {
    color: var(--card-bg);
    font-size: 150px;
    font-family: "title-font", serif;
}

p {
    color: var(--text-color);
    font-size: 30px;
    justify-self: center;
    font-family: 'worst handwriting', sans-serif;
}

hr {
    border: none;
    width: 100%;
    height: 5px;
    background-color: var(--hr-color);
    margin: 5px 0;
}

.photos {
    column-count: 4;
    column-gap: 12px;

    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.photo {
    border-radius: 16px;
    break-inside: avoid;
    margin-bottom: 8px;
    overflow: hidden;
}

.photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}