html, body{
    margin: 0%;
    padding: 0%;
    height: 100%;
}
body{
    background: rgb(58, 56, 56);
    background-size: cover;
}
section{
    animation: appear 5s linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
}

header {
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 800;
   background-color: rgba(0, 0, 0, 0);
   transition: background 0.3s color 0.3s;
   width: 100%;
   justify-content: space-around;
   
}

header a {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    background-color: rgba(0, 0, 0, 0);
    font-family: 600;
    text-shadow:2px 2px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    

    
}
.genres {
    cursor: pointer;
    font-size: 1.2em;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    display: inline-block;
    text-align: center;
    border: none;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

/* Full-screen menu overlay */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%); /* Start hidden above the viewport */
    transition: transform 0.5s ease-in-out; /* Smooth slide-in animation */
    z-index: 1000;
}

/* When menu is active */
.fullscreen-menu.active {
    transform: translateY(0); /* Slide into view */
}

/* Close button */
.close-menu {
    position: absolute;
    top: 50px;
    right: 40px;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

/* Menu content */
.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    background-color: rgba(0, 0, 0, 0);
}

.menu-content a {
    text-decoration: none;
    color: white;
    font-size: 2em;
    transition: color 0.3s;
}

.menu-content a:hover {
    color: yellow;

}












.genres{
    font-size: 1.2em;
    background-color: rgba(0, 0, 0, 0);
    cursor: pointer;
    position: relative;
}
.genres .menu{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0);
    
}
header a:hover{
    color: rgba(0, 0, 0, 1);
   
}
header input{
    flex-grow: 0.5;
    border: solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px;
}
#profile-info{
    cursor: pointer;
}
#profile{
    width: 40px;
    border-radius: 50%;
    background-color:white;
}
.head{
    background-color: rgba(0, 0, 0, 0.39);
    height: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.wrapper{
    display: flex;
    align-items: center;
    flex-direction: column;
    size: 100%;
}
.playscreen{
    margin: 0%;
    padding: 0%;
    margin-top: 0%;
    align-self: center;
    justify-content: center;
    height: 80%;
    width: 75%;
    background-color: black;
}
.playbutton{
    cursor: pointer;
    margin-top: 17%;
    margin-left: 42% ;
    height: auto;
    width: 10%;
}
.server {
    display: flex;
    flex-direction: row;
    justify-content: center ;
    align-items: center;
    background-color: rgb(58, 56, 56);
    height: 20%;
    width: 100%;
    padding: 0%;
    margin: 0%;
    gap: 2%;
}


.s1, .s2, .s3 {
    margin: 0%;
    padding: 0%;
    display: flex;
    flex-grow: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5%;
    height: 50%;
    width: 10%;
    background-color: rgb(145, 138, 138);
    cursor: pointer;
}

.button{
    padding: 0%;
    margin: 0%;
    margin-left: -55%;
    margin-bottom: -40%;
    margin-top: 3%;
    display: flex;
    height: auto;
    width: 30%;
}
#instruction{
    margin: 0%;
    padding: 0%;
    color: white;
    margin-top: 1.2%;
}
#server, #cloud{
    display: flex;
    margin: 0%;
    padding: 0%;
    margin-top: 10%;
    margin-left: 10%;
    color: white;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}
#h {
    color: gold;
}