html {
    background: url("images/space.jpg") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    scrollbar-width: none;
}
/* For the Website Logo*/
.title img {
    width: 25%;
    opacity: 1;
    animation: fadeIn 0.5s ease-in forwards;
    transition: transform .2s
    
}

.title img:hover {
    transform: scale(1.05); 
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/*Nav Bar*/
.nav {   
    max-width: 600px;   
    width: 100%;         
    font-size: 20px;
    margin: 0 auto;     
}
.nav ul {
    list-style: none;      
    margin: 0;
    padding: 0;
    display: flex;         
    justify-content: center;
    gap: 5px;
}

li a {
    display: flex;
    justify-content: center;              
    align-items: center;  
    width: 140px;
    min-width: 120px;
    height: 40px;  

    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(10px);             
    -webkit-backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255);
    border-radius: 5px;
    font-family: "Delphino";
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    text-decoration: none;

    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

li a:hover {
    background-color: rgba(0, 25, 255, 0.7); 
}

.nav li:nth-child(3) a:hover {
    background-color: rgba(255, 255, 0, 0.7); 
}

.nav li:nth-child(4) a:hover {
    background-color: rgba(69, 79, 191, 0.7); 
}

.nav li:nth-child(2) a {
    background-color: rgba(33, 33, 33, 0.7); 
}
/*Main Part*/

.menu {
    max-width: 600px;   
    width: 100%;
    padding: 20px;
    margin: 20px auto;  
    background-color: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(10px);             
    -webkit-backdrop-filter: blur(10px); 
    border: 1px solid rgba(255, 255, 255);
    border-radius: 5px;
    color: #ffffff;
    font-family: "Delphino", sans-serif;
    font-size: 16px;
    line-height: 1.4;
}
/* Team and Members */

.team {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 10px;
    justify-items: center;
    width: 100%;         
    box-sizing: border-box;
}

.member {
    text-align: center;
}

.member img {
    width: 90px;   
    display: block;
    margin: 0 auto 10px;
    transition: transform 0.3s ease;
}

.member img:hover {
    transform: scale(1.1); 
}

.compo img {
    width: 90px;   
    display: block;
    margin: 0 auto 10px;
    transition: transform 0.3s ease;
}

.compo img:hover {
    transform: scale(1.1); 
}

.compo h3 {
    font-size: 15px; 
}

/*Fonts and Responsibility for other devices o7 */
@font-face {
    font-family: Delphino;
    src: url("fonts/Delfino.ttf");
}

@media (max-width: 768px) {
    .title img {
        width: 60%
    }
    .nav ul {
        flex-direction: column;   
        align-items: center;     
    }
    .nav li a {
        min-width: 320px;            
        margin: 5px 0;            
        font-size: 16px;  
        border-radius: 5px;       
    }

    .menu {
        max-width: 90%;   
        font-size: 14px;  
        padding: 15px;
    }

    .member img {
        width: 50px;  
    }

    .member h3 {
        font-size: 12px; 
    }

    .compo img {
        width: 50px;  
    }

    .compo h3 {
        font-size: 9px; 
    }
}

/* Written by Kazzy so check out metakabe.nekoweb.org :P */