/* ==== DEFAULT ==== */

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

h2,
h3 {
  font-weight: normal;
}

/* Default body */
body {
  background: #8b8b8b;
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: #fff;
  padding-left: 290px;
  margin: 0;
}

/* Body overide for each game page */
.BodyGame1 {
  background: linear-gradient(0.625turn, #00d3ef, #0026e3);
}

.BodyGame2 {
  background: #ff66c4;
}

.BodyGame3 {
  background: #ff6666;
}

/* Default nav */
nav {
  background: #313131;
  height: 100vh;
  width: 290px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  outline: none;
}
/* Nav overide for each game page */
.menuGame1 {
  background: #196bff;
}

.menuGame2 {
  background: #ff19d9;
}

.menuGame3 {
  background: #ff1919;
}

/* Nav logo */
nav .avatar {
  background: rgba(0, 0, 0, 0.1);
  padding: 2em 0.5em;
  text-align: center;
}

nav .avatar img {
  width: 100px;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

/* Nav ul & li */
nav ul {
  list-style: none;
  padding: 0.5em 0;
  margin: 0;
}

nav ul a {
  text-decoration: none;
  color: inherit;
}

nav ul li {
  padding: 0.5em 1em 0.5em 3em;
  font-size: 0.95em;
  font-weight: regular;
  background-repeat: no-repeat;
  background-position: left 15px center;
  background-size: auto 20px;
  /*transition: all 0.15s linear;*/
  cursor: pointer;
}

nav ul li:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

nav ul li:focus {
  outline: none;
}

/* Nav icon for each game */
nav ul li.icon-dashboard {
  background-image: url("./media/AnimauxMarins.png");
}

/* Privacy pages */

.privacy {
  margin-top: 4.5%;
  margin-left: 19%;
  margin-right: 19%;
  padding-right: 17%;
}

.privacy h1 {
  font-weight: normal;
}

/* Footer for each game */
footer {
  background-color: #1d1d1d;
  height: 60px;
  width: 100%;
  margin-top: 70px;
  display: flex;
  justify-content: flex-end;
  font-size: 9pt;
}

.copyright {
  float: right;
  margin-right: 2%;
  margin-top: auto;
  margin-bottom: auto;
}

/* Marine animals */

/* tittle */
.gameTittle {
  margin-top: 5%;
  display: flex;
  width: 100%;
}

.gameIcone {
  width: 9.5%;
}

.gameTittle img {
  width: 100%;
  border-radius: 10px;
}

.title {
  margin-left: 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 10px;
}

.gameTittle h1 {
  margin: 0;
  padding: 0;
}

.gameTittle a {
  color: inherit;
  margin-top: 0;
}

/* content */

.content {
  margin-left: 19%;
  margin-right: 19%;
}

.ImgPresentation {
  width: 100%;
  margin-top: 2.5%;
  border-radius: 10px;
}

.GameDescription {
  font-size: 13pt;
  font-weight: normal;
  margin-top: 0.9%;
  margin-bottom: 9%;
  display: block;
  justify-content: space-between;
}

.GameDescription div {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/* slider */

.splide img {
  width: 100%;
  height: auto;
}

/* store link */

.storeLink {
  height: 80px;
  display: flex;
  justify-content: center;
  margin-top: 2%;
}

.storeLink div {
  text-align: center;
}

.storeLink div a {
  cursor: pointer;
}

.appstore {
  height: 52px !important;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 13px;
  padding-right: 13px;
}

.storeLink div a img {
  height: 78px;
}

/* ==== 3841px & 2920px ==== */
@media screen and (max-width: 3841px) and (min-width: 2920px) {
  nav ul {
    font-size: 16pt;
  }

  .privacy h1 {
    font-size: 40px;
  }

  .privacy h2 {
    font-size: 32px;
  }

  .privacy h3 {
    font-size: 24px;
  }

  .privacy {
    padding-right: 22%;
    font-size: 22px;
  }

  .gameTittle h1 {
    font-size: 40px;
  }

  .gameTittle {
    font-size: 20pt;
  }

  .GameDescription {
    font-size: 20pt;
  }

  .storeLink div a img {
    height: 125px;
  }

  .appstore {
    height: 83px !important;
    padding-top: 21px;
  }

  footer {
    height: 80px;
    margin-top: 100px;
    font-size: 12pt;
  }

}

/* ==== 2920px & 2000px ==== */
@media screen and (max-width: 2920px) and (min-width: 2000px) {
  nav ul {
    font-size: 14pt;
  }
  
  /* Privacy pages */
  .privacy h1 {
    font-size: 36px;
  }

  .privacy h2 {
    font-size: 28px;
  }

  .privacy h3 {
    font-size: 20px;
  }

  .privacy {
    padding-right: 18%;
    font-size: 16pt;
  }

  .gameTittle h1 {
    font-size: 36px;
  }

  .gameTittle {
    font-size: 16pt;
  }

  .GameDescription {
    font-size: 16pt;
  }

  .storeLink div a img {
    height: 115px;
  }

  .appstore {
    height: 76px !important;
    padding-top: 19px;
  }

  footer {
    height: 80px;
    margin-top: 100px;
    font-size: 12pt;
  }
}

/* ==== 1240px & 1030px ==== */
@media screen and (max-width: 1240px) and (min-width: 1030px) {
  .gameTittle h1 {
    font-size: 24px;
  }
  /* Privacy pages */
  .privacy {
    padding-right: 8%;
  }
  /* content */
  .content {
    margin-left: 14%;
    margin-right: 14%;
  }

  .gameIcone {
    width: 11.5%;
  }

  .GameDescription {
    display: block;
  }
  .GameDescription div {
    width: 100%;
  }

  .GameDescription div ~ div {
    width: 100%;
    margin-top: 35px;
  }
}

/* ==== 1030px & 670px ==== */
@media screen and (max-width: 1030px) and (min-width: 670px) {
  body {
    padding-left: 90px;
  }

  nav {
    width: 90px;
  }

  /* Nav logo */
  nav .avatar {
    padding: 0.5em;
    position: relative;
  }

  nav .avatar img {
    width: 60px;
  }

  /* Nav ul & li */
  nav ul li {
    height: 60px;
    background-position: center center;
    background-size: 30px auto;
    position: relative;
  }
  nav ul li span {
    opacity: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    top: 50%;
    left: 80px;
    transform: translate3d(-15px, -50%, 0);
    transition: all 0.15s ease-in-out;
    pointer-events: none;
  }
  nav ul li span:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: -5px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid rgba(0, 0, 0, 0.5);
    transform: translateY(-50%);
  }
  nav ul li:hover span {
    opacity: 1;
    transform: translate3d(0px, -50%, 0);
  }

  /* Privacy pages */
  .privacy {
    padding-right: 7%;
    font-size: 14pt;
    margin-left: 9%;
    margin-right: 9%;
  }
  /* content */
  .content {
    margin-left: 9%;
    margin-right: 9%;
  }

  .gameIcone {
    width: 11.5%;
  }

  .gameTittle h1 {
    font-size: 20px;
  }

  .GameDescription {
    display: block;
  }
  .GameDescription div {
    width: 100%;
  }

  .GameDescription div ~ div {
    width: 100%;
    margin-top: 35px;
  }

  footer {
    justify-content: center;
    margin-top: 9.5%;
  }
  
}

/* ==== 770px & 670px ==== */
@media screen and (max-width: 770px) and (min-width: 670px) {
  .privacy {
    padding-right: 0;
    margin-left: 9%;
    margin-right: 9%;
  }
}

/* ==== 670px & 400px ==== */
@media screen and (max-width: 670px) and (min-width: 400px) {
  body {
    padding-left: 0;
  }

  nav {
    width: 230px;
    box-shadow: 0 0 0 100em rgba(0, 0, 0, 0);
    transform: translate3d(-230px, 0, 0);
    transition: all 0.3s ease-in-out;
  }

  /* nav lu & li */
  nav ul li {
    padding: 1em 1em 1em 3em;
    font-size: 1.2em;
  }

  nav:focus {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 0 0 100em rgba(0, 0, 0, 0.6);
  }

  /* MOBILE MENU BURGER */
  nav .smartphone-menu-trigger {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 99.9%;
    background: #303030;
  }

  nav .smartphone-menu-trigger:before,
  nav .smartphone-menu-trigger:after {
    content: "";
    width: 50%;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }

  nav .smartphone-menu-trigger:after {
    top: 55%;
    transform: translate3d(-50%, -50%, 0);
  }

  nav:focus .smartphone-menu-trigger {
    pointer-events: none;
  }

  /* Privacy pages */
  .privacy {
    padding-right: 0;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 12%;
  }

  .privacy h1 {
    font-size: 24px;
  }

  .privacy h2 {
    font-size: 20px;
  }

  .privacy h3 {
    font-size: 16px;
  }
  /* content */
  .content {
    margin-left: 9%;
    margin-right: 9%;
  }

  .gameIcone {
    width: 11.5%;
  }

  .gameTittle h1 {
    font-size: 20px;
  }

  .GameDescription {
    display: block;
  }
  .GameDescription div {
    width: 100%;
  }

  .GameDescription div ~ div {
    width: 100%;
    margin-top: 35px;
  }

  .storeLink {
    margin-top: 3%;
  }

  .storeLink div a img {
    height: 65px;
  }
  
  .appstore {
    height: 43px !important;
    padding-top: 11px;
  }

  footer {
    height: 45px;
    font-size: 8pt;
    justify-content: center;
    margin-top: 30px;
  }

}

/* ==== 400px ==== */
@media screen and (max-width: 400px) {
  body {
    padding-left: 0;
  }

  nav {
    width: 230px;
    box-shadow: 0 0 0 100em rgba(0, 0, 0, 0);
    transform: translate3d(-230px, 0, 0);
    transition: all 0.3s ease-in-out;
  }

  /* nav lu & li */
  nav ul li {
    padding: 1em 1em 1em 3em;
    font-size: 1.2em;
  }

  nav:focus {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 0 0 100em rgba(0, 0, 0, 0.6);
  }

  /* MOBILE MENU BURGER */
  nav .smartphone-menu-trigger {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 99.9%;
    background: #303030;
  }

  nav .smartphone-menu-trigger:before,
  nav .smartphone-menu-trigger:after {
    content: "";
    width: 50%;
    height: 2px;
    background: #fff;
    border-radius: 10px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }

  nav .smartphone-menu-trigger:after {
    top: 55%;
    transform: translate3d(-50%, -50%, 0);
  }

  nav:focus .smartphone-menu-trigger {
    pointer-events: none;
  }

  /* Privacy pages */
  .privacy {
    padding-right: 0;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: 12%;
  }


  .privacy h1 {
    font-size: 24px;
  }

  .privacy h2 {
    font-size: 20px;
  }

  .privacy h3 {
    font-size: 16px;
  }
  /* content */
  .content {
    margin-left: 5%;
    margin-right: 5%;
  }

  .gameIcone {
    width: 13.5%;
  }

  .gameTittle h1 {
    font-size: 13pt;
  }

  .gameTittle a {
    font-size: 11pt;
  }

  .GameDescription {
    display: block;
    font-size: 12pt;
  }
  .GameDescription div {
    width: 100%;
  }

  .GameDescription div ~ div {
    width: 100%;
    margin-top: 35px;
  }

  .storeLink {
    margin-top: 3%;
  }

  .storeLink div a img {
    height: 55px;
  }
  
  .appstore {
    height: 36px !important;
    padding-top: 9px;
  }

  footer {
    height: 45px;
    font-size: 7pt;
    justify-content: center;
    margin-top: 30px;
  }
}
