/* Styles par défaut pour les écrans larges */
.contenu {
  width: 1000px;
}

/* Media Query pour les appareils mobiles */
@media (max-width: 768px) {
  .contenu {
    width: 100%; /* Remplir la largeur de l'écran */
  }
}

ul li {
    list-style-type:none;
}




h1
{
    color:white
}

body 
{
    overflow-x: hidden;
    background-color: black;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#fond {
    width:100%;
    position: absolute;
    top: 70px; /* Décalage depuis le haut */
    left: 600px; /* Décalage depuis la gauche */
    
}



#background-video {
      position: fixed; /* Pour rendre la vidéo fixe */
      top: 0;
      left: 0;
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      z-index: -1; /* Mettre la vidéo en arrière-plan */
}

.background-wrapper {
      position: relative;
      width: 20vw;
      height: 20vh;
      overflow: hidden;
}

.bgcolor {
     background-color:black;
}

h2
{
    color:white
}

li
{
    color:white
}

footer
{
    color:white
}


@media screen and (max-width: 768px) {
    #korolia {
    width:100%;
    height:50%;
    }
    body {
        background-image: url("https://www.korolia.net/images/minecraft/link.png");
        background-repeat: no-repeat;
        width:100%;
        height: 100%;
        background-size: cover;
    }
}

@media screen and (min-width: 769px) {
   #korolia {
    width:40%;
    height:25%;
    } 
    body {
        background-image: url("https://shop.korolia.net/storage/img/link.png");
        background-repeat: no-repeat;
        width:100%;
        height: 100%;
    }
}


#rgt {
    width: 878px;
    height: 119px;
}

#rgtsmall {
    width:60%;
    height: auto;
}

.dw-button {
	font-family: 'Roboto', sans-serif; /* Police de caractères */
	font-size: 16px;
	color: #fff;
	background-color: #f08f06; /* Couleur de fond */
	border: none;
	border-radius: 4px;
	padding: 10px 20px;
	cursor: pointer;
	justify-content: center;
    align-items: center;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.3s ease; /* Transition au survol */
}
  
  /* Style du bouton au survol */
.dw-button:hover {
	background-color: rgb(6, 119, 231); /* Changement de couleur au survol */
  }
  
#imgnouveaute {
    width: 640px;
    height: 400px;
}

#gameList-img {
    width: 360px;
    height: 200px;
}

#gameListmc-img {
    width: 200px;
    height: 200px;
}

.images {
    display: flex;
    animation-duration: 10s;
    animation-name: imageNouveaute;
    animation-iteration-count: infinite;
}

.nouveauteimg {
    width: 100%; /* Ajustez la largeur selon vos besoins */
    overflow: hidden;
}
  
.nouveauteimg img {
    display: block; /* Pour s'assurer que les images ne sont pas en ligne */
    width: 100%; /* Remplir le conteneur */
    height: auto;
    animation: imageNouveaute 10s infinite linear; /* Nom de l'animation, durée, itération, et timing function */
}

@keyframes imageNouveaute {
    0% {
        transform: translateX(0px);
    }
    25% {
        transform: translateX(-640px);
    }
    50% {
        transform: translateX(-1280px);
    }
    75% {
        transform: translateX(-1920px);
    }
    100% {
        transform: translateX(0px);
    }
}


#voituregif {
    left: -100px;
}
#perso-discord {
    width: 300px;
    height: 300px;
    left: 100px;
    
}

.button-disc {
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 1px #000;
  border-radius: 10px;
  background-color: rgba(255, 130, 0, 1);
  background-image: linear-gradient(to top left, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
  box-shadow:
    inset 2px 2px 3px rgba(255, 255, 255, 0.6),
    inset -2px -2px 3px rgba(0, 0, 0, 0.6);
}

.button-disc:hover {
  background-color: rgba(255, 0, 0, 1);
}

.button-disc:active {
  box-shadow:
    inset -2px -2px 3px rgba(255, 255, 255, 0.6),
    inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

#vppost-it {
    width: 400px;
    height: 600px;
    position: absolute;
    top: 70px;
    left: 20px;
}

#post-itbb{
    width: 400px;
    height: 600px;
    position: absolute;
    top: 70px;
    left: 500px;
}

#post-itbbduo {
    width: 400px;
    height: 600px;
    position: absolute;
    top: 70px;
    left: 1000px;
}


.menu {
  background-color: #333;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  transition: top 0.3s ease-in-out; /* Ajout de la transition */
}

.menu-icon {
  font-size: 24px;
  cursor: pointer;
}

.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  background-color: #444;
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
}

.menu-items li {
  padding: 10px;
}

.menu-items a {
  text-decoration: none;
  color: white;
}

#menu-toggle {
  display: none; /* Rend la checkbox invisible */
}

#menu-toggle:checked ~ .menu-items {
  display: block;
}

.scrolled {
  top: -50px; /* Déplace le menu en dehors de la vue */
}


.container {
    text-align: center;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.centered-text {
    background-color: #f0f0f0; /* Ajoutez une couleur de fond pour mieux visualiser le centrage */
    padding: 20px;
    border-radius: 5px;
}

#gd {
    float: left;
    margin-right: 10px; /* Pour créer un espace entre l'image et le texte */
}


.contour-j {
    background-color: #502a3a; /* Ajoutez une couleur de fond pour mieux visualiser le centrage */
    padding: 10px;
    border-radius: 5px;
}

.contour-mc {
    background-color: #096900; /* Ajoutez une couleur de fond pour mieux visualiser le centrage */
    padding: 10px;
    border-radius: 5px;
}

button {
  font-size: 18px;
  background-color: #008542;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / 25%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 0;
  z-index: 1;
  user-select: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: unset;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: 900;
  transition: all 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}

button:before {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
  z-index: -1;
  background-color: #008542 !important;
  box-shadow: 0 -4px rgb(21 108 0 / 50%) inset,
    0 4px rgb(100 253 31 / 99%) inset, -4px 0 rgb(100 253 31 / 50%) inset,
    4px 0 rgb(21 108 0 / 50%) inset;
}

button:after {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
  transition: 0.7s cubic-bezier(0, 0.8, 0.26, 0.99);
}

button:hover:before {
  box-shadow: 0 -4px rgb(0 0 0 / 50%) inset, 0 4px rgb(255 255 255 / 20%) inset,
    -4px 0 rgb(255 255 255 / 20%) inset, 4px 0 rgb(0 0 0 / 50%) inset;
}

button:hover:after {
  box-shadow: 0 4px 0 0 rgb(0 0 0 / 15%);
}

button:active {
  transform: translateY(4px);
}

button:active:after {
  box-shadow: 0 0px 0 0 rgb(0 0 0 / 15%);
}

/* Actual logo */
#youtube-logo {
  position: relative;
  background-color: rgb(1, 8, 63);
  width: 7.5vmin;
  height: 4.5vmin;
  border-radius: 5vmin / 15vmin;
}

#youtube-logo:before {
  content: "";
  position: absolute;
  background-color: rgb(1, 8, 63);
  z-index: -1;
  width: 6.625vmin;
  height: 5.0375vmin;
  border-radius: 24vmin / 3vmin;
  left: 3.5vmin;
  bottom: -2.2vmin;
}

#youtube-logo:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 1vmin 0 1vmin 1.875vmin;
  border-color: transparent transparent transparent #fff;
  left: 3.0625vmin;
  bottom: 1.25vmin;
}

.footerpage {
    background-color: rgb(37, 37, 37);
}