body{
    margin: 0;
    padding: 0;
}

#container{
    top: 50px;
    position: relative;
    display: flex;
    justify-content: center;
}

#wrapper{
    position: relative;
    width: 1324px;
    display: flex;
    justify-content: left;
}

#social-media{
    margin-top: 20px;
}

#social-media a{
    font-size: 25px;
    text-decoration: none;
    color: black;
    margin-left: 10px;
    margin-right: 4px;
    cursor: pointer;
}

#c1{
    width: 330px;
    height: 100%;
}

#img{
    border-radius: 8px;
    object-fit: contain;
    width: 100%;
}

#c2{
    margin-left: 30px;
    width: calc(100% - 330px);
}

#name{
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

#biography-wrapper{
    position: relative;
    margin-top: 30px;
}

#bio{
    max-height: 222px;
    overflow: hidden;
}

#bio p{
    line-height: 22px;
    padding: 0 0 22px 0;
    margin: 0;
}

#read-more{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    bottom: 2px;
    left: 0;
    z-index: 2;
    height: 22px;
}

#read-more a{
    font-weight: 600;
    font-size: 16px;
    color: rgb(1, 180, 228);
    cursor: pointer;
}

#read-more a:hover{
    color: rgb(30, 213, 169);
}

div.should_fade::after{
    content: '';
    width: 100%;
    height: 22px;
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #fff 85%);
}

#known-for-movies{
    margin-top: 20px;
}



.olist{
    width: 100%;
    display: flex;
    list-style-type: none;
    padding: 0 0 10px;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-bottom: 20px;
    margin-top: 0;
}

.olist a{
    text-decoration: none;
    color: black;
}

.olist .movie-card{
    margin: 10px 20px 10px 0;
}

.olist .movie-card img{
    border-radius: 8px;
}

@media only screen and (max-width: 1400px){
    #wrapper{
        width: 95%;
    }

    #c1{
        width: 300px;
    }

    #c2{
        width: calc(95% - 300px);
    }
}

#name-c1{
    display: none;
    font-size: 2.2rem;
}

.full-credits-table{
    width: 100%;
    margin: 10px 0 40px 0;
    box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
    border: 1px solid rgb(227, 227, 227);
}

.full-credits-table tbody{
    display: block;
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-bottom: 1px solid #dedede;
    padding: 10px 0 10px 0;
}

.full-credits-table td{
    padding: 8px 16px;
}

.full-credits-table td.year{
    width: 64px;
    font-weight: 400;
    vertical-align: top;
    text-align: center;
}

.full-credits-table td.separator{
    padding: 0;
}

.full-credits-table td a{
    font-weight: 600;
    text-decoration: none;
    color: black;
}

.full-credits-table td span{
    font-weight: 400;
    opacity: 0.8;
    margin-left: 5px;
}

@media only screen and (max-width: 1000px){
    #c1{
        width: 27%;
    }

    #c2{
        width: 73%;
    }
}

@media only screen and (max-width: 660px){
    #wrapper{
        flex-direction: column;
        justify-content: center;
    }

    #c1, #c2{
        width: 100%;
    }

    #c2{
        margin-left: 0;
    }

    #img-holder{
        width: 39%;
        margin: 0 auto;
    }

    #img{
        border-radius: 8px;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    #name-c2{
        display: none;
    }

    #name-c1{
        text-align: center;
        display: block;
        margin-top: 10px;
    }

    #social-media{
        display: flex;
        justify-content: center;
    }
}

@media only screen and (max-width: 560px){
    #container{
        top: 113px;
    }
}