
/* 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');
}

*{
    font-family: 'DIN 1451 Std';
    text-transform: uppercase;
}

body{
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
}

button, a{
    cursor: pointer;
}

button:focus, a:focus{
    outline: none;
}

a{
    color: inherit;
    text-decoration: none;
}

p{
    margin: 0;
}

.preload{
    display: none;
}

    /* Home page */

/* Hero */
.hero{
    height: 70vh;
    width: 100vw;
    max-width:100%;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

/* Background */
.heroBack{
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    background-image: url(../lib/The-Strokes.jpg);
    background-position: center;
    background-size: cover;
    opacity: 0;
}

.backAnim{
    animation: backAnim 2.5s ease;
    animation-fill-mode: forwards;
}
@keyframes backAnim {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0;
    }
    60% {
        opacity: .8;
    }
    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;
    font-size: 2.5vw;
    opacity: 1;
    transition: .3s ease;
    animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

.navLinks:before{
    opacity: 0;
    content: '';
    position: absolute;
    left: 0;
    top: -10px;
    height: 1em;
    width: 150%;
    font-size: .8vw;
    transition: .35s;
    width: 150%;
    color: #E84E1B;
}
.navOne:before{
    content: 'Découvrir leur'
}
.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);
    color: #E84E1B;
}

.linksAnim{
    animation: linksAnim 2s ease;
}

.linksAnim:hover{
    transform: scale(1.1)
}

@keyframes linksAnim {
    0%{
        opacity: 0;
    }
    60% {
        transform: translateY(-2vh);
        opacity: 0;
    }
    100% {
        transform: translateY(0vh);
        opacity: 1;
    }
}

/* Coundown */
.countdown{
    font-size: 5vw;
    opacity: 0;
    text-align: center;
    color: rgba(255, 255, 255);
}

/* Reveal dates */

.reveal{
    animation: reveal 2s ease-out;
    animation-fill-mode: forwards;
}

@keyframes reveal {
    0% {
        transform: translateY(5vh);
        opacity: 0;
    }
    100% {
        transform: translateY(0vh);
        opacity: 1;
    }
}

/* 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 queries */

@media screen and (max-width: 1024px){
    /* navLinks */
    .navLinks{
        font-size: 3vw;
    }
    .navLinks:before{
        font-size: 1.2vw;
    }
    /* main */
    .heroBack{
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin-left: 0;
        margin-top: 0;
    }
    .countdown{
        font-size: 6vw;
    }
}

@media screen and (max-width: 768px){
    /* navLinks */
    .navLinks{
        font-size: 4vw;
    }
    .navLinks:before{
        font-size: 1.5vw;
    }
    /* main */
    .countdown{
        font-size: 7vw;;
    }
    .socialNav{
        width: 30%;
        left: 70%;
    }
    /* footer */
    .socialNav div{
        height: 30px;
        width: 30px;
    }
}

@media screen and (max-width: 425px){
    /* navLinks */
    .navLinks{
        font-size: 5vw;
    }
    .navLinks:before{
        content: ''
    }
    /* main */
    .countdown{
        font-size: 8vw;
    }
    /* footer */
    .socialNav{
        width: 50%;
        left: 50%;
    }
    .socialNav div{
        height: 25px;
        width: 25px;
    }
}