html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #080808;
    color: #e9e9e9;
    font-family: Poppins, Helvetica, sans-serif;
    overflow: hidden;
    display: grid;
    place-items: center;
}


.snow-image {
    position: absolute;
    top: -28.9%; 
    left: 3%; 
    width: 400px;
    height: 100px; 
    z-index: 1; 
}

.main-container {
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    align-items: center; 
    background-color: #0000009b; 
    backdrop-filter: blur(8px);
    color: #fff;
    width: 700px;   
    height: 300px; 
    border-radius: 10px;
    padding: 20px;
    border: #ff0404;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: absolute; 
}

.top {
    display: inline-block;
    position: relative;
    font-size: inherit;
    text-align: center;
    
}

.top img {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%); 
    width: 100%; 
    height: 100%; 
    z-index: 1; 
}

.top h1 {
    color: rgb(255, 255, 255);
    position: relative;
    font-weight: bold;
    margin: 0;
    padding: 0;
    font-size: 3em;
    position: relative;
    display: inline-block;
}

.middle {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    cursor: pointer;
}

.icon:hover {
    transform: scale(1.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.icon img {
    width: 40px;
    height: 40px;
}

.icon:active {
    transform: scale(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.bottom {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #e1e1e1;
}

.secondary-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center; 
    gap: 10px; 
    background-color: #0000009b;
    backdrop-filter: blur(8px);
    color: #fff;
    width: 500px;
    height: 50px;
    border-radius: 10px;
    padding: 5px;
    bottom: -70px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
}

.menu-item {
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    transition: transform 1s ease;
}

.menu-item:hover {
    color: #ffffff;
    text-shadow: 0 0px 8px rgba(255, 228, 54, 0.779);
}

.menu-item.selected {
    color: #fff475;
    text-shadow: 0 0px 8px rgba(255, 228, 54, 0.779);
    transition: transform 1s ease;
}


.menu-item:before {
    content: '^'; 
    display: inline-block;
    margin-right: 5px;

}

.menu-item.selected:before {
    content: '^';
    transform: rotate(90deg);
}

.credits-container {
    padding-top:  30px;
    width: 500px;
    height: 200px;
}

.credits-image {
    float: left;
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.credits-header {
    padding-left: 130px;
    font-size: 30px;
}

.credits-text {
    padding-left: 0px;
    padding-top: 10px;
    font-size: 13px;
}

.guns-cocks {
    border-radius: 0%;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.guns-cocks:hover {
    transform: scale(1.2);
}

a {
    text-decoration: none;
}

#snowfall {
    z-index: 0;
    width: 100%;
    height: 100%;
}

.snowflake {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 0;
}

@font-face {
    font-family: 'MinecraftFont';
    src: url('/minecraftia.ttf') format('truetype'); 
}
.MinecraftPopUp {
    position: absolute;
    top: 70%;
    left: 70%;
    transform-origin: left center;
    white-space: nowrap; 
    font-size: 18px;
    text-shadow: 1px 2px 0px #000000fa;
    text-align: center;
    font-family: 'MinecraftFont', sans-serif;
    rotate: z 10deg;
    color: yellow;
    animation: minecraftshit .28s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    pointer-events: none;
}
@keyframes minecraftshit {
    100% {
        transform: scale(0.925) rotate(-20deg);
    }
    0% {
        transform: scale(1) rotate(-20deg);
    }
}
