
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}



.lists{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    background-image: url(../images/serverlist.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.lists .heading{
    margin-top: 90px;
    margin-bottom: 30px;
    font-weight: bolder;
    font-size: 8vh;
    color: white;
    text-decoration: underline;
    font-family: "Oswald", sans-serif;
    font-variant: small-caps;
    pointer-events: none;
}



.lists .options{
    margin-bottom: 30px;
    display: flex;
    gap: 100px;
    padding: 10px;
    border-bottom: 4px solid rgb(51, 84, 156);
}

.lists .options .btn{
    padding: 20px;
    border-radius: 5vw;
    width: 10vw;
    font-size: 20px;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.35);
    font-weight: bold;
    transition: all 0.4s;
}

.lists .options .btn a{
    color: white;
    text-decoration: none;
}

.lists .sec-name{
    margin-top: 40px;
    margin-bottom: 20px;
    width: 60vw;
    font-size: 25px;
    text-align: center;
    font-weight: bolder;
    color: beige;
    padding: 15px;
    border-radius: 15px;
    background: rgba(74, 74, 195, 0.35);
    border: 2px solid rgb(59, 59, 201);
    box-shadow: 0px 0px 100px rgb(42, 42, 180);
    pointer-events: none;
}


.cards-section{
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.cards-section .cards{
    width: 350px;
    height: 250px;
    border-radius: 20px;
    background-color: rgba(83, 106, 86, 0.3);
    border: 1px solid rgba(83, 93, 106, 0.5);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s;
}

.cards-section .cards:hover{
    transform: translateY(-10px);
    box-shadow: 0px 0px 100px rgb(232, 44, 44);
    background-image: url(../images/home.png);
}

.cards-section .cards h5{
    font-size: 30px;
    border-bottom: 2px solid black;
    color: #96cb59;
}

.cards-section .cards img{
    height: 100px;
    border-radius: 50px;
}

.cards-section .cards .bottom{
    display: flex;
    gap: 70px;
    border-top: 2px solid black;
}

.cards-section .cards .bottom p{
    font-size: 20px;
    color: whitesmoke;
}

.cards-section .cards .bottom img{
    height: 30px;
    background-color: rgb(16, 56, 176);
}



@media (max-width: 992px){

    .lists .heading{
        font-size: 6vh;
        margin-top: 120px;
    }

    .lists .options{
        gap: 50px;
    }

    .lists .options .btn{
        width: 140px;
        font-size: 16px;
    }

    .lists .sec-name{
        width: 80vw;
    }

    .cards-section .cards{
        width: 300px;
        height: auto;
    }
}



@media (max-width: 768px){

    nav{
        flex-direction: column;
        gap: 10px;
        padding: 10px 0;
        backdrop-filter: blur(10px);
    }

    nav ul{
        gap: 15px;
        padding: 0;
        justify-content: center;
    }

    nav ul li{
        font-size: 16px;
        padding: 6px;
    }

    nav img{
        width: 40px;
    }

    .lists{
        background-attachment: scroll;
    }

    .lists .heading{
        font-size: 4.5vh;
        margin-top: 130px;
        text-align: center;
    }

    .lists .options{
        gap: 20px;
        flex-wrap: wrap;
        border-bottom: none;
    }

    .lists .options .btn{
        width: 120px;
        font-size: 14px;
        padding: 10px;
    }

    .lists .sec-name{
        width: 90vw;
        font-size: 22px;
    }

    .cards-section{
        flex-direction: column;
        align-items: center;
    }

    .cards-section .cards{
        width: 90%;
        max-width: 330px;
    }
}



@media (max-width: 480px){

    .lists .heading{
        font-size: 4vh;
        margin-top: 140px;
    }

    .lists .options .btn{
        width: 110px;
        font-size: 13px;
    }

    footer{
        font-size: 12px;
        padding: 10px;
        text-align: center;
    }
}



@media (max-width: 768px){
    .snowflake{
        opacity: 0.5;
    }
}


@media (max-width: 420px) {

    .lists .options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        justify-items: center;
        border-bottom: none;
    }

    .lists .options .btn {
        width: 120px;
        padding: 10px;
        font-size: 14px;
    }

    
    .lists .options .btn:last-child {
        grid-column: 1 / -1;
        width: 140px;
    }
}

