@import url('https://fonts.googleapis.com/css?family=Grenze:400,400i&display=swap');

html{
    box-sizing: border-box;
    background-color: blue;
    font-family: 'Grenze', serif;
    color: yellow;
    font-size: 24px;
    text-shadow: -5px -4px #0000ff;
}
::-webkit-scrollbar {
    display: none;
}
body{margin: 0; overflow: hidden;}
body > *{
    margin: 0;
}
.languages > span:hover, .movie:hover, #heading:hover, .close:hover{color: #4fff7e; cursor: pointer;}

*, *:before, *:after{
    box-sizing: inherit;
}
#heading{
    position: absolute;
    padding: 5px 30px;
    z-index: 1;
}

.close{
    position: absolute;
    font-size: 2em; 
    margin-top: 14vh;
    align-self: flex-start;
}

.about, #trailer {
    background-color: rgba(0,0,0,0.7);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    transition: all 2s;
    position: fixed;
    z-index: 2;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 100vh;
    display: none;
    opacity: 0;
}
.about.selected, #trailer.selected {display: flex;}
.about.visible, #trailer.visible {opacity: 1;}
.info_about, .trailer_content{
    text-align: center;
    display: flex;
    flex-direction: column;
    background-color: rgba(0,0,255,0.8);
    padding: 20px;
    width: 80vw;
    height: 50vh;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-width: 15px;
    border-style: solid;
    overflow-y: scroll;
    scrollbar-width: none;
}

.trailer_content{
    padding: 10px;
    width: auto;
    text-shadow: none;
}

.languages{
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px 20px;
    z-index: 1;
}
.active, .link, a:visited{
    color: #4fff7e;
}
.link:hover, a:hover{
    cursor: pointer;
    font-style: italic;
}

.panel_container{
    display: flex; 
    /* transition: all 0.7s;    */
}
.movie{
    flex: 1 3 0;
    text-align: center;
    align-items: center;
    min-height: 100vh;
    transition: flex 2s;
     overflow: hidden;
}
.movie.open{
    flex: 15 0;
}
.title{
    transition: all 0.7s; 
    writing-mode: vertical-lr;
    text-orientation: mixed;
    white-space: nowrap;
    margin: 0;
    z-index: 1;
    margin-top: 40vh;
    position: absolute;
}

.video{
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
}

.info{
    z-index: 1;
    display: none;
    transition: all 0.6s;
    opacity: 0;
    position: absolute;
    max-width: 75vw; 
    margin-right: 60px;
    text-align: left;
    top: 40vh;
    margin-left: 80px;
    background-color: rgba(0,0,255,0.7);
    padding: 20px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-width: 10px;
    border-style: solid;
    max-height: 50vh;
    overflow-y: scroll;
    scrollbar-width: none;
}
.info.selected {display: block;}
.info.visible {opacity: 1;}

@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (stroke-color:transparent) {
    .title { 
        writing-mode: initial;
        transform: rotate(90deg);
    }
    #deadline .title{margin-left: -10px;}
    #fiancees .title{margin-left: -30px;}
    #maison .title{margin-left: -55px;}
}}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    html{ font-size: 18px;}
    .movie{height: 100vh; min-height: initial;}
    .info{
        padding: 10px;
        border-width: 5px;
        margin-left: 40px;
        max-height: 40vh;
    }
    .info_about{
        border-width: 5px;
        padding: 10px;
    }
    /* #fiancees .title, #deadline .title{margin-left: -30px;} */
    /* #maison .title{margin-left: -55px;} */
    #deadline .info{margin-right: 30vw;}
    #fiancees .info{margin-right: 15vw;}
    #maison .info{margin-right: 5vw;}
    .movie.open{flex:6 0;}
}