@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');
html{
  overflow-x: hidden;
}

body{
  padding: 0;
  margin: 0;
  min-height: 100%;
  font-family: "Fredoka", serif;
}

main {
  width: 1080px;
  margin-left: auto;
  margin-right: auto;

}

.bodybackground {
  background-image: url("/images/background.jpg");
  background-size: contain;
}

.bodybackground2 {
  background-image: url("/images/background.jpg");
  background-size: cover;
}

nav .active{
  border-bottom: #09caff 3px solid;
}

.blazdonnees{
  width:500px ;
  margin:0 auto;
  text-align: justify;
}

.blazdonnees h1{
  text-align: center;
}
.contenudonnees{
  position: relative;
  left: 20%;
}

  #rustlord{
margin-left: auto;
margin-right: auto;
  }


.hover-underline-animation {
  display: inline-block;
  position: relative;
}

.hover-underline-animation::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color:#489aff;
  transition: transform 0.25s ease-out;
}

.hover-underline-animation:hover::after {
  transform: scaleX(1);
}

.hover-underline-animation.left::after {
  transform-origin: bottom right;
}

.hover-underline-animation.left:hover::after {
  transform-origin: bottom left;
}


header {
  margin: 0 auto;
    height: 50px;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .nav{
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(#404, #202);
    top: 0px;
    border-radius: 10px 10px 0px 0px;
  }
  
  .nav ul{
    list-style-type: none;
  }
  
  .nav ul li{
    float: right;
    width: 20%;
    text-align: center;

  }
  
  .nav ul::after{
    content: "";
    display: table;
    clear: both;
  }
  
  .nav a{
    display: block;
    text-decoration: none;
    color: white;
    border-bottom: 2px solid transparent;
    padding: 10px 0px;
  }
  
  .nav a:hover{
    color: rgb(0, 106, 181);
  }

  .deroulant > a::after{
    content:" ▼";
    /*▲*/
    font-size: 10px;
  }

  .logo{
    display: flex;
    position: absolute;
    left: 20px;
    top:6px;
  }

  .milieu {
    width: 900px;
    background-color:#ddd;
    border-radius: 3%;
    vertical-align: top;
    text-align: center;
    margin-left: 6px;
    margin-top: 6px;
    position: relative;
    top: 10px;
    margin:0 auto;
    box-shadow: inset 1px 1px 2px rgba(49, 0, 139, 0.6),
                inset -1px -1px 2px rgba(0, 0, 156, 0.6),
                0px 3px 10px rgb(57, 0, 138);
}

.milieu2 {
  width: 400px;
  background-color:#ddd;
  border-radius: 3%;
  vertical-align: top;
  text-align: center;
  margin-left: 6px;
  margin-top: 6px;
  position: relative;
  top: 10px;
  margin:0 auto;
  box-shadow: inset 1px 1px 2px rgba(49, 0, 139, 0.6),
              inset -1px -1px 2px rgba(0, 0, 156, 0.6),
              0px 3px 10px rgb(57, 0, 138);
}

.container {
  overflow: hidden;
  position: relative;
  top: 4px;
}
.carousel {
  position: relative;
}
.carousel-inner {
  display: flex;
  overflow: hidden;
  height: 100vh;
  flex-wrap: nowrap;
}
.slide {
  flex: 0 0 100%;
  height: 100%;
  transition: .5s ease-in-out;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controls {
  position: absolute;
  z-index: 5;
  left: 10%;
  right: 10%;
  top: 50%;
  display: flex;
  justify-content: space-between;
}
.carousel-controls button {
  padding: 10px;
  color: #fff;
  background-color: #404;
}
/* From Uiverse.io by Allyhere */ 
.btn-donate {
  --clr-font-main: hsla(0 0% 20% / 100);
  --btn-bg-1: hsla(194 100% 69% / 1);
  --btn-bg-2: hsla(217 100% 56% / 1);
  --btn-bg-color: hsla(360 100% 100% / 1);
  --radii: 0.5em;
  cursor: pointer;
  padding: 0.9em 1.4em;
  min-width: 120px;
  min-height: 44px;
  font-size: var(--size, 1rem);
  font-weight: 500;
  transition: 0.8s;
  background-size: 280% auto;
  background-image: linear-gradient(
    325deg,
    var(--btn-bg-2) 0%,
    var(--btn-bg-1) 55%,
    var(--btn-bg-2) 90%
  );
  border: none;
  border-radius: var(--radii);
  color: var(--btn-bg-color);
  box-shadow:
    0px 0px 20px rgba(71, 184, 255, 0.5),
    0px 5px 5px -1px rgba(58, 125, 233, 0.25),
    inset 4px 4px 8px rgba(175, 230, 255, 0.5),
    inset -4px -4px 8px rgba(19, 95, 216, 0.35);
}

.btn-donate:hover {
  background-position: right top;
}

.btn-donate:is(:focus, :focus-visible, :active) {
  outline: none;
  box-shadow:
    0 0 0 3px var(--btn-bg-color),
    0 0 0 6px var(--btn-bg-2);
}

@media (prefers-reduced-motion: reduce) {
  .btn-donate {
    transition: linear;
  }
}

.carousel-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  right: 50%;
  
  bottom: 10%;
  
  display: flex;
  
  justify-content: center;
  
}

.carousel-dots .dot {
  border-radius: 50%;

  margin: 5px;

  cursor: pointer;
  
}

.carousel-dots .active {
  
  border: 10px solid #490092 !important;
  
}
.carousel-dots .inactive {
  
  border: 10px solid #4cc3ee;
}
.table-container {
  padding: 0 5%; 
  margin: 0 auto; 
  width: 860px; 
  box-sizing: border-box;
  padding-top: 10px;
  padding-bottom: 10px;
}

#stonks-left{
  width: 300px;
  position: absolute;
  left: 30px;
  top: 500px;
}

#stonks-right{
  width: 300px;
  position: absolute;
  right: 30px;
  top: 500px;
}

