@import url('https://fonts.cdnfonts.com/css/friz-quadrata-std');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&display=swap');  
@import url('https://fonts.googleapis.com/css2?family=PT+Serif&family=Roboto:wght@300&display=swap');   

* {
    height: 100%;
    margin: 0px;
    padding: 0px;
    left: 0px;
    cursor: url(../images/curseur.png), auto;
    max-width: 100%;
}

main, #foot, nav{
    width: 1080px;
    margin: 0 auto;
}

header, footer{
    width: 100%;
}

body{
    font-family: 'Friz Quadrata Std', 'PT Serif', serif;
    font-size: 18px;
    background-color: #f9f9f9;
    left: 0px;
    top: 0px;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    position: relative;
}

header {
    position: relative;
    margin-bottom: 10px;
    width: 110%;
    background-color: #111111 ; 
    height: 72px;
    margin-bottom: 10px;
    z-index: 90;
}

nav{
    padding-top: 6px;
}

ul {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto 15px 0;
    list-style: none;
    width: auto;
}

li {
    display: inline-block;
    margin: 15px 10px;
    height: 40px;
}

li a {
    text-transform: uppercase;
    color: #f9f9f9;
    text-decoration: none;
    background-color: none;
    padding: 9px;
    padding-top: 11px;
    margin: 2px;
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: .08em;
}

#logo_header{
    position: absolute;
    top: -2px;
    left: 30px;
    width: 32px;
    z-index: 98;
}

li a:visited {
    color: #f9f9f9;
}

li:hover .desktop-link-item-underline{
   background-color: rgb(0, 160, 186); 
   margin-top: 15px; 
   height: 4px; 
   width:100%;
   border-radius: 2px;
}

li:hover a{
    background:rgba(128,128,128,.3);
    border-radius: 6.4px;
}

a#active{
    color: #face76;
}


main{
    height: max-content;
    min-height: 46em;
}

main p{
    line-height: 1.4;
}

h1{
    font-size: 46px;
    font-weight: bolder;
    margin: 0 0 12px 0;
}

h2{
    font-size: 32px;
}

/* Index */
#div_background_image{
    width: 130em;
    height: 75em;
    margin: 0 auto;
    position: absolute;
}

#background_image{
    position: relative;
    top: -20px;
    width: max-content;
    height: 100%;
    z-index: 1;
    margin: 0 auto;
    object-fit: cover;
}

#index_main{
    padding-bottom: 30px;
}

#fleche{
    position: absolute;
    bottom: 40px;
    left: 50%;
    margin-left: -26px;
    width: 52px;
    height: 52px;
    animation: scroll 5s infinite;
    z-index: 3;
}

#fleche:before {
    content: "";
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 4px);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
    animation: scroll 5s infinite;
}

@keyframes scroll {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(25px);
    }
    100% {
      transform: translateY(0);
    }
}

#div_text_intro{
    position: relative;
    z-index: 4;
    padding: 20px 30px;
}

#div_div_text_intro{
    background-color: #fff;
    margin-top: 810px;
    margin-bottom: 10px;
    padding: 30px;
    border-radius: 15px;
}

p{
    font-family: Helvetica, Arial,sans-serif; 
    font-size: 18px;
}

/* Donnees */
#tab_lol{
    margin: 0 auto;
    width: 96%;
}

#tab div{
    font-family: Helvetica, Arial,sans-serif; 
    font-size: 17px;
}

thead{
    cursor: url(../images/curseur.png), auto;
}

th{
    border: 1px solid #111;
    border-bottom: 2px solid #111;
}

table{
    border: #111 1px solid;
}

table tbody img{
    width: 95px;
    height: 95px;
}

td{
    font-family: Helvetica, Arial,sans-serif; 
}

#tab_lol_filter{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 350px;
}

#tab_lol_filter input{
    width: 200px;
    margin-right: 10px;
}
/* Formulaire contact */
form{
    width: 300px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    margin-bottom: 30px;
}

#en-tete{
    display: flex;
    justify-content: space-between;
}

#en-tete>div {
    width: 48%;
}

#precision_type_contact{
    font-family: Helvetica, Arial,sans-serif; 
    font-size: 18px;
    margin: 5px;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #f9f9f9;
    border-radius: 4px;
    background-color: #ececec;
}

label {
    display: block;
    margin-bottom: 5px;
    font-family: Helvetica, Arial,sans-serif; 
    margin: 5px;
    font-size: 18px;
}

label span{
    color: rgb(206, 0, 0);
}
 
#div_radio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    background-color: #ececec;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
}

