/* 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';
}

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, h1, h2, h3{
    margin: 0;
    padding-left: 5%;
}

/* Hero */
.tournéesHero{
    height: 100vh;
    width: 100vw;
    max-width:100%;
    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 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;
    }
}

/* Loader */
.loaderWrapper{
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    z-index: 100;
}

.loaderImg{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 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;
    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: 'Découvrir leur'
}
.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{
    position: relative;
    height: 75%;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

#adminOp{
    display: none;
    position: absolute;
    left: 2.5%;
    width: 5%;
    height: 8%;
    border: 1px solid white;
    border-radius: 10px;
    background: transparent;
    color: white;
    transition: .3s;
    font-size: .8vw;
}
#adminOp:hover{
    background-color: white;
    color: black;
}

/* Container tournées */
.tournées{
    position: relative;
    width: 25%;
    height: 33%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-transform: uppercase;
}

.tournées h1{
    font-size: 2.7vw;
    color: black;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #E84E1B;
}

.tournées h2{
    font-size: 1.5vw;
}

.tournées a {
    text-decoration: underline;
    color: #f74f17;
    transition: .2s;
    padding-left: 5%;
}

/* Reveal dates */

.reveal{
    animation: reveal 1.5s ease;
}


@keyframes reveal {
    0% {
        opacity: 0;
    }
    30% {
        transform: translateY(7vh);
        opacity: 0;
    }
    100% {
        transform: translateY(0vh);
        opacity: 1;
    }
}

/* Options admin */

    /* bouton d'ajout */
#adminAdd{
    position: absolute;
    top: 50%;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    left: 5%;
    border: black 1px solid;
    font-size: 250%;
    background: transparent;
    filter: invert(100%);
    display: none;
}
    
    /* bouton modif/suppr */

.tournées div{
    display: none;
    justify-content: space-between;
    position: absolute;
    height: 15%;
    width: 25%;
    top: 0;
    left: 75%;
}
.tournées button{
    width: 40%;
    height: 100%;
    border: black 1px solid;
    background: transparent;
    filter: invert(100%);
}
.tournées img{
    width: 100%;
}

.full{
    color: red;
    font-weight: bold;
}

/* fenête adminInputs */

.adminInputs{
    position: absolute;
    background: rgba(177, 175, 175, 0.973);
    top: 10%;
    height: 80%;
    width: 30%;
    z-index: 1;
    display: none; 
    flex-direction: column;
    align-items: center;
}
.adminInputs div:nth-child(1){
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 50%;
    height: 85%;
}
.adminInputs div:nth-child(2){
    height: 15%;
    display: flex;
    align-items: center;
    width: 50%;
    justify-content: space-around;
}
.adminInputs input{
    height: 10%;
    width: 100%;
    border: none;
    border-bottom: 1px solid black;
    padding-left: 10px;
}
.adminInputs button{
    position: relative;
    height: 40%;
    border: none;
}
#confirmDates{
    background-color: rgb(93, 240, 64);
}
.deleteDates{
    background-color: red;
    color: white;
}
#changeDates{
    background-color: rgb(93, 240, 64);
}

/* 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;
    }
    .tournées h2{
        font-size: 2vw;
    }
    .navLinks:before{
        font-size: 1.1vw;
    }
    /* main */
    .tournées h1{
        background: #E84E1B;
        color: white;
        -webkit-text-stroke-width: inherit;
        -webkit-text-stroke-color: inherit;
    }
}

@media screen and (max-width: 768px){
    /* navLinks */
    .navLinks{
        font-size: 3.5vw;
    }
    .navLinks:before{
        font-size: 1.4vw;
    }
    /* main */
    .mainContainer{
        flex-direction: row;
        justify-content: space-around;
    }
    .tournées{
        width: 26%;
        height: 27%;
    }
    .tournées h1{
        font-size: 4vw;
    }
    .tournées h2{
        font-size: 2.5vw;
    }
    .tournées h3{
        font-size: 2vw;
    }
    .tournées p{
        font-size: 1.5vw;
    }
    .tournées a {
        font-size: 1.5vw;
    }
    /* 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{
        width: auto;
        justify-content: space-between;
        align-items: flex-start;
    }
    .tournées{
        width: 40%;
        height: 20%;
    }
    .tournées h1{
        font-size: 6vw;
    }
    .tournées h2{
        font-size: 4vw;
    }
    .tournées h3{
        font-size: 3.5vw;
    }
    .tournées p{
        font-size: 2.5vw;
    }
    .tournées a {
        font-size: 2.5vw;
    }
    /* footer */
    .socialNav{
        position: relative;
        width: 50%;
        left: 25%;
        top: 0;
    }
    .socialNav div{
        height: 25px;
        width: 25px;
    }
}