@font-face {
    font-family: "HugeSalmon";
    src:
      url("../fonts/Huge\ Salmon.otf") format("opentype");
  }
  
  @font-face {
      font-family: "Retrograde";
      src:
          url("../fonts/Retrograde.ttf");
  }
  
  @font-face {
      font-family: "LettersforLearners";
      src:
          url("../fonts/Letters for Learners.ttf");
  }
  
  @font-face {
    font-family: "Titre1";
    src:
      url("../fonts/Eracake.otf") format("opentype");
}

  
@font-face {
    font-family: "Titre2";
    src:
    url("../fonts/Fast\ Hand.otf") format("opentype");
}

  
@font-face {
    font-family: "Titre3";
    src:
        url("../fonts/Fluo\ Gums.ttf");
}

  
@font-face {
    font-family: "Titre4";
    src:
        url("../fonts/JunigardenSwash_PERSONAL_USE_ONLY.otf");
}

  
@font-face {
    font-family: "Titre5";
    src:
    url("../fonts/Reglisse.otf") format("opentype");
}

  
@font-face {
    font-family: "Titre6";
    src:
    url("../fonts/Steiner.otf") format("opentype");
}

  
@font-face {
    font-family: "Titre7";
    src:
    url("../fonts/Vampire\ Wars.otf") format("opentype");
}



body {
    margin: auto;
    background: radial-gradient(circle at 18.7% 37.8%, rgb(250, 250, 250) 0%, rgb(225, 234, 238) 90%);
    font-size: 1.5em;
}

h1 {
    text-align: center;
}

.t1 { font-family: Titre1; }
.t2 { font-family: Titre4; }
.t3 { font-family: Titre7; }

h2 {
    margin: 0;
    margin-top: 5px;
    margin-left: -7px;
    margin-right: -7px;
    padding: 7px;
    font-family: Retrograde;
    font-weight: normal;
    background-color: gainsboro;
    text-align: center;
}

#sets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#sets article {
    vertical-align: top;
    padding: 7px;
    margin-top: 2em;
}

img.illustration {
    width: 90%;
    margin: auto;
    padding: 5%;
}

article {
    position: relative;
}

article p {
    background-color: #5a5e6b;
    color: white;
    display: flex;
    justify-content: space-around;
    margin: 0;
    margin-left: -7px;
    margin-right: -7px;
}

article p span {
    width: 25%;
    text-align: center;
    font-family: LettersforLearners;
}

img.logo {
    position: absolute;
    top: -30px;
    right: 0px;
    max-width: 33%;
    max-height: 32px;
    background-color: white;
    padding: 7px;
    border-radius: 7px;
    box-shadow: 0 -2px 2px 0 rgba(0, 0, 0, 0.2), 0 -3px 3px 0 rgba(0, 0, 0, 0.19);
}

img.collector {
    width: 125px;
    border-radius: 50%;
    margin-top: -175px;
    margin-left: 75%;
}

.polaroid {
	background-color: white;
	margin: 1%;
	padding: 1%;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

div#dimensions {
    width: 49%;
    position: relative;
    height: 140px;
    margin: auto;
    margin-top: 27px;
}

#dimensions img {
    position: absolute;
    left: 22.5%;
    width: 55%;
}

#dimensions p {
    width: fit-content;
    background-color: white;
    color: tomato;
    position: absolute;
    font-family: LettersforLearners;
    font-weight: bold;
    text-shadow: 1px 0px black;
    font-size: larger;
}

#dimensions p:nth-child(2) {
    top: 50px;
    right: 85%
}
#dimensions p:nth-child(3) {
    top: 110px;
    right: 57%
}
#dimensions p:nth-child(4) {
    top: 75px;
    right: 25%
}
#dimensions p:nth-child(5) {
    top: 5px;
    right: 42%;
    color: initial;
    font-size: smaller;
    font-weight: initial;
    text-shadow: initial;
}

div#commentaires {
    font-family: HugeSalmon;
    color: brown;
    border-bottom: 1px solid black;
    margin: 0;
    margin-left: -7px;
    margin-right: -7px;
    padding: 7px;
    background-color: whitesmoke;
}

div#commentaires ul {
    margin: 0;
}

section#types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

img.type {
    max-width: 150px;
    max-height: 45px;
    background-color: white;
    padding: 7px;
}

#types div {
    border-radius: 7px;
    box-shadow: 0 -2px 2px 0 rgba(0, 0, 0, 0.2), 0 3px 3px 0 rgba(0, 0, 0, 0.19);
    vertical-align: middle;
    margin: 15px;
    display: flex;
    justify-content: space-between;
    background-color: white;
    align-items: center;
}

#types div.tous {
    box-shadow: 0 -4px 5px 0 rgba(0, 200, 100, 0.2), 0 6px 6px 0 rgba(0, 200, 100, 0.19);
}

#types div p {
    font-size: 1.5em;
    font-family: Titre7;
    margin: 0;
    padding: 15px;
    border-left: 2px solid DimGrey;
    color: tomato;
    text-shadow: 1px 1px black;
}

@media screen and (max-width: 1249px) {
    .polaroid {
        width: 45%;
    }

    h1 {
        font-size: 1.5em;
    }
}

@media screen and (min-width: 1250px) {
    .polaroid {
        width: 30%;
    }
}