body {
    background-image: url(bg.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    font-family: 'main', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

img {
    width: 200px;
    height: 200px;
    border-color: rgb(32, 114, 39);
    border-width: 5px;
    border-style: solid;
    border-radius: 65px;
    max-width: 90vw;
    height: auto;
}

h1 {
    font-size: clamp(28px, 6vw, 48px);
    margin: 10px 0;
    text-align: center;
}

p {
    font-size: clamp(16px, 4vw, 26px);
    margin: 10px 0;
    text-align: center;
    line-height: 1.4;
}

a {
    color: rgb(36, 211, 255);
    transition: all 0.2s ease-in-out;
    word-break: break-word;
}

a:hover {
    color: rgb(182, 240, 255);
}

#roddyricchbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 50px auto 0;
    background-color: rgba(8, 99, 16, 0.63);
    width: 90%;
    max-width: 900px;
    padding: 20px;
    border-color: rgb(65, 185, 75);
    border-width: 5px;
    border-style: solid;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-sizing: border-box;
}

#enterOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.4s ease;
}

#enterButton {
    font-size: clamp(24px, 8vw, 48px);
    color: rgb(255, 255, 255);
    cursor: pointer;
    padding: clamp(15px, 4vw, 30px) clamp(30px, 8vw, 60px);
    border: 5px solid rgb(65, 185, 75);
    border-radius: 10px;
    background-color: rgba(8, 99, 16, 0.8);
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
}

#enterButton:hover,
#enterButton:active {
    color: rgb(219, 255, 217);
    background-color: rgba(8, 99, 16, 0.95);
    transform: scale(1.05);
}

@font-face {
    font-family: 'main';
    src: url('Minecraft.ttf');
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    #roddyricchbox {
        margin: 20px auto;
        padding: 15px;
        border-width: 3px;
    }
    
    img {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }
    
    #enterButton {
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    body {
        background-attachment: scroll;
    }
    
    #roddyricchbox {
        gap: 8px;
    }
    
    img {
        width: 120px;
        height: 120px;
    }
}