@font-face {
    font-family: 'pixel';
    src: url(/fonts/woff/AmstirPixel-Regular.woff);
    src: url(/fonts/woff/AmstirPixel-Regular.woff2);
}

@font-face {
    font-family: 'pixel-outline';
    src: url(/fonts/woff/AmstirPixel-Outline.woff);
    src: url(/fonts/woff/AmstirPixel-Outline.woff2);
}

@font-face {
    font-family: 'frauncesLight';
    src: url(/fonts/woff/Fraunces-Light.woff);
    src: url(/fonts/woff/Fraunces-Light.woff2);
}

@font-face {
    font-family: 'frauncesRegular';
    src: url(/fonts/woff/Fraunces-Regular.woff);
    src: url(/fonts/woff/Fraunces-Regular.woff2);
}

@font-face {
    font-family: 'frauncesSemiBold';
    src: url(/fonts/woff/Fraunces-SemiBold.woff);
    src: url(/fonts/woff/Fraunces-SemiBold.woff2);
}



html,
body {
    background-color: rgb(6, 6, 6);
    margin: 0;
    padding: 0;
}



/* FONTS AND TEXTS STYLES MANAGEMENT */


h1 {
    font-family: 'pixel';
    font-size: 110px;
    line-height: 80px;
    font-synthesis-weight: none;
    color: rgb(105, 37, 255);
    transform: scale(1, 1.5);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    text-align: center;
}

h2 {
    font-family: 'pixel-outline';
    font-size: 85px;
    line-height: 70px;
    font-synthesis-weight: none;
    transform: scale(1, 1.5);
    color: rgb(105, 37, 255) ;
    text-align: center;
}

h3 {
    font-family: 'pixel';
    font-size: 48px;
    line-height: 50px;
    font-synthesis-weight: none;
    color: rgb(105, 37, 255);
    transform: scale(1, 1.2);
    text-align: center;
}

h3 a {
    color: rgb(105, 37, 255);
}

h3 a:hover {
    color: rgb(20, 255, 0);
}

h4 {
    font-family: 'pixel';
    font-size: 60px;
    line-height: 62px;
    font-synthesis-weight: none;
    color: rgb(105, 37, 255);
    transform: scale(1, 1.2);
    text-align: center;
}

h4 a {
    color: rgb(105, 37, 255);
}

h4 a:hover {
    color: rgb(20, 255, 0);
}

h5 {
    font-family: 'frauncesRegular';
    font-size: 30px;
    line-height: 36px;
    font-synthesis-weight: none;
    color: rgb(105, 37, 255);
    margin-top: 25px;
    margin-bottom: 25px;
}

p {
    font-family: 'frauncesLight';
    font-size: 20px;
    line-height: 24px;
    font-synthesis-weight: none;
    color: rgb(105, 37, 255);
}

strong {
    font-family: 'frauncesSemiBold';
    font-size: 20px;
    line-height: 24px;
    font-synthesis-weight: none;
    color: rgb(105, 37, 255);
}

a {
    text-decoration: none;
    color: rgb(240, 224, 253);
}

a:hover {
    color: rgb(20, 255, 0);
}







/* MENU */



.top-bar-left {
    position: fixed;
    top: 15px;
    left: 10px;
    text-align: left;
}

.top-bar-right {
    position: fixed;
    top: 15px;
    right: 10px;
    text-align: right;
}

.bottom-bar-center {
    position: fixed;
    bottom: 30px;
    width: 100%;
    text-align: center;
}

button {
    font-family: 'pixel';
    font-size: 36px;
    font-synthesis-weight: none;
    color: rgb(105, 37, 255);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    background-color: transparent;
    text-decoration: none;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 12px;
    padding-right: 12px;
    margin: 10px;
    border: none;
    z-index: 1;
}

