@font-face {
  font-family: Minecraft;
  src: url('Minecraft.otf') format('opentype');
}

@font-face {
  font-family: Alternity-ttf;
  src: url('Alternity.ttf') format('truetype');
}

@font-face {
  font-family: onlysquare;
  src: url('onlysquare.ttf') format('truetype');
}

html {
  scrollbar-color: #2A2C2E #1C1E1F;
  min-height: 100%;
  background: linear-gradient(#000033, 2%, #222222);
}

html.error {
  background: linear-gradient(#660000, 2%, #222222);
}

header * {
  display: inline-block;
}

header {
  margin-bottom: 5vh;
}

p, h1, h2, text, ul, li {
  font-family: Segoe UI, arial, sans-serif;
  background-color: #00000000;
  color: #EEEEEE;
  max-width: 80vw;
}

ul {
  padding-left: 15vw;
}

body {
  margin-top: 2%;
  background-color: transparent;
}

a {
  color: #3391E5;
}

header div {
  vertical-align: middle;
}

h1 {
  font-size: 6vh;
  margin: 0px;
  margin-left: 50px;
  max-width: 90vw;
  font-family: 'Alternity-ttf';
}

h2 {
  font-size: 5vh;
  margin-left: 50px;
  max-width: 90vw;
  font-family: 'Alternity-ttf';
}

.logo {
  height: 20vh;
  width: 20vh;
  margin-left: 40px;
  vertical-align: middle;
}
/*
  transition-property: transform;
  transition-duration: 200ms;
}

.logo:hover {
  transform: rotate(60deg);
  transform-origin: center;
}*/

.menu > div * {
  display: inline-block;
  vertical-align: middle;
}

.menu {
  margin-left: 10vw;
  animation-name: SlideIn, Stay;
  display: block;
  animation-delay: 300ms, 1000ms;
  animation-duration: 1000ms, 10s;
  animation-iteration-count: 1, infinite;
  filter: opacity(0%);
}

.menu svg {
  margin-bottom: 3vh;
  padding-left: 0px;
  max-width: 40vw;
  max-height: 6vh;
  transition-property: padding-left;
  transition-duration: 300ms;
}

.menu svg:hover {
  padding-left: 50px;
}

.menu p {
  filter: opacity(0%);
  width: 0px;
  height: 0px;
  font-size: 0px;
  padding-left: 0px;
  transition-property: filter, width, height, padding-left;
  transition-duration: 1000ms;
  margin: 0px;
}

.menu svg:hover + p {
  filter: opacity(100%);
  width: auto;
  height: 2em;
  font-size: 2.5vh;
  padding-left: 20px;
  padding-bottom: 1.5vh;
}

body p {
  margin-left: 10%;
}

table {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

th, td {
  width: 20%;
  border-collapse: collapse;
  border: 2px solid #333333;
}

code.code {
  font-family: 'Consolas', Courier, monospace;
  background-color: #151515;
  padding: 8px 12px 8px 12px;
  border-radius: 6px;
  font-weight: lighter;
}

.Prism code {
  padding-top: 2.5px;
}
/*chez moi les numéros de ligne sont mieux alignés comme ça*/

code {
  font-family: 'Consolas', Courier, monospace;
  font-size: 1em;
  background-color: #303030;
  border-radius: 2px;
}

.servers {
  display: inline-block;
  line-height: 1.5rem;
  max-width: 80vh;
  width: 35rem;
  min-width: 500px;
  background-color: #000033;
  padding: 10px;
  margin-left: 50px;
  overflow: hidden;
  border-radius: 8px;
}

.servers * {
  font-family: 'Minecraft';
  font-size: 1.2rem;
  
}

.servers > img {
  float: left;
  margin-right: 10px;
}

.right {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  vertical-align: text-top;
}

span[style*='font-family: onlysquare'] {
  font-size: smaller;
}

.ips {
  display: block;
  background-color: #000033;
  padding-top: 15px;
  color: #fff;
  text-align: center;
}

div.Prism {
  width: 80vw;
  height: 90vh;
  margin-left: auto;
  margin-right: auto;
}

div.Prism > * > * {
  height: 90vh;
}

.toolbar-item a {
  margin-right: 20px;
  font-size: larger !important;
}

.discord * {
  height: 30px;
  margin-right: 10px;
}

.topright * {
  vertical-align: middle;
  text-decoration: none;
}

.topright p {
  margin: 0px 10px 6px 10px;
  color: rgb(0, 120, 215);
}

.topright {
  float: right;
  text-decoration: none;
}

img.icon {
  border-radius: 20px;
  height: 40px;
}

img.prod {
  padding-bottom: 10px;
  height: 60px;
  float: right;
}

div.article {
  display: block;
  text-align: center;
}

img.article {
  max-height: 150px;
}

@keyframes SlideIn {
  from {
    margin-left: 0px;
    filter: opacity(0%);
  }
  to {
    margin-left: 10vw;
    filter: opacity(100%);
  }
}

@keyframes Stay {
  from {
    filter: opacity(100%);
  }
  to {
    filter: opacity(100%);
  }
}
