/* Basic Reset */

@font-face {
    font-family: 'Jess';
    src: url('fonts/jessdead.otf') format('opentype');
}

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

html,
body {
    height: 100%;
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-color: #111111;
}

main {
    flex: 1 0 auto;
    /* This allows the main content to grow and shrink as needed, taking up the rest of the space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    /* Limits width to 90% on all device sizes to avoid edge-to-edge text */
    max-width: 600px;
    /* Maximum width to ensure readability on larger screens */
}

#home {
    text-align: center;
}

#home h2 {
    margin-bottom: 24px;
    font-family: 'jess';
    font-size: 48px;
    color: #F5F5DC;
    letter-spacing: 2px;
}

#home a {
    color: #F5F5DC;
    font-family: 'Jess';
    font-size: 18px;
    letter-spacing: 2px;
}

.logo {
    margin-bottom: 36px;
    width: 320px;
}


/* Responsive Design */

@media (max-width: 700px) {
    main {
        width: 100%;
        padding: 20px;
        /* Allows main to fill the device width on smaller screens */
    }
    h2 {
        font-size: 36px;
    }
}