@import url('https://fonts.googleapis.com/css?family=Roboto|Share+Tech');

* {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #292929;
}

body {
    overflow: hidden;
    background-color: #000000;
}

h1 {
    font-size: 3.0rem;
    text-align: center;
    font-family: 'Share Tech', sans-serif;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-weight: normal;
}

p {
    margin-top: 5px;
    margin-bottom: 5px;
}

#site-container {
    display: flex;
    flex-direction: column;
    align-content: center;
    min-height: 100vh;
}

#site-content {
    flex-grow: 1;
    position: relative;
}

#screen, #screen-over, #screen-container, #canvas, #screen-main-mask {
    width: 1446px;
    height: 782px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    pointer-events: none;
}

#screen-container {
    pointer-events: auto;
}

#canvas {
    pointer-events: none;
}

#screen {
    background-color: #EEEEEE;
    box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.5);
}

#screen-over {
    background: rgb(238,238,238);
    background: -moz-radial-gradient(center, ellipse cover, rgba(238,238,238,1) 0%, rgba(187,187,187,1) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(238,238,238,1) 0%,rgba(187,187,187,1) 100%);
    background: radial-gradient(ellipse at center, rgba(238,238,238,1) 0%,rgba(187,187,187,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#bbbbbb',GradientType=1 );
    opacity: 0.20;
    pointer-events: none;
}

#screen-container {
    clip-path: inset(0 0 0 0);
}

#screen-main {
    display: none;
}

#screen-main-mask {
    background-color: #EEEEEE;
}

#screen-main-title {
    display: none;
    font-size: 30.0rem;
    white-space: nowrap;
}

#logo-container {
    position: relative;
    top: 4px;
    pointer-events: none;
}

#logo-extra-stuff {
    display: flex;
    position: relative;
}

#logo-left-side, #logo, #logo-right-side {
    position: relative;
    animation-name: logo;
    animation-duration: 18s;
	animation-iteration-count: infinite;
    animation-timing-function: linear;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.25);
}

#logo-left-side, #logo-right-side {
    top: 40px;
    flex-grow: 1;
    height: 150px;
    animation-duration: 20s;
    background-image: url('../images/film-picture-with-background.png');
}

#logo-left-side {
    background-position: 0%;
}

#logo-left-side {
    transform: skewY(-5deg) scale(0.9);
    left: -20px;
}

#logo-left-side::after, #logo-right-side::after {
    content: '';
    position: absolute;
    bottom: 12px;
    width: 33px;
    height: 100%;
    animation-name: logo;
    animation-duration: 36s;
	animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: reverse;
    background-image: url('../images/film-picture-with-background.png');
    clip-path: inset(85% 0 0 0);
}

#logo-left-side::after {
    right: 0;
    transform: skewY(35deg);
}

#logo-right-side::after {
    left: 0;
    transform: skewY(-35deg);
}

#logo-right-side {
    transform: skewY(5deg) scale(0.9);
    right: -20px;
}

#logo-placebo {
    width: 860px;
}

#logo-p {
    perspective: 500px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

#logo {
    width: 980px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(5deg);
    background-image: url('../images/film-picture.png');
}

#logo-letters {
    position: absolute;
    top: 25px;
    left: 0;
    height: 100px;
    display: flex;
    transform-style: preserve-3d;
    transform: rotateX(5deg);
    background-color: #EEEEEE;
}

.picture-wheel {

}

@keyframes logo {
    0% {background-position: 0px}
    100% {background-position: 979px}
}

.logo-letter {
    width: 98px;
    height: 150px;
    text-align: center;
    font-family: 'Share Tech', sans-serif;
    font-size: 6.0rem;
    line-height: 156px;
    position: relative;
    top: -25px;
    color: #000000;
}

#seats {
    width: 876px;
    height: 98px;
    background-image: url('../images/seats.png');
    margin-left: auto;
    margin-right: auto;
    pointer-events: none;
}

#login {
    position: absolute;
    right: 5px;
    top: 5px;
}

#login a {
    text-decoration: none;
    transition: all .2s;
}

#login a:hover {
    font-size: 1.05rem;
}

/*#login a {
    display: block;
    width: 32px;
    height: 32px;
    background-image: url('../images/key.png');
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
}

#login a:hover {
    background-image: url('../images/key_hover.png');
    transform: scale(1.1);
    transition: all .2s;
}*/

#screen-content {
    padding: 20px;
    height: 570px;
    width: 100%;
    position: absolute;
    bottom: 0;
    box-sizing: border-box;
    display: none;
}

#articles {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    overflow-x: scroll;
}

.article-preview a {
    display: block;
    transition: all .2s;
    text-decoration: none;
    color: #363636;
}

.article-preview {
    filter: grayscale(100%);
    opacity: 1;
    transition: all .2s;
    margin-right: 20px;
    position: relative;
}

.article-preview:hover {
    filter: grayscale(25%);
    opacity: 1;
}

.article-preview:first-child:hover {
    transform: translateX(10px);
}

.article-preview:last-child:hover {
    transform: translateX(-10px);
}

.article-preview:hover img {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 1);
}

.article-preview img {
    width: 176px;
    height: 260px;
}

.article-preview a:hover {
    transform: scale(1.1);
}

.article-preview-desc {
    width: 176px;
    word-wrap: break-word;
}

.rating {
    width: 176px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.rating span:first-child {
    margin-left: 5px;
}

.rating-star {
    width: 15px;
    height: 24px;
    background-image: url('../images/rating_star.jpg');
}

.error {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.error-input {
    color: #D00000;
    font-size: 0.9rem;
    margin-left: 10px;
}

#article-container {
    display: flex;
    margin-top: 20px;
    height: calc(100% - 60px);
}

#article-author {
    font-size: 0.8rem;
    color: #686868;
}

#article-content {
    margin-top: 20px;
}

#article-left-panel {
    flex-grow: 1;
    margin-top: 60px;
    position: relative;
    overflow-y: auto;
}

#article-right-panel img {
    height: 425px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

#article-rating {
    display: inline-block;
    float: right;
}

#navigation, #logout {
    position: absolute;
    top: 40px;
    color: #000000;
}

#logout {
    right: 20px;
}

#navigation a, #logout a {
    display: block;
    text-decoration: none;
    border: 1px solid #000000;
    background-color: #000000;
    color: #EEEEEE;
    padding: 5px;
    transition: .2s all;
}

#navigation a:hover, #logout a:hover {
    transform: scale(1.05);
}

#mailing-list-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#mailing-list-container form {
    display: flex;
}

#mailing-list-container form > *, #mailing-list-container span {
    margin-right: 5px;
}

#mailing-list-container span {
    font-weight: bold;
}

fieldset {
    border: none;
}

input, textarea, .file-button {
    background-color: #000000;
    border: none;
    color: #EEEEEE;
    padding: 5px;
}

textarea {
    resize: none;
}

input[type=file] {
    display: none;
}

.file-button {
    display:inline-block;
    transition: all .1s;
}

.file-button:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.file-button::after {
    content: 'Sélectionner un fichier';
}

input[type=submit] {
    transition: all .1s;
}

input[type=submit]:hover {
    transform: scale(1.05);
    cursor: pointer;
}

textarea {
    margin: 0 auto;
    width: 500px;
    height: 200px;
}

.form-box {
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
}

.row {
    margin: 10px;
}

.flex-row {
    display: flex;
}

.col {
}

#login-box form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.align-right {
    align-self: right;
}

@media only screen and (max-width: 1600px) {
    #site-content {
        transform: scale(0.85);
    }
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.text-center {
    text-align: center;
}