* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}
/* I block the scroll */
*::-webkit-scrollbar {
    display: none;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: "Sansation", sans-serif;
    overflow-x: hidden;
    }

/* Background layer with opacity only on the image */
.background_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/background2.jpg   ");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(100%); /* Opacity */
    z-index: -1;
}

.navigator_bar {
    background: linear-gradient(
        to bottom,
        rgba(71, 67, 67, 1) 92%,
        rgba(71, 67, 67, 0.8) 97%,
        rgba(71, 67, 67, 0.4) 100%,
        rgba(71, 67, 67, 0) 100%
    );
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); 

    width: 100vw;
    box-sizing: border-box;
}

.img_logo img {
    height: 20vh;
}

.list_navbar {
    list-style: none;
    display: flex;
    gap: 40px;
}

.list_navbar li a {
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 3px;
}

.list_navbar li a:hover {
    color: #b19099;
}

.anime_container {
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 40px;
}

.anime_container h1 {
    width: 100%;
    font-size: 80px;
    font-weight: 300;
    text-align: left;
    font-style: normal;
    letter-spacing: 3px;
    color: white;
    padding: 40px;
}

.anime_card {
    display: flex;
    gap: 40px; /* space between cards */
    flex-wrap: wrap; /* allows downloading on small screens */
    justify-content: center;
    margin-top: 30px;
}

/* Style of each card */
.card_form {
    background-color: black;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 5px;
    transition: transform 0.3s;
    width: 200px;
    text-align: center;
}

.card_form img {
    width: 100%;
    height: 300px;        
    object-fit: cover; /* crop to fill space without warping */    
}

/* Hover effect to move the cards */
.card_form:hover {
    transform: scale(1.05);
}

.tittle h3 {
    width: 100%;
    font-weight: 300;
    text-align: left;
    font-style: normal;
    letter-spacing: 3px;
    color: white;
    padding: 10px 0 0 0;
}

.tittle h5,
.tittle h3 {
    width: 100%;
    font-weight: 300;
    text-align: left;
    font-style: normal;
    letter-spacing: 3px;
    color: white;
    padding: 10px 0 0 0;
}

.tittle h3 {
    font-weight: bold;
}

.card_form a {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* === TABLET (768px - 1024px) === */
@media (max-width: 1024px) {
    .navigator_bar {
        padding: 0 40px;
    }

    .img_logo img {
        height: 12vh;
    }

    .list_navbar li a {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .anime_container h1 {
        font-size: 50px;
        padding: 20px;
    }

    .card_form {
        width: 180px;
    }

    .card_form img {
        height: 250px;
    }
}

/* === CELULAR (hasta 767px) === */
@media (max-width: 767px) {
    .navigator_bar {
        padding: 0 20px;
        gap: 10px;
    }

    .img_logo img {
        height: 10vh;
    }

    .list_navbar {
        gap: 20px;
    }

    .list_navbar li a {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .anime_container {
        padding: 20px;
    }

    .anime_container h1 {
        font-size: 36px;
        padding: 20px 0;
    }

    .anime_card {
        gap: 20px;
    }

    .card_form {
        width: 150px;
    }

    .card_form img {
        height: 220px;
    }

    .tittle h3,
    .tittle h5 {
        font-size: 14px;
    }
}



