
#anime-section {
    display: flex;
   
    align-items: center;
  
  
    padding: 20px;
   
    border-radius: 8px;
   color: white;
}

.anime-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.anime-details {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}




.mid{
    border-left: rgb(71, 69, 69) 2px solid;
    margin-right: 40px;
    margin-left:  -50px;
}
.details-container {
    display: flex;
   
    justify-content: space-between;
    margin-top: 10px;
    margin-left: 70px ;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    width: 600px;
}

.header{
    font-size: 18px;
    color: white;
    padding-bottom: 10px;
    margin-top: 10px;
}

.genres, .themes{
    color: rgb(93, 90, 90);
    font-size: 16px;

}


a {
    color: #007bff;
    text-decoration: none;
}

.titles{
   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
 
}


.themes a:hover {
    text-decoration: none;
    color: red;
}

.error {
    color: #ff4c4c; 
    background-color: #ffe6e6;
    border: 1px solid #ff9999; 
    padding: 10px; 
    border-radius: 5px; 
    font-size: 1rem;
    margin: 10px 0; 
    text-align: center; 
    font-weight: bold; 
}




.producers a:hover, .studios a:hover, .licensors a:hover {
    color: #ff4c4c;
}


.left-side, .right-side {
    width: 50%;
}

.left-side {
 
    padding-right: 10px;
    margin-right: 20px;
}

.right-side {
    padding-left: 10px;
}


.anime-details h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: rgba(241, 183, 183, 0.916);
}

.anime-details h4 {
    font-size: 20px;
    margin: 5px 0;
    color: #666;
}

.anime-details p {
    font-size: 16px;
    margin: 5px 0;
}

.anime-details p strong {
    color: #423e3e;
}


.anime-banner-2 {
 
    margin: 40px auto;
   
   
    text-align: center;
}

.anime-banner-2 h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fc0a0a;
}

#synopsis-ani {
    text-align: left;
    font-size: 16px;
    background-color: #1e1d1d5e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #7b7b7b;
    padding: 20px;
}


/* Background Info Section Styles */


.background-info h2{
    font-size: 24px;
 
    color: #fc0a0a;
    text-align: center;
   
}
#background-info {
    width: 99%;
   margin-top: 10px;
    padding: 20px;
    background-color: #1e1d1d5e;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.background, .time, .producers {
    margin-bottom: 20px;
}

.background h3{
    color: red;
    font-size: 20px;
    padding-bottom: 2rem;
    text-align: center;
}


.background p{
    font-size: 20px;
    color: #9f9b9b;
}

 .time p, .producers p {
    font-size: 16px;
    color: #555;
}

.time p span{
    color: whitesmoke;
}

.producers h2 , .licensors h2, .studios h2 {
    font-size: 23px;
    color: #ffffff;
    margin-bottom: 5px;
}

.producer h3, .licensors h3, .studios h3 {
    font-size: 19px;
    margin-bottom: 5px;
    color: #b83b84;
    margin-top:  10px;
}



.producers{
    color: #007BFF;
    text-decoration: none;
    font-size: 16px;
}

.producers a, .studios a, .licensors a, .demographics p a {
    text-decoration: none;
    font-size: 17px;
}

.producers a:hover, .studios a:hover, .demographics p a:hover , .licensors a:hover {
    text-decoration: none;
    color: red;
}

a:visited{
    color: rgb(33, 74, 110);
}


.producers p, .studios p, .licensors p {

    margin-bottom: 10px;
}

.producers p span {
   margin-top:  10px;
   color: white;
}

.licensor p span, .studio p span{
    color: whitesmoke;
    font-size: 16px;
}

.studio p, .licensor p{
    font-size: 16px;
    color: #4d4c4c;

}

.relation p{
    font-size: 15px;
}

.relationship{
    color: rgba(89, 86, 86, 0.918)
}

.relationship a:hover{
    color: var(--red);
}


.openings p,.endings p {
    margin: 5px 0;
    font-size: 12px;
    color: red;
}

.openings p:not(.error),
.endings p:not(.error) {

    color: pink;
}

.producer, .studio, .licensor{
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(84, 34, 34, 0.3);
    backdrop-filter: blur(10px); 
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    transition: transform 0.2s; 
    
}




/* Media Queries for Smaller Screens */
@media (max-width: 768px) {
    #anime-section {
        flex-direction: column;
        padding: 15px;
    }

    .anime-img,
    .anime-details {
        width: 100%;
    }

    .anime-details {
        padding-left: 0;
    }

    .header {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .anime-details h3 {
        font-size: 24px;
    }

    .anime-details h4 {
        font-size: 18px;
    }

    .anime-details p {
        font-size: 14px;
    }
}