button:hover {
    background-color: transparent;
    color: rgb(20, 255, 0);
    cursor: pointer;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.rotation-left{
    transform: rotate(-6deg);
}

.rotation-right{
    transform: rotate(6deg);
}

.rotation-left:hover{
    transform: scale(1.1, 1.2) rotate(6deg);
}

.rotation-right:hover{
    transform: scale(1.1, 1.2) rotate(-6deg);
}





/* LAZY LOAD FOR IMAGES */


.lazy-load {
    opacity: 0;
    transition: opacity 1s ease-out;
    /* Effet de fondu en 1 seconde */
    width: 100%;
    display: block;
    /* margin: 10px 0; */
}

.lazy-load.visible {
    opacity: 1;
}







#showreel-horizontal {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    /* height: 100%; */
    opacity: 0.5;
}

#showreel-vertical{
    display: none;
}

.title {
    width: 100%;
    height: auto;
    text-align: center;
    position: relative;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
}








.about-page {
    margin: 15%;
    text-align: left;
}

#about{
    max-width:80%;
    margin-bottom: 50px;
}






.contact-page,
.credits-page {
    width: 100vw;
    height: 100vh;
}

.vertical-align {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}



.contact-page h3,
.credits-page h3 {
    margin-top: 0px;
    margin-bottom: 10px;
}

.contact-page p,
.credits-page p {
    margin-top: 0px;
    text-align: center;
    margin-bottom: 30px;
}







.friends-page {
    overflow: hidden;
    padding-left: 5px;
    padding-right: 5px;
}


.friends-page h4 {
    margin-top: 80px;
    margin-bottom: 20px;
}

.friends-page p {
    margin-top: 0px;
    text-align: center;
}








.movies-page {
    width: 100vw;
    height: 100vh;
}


.movie-title p{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 50px;
}

.movie-title h4 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.movie-title h4:hover {
    color: rgb(20, 255, 0);
}




.movie-page {
    margin: 15%;
}

.movie-wrapper {
    width: 100%;
    display: block;
}

.movie-images {
    width: 100%;
}


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

.movie-text {
    width: 100%;
}

.carousel {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.carousel img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel img.active {
    opacity: 1;
}


.movie-two-columns-container{
    width: 100%;
    display: flex;
}

.left-column {
    width: 65%;
}

.right-column{
    width: 35%;
    padding-left: 25px;
}

#drapeau {
    max-width:80%;
}






.music-page,
.commissionned-page {
    margin: 15%;
}

.music-post,
.commissionned-post {
    width: 100%;
}

.music-post-wrapper,
.commissionned-post-wrapper {
    width: 100%;
    display: flex;
    margin-bottom: 200px;
}

.image-music-post,
.image-commissionned-post {
    width: 60%;
}

.text-music-post,
.text-commissionned-post {
    width: 40%;
}


.left-space {
    padding-left: 25px;
}


.video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 25px;
}

.preview-image,
iframe {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.watch-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 22px;
    line-height: 22px;
    cursor: pointer;
    border-radius: 8px;
    font-family: 'pixel';
}

.watch-button:hover {
    transform: rotate(0);
    transform: translate(-50%, -50%);
    background-color: rgb(105, 37, 255);
    color: #fff;
}

.hidden {
    display: none;
}

.video-container.active #video-frame {
    display: block;
    /* Show the iframe when active */
}

.video-container.active .preview-image {
    display: none;
    /* Hide the preview image */
}
































/* ------------------- Phones SCREENS ------------------- */


