/* Set up */
@font-face {
    font-family: 'DIN 1451 Std';
    src:url('../lib/fonts/DINEngschriftStd.woff2') format('woff2'),
        url('../lib/fonts/DINEngschriftStd.woff') format('woff'),
        url('../lib/fonts/DIN\ 1451\ Std\ Engschrift.otf') format('opentype');
}

body{
    margin: 0;
    padding: 0;
    background-color: black;
    overflow: hidden;
}

button, a, i{
    cursor: pointer;
}

button:focus, a:focus{
    outline: none;
}

a{
    color: inherit;
    text-decoration: none;
}

p, h3{
    margin: 0;
}

/* Loader */
.loaderWrapper{
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
}

.loaderImg{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Home */
.albumHero{
    height: 100vh;
    width: 100vw;
    max-width:100%;
    background-color: black;
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* Background */
.heroBack{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../lib/The-Strokes.jpg);
    background-position: center;
    background-size: cover;
    opacity: .5;
    filter: blur(1.5rem);
}

.backAnim{
    animation: backAnim 1s ease;
}
@keyframes backAnim {
    0% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: .5;
    }
}

/* Nav buttons */
.navbar{
    width: 100%;
    height: 20%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.navLinks{
    display: inline-block;
    position: relative;
    color: white;
    transition: .5s ease;
    font-size: 2vw;
    font-family: 'DIN 1451 Std';
    text-transform: uppercase;
}

.navLinks:before{
    opacity: 0;
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    display: inline-block;
    height: 1em;
    width: 150%;
    font-size: 15px;
    transition: .35s;
    color: #E84E1B;
}
.navOne:before{
    content: 'Retourner à';
}
.navTwo:before{
    content: 'Qui sont';
}
.navThree:before{
    content: 'Voir la';
}
.navFour:before{
    content: 'Visiter leur';
}

.navLinks:after {
    content: '';
    position: absolute;
    left: 0;
    display: inline-block;
    height: 1em;
    width: 100%;
    border-bottom: 1px solid;
    margin-top: 10px;
    opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

.navLinks:hover{
    transform: scale(1.1);
    color: #E84E1B;
}

.navLinks:hover:before{
    opacity: 1;
    top: -20px;
}

.navLinks:hover:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.linksAnim{
    animation: linksAnim 1.5s ease;
}

@keyframes linksAnim {
    0%{
        opacity: 0;
    }
    30% {
        transform: translateY(-2vh);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateY(0vh);
    }
}

/* Main */

.mainContainer{
    width: 100%;
    display: flex;
    height: 80%;
}

/* Left side */

/* reveal */

.leftAnim{
    animation: leftAnim 1.5s ease;
}

@keyframes leftAnim {
    0%{
        opacity: 0;
    }
    30% {
        transform: translateX(-5vw);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(0vw);
    }
}

/* Album & CD */

#albumsSelect{
    height: 4vh;
    width: 8vw;
    position: absolute;
    left: 15%;
    top: 25%;
    z-index: 2;
}
#albumSelect option{
    color: black;
}

.leftContainer{
    height: 95%;
    width: 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;

}
.leftContainer h2{
    width: 80%;
    color: white;
    font-family: 'Montserrat';
    line-height: 30px;
    font-size: 1vw;
    font-weight: 500;
}

.bold{
    font-weight: 800;
}

.album{
    position: absolute;
    width: 16vw;
    top: 0;
    left: 20%;
    z-index: 2;
}

.album img, .disque img{
    width: 100%;
}

.disque{
    position: absolute;
    width: 15.5vw;
    top: 0;
    left: 40%;
    border-radius: 50%;
    z-index: 1;
}

/* Right side */

/* reveal */

.rightAnim{
    animation: rightAnim 1.5s ease;
}

@keyframes rightAnim {
    0%{
        opacity: 0;
    }
    30% {
        transform: translateX(5vw);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(0vw);
    }
}

/* Tracklist */

.rightContainer{
    width: 50%;
    height: 90%;
}

