@media (max-width: 1000px) {
    .tetecache {
      display: none;
    }
  }

  @media (min-width: 1700px) {
    .dragoncache {
      margin-left: -9%;
    }
  }

@media (max-width: 1450px) {
    .dragoncache {
      display: none;
    }
  }

.logo {         
    display: block; 
    margin: 0 auto; 
    width : 20%;
  }
  
 
.logodroite {      
    position: absolute;
    top: 4.5%;
    right: 3%;
    max-width: 20%;
    image-rendering: pixelated;
    transform: scale(10); 
    transform-origin: center;
}

@font-face {        /*sert à importer la police d'écriture de Minecraft*/ 
    font-family: Minecraft;
    src: url("Police/Minecraft.ttf");
}

@font-face {        /*sert à importer la police d'écriture de Italico*/ 
    font-family: CenturyGothic;
    src: url("Police/CenturyGothic.otf");
}

header{
    background-image: url(Image/fondpierre.png);
    box-shadow: 0px 0px 5px black;
    width:100%;
}

a {
    text-decoration: none;
    color: black;
    position: relative;
    transition: .2s all;
    font-weight: 300;
}

a::before {
    content: '';
    position: absolute;
    left: 0;
    transition: .2s all;
    z-index: -1;
}

a:hover{     /*applique la couleur noir au bouton quand on passe le curseur par dessus*/
    color:black;
}

body{       /*enlève les espacement dans le body et applique la couleur noir sur l'ensemble du body*/ 
    margin:0; padding:0;
    background-color: #303030;
    min-width: 800px;
}

nav{     /*centre le texte et applique un espacement*/  
    text-align:center;
    margin:10px;
    padding:10px;
}

nav>a{     /*applique une typographie au bouton du menu avec comme particularité l'espacement entre les boutons et le contour autour du texte*/
    color:white;
    font-size:x-large;
    text-transform: uppercase;
    -webkit-text-stroke:black 0.50px;
    padding-right:1vw;
    padding-left:1vw;
    text-decoration: none;
    font-family: Minecraft;
}

.imageaccueil {
    display: flex;
    text-align: center;
    max-width: 35%;
}

nav img{        /*change la taille du diamand et de l'émeraude sur les côtés de la nav*/
    width: 20px;
}

.ecartement{        /*class permettant de créer un espace*/  
    padding:0.5%;
}

h1 {
    text-align: center;
    font-family: CenturyGothic;
    font-size: xx-large;
    color: white;
}

p {
    text-align: center;
    font-family: CenturyGothic;
    font-size: x-large;
    color: white;
    margin-left: 10%;
    margin-right: 10%;
}

h2 {
    text-align: center;
    font-family: CenturyGothic;
    font-size: x-large;
    color: white;
}

.flex{       /*flexbox avec une marge à 5% de chaque côté*/
    display: flex;
    flex-direction:row ;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 5%;
    margin-left: 5%;
}

.imageaccueil {
    display: block;
    margin: 0 auto;
    max-width: 35%;
}

#flammegif {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

h3 {
    color:white;
    font-family: Minecraft;
    font-size: medium;
}

#coeur {
    image-rendering: pixelated;
    transform: scale(2);
}

.flexaccueil{       /*flexbox avec une marge à 5% de chaque côté*/
    display: flex;
justify-content: space-between;
    margin-right: 5%;
    margin-left: 5%;
}

.flexdragon {
    align-items: center;
    width: 150%;
}

.dragon {
    width:300%;
    margin-left: -300%;
}

.fintexte {
    font-family: Minecraft; 
    font-size: medium;
    text-decoration: underline;
}

.flextexte{       /*flexbox avec une marge à 5% de chaque côté*/
    display: flex;
    flex-direction:row ;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 5%;
    margin-left: -4%;
}

.neige{
    width: 7%;
    image-rendering: pixelated;
}

#golemneige {
    image-rendering: pixelated;
    width: 8%;
}

#golemneige2 {
    image-rendering: pixelated;
    width: 20%;
}

.flexend {     
        display: flex;
        flex-direction:row ;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-right: 10%;
        margin-left: 10%;
}

.flexend :first-child {
    width : 10%;
}

.flexend img {
    width : 20%;
}