@media only screen and (max-width: 600px) {

    p, strong {
        font-size: 18px;
        line-height: 21px;
        font-synthesis: none;
    }


    h1{
        font-size: 40px;
        line-height: 38px;
        transform: scale(1, 1.6);
        font-synthesis: none;
    }

    h2{
        font-family: 'Pixel';
        font-size: 36px;
        line-height: 38px;
        transform: scale(1, 1.6);
        margin-bottom: 50px;
        font-synthesis: none;
    }

    h3{
        font-size: 35px;
        line-height: 37px;
        font-synthesis: none;
    }

    h4{
        font-size: 39px;
        line-height: 30px;
        font-synthesis: none;
    }

    h5{
        font-size: 21px;
        line-height: 24px;
        font-synthesis: none;
    }

    button {
        font-size: 24px;
        line-height: 20px;
        padding-top: 0px;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 0px;
        margin: 7px;
        font-synthesis: none;
    }

    .rotation-left, .rotation-right{
        transform: scale(1, 1.4);
        color: rgb(20, 255, 0);
    }


    .top-bar-left {
        top: 20px;
        left: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .top-bar-right {
        top: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .bottom-bar-center {
        bottom: 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
    }




    #showreel-vertical {
        display: block;
        position: fixed;
        right: 0;
        bottom: 0;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: 100%;
        opacity: 0.5;
    }

    #showreel-horizontal{
        display: none;
    }





    .about-page {
        margin: 5%;
        margin-top : 150px;
        text-align: left;
    }

    #about{
        max-width:100%;
        margin-bottom: 50px;
    }


    .friends-page h4 {
        margin-top: 40px;
        margin-bottom: 10px;
    }

    .movie-page {
        margin: 5%;
        margin-top: 150px;
    }

    .movie-two-columns-container {
        width: 100%;
        display: block;
    }

    .left-column {
        width: 100%;
    }

    .right-column {
        width: 100%;
        padding-left: 0px;
    }

    #drapeau {
        max-width:100%;
    }

    .carousel {
        height: 300px;
    }

    .preview-image{
        width: 100%;
        height: 300px;
    }


    .music-page, .commissionned-page{
        margin: 5%;
        margin-top : 150px;
    }

    .music-post-wrapper, .commissionned-post-wrapper{
        display: block;
        margin-bottom: 120px;
    }
    .text-music-post, .text-commissionned-post{
        width: 100%;
    }
    .image-music-post, .image-commissionned-post{
        width: 100%;
    }
    .left-space{
        padding-left: 0;
    }
    .right-space{
        padding-left: 0;
    }

    .watch-button{
        padding: 12px 18px;
        font-size: 17px;
        line-height: 19px;
    }

    .preview-image,
    iframe {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }
}

@media only screen and (max-width: 300px) {

    p, strong {
        font-size: 16px;
        line-height: 19px;
        font-synthesis: none;
    }

    h1{
        font-size: 34px;
        line-height: 26px;
        transform: scale(1, 1.6);
        font-synthesis: none;
    }

    h2 {
        font-size: 30px;
        line-height: 24px;
        margin-bottom: 30px;
        font-synthesis: none;
    }

    h3{
        font-size: 30px;
        line-height: 24px;
        font-synthesis: none;
    }

    h4 {
        font-size: 30px;
        line-height: 32px;
        font-synthesis: none;
    }

    h5{
        font-size: 16px;
        line-height: 19px;
        font-synthesis: none;
    }

    button {
        font-size: 20px;
        line-height: 19px;
        margin: 5px;
        font-synthesis: none;
    }

    .top-bar-left, .top-bar-right {
        top: 12px;
        left: 12px;
    }

    .bottom-bar-center {
        bottom: 15px;
    }

    .movie-title p {
        text-align: center;
        margin-top: 2px;
        margin-bottom: 30px;
        font-synthesis: none;
    }

    .preview-image, iframe {
        height: 200px;
    }

    .friends-page h4 {
        margin-top: 30px;
        margin-bottom: 5px;
    }

}


/* ------------------- Large SCREENS ------------------- */


@media screen and (min-width: 1600px) {
    p, strong {
        font-size: 22px;
        line-height: 25px;
        font-synthesis: none;
    }


    h1{
        font-size: 130px;
        line-height: 90px;
        transform: scale(1, 1.6);
        font-synthesis: none;
    }

    h2{
        font-size: 96px;
        line-height: 98px;
        font-synthesis: none;
    }

    h3{
        font-size: 85px;
        line-height: 87px;
        font-synthesis: none;
    }

    h4{
        font-size: 90px;
        line-height: 90px;
        font-synthesis: none;
    }

    h5{
        font-size: 32px;
        line-height: 36px;
        font-synthesis: none;
    }

    button {
        font-size: 42px;
        line-height: 48px;
        margin: 30px;
        font-synthesis: none;
    }

}


