
*{
    border: 0;
    outline: 0;
    margin: 0;
}

.body{
    background-color: #000000;
}

.container{
    overflow: hidden !important;
}

.slider-anime {
    position: relative;
    width: 100%;
    height: 400px; /* Set height of the slider */
    overflow: hidden;
}

.slide-the-image {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
}

.anime-before {
    background-image: url('https://i.pinimg.com/originals/93/7a/0f/937a0f64c67fc80a959be30c17c79a93.gif'); /* Replace with the path to your GIF */
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 80%;
    opacity: 0.4;
}

.anime-after {
    position: absolute; /* Allows for layering */
    top: -1%;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.9); /* Shadow effect */
    backdrop-filter: blur(3px); /* Optional: blurs the background behind the title */
}

.anime-text-logo img{
    position: relative;
    float: left;
    width: 24rem;
    top: 4rem;
}

.anime-title{
    position: relative;
    top: 5rem;
    font-size: 59px;
    font-weight: 200;
    max-width: 60%;
    max-height: 5rem;
    overflow: hidden;
    color: #fff;
    font-family: "Anton SC", sans-serif;
}

.basic-info-anime{
    position: relative;
    top: 5rem;
    display: flex;
    gap: 3rem;
    font-family: "Teko", sans-serif;
    color: #ababab;
}

.network-anime svg {
    width: 1rem;
}

.network-anime img{
    width: 2.5rem;
}

.watch-link {
    background-color: #ff5733; /* Replace with your desired color */
    font-family: "Lexend Deca", serif;
    padding: 5px 20px; /* Padding for the link */
    border-radius: 6px; /* Rounded corners */
    text-align: center; /* Center the text */
    display: inline-block; /* Allow padding to take effect */
    cursor: pointer; /* Change cursor on hover */
    transition: background-color 0.3s; /* Smooth transition on hover */
    font-size: 15px;
    position: relative;
    top: 6rem;
}

.watch-link > a {
    text-decoration: none;
    color: white; /* Text color */
}

.watch-link:hover {
    background-color: #c03a2b75; /* Darker shade on hover */
    transition: ease-out 0.3s; /* Smooth transition on hover */
    outline: 2px solid #ff5733;

}

.type-anime{
    font-size: 19px;
    position: relative;
    top: 0.2rem;
}

.network-anime{
    font-size: 19px;
    position: relative;
    top: 0.1rem;
}

.latest-anime{
    font-size: 19px;
    position: relative;
    top: 0.2rem;
}

.contniue-watch{
    margin-bottom: 1rem;
}

.both-continue{
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-family: "Lexend Deca", serif;
}

.continue-title{
    font-size: 20px;
    color: #fff;
    font-weight: 300;
}

.continue-title > span{
    font-size: 22px;
    color: #fff;
    font-weight: 500;
}

.all-continue > a{
    font-size: 14px;
    color: #ababab;
    position: relative;
    top: 0.4rem;
    text-decoration: none;
    transition: color ease .3s;
}

.all-continue > a:hover{
    color: #ff5733;
}

.continue-things{
    padding: 0 1rem;
    display: flex;
    overflow-x: auto; /* Enables horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap scrolling */
    cursor: pointer;
}

.continue-things::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.continue-b{
    border-radius: 6px;
    flex: 0 0 auto; /* Prevents items from shrinking */
    margin-right: 10px; /* Space between items */
    scroll-snap-align: start; /* Snap alignment */
    opacity: 0; /* Start hidden */
    transform: translateX(100%); /* Start off-screen to the right */
    animation: swipe-in 0.5s forwards; /* Trigger animation */
}

.continue-b > a {
    text-decoration: none;
}

.continue-b:hover {
    transform: scale(1.9); /* Slightly increase size on hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

@keyframes swipe-in {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


.continue-image img{
    width: 14rem;
    border-radius: 8px; /* Matches the container for consistent look */
    /* box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5); Horizontal, vertical, blur, color */
    height: 8rem;
}

.continue-basic{
    font-family: "Lexend Deca", serif;
    text-align: ;
}

.continue-now{
    font-size: 17px;
    color: #fbfafa;
    padding: 0 12px;
    overflow-x: hidden;
    width: 11rem;
}

.continue-episode{
    font-size: 14px;
    color: #ababab;
    padding: 0 4.5rem;
}

.upcoming-show{
    margin-bottom: 1rem;
}

.both-upcoming{
    font-family: "Lexend Deca", serif;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

.upcoming-r{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.upcomung-title{
    font-size: 20px;
    color: #fff;
    font-weight: 200;
}

.upcomung-title > span{
    font-size: 22px;
    color: #fff;
    font-weight: 500;
    text-transform: capitalize;
}

.all-upcoming > a{
    font-size: 14px;
    color: #ababab;
    position: relative;
    top: 0.4rem;
    text-decoration: none;
    transition: color ease 0.3s;
}

.all-upcoming > a:hover{
    color: #ff5733;
}

.upcoming-thing {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    width: calc(16% - 1rem); 
    opacity: 1; /* Initial state is hidden */
    background-color: transparent;
  }

  .upcoming-thing > a{
    text-decoration: none;
  }
  
  .upcoming-thing:hover {
    transform: scale(0.9);
    cursor: pointer;
  }

.upcoming-image img{
    width: 12rem;
    height: 17rem;
    border-radius: 6px;
    object-fit: cover;
}

.upcoming-image:hover{
    filter: blur(10px);
}

.upcoming-basic{
    font-family: "Lexend Deca", serif;
    height: 3.2rem;
}

.upcoming-now{
    font-size: 17px;
    padding: 4px;
    color: #ababab;
    max-width: 12rem;
    max-height: 3.5rem;
    word-break: break-all;
    overflow-y: hidden;
    font-weight: 500;
}

.upcoming-episode{
    font-size: 14px;
  background-color: #ffffffa5;
  color: #000000;
  padding: 2px 10px;
  display: inline-block;
  border-radius: 6px;
  position: relative;
  top: 15rem;
  left: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  /* float: right; */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.1s ease forwards; /* Animation properties */
}

.bookmark-continue > svg {
    width: 1rem;
    position: relative;
    top: -0.1rem;
}

.bookmark-continue {
    font-family: "Lexend Deca", serif;
    font-size: 14px;
    color: #ababab;
}

.request-anime {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    /* background-image: url('https://cdn.noitatnemucod.net/thumbnail/1366x768/100/6b1b090ae52f90441f0e7ed720e86291.jpg');
    background-size: cover; */
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(58, 58, 62, 0.8); /* Fallback background color with transparency */
    backdrop-filter: blur(10px); /* Blur effect */
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    z-index: 103;
    display: none;
}


.request-anime::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px); /* Apply blur effect */
    background-color: rgba(0, 0, 0, 0.4); /* Darken background slightly */
    z-index: 1;
}

