/* ROBOTO */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap");

html,
body {
  color: black;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/*My styles */
header {
  background: #b7002b;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 100;
}

header img {
  width: 75px;
  /* width: 3%; */
  position: relative;
  /* top: 50%;     */
  top: 40px;
  left: 30px;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
}

header a.lang {
  position: absolute;
  right: 40px;
  top: 50%;
  -webkit-transform: translate(0%, -50%);
  transform: translate(0%, -50%);
  color: white;
  /* font-weight: bold; */
  font-size: 20px;
}

a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.25rem;
}

nav {
  width: 350px;
  height: 100%;
  position: fixed;
  margin-top: 100px;
  /* float: left; */
}

nav a {
  font-weight: bold;
  display: block;
  color: black;
  margin: 0 0 20px 30px;
}

nav a.active{
  color:#b7002b;
}

nav a:first-child {
  margin-top: 80px;
}

section {
  margin-bottom: 150px;
  margin-top: 140px;
}
article{
  min-height:350px;
}
footer,
main {
  width: calc(100% - 651px);
  float: left;
  border-left: 1px solid #c7c8ca;
  /* border-right: 1px solid #c7c8ca; */
  padding: 40px 150px 0;
  margin-left: 350px;
}

footer {
  border-top: 1px solid #c7c8ca;
}

footer img {
  margin: 20px 0 50px;
  width: 75px;
}

h1 {
  margin: 0 0 30px 0;
  font-size: 3.675rem;
}

h2 {
  margin: 0 0 1.25rem;
  line-height: 5rem;
  font-size: 2.5rem;
  border-bottom: 1px solid black;
}

h3 {
  margin: 0;
  font-size: 1.75rem;
  /* float: left;
  width: 50%; */
}

h4 {
  margin: 25px 0 0 25px;
  font-size: 1.675rem;
}

.partenaires,
.espaces,
.amphi,
.prix,
.heure,
.date,
.saison,
.matchup,
.exclu,
.incorrect,
.symbole,
.tradegothic {
  border-top: 1px solid #c7c8ca;
  margin: 30px 0;
  padding: 20px 0;
  clear: both;
}

.langues {
  padding: 10px 0 25px;
}

.capitaine p:last-child,
.assistants p:last-child,
.langues p:last-child,
.espaces p:last-child,
.amphi p:last-child,
.prix p:last-child,
.heure p:last-child,
.date p:last-child,
.saison p:last-child,
.matchup p:last-child {
  padding-bottom: 20px;
}

.memoire {
  margin-top: 20px;
}

.telechargement {
  height: 320px;
}

.telechargement img {
  height: 100%;
  object-fit: cover;
}

.exclu img,
.gotham img,
.tradegothic img {
  margin-bottom: 30px;
}

.gotham img,
.tradegothic img {
  margin-top: 20px;
  width: 90%;
}

form#habs {
  width: calc(49% - 2px);
  border: 1px solid #a71930;
  height: 100%;
  position: relative;
  font-size: 1.75rem;
}

form#habs span {
  float: left;
  width: 70%;
  margin: 4% 0 0 5%;
}

form#habs input {
  margin: 5% 0 0 5%;
  height: 2.5rem;
  width: 2.5rem;
  float: left;
}

.band {
  background: #b7002b;
  color: white;
  bottom: 0;
  width: 100%;
  height: 100px;
  position: absolute;
}

.band a {
  color: white;
  width: 95%;
  top: 50%;
  left: 5%;
  position: absolute;
  -webkit-transform: translate(-0%, -50%);
  transform: translate(-0%, -50%);
  font-size: 1.75rem;
  font-weight: 400;
  cursor: not-allowed;
}

.band img {
  position: absolute;
  right: 7%;
  width: unset;
}

.halfRight,
.halfLeft {
  float: left;
  width: 49%;
}

.halfLeft {
  margin-right: 1%;
}

.halfRight {
  margin-left: 1%;
}

ul {
  list-style: none;
  margin-top: 0;
  padding: 0;
}

.incorrect ul:first-child {
  width: 88%;
}

li {
  position: relative;
  line-height: 1.675;
  left: 15px;
  font-size: 1.375rem;
  width: 90%;
  padding-bottom: 10px;
}

