@import url('archive-producties.css');
@import url('archive-updates.css');

#profile-cover {
    position: relative;
    width: 100%;
    padding-bottom: 36%;
}

#profile-foto {
    position: relative;
    width: calc(100% - 4px);
    padding-bottom: 100%;
    margin-top: -50%;
    border: 2px solid var(--white-color);
}

#profile-details {
    text-align: center;
    margin-bottom: 120px;
}

#profile-specializations {
    margin: 0 0 15px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#profile-specializations li {
    display: flex;
    font-size: 14px;
}

#profile-specializations li:not(:last-of-type):after{
    content: ',';
    margin-right: 5px;
}

#profile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

#profile-location i {
    font-size: 10px;
    margin-right: 4px;
}

#profile-contact {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

#profile-contact li {
    margin: 5px;
}

#profile-contact a {
    font-size: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    transition: color 150ms ease-in-out;
}

#profile-contact a:hover {
    color: var(--accent-color);
}

#profile-description {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#profile-description h2 {
    line-height: 1em;
}

#profile-description-foto {
    position: relative;
    padding-bottom: 65%;
}

#profile-cover img,
#profile-foto img,
#profile-description-foto img  {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#profile-productions {
    background-color: var(--white-color);
    padding: 120px 0;
    margin-top: 120px;
}

#profile-production {
    margin-top: 50px;
}

#profile-trailers {
    margin: 120px 0;
    position: relative;
}

#profile-trailers h2 {
    margin-bottom: 70px;
}

#profile-trailers-inner {
    overflow: hidden;
    width: 100%;
    position: relative;
}

#profile-trailers-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    height: 100%;
}

#profile-trailers-overlay-left {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    flex-grow: 1;
}

#profile-trailers-overlay-right {
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    flex-grow: 1;
}

#profile-trailers-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#profile-trailers-nav-prev,
#profile-trailers-nav-next {
    -webkit-appeareance: none;
    border: 0;
    padding: 0;
    margin: 0;
    outline: none;
    color: #fff;
    background-color: var(--color-white);
    font-size: 50px;
    cursor: pointer;
    transition: color 200ms ease-in-out;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.profile-trailer {
    transition: all 500ms ease-in-out;
    display: flex;
    width: calc(calc(var(--doc-width) - 330px) / 12 * 8 + 210px);
    left: calc(50% - calc(calc(var(--doc-width) - 330px) / 12 * 4 + 105px));
    position: absolute;
    transition: all 500ms ease-in-out;
    display: none;
    background-color: var(--white-color);
}

.profile-trailer:nth-of-type(1){ transform: translateX(calc(-400% - 120px)); }
.profile-trailer:nth-of-type(2){ transform: translateX(calc(-300% - 90px)); display: block; }
.profile-trailer:nth-of-type(3){ transform: translateX(calc(-200% - 60px)); display: block; }
.profile-trailer:nth-of-type(4){ transform: translateX(calc(-100% - 30px)); display: block; }
.profile-trailer:nth-of-type(5){ transform: translateX(0px); display: block; }
.profile-trailer:nth-of-type(6){ transform: translateX(calc(100% + 30px)); display: block; }
.profile-trailer:nth-of-type(7){ transform: translateX(calc(200% + 60px)); display: block; }
.profile-trailer:nth-of-type(8){ transform: translateX(calc(300% + 90px)); display: block; }
.profile-trailer:nth-of-type(9){ transform: translateX(calc(400% + 120px)); }


.profile-trailer .play {
    opacity: 0;
    transition: opacity 250ms ease-in-out;
}
.profile-trailer:nth-of-type(5) .play {
    opacity: 1;
}

.full-width {
    width: 100%;
}

.profile-trailer-content {
    padding: 20px;
}

.profile-trailer-content p {
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.profile-trailer-content h5 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile-trailer-image {
    margin: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 56.25%;
}

.profile-trailer-image img {
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    object-fit: cover;
}

.play {
    background: #349EB6;
    border-radius: 100%;
    color: #FFF;
    font-size: 1em;
    height: 4em;
    padding: 0;
    position: absolute;
    width: 4em;
    text-align: center;
    text-indent: 0.1em;
    cursor: pointer;
    z-index: 2;
    top: calc(50% - 2em);
}

.play::after {
    border-style: solid;
    border-width: 1em 0 1em 1.732em;
    border-color: transparent transparent transparent rgba(255, 255, 255, 1);
    content: ' ';
    font-size: 0.75em;
    height: 0;
    margin: -1em 0 0 -0.75em;
    top: 50%;
    position: absolute;
    width: 0;

}

#trailer-url {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#profile-trailers-nav .col {
    height: 100%;
}

.production-poster-image img {
    width: 100%;
    height: auto;
}

.author-updates-title {
    margin-top: 30px;
    margin-bottom: 30px;
}
