﻿body, html, form {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none !important;
    color: white !important;
}

::-webkit-scrollbar {
    display: none;
}

.fixed_bg {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.bg {
    height: 100%;
}

.backPics {
    background-color: black;
}

.cvButton {
    color: dimgray !important;
    font-weight: bold;
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.imdbButton {
    position: fixed;
    top: 60px;
    right: 30px;
    z-index: 1000;
}

.tile {
    width: 25%;
    height: 600px;
    float: left;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: white;
    z-index: 1;
    text-shadow: black 0.1em 0.1em 0.2em;
}

.scrolldown {
    position: absolute;
    left: 50%;
    bottom: 5%;
    margin-left: -40px;
}

.badge-light {
    text-shadow: none !important;
    color: gray !important;
}

.subTitle {
    font-size: 4em;
    color: black;
    text-shadow: white 3px 2px 0;
    position: absolute;
    left: 20%;
    top: 50%;
    width: 60%;
}

.bio {
    padding: 5%;
    text-align: justify;
}

.curtain {
    width: 100%;
    height: 600px;
    background-color: #333333;
    transition: 0.5s;
    opacity: 0;
    position: relative;
    z-index: 100;
    background-position: center center;
    background-repeat: no-repeat;
}

    .curtain:hover {
        cursor: pointer;
        opacity: 0.6;
    }

.infobox {
    width: 100%;
    height: 300px;
    text-align: left;
    padding: 25px;
    position: relative;
    top: -100%;
}

    .infobox .tile {
        font-size: medium;
        font-weight: bold;
    }

    .infobox .director {
        font-size: small;
    }


.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-y: scroll;
    transition: 0.5s;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    vertical-align: middle;
    text-align: center;
}

.overlay-content {
    position: relative;
    top: 100px;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

    .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
    }

.overlay .closebtn {
    position: absolute;
    top: 80px;
    right: 45px;
    font-size: 60px;
    z-index: 100000;
}

.movieTitle {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 4vw;
    letter-spacing: -3px;
    line-height: 1;
    padding-left: 20px;
}

.info {
    font-size: 2vw;
    color: white;
    padding-left: 20px;
}

.actors {
    font-size: 1vw;
    color: white;
    padding-left: 20px;
}

@supports (-webkit-overflow-scrolling: touch) {
    .fixed_bg {
        background-attachment: scroll;
    }
}

@media (max-width : 800px) {
    .bg {
        height: 50%;
    }

    .tile {
        width: 100%;
    }

    .subTitle {
    }

    .fixed_bg {
        background-attachment: scroll;
    }

    .bio {
        padding: 100% 10% 10% 10%;
        text-align: center;
    }

    .movieTitle {
        font-size: 40px;
    }
}

@media screen and (max-height: 450px) {
    .overlay {
        overflow-y: auto;
    }

        .overlay a {
            font-size: 20px
        }

        .overlay .closebtn {
            font-size: 40px;
            top: 15px;
            right: 35px;
        }
}

* {
    box-sizing: border-box;
}

#accordion {
    background-color: white;
}

.photo {
    width: 100%;
}

    .photo:hover {
        animation-name: image_blur;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        cursor: pointer;
    }

.video {
    width: 100%;
    position: relative;
    top: 0px;
    left: 0px;
}

    .video:hover {
        animation-name: image_blur;
        animation-duration: 1s;
        animation-fill-mode: forwards;
        cursor: pointer;
    }

img.lazy {
    display: block;
}

@keyframes image_blur {
    from {
        -webkit-filter: blur(0px);
        filter: blur(0px);
    }

    to {
        -webkit-filter: blur(3px);
        filter: blur(3px);
    }
}

.row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

    .column img {
        margin-top: 8px;
        vertical-align: middle;
    }

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}
