@font-face {
    font-family: 'Hack';
    src: url('/Fonts/Hack/Hack-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'JetBrainsMono';
    src: url('/Fonts/JetBrainsMono/JetBrainsMono-Regular.woff2');
}

h6 {
    margin-top: -10px;
}

body {
    background-color: #505050;
    font-family: 'Hack', 'JetBrainsMono', monospace;
    margin: 20px 40px 20px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 20px;
    flex-direction: column;
    font-size: large;
}

::selection {
    color: white;
    background-color: #b49cdf;
}

* {
    color: white;
}

.guestbook-entry {
    margin-bottom: 20px;
    padding: 10px;
    border: 2px solid #707070;
    background-color: #606060;
    max-width: 50vw;
    text-align: left;
    border-radius: 8px;
}

.guestbook-entry p {
    margin: 5px 0;
}

a {
    color: #b49cdf;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.guestbook-entry a:hover {
    text-decoration: underline;
}


@media (max-width: 1200px) {
    .guestbook-entry {
        max-width: 60vw;
    }

    body {
        margin: 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: medium;
    }

    .guestbook-entry {
        max-width: 80vw;
    }
}

@media (max-width: 480px) {
    body {
        font-size: small;
        margin: 10px;
    }

    .guestbook-entry {
        max-width: 90vw;
        padding: 8px;
    }
}
