@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

@font-face {
    font-family: "chiller";
    src: url(/medias/font/chiller.tff) format("ttf");
}

body {
    background-image: url("../medias/images/desert_bg.webp");
    font-family: Georgia,"Times New Roman",Times,serif;
    background-size: cover;
    background-attachment: fixed;
    font-size: 14px;
    color: rgb(85,85,85);
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    text-align: left;
}

footer {
  margin-bottom: 50px;
}


.sponsors {
  position: fixed;
  display: block;
  height: 90%;
  color: white;
  background-color: rgba(210, 196, 185, 57%);
  border-radius: 25px;
  max-width: 195px;
  margin: auto;
  overflow: hidden;
}

.sponsors:nth-of-type(3) {
  display: block;
  right: 15px;
  top:50px;
}

.sponsors .sponsor-images{
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: space-around;
  padding-left: 5px;
  padding-right: 5px;
  overflow: hidden;
}

.sponsors h2 {
  text-align: center;
  padding-top: 5px;
}

.sponsors a {
  display: contents;
}

.sponsors img {
  transition: 0.7s;
}

.sponsors img:hover {
  padding-top: 20px;
  padding-bottom: 20px;
  transition: 0.7s;
  transform: scale(1.04);
  background-color: rgba(239, 183, 116, 0.5);
  box-shadow: 0 0 10px grey;
  border-radius: 12px;
}

#sponsor-title {
  text-align: center;
  color: white;
}

.sponsors-small-container {
  display: none;
}

.sponsors-small{
  display: none;
}

