@font-face {
    font-family: "Glacial Indifference";
    font-weight: normal;
    src: url(font/GIR.otf);
}

@font-face {
    font-family: "Glacial Indifference";
    font-weight: bold;
    src: url(font/GIB.otf);
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    background: url("sprouts.jpg");
    backdrop-filter: brightness(0.9);
    background-size: cover;
    font-family: "Glacial Indifference", sans-serif;
    color: white;
}

.header {
    font-weight: bold;
    font-size: 3rem;
    padding-top: 1em;
    padding-left: 1em;
    line-height: 2.3rem;
}

.sub-header {
    padding-left: 3rem;
    width: max-content;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 70vh;
}

.grid-item {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    margin: 2em;
    backdrop-filter: blur(50px);
    background-color: #00000044;
    transition: 0.4s;
}

.copied {
    background-color: #00ff0044;
}

.message-title {
    font-size: 3em;
    margin: 0;
    margin-bottom: 1rem;
}

.message-preview {
    opacity: 0.9;
}

@media only screen and (max-width: 1200px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .grid-item {
        margin: 1em;
    }
}
