@font-face {
    font-family: 'Night';
    src: url('./Night.ttf');
}
@font-face {
    font-family: 'Cafe';
    src: url('./cafe/Louis\ George\ Cafe.ttf');
}



html {
    box-sizing: border-box;
    overflow-x : hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
    position: relative; 
    cursor: url("../images/click.png"), auto;
}

body {
    margin: 0 auto;
    font-family: 'Cafe';
    font-size: 17px;
    background-color: whitesmoke;
}
/* design scrollbar */
body::-webkit-scrollbar {
    width: 25px;
    background-color: whitesmoke;
}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(#252525, #fe3b1d);
    border: 2px solid transparent;
    border-top: none;
    border-bottom: none;
   border-radius: 100px;
    background-clip: padding-box; /* Makes the border part of the thumb's size */
}

body,
ul, 
li,
p {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

body, 
a {
    color: whitesmoke;
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0;
    padding: 0;
    font-family: 'Night';
    font-size: 25px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: left;
    letter-spacing: 2px;
    line-height: 30px;
    color: #000;
}
h1 { /* 1ere section "artistes" differente */
    margin-top: -90px;
    margin-bottom: 10px;
    padding-left: 30px;
    padding-right: 10px;
    padding-top: 25px;
    padding-bottom: 25px;
    font-family: 'Cafe';
    color: #000;
    background-color: whitesmoke;
    position: relative;
    z-index: 1;
}
h2 {
    text-align: center;
    color: #00ffaa;
    font-weight: 600;
    margin-bottom: 30px;
}
h3 {
    text-transform: none;
    margin-bottom: 10px;
}




/* MENU */
header {
    height: 800px;
    background-image: url('../images/smoke1.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

/* Background triangle */
.header-bg {
    position: absolute;
    top: 0;
    height: 850px;
    width: 100%;
    /* background-image done by js with slide */
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    clip-path: polygon(80% 20%, 0% 60%, 0% 100%, 100% 100%, 100% 60%);
}

header nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}
header ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
}
header nav ul li a {
    display: block;
    width: 100%;
    height: 160px;
    line-height: 160px;
    font-size: 25px;
    text-align: center;
    text-transform: uppercase;
}
header img {
    width: 60px;
    margin: 0 10px;
    margin-top: 20px;
}
.reverse {
    transform: scaleX(-1);
}




/* PRESENTATION ARTISTES */
.presentation article {
    height: 800px;
    margin: 0 auto;
    padding: 40px 0;
    padding-bottom: 80px;
    background: linear-gradient(to bottom, rgba(41,23,23, 1), rgba(41,23,23, 0.0)),
    url('../images/concert5.jpg');
    background-attachment: local;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 1;
}

.bg-presentation {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    background: #291717;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: polygon(0% 0%, 100% 0%, 100% 10%, 0% 80%);
}

.conteneur-artistes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}
.blank {
    width: 0;
}
.cadre-artiste {
    width: 350px;
    height: 350px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0px 10px rgba(0,0,0,0.5); /* Example shadow */
    overflow: hidden;
    border-radius: 50%;
    margin: 20px -80px;
    transition: margin-right 0.5s ease-in-out;
}
.cadre-artiste img {
    object-fit: cover;
}
/* class added when click on each artist div */
.cadre-artiste-effect {
    margin-right: 0px;
    transition: margin-right 0.5s ease-in-out;
} /**/

.noms-artistes {
    position: absolute;
    bottom: 50px;
    left: 0%;
    transform: translateX(0%);
    width: 100%;
    padding: 10px;
    font-family: 'Night';
    text-transform: uppercase;
    font-size: larger;
    text-align: center;
    font-weight: 600;
    color: #000;
    background-color: rgba(237, 237, 237, 0.67);
}





/* ACTUS */
.actus article {
    color: whitesmoke;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
}
.actus article div:first-child {
    width: 100%;
}

.bg-right {
    width: 40%;
    background-image: url("../images/concert4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left center;
}

.actus-display {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
}

.bg1,
.bg2 {
    width: 100%;
    height: 100vh;
}
.bg1 {
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url("../images/concert1.jpg");
    background-size: cover;
    background-attachment: fixed;
}
.bg2 {
    background:  linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)),
    url("../images/concert3.jpg");
    background-size: cover;
    background-attachment: fixed;
}

.display-txt {
    width: 65%;
    position: absolute;
    right: 20px;
    min-height: 0%;
    padding: 30px;
    background-color: rgba(41, 29, 23, 0.95);
    text-align: justify;
    line-height: 29px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    
    transition: width 0.8s ease 0s, 
    min-height 0.8s ease 0s,
    right 0.3s ease 0s,
    left 0.3s ease 0s,
    border-radius 0.5s ease 0s;
}
.display-txt:hover {
    width: 100%;
    right: 0;
    min-height: 100%;
    border-radius: 0;
}
.left {
    left: 20px;
}
.left:hover {
    left: 0;
}








