/* X-Small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default */

:root {
    --red: #A61712;
    --black: #000000;
    --white: #ffffff;
}

/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* Roboto medium */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: local(''),
    url('../fonts/roboto-medium.ttf') format('truety')
}

/* roboto-700 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: local(''),
    url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
    font-size: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
}

img {
    width: 100%;
}

body.home {
    height: 100vh;
    background: #999 url(../images/home-bg-w576.webp) no-repeat fixed;
    background-size: cover;
}

.fixed-home-bg {
    position: fixed;
    z-index: -100;
}

#beacon {
    width: 10px;
    height: 10px;
    background-color: red;
    position: absolute;
    display: block;
}

header {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    z-index: 1000;
}

.logo {
    width: 60px;
}

.header-links a {
    text-decoration: none;
}

.header-links img {
    display: inline-block;
    margin: 5px;
    height: 40px;
    width: auto;
}

.header-links.black {
    filter: grayscale(100%) brightness(0);
}

.panels-toggle {
    display: flex;
    margin-top: 250px;
    transition: all 1s;
    transition-timing-function: ease-out;
    transform: translateY(-200px);
    opacity: 0;
}

.panels-toggle img {
    cursor: pointer;
    transition: all 1s;
    width: 70%;
}

.panels-toggle img:hover {
    filter: grayscale(100%) brightness(0);
}

.toggle-left {
    width: 50%;
    text-align: right;
    padding-right: 15px;
    transition: all 1s;
}

.toggle-right {
    width: 50%;
    padding-left: 15px;
    transition: all 1s;
}

.panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background-color: var(--white);
    width: 50%;
    position: fixed;
    top: 0;
    bottom: 0;
    transition: all 1s;
}

.panel a {
    width: fit-content;
    position: relative;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    line-height: 3em;
}

.panel a > span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--red);
    transform: translateY(22px);
    opacity: 0;
    transition: all 500ms;
}

.panel a:hover > span {
    opacity: 1;
}

.left-panel {
    padding-right: 20px;
    align-items: flex-end;
    border-right: 1px solid var(--red);
    left: 0;
    transform: translateX(-100%);
}

.right-panel {
    padding-left: 20px;
    border-left: 1px solid var(--red);
    right: 0;
    transform: translateX(100%);
}

.scroll {
    width: 67px;
    margin: 50px auto 0;
}

.home-content {
    background-color: #ffffff99;
    margin-top: -38px;
}

.about {
    display: flex;
    flex-direction: column;
    padding: 60px 30px;
}

.about-header {
    color: var(--red);
    font-size: 2rem;
    font-weight: 700;
}

.about-text {
    background-color: var(--white);
    padding: 16px;
}

.about-text p {
    margin-top: 0;
}

.hide-in-mobile {
    display: none;
}

.about-text img {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 2s all ease;
}

.about-text img.active {
    transform: translateY(0);
    opacity: 1;
}

nav {
    background-color: var(--white);
    padding: 12px;
}

nav > ul {
    list-style: none;
    padding: 0;
}

nav > ul > li {
    text-align: center;
    padding: 5px;
}

nav > ul > li > a {
    text-decoration: none;
    color: var(--black);
}

nav > ul > li > a:hover,
.current {
    text-decoration: line-through var(--red) 2px;
}

footer {
    display: flex;
    flex-direction: column-reverse;
    color: var(--red);
    font-size: .8rem;
    padding: 12px;
}

footer > .copy {
    text-align: center;
}

footer > .legal {
    text-align: center;
}

footer > .legal a {
    text-decoration: none;
    color: var(--red);
}

.inner-content {
    display: flex;
    flex-direction: column;
}

.inner-content-left {
    padding: 10px;
}

.inner-content-left h1 {
    color: var(--red);
}

.gallery-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
    grid-auto-rows: 15.5em;
    padding: 10px;
}

.gallery-director {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.gallery-director .image-container {
    margin-bottom: 10px;
    background-color: var(--black);
    overflow: hidden;
}

.movie-info {
    position: relative;
    background-color: var(--black);
    color: var(--white);
    padding: 10px;
    margin-top: -5px;
}

.movie-info p {
    margin: 0;
    line-height: 22px;
}

.movie-info a {
    display: flex;
    background-color: var(--white);
    padding: 4px;
    width: 50px;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.image-container{
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container.top-positioned img {
    object-position: top;
}

.gallery-director .image-container img {
    height: inherit;
    object-fit: contain;
}

.image-container .red-overlay {
    background-color: #A61712aa;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right:  0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    cursor: pointer;
    transition: all 500ms;
}

.image-container:hover .red-overlay {
    opacity: 1;
}

.image-container .red-overlay img {
    width: initial;
    height: initial;
}

#slideshow {
    background-color: #A61712dd;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right:  0;
    display: none;
    opacity: 0;
    z-index: 1000000;
}

.slideshow-close {
    text-align: center;
    padding-right: 2em;
    padding-top: 2em;
}

.slideshow-close span {
    display: inline-block;
    color: var(--white);
    font-size: 3rem;
    transform: rotate(45deg);
    cursor: pointer;
}

.slideshow-image {
    height: 100vh;
    text-align: center;
    padding-bottom: 2em;
}

.contact-title {
    color: var(--red);
    font-size: 40px;
    font-weight: 500;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 362px;
    grid-template-rows: auto;
    justify-items: center;
    grid-gap: 20px;
    justify-content: center;
    margin-bottom: 75px;
}

.contact-data {
    width: 362px;
    height: 252px;
    border: 1px solid #d3d3d3;
    padding-left: 20px;
    box-sizing: border-box;
}

.contact-data h2 {
    color: var(--red);
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-data p {
    margin: 7px 0;
}

.contact-data p:nth-child(2) {
    opacity: .5;
}

.contact-data a {
    color: var(--black);
    text-decoration: none;
}

.contact-rrss {
    width: 362px;
    height: 252px;
    background-color: var(--red);
    border: 1px solid var(--red);
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    transition: all 2500ms;
    opacity: 0;
    transform: translateX(-300px);
}

.contact-rrss a {
    display: block;
}

.contact-rrss img {
    height: 30px;
}

.making-off {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.making-off div {
    position: relative;
}

.making-off a,
.making-off img {
    display: block;
}

.making-off .thumb-red-overlay {
    background-color: #A61712aa;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right:  0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    cursor: pointer;
    transition: all 500ms;
}

.making-off .thumb-red-overlay:hover {
    opacity: 1;
}

.making-off .thumb-red-overlay img {
    width: 50px;
}

.black-link {
    display: flex;
    align-items: center;
    background-color: var(--black);
    color: var(--white);
    margin-top: 20px;
    padding: 15px;
    text-decoration: none;
    font-size: 12px;
    border-radius: 4px;
    transition: all 500ms;
}

.black-link:hover {
    background-color: var(--red);
}

.black-link img {
    display: block;
    height: 32px;
    width: inherit;
    margin-right: 10px;
}

.legal-content {
    padding: 5% 10%;
}
















