@font-face {
    font-family: "FOT-Yuruka Std";
    src: url("./fonts/FOT-Yuruka-Std.eot");
    src: url("./fonts/FOT-Yuruka-Std.eot?#iefix") format("embedded-opentype"),
         url("./fonts/FOT-Yuruka-Std.woff2") format("woff2"),
         url("./fonts/FOT-Yuruka-Std.woff") format("woff"),
         url("./fonts/FOT-Yuruka-Std.ttf") format("truetype"),
         url("./fonts/FOT-Yuruka-Std.svg#FOT-Yuruka-Std") format("svg");
}

body {
    background-color: #072635e5;
    background-image: url("images/rwi02.webp");
    background-size: cover;
    background-attachment: fixed;
    text-align: center;
    margin: 0;
    font-family: "FOT-Yuruka Std";
}

p {
    color: #ffffff;
    font-size: 16px;
    font-weight: 200;
    text-shadow: 2px 2px black;
    margin: 0 10px;
}

h1 {
    color: #ffffff;
    line-height: 1.2;
    font-weight: 400;
    font-size: 2.5rem;
    text-shadow: 2px 2px black;
    margin: 20px 10px;
}

.merch {    
    text-decoration: none;
    color: #eab75b;
    text-shadow: 2px 2px black;

}
.merch:hover{
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: .25rem;
}

a {
    text-decoration: none;
    color: #eeecea;
    text-shadow: 2px 2px black;
}

.topnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
}

.topnav p {
    margin: 5px;
}

.topnav a {
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
}

.topnav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.imagebox {
    width: 450px;
    height: 450px;
    overflow: hidden;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagebox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.textbox-container {
    max-width: 800px;
    padding: 10px;
    margin: 20px;
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    p {
        font-size: 14px;
    }

    .topnav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 12px;
    }

    .topnav {
        flex-direction: column;
        align-items: center;
    }

    .topnav a {
        font-size: 0.8rem;
        padding: 8px;
    }
}