/* BANNER BEFORE FOOTER -> TICKET */
.ticket {
    width: 100%;
    height: 500px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.9)),
    url('../images/sound4.png');
    background-color: #1b1912;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-attachment: fixed;
}
.ticket a {
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 300px;
    height: 100px;
    line-height: 100px;    
    text-align: center;
    font-size: 18px;
    background-color: #1b1912;
    border: 3px solid transparent;
    animation: movingBorder 5s ease-in infinite;
}

@keyframes movingBorder {
    0% {
        border-top-color: #f1dc37;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    5% {
        border-top-color: #dd696b;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    25% {
        border-top-color: transparent;
        border-right-color: #dd696b;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    30% {
        border-top-color: transparent;
        border-right-color: #f1dc37;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
    50% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: #f1dc37;
        border-left-color: transparent;
    }
    55% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: #dd696b;
        border-left-color: transparent;
    }
    75% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: #dd696b;
    }
    80% {
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: #f1dc37;
    }
    100% {
        border-top-color: #f1dc37;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
    }
}





/* FOOTER */
footer {
    margin-top: -80px;
}
footer section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    background: linear-gradient(to bottom, rgba(255, 203, 30, 0.9), rgba(146, 33, 33, 0.9)),
    url('../images/concert1.jpg');
    background-attachment: fixed, local;
    background-size: cover;
}

