* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: 'Trebuchet MS', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #191919;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
}
header {
    width: 100%;
    height : 80px;
    display: flex;
    justify-content: space-between;
    padding: 5px 40px;
}

header .logo {
    width: 5vw;
    height: auto;
    margin-top: 5px;

}

header .logo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

header nav ul{
    display: flex;
    background-color: #3e5f3e;
    padding: 0 50px;
    border-radius: 50px;
}



header nav ul li.active a {
    color: #191919;
    margin: 0;
    border: none;
    background-color: white;
    padding: 8px 25px;
    border-radius: 30px;
}

header nav ul li {
    margin: 23px 5px;
}

header nav ul li a{
    color:aliceblue;
    display: inline-block;
    justify-content: space-between;
    padding: 5px 0;
    margin: 0 10px;
    border: 3px solid transparent;
    text-transform: uppercase;
    font-weight: bold;
}

header nav ul li a:hover,
header nav ul li a.active{
    border-bottom: 1px solid white;
    transition: 0.5s;
}

.hamburger {
    cursor: pointer;
    display: none;
    margin-top: 23px;
}

.hamburger div {
    width: 30px;
    height: 2px;
    margin: 7px 0;
    background: white;
}

.line{
    transition: transform 0.3s ease-out,
    opacity 0.1s ease-out;
}


.hamburger.active .l1 {
    transform: translateY(7px) rotate(135deg);
    width: 35px;
}

.hamburger.active .l2 {
    opacity: 0;
}

.hamburger.active .l3 {
    transform: translateY(-10px) rotate(-135deg);
    width: 35px;
}

@media only screen and (max-width : 900px){
    header{
        padding: 0 30px;
    }

}
@media only screen and (max-width : 1050px){

    .hamburger{
        display: block;
        top: 23px;
    }
    header nav{
        position: absolute;
        width: 100%;
        left: -100%;
        top: 80px;
        width : 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.56);
        backdrop-filter: blur(4px);
        transition: all 1s ease;
        padding: 20px;
        transform: translate(-100%);
        flex-direction: column;
        text-align: center;
    }
    header #nav_check:checked ~ nav{
        left: 0;
    }
    header nav ul{
        display: block;
        background-color: transparent;
    }
    header nav ul li a{
        color:white;
        margin: 5px 0 ;
    }
    header nav ul li.active a {
        color: #3e5f3e;
        background-color: white;
    }
    header nav.active {
        transform: translate(0);
    }
    header .logo {
        width: 8vw;
    }

}

@media only screen and (max-width : 500px){
    header .logo {
        width: 15vw;
    }

    h1{
        font-size:  30px;
    }
}

h1{
    color: white;
    font-size: 41px;
    size: 100px;
    margin-top: 20px;
    /*
    background-color: #3e5f3e;
    padding: 10px 25px;
    border-radius: 30px 30px 0 0;
    */
}

#library-title{
    font-size: 30px;
    padding: 0 50px;
    color: white;
    margin-top: 15px;
    margin-bottom: 10px;
    border-bottom: #3e5f3e;
    border-bottom-style: solid;
}

p{
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    /*
    background-color: #3e5f3e;
    padding: 10px 25px;
    border-radius: 0 0 30px 30px;
    */
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    margin-top: 50px
}

.card {
    border-radius: 8px;
    overflow: hidden;
    width: 325px;
    box-shadow: 1px 2px 4px #3e5f3e;
    transition: transform 0.2s;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.card-content {
    padding: 10px;
}

.card h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 8px;
    border-bottom: #3e5f3e;
    border-bottom-style: solid;
}

.card p {
    font-size: 14px;
    color: white;
    margin-bottom: 15px;
}

.card:hover {
    transform: scale(1.05);
}

#anilist-link-container{
    display: flex;
    justify-content: right;
    margin-top: 20px;
    width: 50%;
    margin-left: auto;
}

#anilist-link{
    color: white;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
    border: none;
    background-color: #3e5f3e;
    padding: 10px 15px;
    border-radius: 25px;
    display: block;
    font-weight: bold;
}
