body {
    background-color: black;
    color: white;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1{
    text-align: center;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin: 20px 0;
}

h2{
    text-align: left;
    font-family: "Press Start 2P", monospace;
    font-size: clamp(1rem, 4vw, 1.5rem);
    line-height: 1.3;
    margin: 15px 0 10px 0;
}

.welcome-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.centeredbox {
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #ffffff;
    font-size: clamp(16px, 4vw, 20px);
    flex: 1;
    min-width: 300px;
}

li{
    margin-bottom: 8px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    line-height: 1.4;
}

.about-container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.rightbox {
    width: 100%;
    max-width: 200px;
    min-height: 400px;
    border-radius: 10px;
    padding: 15px;
    border: 2px solid #ffffff;
    flex-shrink: 0;
}

.hover-list{
    list-style-type: disc;
    color: white;
    padding-left: 20px;
    font-size: clamp(16px, 4vw, 20px);
    margin: 0;
}

.hover-list li {
    margin-bottom: 8px;
}

.hover-list li a{
    position: relative;
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 2px 0;
    transition: all 0.3s ease;
}

.hover-list li a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

.hover-list li a:hover::after{
    width: 100%;
}

/* Tablet styles */
@media screen and (max-width: 768px) {
    body {
        padding: 5px;
    }
    
    .welcome-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .about-container {
        justify-content: center;
        margin-top: 20px;
    }
    
    .centeredbox {
        min-width: auto;
        width: 100%;
        max-width: 500px;
        padding: 15px;
    }
    
    .rightbox {
        max-width: 500px;
        width: 100%;
        min-height: auto;
        padding: 15px;
    }
    
    h1 {
        font-size: clamp(1rem, 6vw, 2rem);
    }
    
    h2 {
        font-size: clamp(0.9rem, 5vw, 1.3rem);
    }
}

/* Mobile styles */
@media screen and (max-width: 480px) {
    body {
        padding: 2px;
    }
    
    .welcome-container {
        gap: 15px;
    }
    
    .centeredbox,
    .rightbox {
        padding: 12px;
        max-width: 100%;
    }
    
    h1 {
        font-size: clamp(0.9rem, 7vw, 1.8rem);
        margin: 15px 0;
    }
    
    h2 {
        font-size: clamp(0.8rem, 6vw, 1.2rem);
    }
    
    .hover-list {
        padding-left: 15px;
        font-size: clamp(14px, 5vw, 18px);
    }
    
    .hover-list li a {
        padding: 5px 0;
    }
}

/* Extra small screens */
@media screen and (max-width: 320px) {
    .centeredbox,
    .rightbox {
        padding: 10px;
    }
    
    .hover-list {
        padding-left: 10px;
    }
}