.incorrect li:before {
  content: "- ";
  position: absolute;
  left: -15px;
}

.separator {
  border-bottom: 1px solid #e1e2e3;
  padding-bottom: 10px;
}

span.pref.next{
  padding-top: 12px;
}

p {
  margin: 0;
  /* font-weight:500; */
  font-size: 1.375rem;
  line-height: 1.675;
}

.memoire p {
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 60px;
}

span.pref {
  font-weight: 300;
}

.exclu p {
  margin: 0 0 20px;
}

.symbole p {
  margin: 0;
  /* line-height: 3; */
}

.symbole span.pref {
  min-width: 160px;
  display: inline-block;
}

#couleurs p {
  margin: 45px 0 25px 25px;
}

#couleurs p.full {
  margin: 25px 0 25px;
}

.pantone187,
.pantone2758 {
  color: white;
  margin-bottom: 30px;
}

.pantone187 {
  background: #b7002b;
}

.pantone2758 {
  background: #0b2265;
}

#joueurs span.pref {
  min-width: 160px;
  display: inline-block;
}
#rules span.pref {
  min-width: 12%;
  display: inline-block;
}

#rules .showMobile {
  display: none;
}

#rules .goneMobile {
  display: inline-block;
}
.capitaine p,
.assistants p,
.partenaires p,
.matchup p,
.saison p,
.date p,
.heure p,
.prix p,
.amphi p,
.espaces p {
  margin: 0;
  line-height: 2.25;
}

.extraline {
  display: block;
  margin-top: -1.25rem;
}

/*MENU  Mobile*/

.myNavbar {
  clear: both;
  margin: 0%;
  position: absolute;
  top: 0;
  height: 100%;
  right: 0;
  margin-right: 8%;
  /* transform: translateY(-50%); */
  display: none;
  /* color: black; */
}

/* MEDIA QUERIES*/

@media (max-width: 1920px) {
  .telechargement {
    height: 265px;
  }
}

@media (max-width: 1700px) {
  nav {
    width: 250px;
  }

  footer,
  main {
    width: calc(100% - 451px);
    margin-left: 250px;
    padding: 40px 100px 0;
  }
}

@media (max-width: 1525px) {
  html,
  body {
    font-size: 12px;
  }

  .telechargement {
    height: 220px;
  }
}

@media (max-width: 1280px) {
  nav {
    width: 200px;
  }
  footer,
  main {
    width: calc(100% - 301px);
    margin-left: 200px;
    padding: 40px 50px 0;
  }

  .telechargement {
    height: 200px;
  }

  .band {
    height: 60px;
  }

  footer img {
    margin: 20px 0 25px;
  }
}

@media (max-width: 1100px) {
  html,
  body {
    font-size: 10px;
  }

  nav {
    width: 140px;
  }
  footer,
  main {
    width: calc(100% - 221px);
    margin-left: 160px;
    padding: 40px 30px 0;
  }
  nav a {
    margin: 0 0 10px 15px;
  }
  .telechargement {
    height: 180px;
  }
}

