

main{
  height:100%;
  overflow:hidden;
}

@media only screen and (min-width: 1560px) {

  /*Début bouton don*/

  .btn {
    --bg: #006b8b;
    --color: #ffb300;
    --font: 'riffic-bold', Arial, sans-serif;
    position: absolute;
    top: 500px;
    left: 110px;
    z-index: 3;
    /*min-height: 100vh;*/
    justify-content: center;
    align-items: center;
  }


  .wrapper {
      padding: 1.5rem 0;
      filter: url('#goo');
  }

  .button {
      display: inline-block;
      text-align: center;
      background: var(--color);
      color: var(--bg);
      font-weight: bold;
      padding: 1.18em 1.32em 1.03em;
      line-height: 1;
      border-radius: 1em;
      position: relative;
      min-width: 8.23em;
      text-decoration: none;
      font-family: var(--font);
      font-size: 1.25rem;
  }

  .button:before,
  .button:after {
      width: 4.4em;
      height: 2.95em;
      position: absolute;
      content: "";
      display: inline-block;
      background: var(--color);
      border-radius: 50%;
      transition: transform 1s ease;
      transform: scale(0);
      z-index: -1;
  }

  .button:before {
      top: -25%;
      left: 20%;
  }

  .button:after {
      bottom: -25%;
      right: 20%;
  }

  .button:hover:before,
  .button:hover:after {
      transform: none;
  }

  .button-glow {
   animation-duration: 5000ms;
   animation-name: glowing;
   animation-iteration-count: infinite;
  }

  @keyframes glowing {
    0% { box-shadow: 0 0 -10px #c4a300; }
    40% { box-shadow: 0 0 20px #c4a300; }
    60% { box-shadow: 0 0 20px #c4a300; }
    100% { box-shadow: 0 0 -10px #c4a300; }
  }


  /*Fin bouton don*/



}

@media only screen and (min-width: 1200px) {

  #landing-content {
  overflow: hidden;
  background-image: url(https://www.koural.com/media/img/fond_marin_recolorise.png);
  width: 110vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height:110vh;
  transition-duration: 0.01s;
  }

.block-loupe{
  z-index: 2;
  position: absolute;
  margin: 0px;
  right: 42vw;
  top: 28vh;

}

.loupe{
  /*opacity: 0.8;*/
  width: 20vw;
  margin: auto;
  display: block;

}

.loupe-texte{
  font-family: 'riffic-bold', Arial, sans-serif;
  text-align: center;
  display: none;
}
}

@media only screen and (min-width: 700px) {

  #landing-content {
  overflow: hidden;
  background-image: url(https://www.koural.com/media/img/fond_marin_recolorise.png);
  width: 110vw;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height:110vh;
  transition-duration: 0.01s;
  }

.iframesondage{
  border-radius: 5px;
  background: none transparent;
  z-index: 3;
  position: absolute;
  margin: 0;
  right:20px;
  top: 400px;
}

.actu-article {
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.5);
    z-index: 3;
    position: absolute;
    text-align: justify;
    font-family: 'riffic-bold', Arial, sans-serif;
    margin: 0;
    right:20px;
    top: 20px;
    color: #006b8b;
    height:auto;
    width: 30%;
}
.actu-article>table:hover{
  background-color: #FFB300;
  /*opacity:0.5;*/
  transition-delay: 0.3s;
  color: #006b8b;

}

td {
  padding-bottom: 10px;
}

.actu-article-titre{
  font-size: 100%;
  padding:2%;
  margin:0;
  text-align:center;
  border-bottom: 2px solid #fff;
  color: #006b8b;
  background-color: rgba(255,255,255,0.5);
}

.actu-article>table{
  font-size : 100%;
  text-align: left;
  column-gap: 5px;
  overflow: hidden;
  padding:2%;
  width:100%;
}

.lien-article:hover{
  color:white;

}

/*Photo accueil*/

.card {
    position: absolute;

    z-index: 3;
    left:20px;
    top: 20px;
    color: #006b8b;
    transform: translate(0,0);
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.5);
    overflow: hidden;
    border-radius: 5px;
    font-family: 'riffic-bold', Arial, sans-serif;

}

.card .imgBx,
.card .details {
    width: 100%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
    transition: .5s;
}

.card .imgBx-active,
.card .details-active {
    width: 100%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
    transition: .5s;
}



.card .imgBx {
    top: 0;
    left: 0;
    justify-content: center;
    flex-wrap: wrap;
    display:flex;

}

.card .imgBx-active {
    top: 0;
    left: 0;

    justify-content: center;
    flex-wrap: wrap;

}


.card:hover .imgBx {
    top: 0;
    left: -100%;
}

.imgBx-active{
  top: 0;
  left: -100%;
}


.card .imgBx p {
    color: #006b8b;
    background-color: rgba(255,255,255,0.5);
    display:flex;
    justify-content: center;
    margin: 0;
    padding:2%;
    border-bottom: 2px solid #fff;
    height:15px;
    font-size:90%;
    width:100%;

}

.img-random-wrap{
  display: flex;
  align-content: center;
  max-height: 100%;
  max-width: 100%;
  justify-content: center;
}

.card .imgBx-active p {
    color: #006b8b;
    background-color: rgba(255,255,255,0.5);
    display:grid;
    grid-column: 1/2;
    grid-row: 1/2;
    text-align: center;
    margin: 0;
    padding:2%;
    border-bottom: 2px solid #fff;
    height:15px;
    font-size:80%;

}

.card .imgBx img {
    /*max-height:100%;
    display:block;
    margin:auto;
    max-width:100%;*/
    height:fit-content;
    width: fit-content;
    max-height: 385px;
    max-width: 400px;
}


.card .details {
    background: rgba(255,255,255,0.5);
    top: 0;
    left: 100%;
    height:100% ;
    opacity:0.8;

}

.card .details-active {
    background: rgba(255,255,255,0.5);
    top: 0;
    left: 100%;
    font-size: 70%;
    height:100% ;
    opacity:0.8;

}
.card:hover .details {
    top: 0;
    left: 0%;
}

.card details-active{
  top: 0;
  left: 0%;
  }

  .details-titre{
    font-size: 100%;
  }

.details-texte{
  font-size:100%;
}
.card .details .details-titre {
    color: #006b8b;
    background-color: rgba(255,255,255,0.5);
    text-align: center;
    margin: 0;
    padding:2%;
    border-bottom: 2px solid #fff;
    height:15px;


}

.card .details-active .details-titre {
    color: #006b8b;
    background-color: rgba(255,255,255,0.5);
    text-align: center;
    margin: 0;
    padding:2%;
    border-bottom: 2px solid #fff;
    height:15px;


}

.card .details .details-texte {
  color: black;
  background-color: #FFB300;
  text-align: left;
  margin: 0;
  padding:2%;
  height:88%;
  overflow: scroll;
  font-family: "Helvetica";
  font-weight: bold;
}

.card .details-active .details-texte {
  color: white;
  background-color: #FFB300;
  text-align: left;
  margin: 0;
  padding:2%;
  height:100%;
  overflow: scroll;
  font-family: "Helvetica";
  font-weight: bold;
}

/*Début bouton don*/

.btn {
  --bg: #006b8b;
  --color: #ffb300;
  --font: 'riffic-bold', Arial, sans-serif;
  position: fixed;
  top: -17px;
  right: 110px;
  z-index: 3;
  /*min-height: 100vh;*/
  justify-content: center;
  align-items: center;
}


.wrapper {
    padding: 1.5rem 0;
    filter: url('#goo');
}

.button {
    display: inline-block;
    text-align: center;
    background: var(--color);
    color: var(--bg);
    font-weight: bold;
    padding: 0.8em 1.32em 0.8em;
    line-height: 1;
    border-radius: 1em;
    position: relative;
    min-width: 8.23em;
    text-decoration: none;
    font-family: var(--font);
    font-size: 1.25rem;
}

.button:before,
.button:after {
    width: 4.4em;
    height: 2.95em;
    position: absolute;
    content: "";
    display: inline-block;
    background: var(--color);
    border-radius: 50%;
    transition: transform 1s ease;
    transform: scale(0);
    z-index: -1;
}

.button:before {
    top: -25%;
    left: 20%;
}

.button:after {
    bottom: -25%;
    right: 20%;
}

.button:hover:before,
.button:hover:after {
    transform: none;
}

.button-glow {
 animation-duration: 5000ms;
 animation-name: glowing;
 animation-iteration-count: infinite;
}

@keyframes glowing {
  0% { box-shadow: 0 0 -10px #c4a300; }
  40% { box-shadow: 0 0 20px #c4a300; }
  60% { box-shadow: 0 0 20px #c4a300; }
  100% { box-shadow: 0 0 -10px #c4a300; }
}


/*Fin bouton don*/

}

@media only screen and (max-width: 1199px) {
.block-loupe{
  display:none;
}
.actu-article{
  width:38%;
}

}



@media only screen and (max-width: 700px) {
  .info-grid{
    display:grid;
    grid-template-columns:100%;
    grid-template-rows: auto;
    width:100%;
    grid-row-gap:5%;
    overflow-y: scroll;
    scrollbar-width:none;
  }


  .actu-article {
      margin-top:10%;
      grid-row: 1/2;
      border-radius: 5px;
      background-color: #FFB300;
      text-align: justify;
      font-family: 'riffic-bold', Arial, sans-serif;
      margin-left: auto;
      margin-right: auto;
      color: #006b8b;
      height:auto;
      width: 90%;
  }


  .actu-article-titre{
    font-weight: bold;
    padding:2%;
    margin:0;
    text-align:center;
    border-bottom: 2px solid #fff;
    color: #006b8b;
    background-color: rgba(255,255,255,0.5);
  }

  .actu-article>table{
    text-align: left;
    column-gap: 5px;
    overflow: hidden;
    padding:2%;
    width:100%;
  }

  .actu-article td{
    text-align: justify;
    column-gap: 5px;
    overflow: hidden;
    padding-left:2%;
    padding-right:2%;
    padding-top:5%;
    padding-bottom:5%;
    width:100%;
    font-family: "Helvetica";
    font-weight: bold;
  }


  .card {
      grid-row:2/3;
      color:white;
      margin:auto;
      width:86%;;
      height:auto;
      background: #006b8b;
      overflow: hidden;
      border-radius: 5px;
      font-family: 'riffic-bold', Arial, sans-serif;
      padding: 2%;
  }

  .imgBx {
    width:auto;
    height:50%;
    text-align: center;
    color:#ffb300;
  }

  .imgBx>img{
    max-width: 80%;
    max-height:80%;
  }
  .details{
    width:auto;
    height:50%;
    font-weight: normal;
    font-family: 'riffic-bold', Arial, sans-serif;
    text-align: center;

  }

  .details-texte{
    width:auto;
    height:50%;
    font-weight: normal;
    font-family: "Helvetica";
    text-align: justify;
  }

.logocentral{
  display:absolute;
  z-index: 1;
  display:flex;
  margin:auto;
  opacity: 0.5;
}