/* Footer partie gauche */
.footer-left {
    width: 30%;
    order: 1;
}
.partage-reseaux {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.partage-reseaux h3 {
    width: 200px;
}
.logos-reseaux img {
    width: 60px;
    margin-right: 10px;
    transition: transform 1s ease 0s;
}
.footer-left:hover .logos-reseaux img {
    transform: rotate(360deg);
}

.map {
    margin-top: 150px;
}
.map iframe {
    width: 100%;
    height: 300px;
    margin-right: 0;
    border-radius: 20px;
    transition: box-shadow 0.5s ease 0s, 
    width 0.5s ease 0s,
    height 0.5s ease 0s,
    margin-right 0.5s ease 0s;
}
.map:hover iframe {
    width: 600px;
    height: 400px;
    margin-right: -400px; /* + grde pr chgmt width window */
}


/* Footer partie centre */
.footer-centre {
    width: 40%;
    order: 2;
    text-align: center;
}
.footer-centre h3 {
    text-align: center;
}
.footer-centre iframe {
    width: 400px;
    height: 200px;
    border-radius: 20px;
    transition: box-shadow 0.5s ease 0s;
}
.footer-centre:hover iframe {
    box-shadow: 10px 10px 20px #5a5a5a;
}


/* Footer partie droite */
.footer-right {
    width: 20%;
    text-align: right;
    order: 3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-end;
}
.footer-right h3 {
    width: 180px;
    text-align: right;
}

.newsletter input {
    display: block;
    height: 35px;
    width: 170px;
    border: none;
    border-radius: 20px;
    font-style: italic;
    text-align: center;
}
.newsletter img {
    width: 50px;
    margin-top: 15px;
}
/* Erreur formulaire mail vide */
.message-email {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
    height: 60px;
    line-height: 60px;
    color: #1e1e1e;
    text-align: center;
    font-family: 'Night';
    font-size: 25px;
    letter-spacing: 2px;
    background: #fef31d;
    border-top-left-radius: 80%;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 50px;
    transition: transform 0.5s;
    z-index: 80;
}


.menu2 li {
    display: inline;
}

.menu2 {
    margin: 50px 0;
    line-height: 35px;
    text-transform: uppercase;
}
.menu2 a {
    color: #000;
    z-index: 1; /* allows the highlighting */
}
.menu2 a::after {
    content: '';
    transform-origin: 0 0;
    transform: scaleX(0);
    position: absolute;
    bottom: 0;
    left: -5px;
    right: 0;
    height: 22px;
    background: #fef31d;
    opacity: 0.7;
    border-top-left-radius: 80%;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 50px;
    transition: transform .5s;
    z-index: -1; /* Place behind the text */
}
.menu2 a:hover::after {
    transform: scaleX(1.05);
}

.menu3 li {
    margin: 10px 0;
    font-size: 14px;
}


/* FOOTER ATTRIBUTIONS */
.attributions {
    color: #767c7c;
    padding: 20px 40px;
    font-size: 14px;
    background-color: rgb(28, 23, 19);
}
.attributions p {
    margin-bottom: 20px;
}
.attributions li {
    margin: 5px 10px;
}
.attributions ul span {
    display: block;
    margin-bottom: 5px;
}






/* ARROW RETURN TOP OF THE PAGE */
.fleche-hdpage img {
    width: 50px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
    transition: transform 0.3s ease-out 0s;
}
.fleche-hdpage img:hover {
    transform: scale(1.3);
}




















/* MISE EN PAGE HAUTEUR ECRAN */
@media screen and (min-height: 900px) {
    .bg1,
    .bg2 {
        height: 50vh;
    }
}

/* MISE EN PAGE TRES PETITES HAUTEURS ECRAN */
@media screen and (max-height: 400px) {
    .bg1, 
    .bg2 {
        height: 500px;
    }
}

/* MISE EN PAGE TRES PETITES LARGEURS ECRAN */
@media screen and (max-width: 480px) {
    body {
        width: 480px;
    }
}

/* MISE EN PAGE LARGEUR TRES LARGES ECRANS */
@media screen and (min-width: 1600px) {
    body {
        width: 1600px;
    }
}


/* MISE EN PAGE AUTRES LARGEURS D'ECRANS */
@media screen and (min-width: 1250px) {
    header nav {
        width: 85%;
    }
}



/* MISE EN PAGE PETITS ECRANS */
@media screen and (max-width: 1050px) {
    .cadre-artiste {
        width: 310px;
    }
    
    .display-txt {
        width: 80%;
    }
    
    .map {
        margin-top: 50px;
    }
    .map iframe {
        width: 70%;
        height: 200px;
    }
    .map:hover iframe {
        width: 100%;
        height: 300px;
    }
    
    .footer-left {
        width: 50%;
    }
    
    .footer-centre {
        width: 100%;
        text-align: left;
        order: 3;
    }
    .footer-centre h3 {
        text-align: left;
    }
    
    .footer-right {
        width: 45%;
        order: 2;
    }
}




@media screen and (max-width: 900px) {
    h1 {
        margin: 0;
    }
    
    header {
        height: 500px;
    }
    header nav {
        align-items: center;
        justify-content: center;
        background-color: rgba(0,0,0,0.6);
        padding-bottom: 300px;
    }
    header ul {
        flex-flow: row wrap;
        align-items: center;
        justify-content: center;
    }
    header nav ul li {
        width: 50%;
        height: 140px;
    }
    header nav ul li a {
        height: 140px;
        line-height: 140px;
        border-bottom: 15px solid rgba(46, 226, 130, 0.5);
    }
    .header-bg {
        clip-path: none;
        height: 550px;
        background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
    }
    
    .presentation article {
        height: 100%;
    }
    .blank {
        width: 100%;
    }
    .cadre-artiste {
        width: 330px;
        height: 330px;
    }
    
    .bg-right {
        display: none;
    }
}




@media screen and (max-width: 650px) {
    .conteneur-artistes {
        flex-flow: column nowrap;
        align-items: center;
    }
    .cadre-artiste {
        width: 400px;
        height: 400px;
        margin: 5px 0;
    }  
}




@media screen and (max-width: 540px) {
    header nav {
        padding-left: 0;
        padding-right: 0;
    }
    
    .display-txt {
        width: 90%;
        right: 0px;
    }
    .left {
        left: 0px;
    }
    
    footer section {
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
    }
    
    .footer-left,
    .footer-centre,
    .footer-right {
        width: 100%;
    }
    
    .footer-left h3,
    .footer-right h3 {
        width: 100%;
        text-align: left;
    }
    
    .map iframe {
        width: 100%;
        height: 300px;
        transition: none;
    }
    .map:hover iframe {
        width: 100%;
        height: 300px;
        transition: none;
        box-shadow: none;
    }
    
    .footer-centre {
        order: 2;
    }
    .footer-right {
        order: 3;
    }
    
    .footer-centre h3 {
        margin-top: 50px;
    }
    .footer-centre iframe {
        width: 100%;
    }
    .footer-centre iframe:hover {
        box-shadow: none;
    }
    
    .footer-right {
        margin-top: 50px;
        text-align: left;
        align-items: flex-start;
    }
    .newsletter input {
        display: inline-block;
        height: 50px;
        width: 300px;
    }
    .newsletter img {
        margin-top: 0;
        margin-left: 15px;
        vertical-align: middle;
    }
    .menu2 li a::after {
        left: 0; /* Start from the left */
    }
    .menu2 li:hover a::after {
        right: auto; /* removes the right:0; so the animation goes from right to left */
        left: 0; /*starts the animation from the right side. */
    }
    .message-email {
        width: 100%;
    }
}


