html {
    color :#ebebec;
    background-color: #191919;
    font-family: 'Archivo', sans-serif;
    font-family: 'DM Sans', sans-serif;
}

.contain-site {
    opacity: 0;
}

.results-display {
    display: block;
    opacity: 1;
}

body {
    font-size: 90%;
}

section {
    display : flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

input {
    width: 250px;
    height: 50px;
    font-size:x-large;
    border-radius: 8px;
    border: 0px solid #ebebec;
    background-color: rgba(49, 49, 51, 0.7);
    color:#a6a8b5;
   
}

.check {
    margin-left: 1%;
    margin-top: 2px;
    background-color: #191919;
    border: none;
    cursor: pointer;
}

.check:hover {
    opacity: 70%;
}

h2 {
    font-size: 3em;
    margin-left: 8%;
    margin-top: 40px;
    margin-bottom: 20px;
    text-decoration-line: underline;
    text-underline-offset: 8px;
}

h2.commune {
    text-decoration-color: #3d52d5;
    margin-top: 30px;
}

h2.rare {
    text-decoration-color: #4c2a85;
}

h2.epique {
    text-decoration-color: #a3333c;
}

h2.legendaire {
    text-decoration-color: #fe5e41;
}

[id^=swiper-button-] {
    width: 5.8%;
}

img {
    width: 95%;
    height: auto;
}

.swiper-container{
    left: 0.5%;
    position: relative;
    width: 87%;
    margin: 0 auto;
}

.swiper-container .swiper-button-prev{
    left: -4.2vw;
    margin-top: -25px;
}

.swiper-container .swiper-button-next{
    right: -4vw;
    margin-top: -25px;
}

.swiper-slide img{
    width: 93%;
}

.container {
    width: 0px;
    height: 16vw;

  }
  
.card-active {
    cursor: pointer;
    transform: rotateY(180deg);
}

.container-fix {
    width: 0px;
    height: 16vw;

}
  
  
  .card {
    height: 100%;
    width: 97%;
    position: relative;
    transition: transform 1500ms;
    transform-style: preserve-3d;
  }
  
  .front,
  .back {
    height: 100%;
    width: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .back {
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
  }





[id^=swiper-button-]::after {
    content: "";
}

[id^=swiper-button-]:hover {
    opacity: 80%;
}

footer {
    margin-top: 150px;
}

@media screen and (max-width: 64em) {
    h2 {
        font-size: 2.5em;
      }
}
    @media screen and (max-width: 50em) {
    h2 {
        font-size: 2em;
      }
}

    
@media screen and (max-width: 30em){
    h2 {
        font-size: 1.5em;
      }
}