@font-face {
    font-family: 'OldEurope';
    src: url('./Old\ Europe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alagard';
    src: url('./alagard.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GothicPixles';
    src: url('./GothicPixels.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

body {
    background-image: url('./me.png');
    background-size: cover;
    background-position: center;
    min-width: 425px;
    margin: 0;
    padding: 5vh 0; /* Add padding to the top and bottom */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    color: red;
    box-sizing: border-box; /* Include padding in height calculation */
}

#letter, #content, #bottom {
    background-color: black;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1% 0;
    text-align: center;
    font-family: 'Alagard';
    color: red;
}

#title {
    margin-top: 50px;
    color: red;
    font-family: 'GothicPixles', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
}

#main-image {
    max-width: 80%;
    height: auto;
    min-width: 300px;
}

#bottom {
    border-top: 3px solid red;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

/* General link styling */
a, .styled-link {
    text-decoration: none;
    color: red;
    margin: 0 10px;
    white-space: nowrap;
}

a:link, a:visited, .styled-link:link, .styled-link:visited {
    color: red; /* Ensure the link color stays red even after being clicked */
}

a:hover, .styled-link:hover {
    text-decoration: underline;
    color: yellow;
}

a:active, .styled-link:active {
    color: yellow;
}

@media screen and (max-width: 768px) {
    #letter, #content, #bottom {
        font-size: 18px;
        padding: 1% 5%;
        width: 90%;
    }

    #main-image {
        max-width: 70%;
    }
}

@media screen and (max-width: 480px) {
    #letter, #content, #bottom {
        font-size: 16px;
        padding: 1% 5%;
        width: 95%;
    }

    #main-image {
        max-width: 60%;
    }
}