@media (max-width: 880px) {
  html,
  body {
    font-size: 16px;
  }

  .telechargement {
    height: unset;
  }

  form#habs {
    width: 99%;
    height: 240px;
  }

  .band {
    height: 80px;
  }

  .halfLeft,
  .halfRight {
    float: none;
    width: 99%;
    clear: both;
    display: block;
    margin: 4% auto 2%;
  }

  .pantone187,
  .pantone2758 {
    width: 94%;
    padding: 3%;
  }

  nav {
    display: none;
  }

  footer,
  main {
    width: 96%;
    margin: 0 auto;
    /* margin-left: 2%; */
    padding: 0;
    display: block;
    border-left: none; /* clear: both; */
    float: none;
  }

  footer{
    width: calc(96% - 40px);
    padding: 20px 20px 0;
  }

  nav a {
    margin: 0 0 10px 15px;
  }

  section {
    margin-bottom: 5%;
    padding: 0 20px;
    margin-top: 120px;
  }
  .partenaires,
  .espaces,
  .amphi,
  .prix,
  .heure,
  .date,
  .saison,
  .matchup,
  .exclu,
  .incorrect,
  .symbole,
  .tradegothic {
    margin: 20px 0 10px;
    padding: 0;
  }

  .incorrect ul:first-child,
  li {
    width: 98%;
  }

  /* MENU MOBILE*/

  .myNavbar {
    display: inline-block;
    top: 0px;
    height: unset;
    padding: 65px 0 0;
    left: 100%;
    background-color: #b7002b;
    /* background-color: #ffffff; */
    /* height: 100px; */
    width: 210px;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    transition: all 0.8s;
    z-index: -1;
    -webkit-transform: translateX(-91%);
    transform: translateX(-91%);
    -webkit-box-shadow: 3px 0px 15px 8px rgba(0, 0, 0, 0.16);
    box-shadow: 3px 0px 15px 8px rgba(0, 0, 0, 0.16);
  }

  .begone {
    display: block;
  }

  header a.lang {
    right: 18%;
  }

  #nav-icon1 span {
    display: block;
    position: absolute;
    height: 3px;
    width: 35px;
    border-radius: 9px;
    opacity: 1;
    left: 90%;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: 0.25s ease-in-out;
    -moz-transition: 0.25s ease-in-out;
    -o-transition: 0.25s ease-in-out;
    transition: 0.25s ease-in-out;
    /* box-shadow: 0px 0.5px 0px #ffffff; */
  }

  #nav-icon1 span:nth-child(1) {
    background: #ffffff;
    top: 36%;
  }

  #nav-icon1 span:nth-child(2) {
    background: transparent;
    top: 36%;
  }

  #nav-icon1 span:nth-child(3) {
    background: #fbfbfb;
    top: 47%;
  }

  #nav-icon1 span:nth-child(4) {
    background: #ffffff;
    top: 47%;
  }

  #nav-icon1 span:nth-child(5) {
    top: 49%;
    background: transparent;
  }

  #nav-icon1 span:nth-child(6) {
    top: 59%;
    background: #ffffff;
  }

  #nav-icon1.open span:nth-child(2),
  #nav-icon1.open span:nth-child(5),
  #nav-icon1.open span:nth-child(1) {
    top: 10%;
    opacity: 0;
    right: 150%;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  #nav-icon1.open span:nth-child(3) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    left: 90%;
    width: 33px;
  }

  #nav-icon1.open span:nth-child(4) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 89.875%;
    width: 33px;
  }

  #nav-icon1.open span:nth-child(6) {
    top: 10%;
    opacity: 0;
    width: 0%;
    right: 150%;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .begoneBig {
    opacity: 0;
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    transition: all 0.8s;
    left: 140%;
    top: 0;
  }

  li.sub-menu-parent a {
    color: #fdfdfd;
  }
}

@media (max-width: 600px) {
  html,
  body {
    font-size: 14px;
  }

  form#habs {
    height: 200px;
  }
  form#habs span {
    width: 78%;
    margin: 4% 0 0 5%;
    font-size: 1.5rem;
  }

  #nav-icon1 span {
    left: 85%;
  }
  header a.lang {
    right: 26.5%;
  }
  #nav-icon1.open span:nth-child(3) {
    left: 85.25%;
  }

  #nav-icon1.open span:nth-child(4) {
    left: 85%;
  }
  
  #rules .showMobile {
    display: inherit;
  }

  #rules .goneMobile {
    display: none;
  }

}

@media (max-width: 400px) {
  html,
  body {
    font-size: 12px;
  }
  h1 {
    margin: 0 0 20px 0;
    font-size: 3.25rem;
  }
  p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.675;
  }
  header a.lang {
    right: 43%;
  }

  form#habs {
    height: 180px;
  }
  header img {
    width: 15%;
  }

  .partenaires,
  .espaces,
  .amphi,
  .prix,
  .heure,
  .date,
  .saison,
  .matchup,
  .exclu,
  .incorrect,
  .symbole,
  .tradegothic {
    margin: 10px 0;
    padding: 0;
  }
  .capitaine p:last-child,
  .assistants p:last-child,
  .langues p:last-child,
  .espaces p:last-child,
  .amphi p:last-child,
  .prix p:last-child,
  .heure p:last-child,
  .date p:last-child,
  .saison p:last-child,
  .matchup p:last-child {
    padding-bottom: 10px;
  }
}