.sponsors-small img:hover {
  transition: 0.7s;
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

.sponsors-small img {
  transition: 0.7s;
}

.sponsors-small a {
  display: contents;
}

@media screen and (max-width: 1589px){
  .sponsors{
    display: none;
  }

  .sponsors:nth-of-type(3){
    display: none;
  }

  .sponsors-small-container{
    display: block;
  }

  .sponsors-small{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-shrink: 0;
    align-items: center;
    padding-bottom: 50px;
  }

  .sponsors-small img {
    width: 20vw;
    max-width: 200px;
    object-fit: contain;
    padding: 10px;
  }
}



header {
    background-image: url("../medias/images/4l_background1.webp");
    background-position: 50% ;
    background-size: cover;
    overflow: hidden;
    height:50vw;
    max-height: 500px;
    min-height: 200px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.titlediv {
    position: relative;
    display: flex;
    margin-top: 2%;
    color: rgb(0, 0, 0);
    font-size: clamp(2em, 6vw, 6em);;
    font-family: chiller;
    font-weight: bold;
    margin-left: 2%;
}

.titlediv img{
  position: relative;
  width: 50%;
  min-width: 120px;
}

.title {
    background-color: rgba(170, 132, 83, 0.692);
    padding-left: 5px;
    padding-right: 5px;
    border: solid 5px;
    border-color: rgb(156, 68, 5);
    box-shadow: 10px 10px 5px 12px rgba(0, 5, 7, 0.336);
}

.language-select img {
    max-width: 35px;
    max-height: auto;
}


/* START LANGUAGE SELECTOR */
.language-selector {
    text-align: right;
    position:   relative;
    top:10%;
    right:10%;   
}

.language-selector .dropdown-toggle {
    border-radius: 24px;
    box-shadow: 12px 13px 20px 5px black;
}

.language-selector img:first-of-type {
    height:8vw;
    min-height: 40px;
    max-height: 100px; 
    padding:10px;
    /* background-color: rgba(255, 255, 255, 0.747); */
}

.language-selector .dropdown-menu{
    min-width: 4rem !important;
    width:10vw;
    max-width: 139px !important;
    text-align: center;
}

.language-selector .dropdown-item img {
    height: 50px;
    width: auto;
    height:6vw;
    max-height: 50px;
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin: auto;
}

.language-selector .dropdown-item{
    padding-left: 0px;
    padding-right: 0px;
}
/* END LANGUAGE SELECTOR */

footer {
    height: 130px;
    margin-left: -15px;
    background-color: rgb(87 85 72);
    color: ivory;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

footer div {
    text-align: center;
    position: relative;
    padding: 0px;
}

.container {
    background-color: rgb(247, 247, 236);
    box-shadow: 5px 5px 20px black;
    margin-top: 50px;
    margin-bottom: 50px;
    border-radius: 28px;
}

main {
    box-shadow: 0 0 20px rgb(76 79 55);
    animation: fadeIn 1s;
    padding-bottom: 20px;
}

body p {
    font-size: 1.25em;
}

nav {
    z-index: -1;
    margin-left: 0;
    margin-right: 0;
    color: white;
    background-color: rgb(87 85 72);
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-variant: small-caps;
    font-variant-ligatures: normal;
    font-variant-caps: small-caps;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;

}

.fixed-nav {
    position:fixed;
    top:0;
}

.nav-link{
    font-size: 1.3em;
}

h1 {
    padding-top: 20px;
    text-align: center;
}

.asidebtn {
    background-color: rgb(87 85 72);
    margin-left: 0;
    margin-right: 0;
    color: white;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    font-variant: small-caps;
    font-variant-ligatures: normal;
    font-variant-caps: small-caps;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    width: 100%;
    border: none;
}

.bio-link {
    font-size: 1.2em;
}

.bio-link:hover{
    font-weight: bold;
}

.bio-link-list li{
    list-style-type: none;
}

.bio-bottom{
    padding-top: 10px;
    text-align: center;
    padding-bottom: 10px;
}

.bio-bottom h2{
    font-size: 1.5em;
    font-weight: bold;
    font-style: italic;
    padding: 10px;
}

.bio-bottom img{
    padding-bottom: 10px;
}

.language-select{
    font-size: 1.5em;
    list-style: none;
    padding: 0px;
    text-align: center;
}

.lng-selected{
    color: darkblue;
    text-decoration: underline;
}

.link-img{
    display: contents;
}

.link-img img {
    margin-bottom: 10px;
}

h5 {
    text-decoration: underline;
    font-weight: bold;
}

.acceuil-cards .card-title{
    font-size: 1.5em;
}

@media screen and (max-width: 992px) and (min-width: 576px){
    .acceuil-cards .card-title{
        font-size: 1.3em;
    }
}

.card-text{
    font-size: larger;
}

.download-btn{
    width: 100%;
    height: 100%;
    font-size: 1em;
}

/* IMAGE COMBOS First div image, second div text */

.img-combo{
    padding: 15px;
}

.img-combo div:first-of-type{
    padding-left: 5px;
    padding-right: 0px;
    margin: auto;
}

.img-combo img{
    transition: transform ease-in-out 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.img-combo a img:hover {
    transform: scale(1.05);
    z-index: 5;
}

.img-combo div:nth-child(2) {
    font-size: 1.1em;
} 


/* END OF IMAGE COMBOS */

.caroussel-trophy-presentation img {
    max-height: 300px !important;
}

/* SPONSORING */
.sponsoring-links {
    min-height: 62px;
}
.sponsoring-links div{
    min-height: 62px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.sponsoring-links a {
    font-size: 1.5em;
}

/* END OF SPONSORING */

/* START OF NEWS SUMMARY */
/* END OF NEWS SUMMARY */


/* START NEWS ARTICLE */

.news-article h4 {
    text-align: center;
}

/* END NEWS ARTICLE */

/* SWITCH */
.rocker-div {
    position: relative;
     
}

.rocker {
    display: inline-block;
    position: relative;
    font-size: 2em; /*SIZE OF SWITCH*/
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #888;
    width: 7em;
    height: 4em;
    overflow: hidden;
    border-bottom: 0.5em solid #eee;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .rocker img {
    width: 2.25em;
    border-radius: 5px;
  }
  
  .rocker::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #999;
    border: 0.5em solid #eee;
    border-bottom: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
  
  .rocker input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .switch-left,
  .switch-right {
    cursor: pointer;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5em;
    width: 3em;
    transition: 0.2s;
  }
  
  .switch-left {
    height: 2.4em;
    width: 2.75em;
    left: 0.85em;
    bottom: 0.4em;
    background-color: #ddd;
    transform: rotate(15deg) skewX(15deg);
  }
  
  .switch-right {
    right: 0.5em;
    bottom: 0;
    background-color: #bd5757;
    color: #fff;
  }
  
  .switch-left::before,
  .switch-right::before {
    content: "";
    position: absolute;
    width: 0.4em;
    height: 2.45em;
    bottom: -0.45em;
    background-color: #ccc;
    transform: skewY(-65deg);
  }
  
  .switch-left::before {
    left: -0.4em;
  }
  
  .switch-right::before {
    right: -0.375em;
    background-color: transparent;
    transform: skewY(65deg);
  }
  
  input:checked + .switch-left {
    background-color: #0084d0;
    color: #fff;
    bottom: 0px;
    left: 0.5em;
    height: 2.5em;
    width: 3em;
    transform: rotate(0deg) skewX(0deg);
  }
  
  input:checked + .switch-left::before {
    background-color: transparent;
    width: 3.0833em;
  }
  
  input:checked + .switch-left + .switch-right {
    background-color: #ddd;
    color: #888;
    bottom: 0.4em;
    right: 0.8em;
    height: 2.4em;
    width: 2.75em;
    transform: rotate(-15deg) skewX(-15deg);
  }
  
  input:checked + .switch-left + .switch-right::before {
    background-color: #ccc;
  }
  
  /* Keyboard Users */
  input:focus + .switch-left {
    color: #333;
  }
  
  input:checked:focus + .switch-left {
    color: #fff;
  }
  
  input:focus + .switch-left + .switch-right {
    color: #fff;
  }
  
  input:checked:focus + .switch-left + .switch-right {
    color: #333;
  }

  @media screen and (max-width:998px){
    .rocker {
        font-size: 1.25em; /*SIZE OF SWITCH*/
      }
  }
/* END SWITCH */


/* START DISPO */
  .disponibilite{
    padding-top: 25px;
  }

  .disponibilite table {
    margin: auto;
  }

  .disponibilite table tr td{
    border: #333 1px solid;
  }

  .disponibilite table td{
    padding: 5px;
    text-align: center;
  }

  .disponibilite table th{
    padding: 5px;
    text-align: center;
  }

  .disponibilite img {
    display: block;
    margin: auto;
  }

  .disponibilite h4 {
    display: block;
    margin: auto;
    text-align: center;
  }
/* END DISPO */