#div_radio div{
    margin-right: 5px;
    display: flex;
    flex-direction: row;
    position: relative;
    left: 10px;

}

#div_radio div label{
    font-size: 18px;
    font-family: Helvetica, Arial,sans-serif; 
}

#div_radio div label:hover{
    cursor: pointer;
}

#div_radio div input[type="radio"]{
    width: 13px;
    margin: auto 0;
    margin-left: 5px;
}

input[type="email"]{
    font-size: 18px;
    font-family: Helvetica, Arial,sans-serif; 
}

input[type="submit"] {
    background-color: rgba(13, 218, 250, 0.98); 
    color: #111;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: rgba(13, 209, 239, 0.98);
}

textarea{
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #f9f9f9;
    border-radius: 4px;
    background-color: #ececec;
    font-size: 18px;
    font-family: Helvetica, Arial,sans-serif; 
}

.success{
    color: #008f05;
    text-align: center;
}

.echec{
    color: red;
    text-align: center;
}

/* Galerie */
#form_galerie input{
    font-size: 15px;
}

#affichage_img{
    margin: 0;
    width: 1080px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.image_galerie{
    height: 211px;
    width: 33%;
    margin-top: 4px;
    border-radius: 8px;
    object-fit: cover;
    filter: grayscale(1)
}

#affichage_img img:hover{
    filter: grayscale(0.1);
    rotate: 2deg;
    transition: filter 0.5s ease;
    transition: rotate 0.2s ease;
    z-index: 100;
}

#consigne_galerie{
    font-size: 16px;
    text-align: center;
}

#galerie_form_accentuation{
    font-family: 'Friz Quadrata Std', 'PT Serif', serif;
    font-size: large;
}

/* References */
#ref_compagnie{
    font-size: 21px;
}

.p_a_reference_riot{
    color: #111111;
}

.p_a_reference_riot:hover{
    color: red;
    cursor: pointer;
}

#main_ref h3{
    padding-left: 10px;
    margin: 12px 5px 5px 0px;
    font-size: 26px;
}

#main_ref p{
    margin: 5px;
}

/* Partenaires */
#partenaires{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 620px;
    margin: 0 auto;
    padding: 20px;
}

#partenaires>section{
    width: 300px;
    margin-top: 10px;
    padding-bottom: 20px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px;
}

#partenaires>section>div{
    width: 100%;
    position: relative;
}

#partenaires>section>div>img{
    width: 100%;
    height: 80%;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px 12px 0px 0px;
    display: block;
}

#partenaires>section>div>p{
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column-reverse;
    bottom: 0;
    width: 260px;
    height: 335px;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px 12px 0px 0px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

#partenaires>section>p>a{
    color: #111111;
}

#partenaires>section>div:hover>p{
    opacity: 1;
}

#partenaires>section>p {
    text-align: center;
    margin-top: 20px;
}

#partenaires>section>p>a{
    padding: 10px;
}

.content>h2{
    margin: 5px 0 10px 0;
}

.content>div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 620px;
    padding-top: 30px;
    margin: 0 auto;
}

.content>div>div{
    display: flex;
    justify-content: center;
    box-shadow: 0 0 10px rgba(12, 22, 81, 0.2);
    border-radius: 12px;
}

.content>div>div>a{
    padding: 12px 24px;
    border-radius: 12px;
    color: #111111;
}

.content>div>div:hover{
    text-decoration: none;
    color: black !important;
    background-color: rgba(255, 0, 0, 0.6) ;
    border-radius: 12px;
    font-weight: bold;
}

.blue-underline{
    text-decoration: none;

    --s: 0.1em;
    --c: #111111; 
    
    color: #0000;
    padding-bottom: var(--s);
    background: 
      linear-gradient(90deg,var(--c) 50%,#111111 0) calc(100% - var(--_p,0%))/200% 100%,
      linear-gradient(var(--c) 0 0) 0% 100%/var(--_p,0%) var(--s) no-repeat;
    -webkit-background-clip: text,padding-box;
            background-clip: text,padding-box;
    transition: 0.5s;
}

.blue-underline:hover{
    --_p: 100%
}

/* Footer */

footer{
    position: relative;
    width: 100%;
    margin-top: 20px;
    bottom: 0px;
    padding: 10px 0px;
    height: 40px;
    background-color: #111111;
    display:flex;
    z-index: 6;
}

#foot{
    display: flex;
    justify-content: center;
    align-items: center;
}

footer div p{
    color: #f9f9f9;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: fit-content;
}

#a_references{
    margin: 0;
    height: fit-content;
    color: #f9f9f9;
    background-color: none;
    text-decoration:underline;
}

#a_references:hover{
    color: red;
}