.request-the-anime {
    position: relative;
    top: 20%;
    z-index: 2; /* Ensure content is above the blurred backdrop */
    display: block;
    width: 35rem !important;
    max-width: 600px;
    padding: 20px;
    background-color: rgba(62, 61, 61, 0.7); /* Semi-transparent background for form */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.request-title, .request-needed {
    margin-bottom: 10px;
    color: #fff;
}

.request-anime input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
}

.submit:hover{
    background-color: #0468d2;
}

.closeure{
    display: flex;
    justify-content: space-between;
}

.clear-request{
    background-color: rgb(108, 4, 4);
    width: 1.2rem;
    height: 1.5rem;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
}

.all-in {
    position: relative;
    top: -3rem;
}

@media screen and (max-width: 1398px) {
    .upcoming-r{
        gap: 1rem;
    }

    .upcoming-thing {
        width: calc(20% - 1rem); 
      }
}

@media screen and (max-width: 1198px) {
    .upcoming-r{
        gap: 0rem;
    }

    .upcoming-thing {
        width: calc(25% - 1rem); 
      }
}

@media screen and (max-width: 988px) {
    .anime-title{
        /* max-height: 2rem; */
        font-size: 32px;
    }
    .upcoming-r{
        gap: 0.5rem;
        align-items: center; 
    }

    .upcoming-thing {
        width: calc(30% - 1rem); 
      }

    .continue-image img{
        width: 11rem;
        height: 7rem;
    }

    .continue-now{
        font-size: 14px;
    }

    .continue-episode{
        font-size: 12px;
        padding: 0 0.9rem;
    }

    .continue-title{
        font-size: 18px;
    }

    .continue-title > span{
        font-size: 20px;
    }

    .upcomung-title{
        font-size: 18px;
    }

    .upcomung-title > span{
        font-size: 20px;
    }

    .upcoming-now{
        font-size: 14px;
    }

    .upcoming-episode{
        font-size: 12px;
    }

    .anime-text-logo img{
        width: 10rem;
        top: 4.5rem;
    }


    .slider-anime {
        height: 300px;
      }
}

@media screen and (max-width: 766px) {
    .upcoming-r{
        gap: 0.5rem;
        align-items: center;
    }

    .upcoming-thing {
        width: calc(32% - 0.5rem); 
      }

      .upcoming-image img{
        width: 9rem;
        height: 11rem;
        object-fit: cover;
        border-radius: 6px;
        overflow: hidden;
    }

    .upcoming-image{
        border-radius: 6px;
        overflow: hidden;
    }

    .upcoming-now{
        max-height: 3rem;
    }

    .upcoming-episode{
        top: 9.2rem;
    }

    .anime-title{
        font-size: 25px;
    }
}

@media screen and (max-width: 576px) {
    /* .slider-anime {
        left: -0.5rem;
        width: 120%;
    } */
}

@media screen and (max-width: 475px) {
    .anime-text-logo img{
        width: 9rem;
        left: -0.5rem;
    }
    .anime-title {
        font-size: 20px;
        max-height: 3rem;
        left: -0.9rem;
    }

    .type-anime{
        font-size: 18px !important;
    }

    .latest-anime{
        font-size: 18px !important;
        left: -2rem;
    }

    .basic-info-anime {
        left: -0.7rem;
    }

    .watch-link {
        left: -0.9rem;
    }

    .upcoming-now{
        font-size: 13px;
        max-height: 2.9rem;
    }

    .continue-title {
        font-size: 15px;
    }

    .continue-title > span {
        font-size: 17px;
    }

    .upcomung-title {
        font-size: 15px;
    }

    .upcomung-title > span {
        font-size: 17px;
    }

    .bookmark-continue {
        font-size: 12px;
    }

    .upcoming-now {
        font-size: 12px;
        max-height: 2.6rem;
    }

    .upcoming-image img {
        width: 9rem;
        height: 10rem;
        object-fit: cover;
        border-radius: 6px;
        overflow: hidden;
    }

    .watch-link {
        padding: 2px 10px;
        border-radius: 6px;
        font-size: 12px;
    }

    .continue-now {
        font-size: 12px;
    }
}

@media screen and (max-width: 347px) {
    .upcoming-now {
        font-size: 11px;
        max-height: 2.4rem;
    }

    .upcoming-image img {
        width: 9rem;
        height: 9rem;
        object-fit: cover;
        border-radius: 6px;
        overflow: hidden;
    }


    .anime-title {
        max-width: 90%;
        font-size: 17px;
        max-height: 1.6rem;
        left: -0.9rem;
    }

    .anime-text-logo img {
        width: 7rem;
        left: -0.5rem;
    }
}