.wrapper {
  display: flex;
  justify-content: center;
}

.cta {
    display: flex;
    padding: 10px 45px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    color: white;
    background: #404;
    transition: 1s;
    box-shadow: 6px 6px 0 black;
    transform: skewX(-15deg);
}

.cta:focus {
   outline: none; 
}

.cta:hover {
    transition: 0.5s;
    box-shadow: 10px 10px 0 #09caff;
}

.cta span:nth-child(2) {
    transition: 0.5s;
    margin-right: 0px;
}

.cta:hover  span:nth-child(2) {
    transition: 0.5s;
    margin-right: 45px;
}

  span {
    transform: skewX(15deg) 
  }

  span:nth-child(2) {
    width: 20px;
    margin-left: 30px;
    position: relative;
    top: 12%;
  }
  

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}


@keyframes color_anim {
    0% {
        fill: white;
    }
    50% {
        fill: #09caff;
    }
    100% {
        fill: white;
    }
}

.mosaique {
  display: flex;
  flex-wrap: wrap;
}
.card {
  flex: 1 1 33%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
}

.cardContent {
  opacity: 0;
  transition: 0.3s;
  backdrop-filter: blur(3px);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.cardContent p {
  color: white;
  text-shadow: 0 0 6px #000,0 0 4px #000;
  text-align: center;
  margin-bottom: -1px;
}

.cardContent h2 {
  color: white;
  text-shadow: 0 0 6px #000,0 0 4px #000;
  margin-bottom: -15px;
  margin-top: -1px;
  text-align: center;
}

.card .cardContent {
  transition: 0.3s ease;
}
.card:hover .cardContent {
  opacity: 1;
  transition: 0.3s ease;
}


.redirect-btn {
  background: linear-gradient(#489aff, #09caff);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.image-btn{
  display: block;
  background: linear-gradient(#404, #202);
  width: 100px;
  border-color: #09caff;
  height: 50px;
  margin-top: 10px;
  border-radius: 5px;
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.image-btn:hover{
  background-color: #303;
  cursor: pointer;
}

.redirect-btn:hover {
  background-color: #4cc3ee; 
}

.milieu2 form {
  width: 300px;
  margin: 0 auto;
  margin-left: 30px;
}
form input[type="text"] {
  padding: 1px 0;
  margin-right: 9px;
  width: 161px;
}

 #en-tete{
  display: flex;

 }

 #email{
  display: block;
  width: 331px;
 }
 #message{
display: block;
width: 333px;
height: 400px;
 }
#send{
  display: block;
  background: linear-gradient(#404, #202);
  width: 340px;
  border-color: #09caff;
  height: 50px;
  margin-top: 20px;
  border-radius: 5px;
  color: #fff;
}
#send:hover{
  background-color: #303;
  cursor: pointer;
}

.contactshadow {
  text-shadow: 1px 1px 2px #000, 0 0 1em #000, 0 0 0.2em #000;
  color: #fff;
}

.section {
  width: 1080px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ddd;
  text-align: justify;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.ligne {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-bottom: 40px;
}
.article {
  width: 540px;
  padding: 10px;
}

.article a{
  text-decoration: none;
  color: #489aff;

}

.article a:hover{
text-decoration: underline;
}

.image-wrapper {
  position: relative;
  width: 200px;
}

.img-default, .img-hover {
  position: absolute;
  left: 1150px;
  top: 650px;
  width: 100px;
  height: auto;
  transition: opacity 0.3s ease-in-out;
}

.img-hover {
  opacity: 0;
}

.image-wrapper:hover .img-hover {
  opacity: 1;
}

.image-wrapper:hover .img-default {
  opacity: 0;
}

.article a:active{
  color: #407;
}

.aside {
  width: 300px;
}

.tete {
  width: 100%;
  border-radius: 50%;
}

.h1{
  margin-left: auto;
  margin-right: auto;
  font-size: 50px;
  text-shadow: #303 2px 2px 4px;
}

table.dataTable thead{
  background-color: #ddd;
}

table.dataTable tbody{
  background-color: #ddd;
}

.pdf-titre {
  font-weight: 600;
  font-size: 100px;
  margin-bottom: 80px;
}
.pdf-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.pdf-item {
  width: 500px;
  height: 720px;
  perspective: 1000px;
}

.pdf-card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.pdf-item:hover .pdf-card {
  transform: rotateY(180deg);
}

.pdf-front,
.pdf-back {
  border: #000 solid 1px;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow, 0px 4px 6px rgba(0, 0, 0, 0.1));
}

.pdf-front {
  background-color: #dddddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.pdf-back {
  background-color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-back embed {
  width: 90%;
  height: 90%;
  border-radius: 10px;
}


footer {
  background: linear-gradient(#202, #404);
  border: #aaaaaa solid 2px;
  border-radius: 10px 10px 10px 10px;
  display: flex;
  justify-content: space-around;
  color: #fff;
  text-align: center;
  padding: 10px;
  position: absolute; bottom: -10000000; left: 0; right: 0
}

footer a {
  color: #fff;
  text-decoration: none;
}