body{
    background-color: var( --bg-dark );
    
}
main{
    padding: 20px;
}
main .details{
    display: flex;
    width: 100%;
    gap: 20px;
    color: var( --text-primary);
}

main .details .image{
    max-width: 300px;
    height: 300px;
    width: 100%;
}

main .details .image img{
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
}

main .details .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

/* buttons */
main .btns{
    display: flex;
    gap: 20px;
    margin:20px 10px;


}
main .btns button{
    background-color: transparent;
    border:2px solid var(--text-seconadry);
    width: 100px;
    height: 30px;
    border-radius: var(--radius-sm);
    
}
main .btns button:hover{
    border:2px solid var(--text-primary);
}
main .btns button a{
    color: var(--text-seconadry);
}

/* synopsis */

main .synopsis{
    max-width: 80%;
    width: 100%;
    color: var(--text-primary);
    margin: 0 10px;
    text-align: justify;
    hyphens: auto;
    line-height: 20px;
    
}

@media(max-width:767px){
    main .details{
        flex-direction: column;
        align-items: center;
    }

    main .btns{
        justify-content: center;
        flex-wrap: wrap;
    }

    main .synopsis{
        margin: auto;
    }

}

@media (min-width:1200px){
    main{
        width: 80%;
        margin: auto;
    }
}