.tracklist{
    height: 75%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.track{
    width: 45%;
    height: 20%;
    display: flex;
    color: white;
    font-size: 1.5vw;
    align-items: center;
    justify-content: start;
    font-family: 'DIN 1451 Std';
}
.track button{
    width: 20%;
    border-radius: 50%;
    background: transparent;
    border: none;
}
.track img{
    width: 100%;
    filter: invert(100);
}
.playTitle{
    cursor: pointer;
    padding-left: 50px;
    transition: .2s;
}
.playTitle:hover{
    color: #E84E1B;
}

.playing{
    color: #E84E1B;
}

/* audio player */

.audioProgress{
    height: 25%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.songTitle{
    color: white;
    position: relative;
    font-family: 'Montserrat', sans-serif;
}

:root{
    --plyr-color-main: #f14c15;
    --plyr-audio-controls-background: transparent;
    --plyr-audio-control-color: white;
}

.plyr--audio{
    width: 90%;
    height: auto;
}

/* footer */

/* Liens réseaux */
.socialNav{
    position: absolute;
    width: 25%;
    height: 10%;
    top: 90%;
    left: 75%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.socialNav div{
    height: 40px;
    width: 40px;
    position: relative;
}

.socialNav img{
    height: 100%;
    width: 100%;
}
.socialNav img:nth-child(1){
    filter: invert(100%);
    position: absolute;
    transition: .4s;
}

.newIcons{
    transition: .7s;
    opacity: 0;
    position:absolute;
}

/* hover */
.socialNav div:hover img:nth-child(1){
    opacity: 0;
}
.socialNav div:hover img:nth-child(2){
    opacity: 1;
    transform: scale(1.5)
}

@media screen and (max-width: 1440px){
    /* navLinks */
    .navLinks:before{
        font-size: 1.1vw;
    }
}

@media screen and (max-width: 1024px){
    /* navLinks */
    .navLinks{
        font-size: 2.5vw;
    }
    .navLinks:before{
        font-size: 1.1vw;
    }
    /* main */
    .leftContainer h2{
        font-size: 1.3vw;
    }
    .album{
        width: 22vw;
    }
    .disque{
        width: 22vw;
    }
    .track{
        font-size: 2vw;
    }
}

@media screen and (max-width: 768px){
    /* navLinks */
    .navLinks{
        font-size: 3.5vw;
    }
    .navLinks:before{
        font-size: 1.4vw;
    }
    /* main */
    .mainContainer{
        flex-direction: column;
    }
    .leftContainer{
        height: 40%;
        width: 100%;
    }
    .leftContainer h2{
        margin: 0;
        position: absolute;
        top: -10%;
        left: 50%;
        width: 50%;
        font-size: 1.6vw;
        line-height: 25px;
    }
    .album{
        left: 5%;
        width: 26vw;
        height: 26vw;
    }
    .disque{
        left: 20%;
        width: 25vw;
        height: 25vw;
    }
    .rightContainer{
        height: 50%;
        width: 100%;
    }
    .tracklist{
        align-items: center;
    }
    .track{
        width: 35%;
        font-size: 2.5vw;
    }
    .plyr--audio{
        width: 100%;
    }
    /* footer */
    .socialNav{
        width: 40%;
        left: 60%;
    }
    .socialNav div{
        height: 30px;
        width: 30px;
    }
}

@media screen and (max-width: 425px){
    /* navLinks */
    .navbar{
        height: 15%;
    }
    .navLinks{
        font-size: 4.5vw;;
    }
    .navLinks:before{
        content: ''
    }
    /* main */
    .mainContainer{
        height: 75%;
    }
    .leftContainer{
        height: 45%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    .leftContainer h2{
        position: relative;
        width: 90%;
        left: 0;
        font-size: 2vw;
        line-height: 20px;
    }
    .rightContainer{
        height: 45%;
    }
    .album{
        top: -10%;
        left: 35%;
    }
    .disque{
        top: -10%;
        left: 50%;
    }
    .audioProgress{
        height: auto;
    }
    .track{
        width: 45%;
        font-size: 2.5vw;
    }
    /* footer */
    .socialNav{
        position: relative;
        width: 50%;
        left: 25%;
        top: 0;
    }
    .socialNav div{
        height: 25px;
        width: 25px;
    }
}