p {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

ul {
  margin-block-start: 0;
  margin-block-end: 0;
}

header {
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 10px;
}

.header-info {
  display: flex;
  justify-content: space-between;
  padding-right: 10px;
}

.header-info-item {
  display: flex;
  justify-content: space-between;
  color: #d1d1d1;
  font-family: "D-din";
}

.header-item {
  margin-right: 15px;
}

.header-item:last-child {
  margin-right: -10px;
}

.header-item a {
  text-decoration: none;
  color: #d1d1d1;
}

.header-button-item .fa-futbol {
  margin-right: 10px;
}

.fa-phone-volume {
  transform: rotate(-30deg);
}

.nav-bar {
  border: 1px solid #e4dfd9;
  margin: 10px 0px;
}

.nav-bar-menu {
  display: grid;
  grid-template-columns: auto 1fr 230px 15%;
  align-items: center;
}

.nav-bar-items {
  justify-self: start;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-link {
  text-decoration: none;
  text-transform: uppercase;
  color: #d1d1d1;
  font-family: "D-din";
  font-size: 16px;
  width: 100%;
  padding-right: 20px;
}

.nav-bar-items>li+li::before {
  content: '';
  width: 4px;
  height: 4px;
  background-color: #d1d1d1;
  display: inline-block;
  margin: 0px 17px 4px 0;
}

.navbar-link:hover {
  text-decoration: none;
  color: #d1d1d1;
}

.navbar-dropdown {
  background-color: #1e1e1e;
  border: none;
  color: #e4dfd9 !important;
  text-decoration: none;
  text-transform: uppercase !important;
  color: #d1d1d1 !important;
  font-family: "D-din" !important;
}

.dropdown-menu {
  min-width: 5rem;
}

.dropdown-item {
  color: #e4dfd9 !important;
  text-decoration: none;
  text-transform: uppercase !important;
  color: #d1d1d1 !important;
  font-family: "D-din" !important;
}

.btn {
  padding: 0 !important;
  font-size: 16px !important;
}

.navbar-dropdown:hover {
  background-color: #1e1e1e;
  border: none;
  color: #e4dfd9;
}

.navbar-dropdown:active {
  background-color: #1e1e1e;
  border: none;
  color: #e4dfd9;
}

.logo {
  width: 105px;
  height: auto;
  justify-self: center;
  padding: 5px;
}

.xlive-img {
  width: 50%;
  height: 50%;
}

.nav-bar-menu a.x-live {
  display: flex;
  justify-content: flex-end;
}

.header-buttons {
  display: grid;
  grid-template-columns: auto 1fr;
}

.header-button {
  justify-self: flex-end;
  border-left: 1px solid #e4dfd9;
  padding: 35px 20px 35px 20px;
}

.header-button-item {
  text-decoration: none;
  text-transform: uppercase;
  color: #d1d1d1;
  font-family: "D-din";
  font-size: 16px;
  width: 100%;
}

.header-button-item:hover {
  text-decoration: none;
  color: #d1d1d1;
}

/* fixes alignement navbar links and dropdown */
.nav-bar-items li{
  line-height: 1;
}

@media (max-width: 1360px) {
  .xlive-img {
    padding-right: 10px;
  }
}

@media (max-width: 1200px) {
  .header-button {
    padding: 35px 5px 35px 5px;
  }
}

@media (max-width: 991px) {
  .nav-bar-menu {
    display: none;
  }

  .hidden-navbar {
    padding: 5px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* navbar toggle */

.toggle-container {
  display: flex;
  align-items: center;
  background-color: #1e1e1e;
}

.toggle-button {
  display: none;
  position: relative;
  top: 0;
  /* the default value 5% */
  right: 0;
  /* the default value 2% */
  height: 30px;
  /* the default value 27px*/
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
}

.toggle-button:hover span {
  background: white;
}

.toggle-button.active:hover .top {
  background: white;
}

.toggle-button.active:hover .middle {
  background: white;
}

.toggle-button.active:hover .bottom {
  background: white;
}

.toggle-button.active {
  z-index: 100;
  position: fixed;
  top: 2rem;
  /* right: 1rem; */
  right: 15px;
}

.toggle-button.active .top {
  transform: translateY(11px) translateX(0) rotate(45deg);
  background: white;
  border-radius: 5px;
}

.toggle-button.active .middle {
  opacity: 0;
  background: white;
  border-radius: 5px;
}

.toggle-button.active .bottom {
  transform: translateY(-11px) translateX(0) rotate(-45deg);
  background: white;
  border-radius: 5px;
}

.toggle-button span {
  background: white;
  border: none;
  height: 5px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
  border-radius: 5px;
}

.toggle-button span:nth-of-type(2) {
  top: 11px;
}

.toggle-button span:nth-of-type(3) {
  top: 22px;
}

/* navbar overlay */

.overlay {
  position: fixed;
  background: #1e1e1e;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, width 0.35s;
  overflow: hidden;
  z-index: 3;
}

.overlay .nav-logo {
  height: 70px;
}

.overlay .jbtn-nav {
  font-family: "D-din";
  padding: 9px 19px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  width: 100%;
}

.overlay.open li {
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 0.3s;
}

.overlay.open li:nth-of-type(2) {
  animation-delay: 0.35s;
}

.overlay.open li:nth-of-type(3) {
  animation-delay: 0.4s;
}

.overlay.open li:nth-of-type(4) {
  animation-delay: 0.45s;
}

.overlay.open li:nth-of-type(5) {
  animation-delay: 0.5s;
}

.overlay.open li:nth-of-type(6) {
  animation-delay: 0.55s;
}

.overlay nav {
  position: relative;
  top: 250px;
  transform: translateY(-50%);
  font-size: 50px;
  font-family: "D-din";
  font-weight: 400;
  text-align: center;
  color: #333;
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}

.overlay ul li {
  display: block;
  height: 25%;
  height: calc(100% / 6);
  min-height: 50px;
  position: relative;
  opacity: 0;
  text-transform: uppercase;
}

.overlay ul li a {
  display: block;
  position: relative;
  color: white;
  text-decoration: none;
  overflow: hidden;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
  width: 100%;
}

.overlay ul li a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  transform: translateX(-50%);
  height: 3px;
  background: #e4dfd9;
  transition: 0.35s;
}

.overlay-brand {
  display: flex;
  justify-content: center;
  padding: 0.8rem 0;
}

.overlay-bottom img {
  width: 48px;
  height: 48px;
}

/* The @keyframes rule specifies the animation code , more info: https://www.w3schools.com/cssref/css3_pr_animation-keyframes.asp */

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }

  100% {
    opacity: 1;
    left: 0;
  }
}

/* Responsive */

@media (max-width: 880px) {
  .logo {
    width: 15%;
  }

  .header-info {
    display: grid;
  }

  .header-info-item {
    display: grid;
  }
}

/* ! ***** !!!!! MEDIA QUERIES FROM JYMBE SITE !!!!! ***** */

@media (max-device-width: 1375px) {

  .nav-link,
  .jbtn-nav {
    margin-left: 0;
  }
}

@media (max-device-width: 1200px) {
  .nav-item {
    font-size: 1rem;
  }

  .info {
    font-size: 0.8rem;
  }

  .jbtn {
    font-size: 1rem;
    padding: 8px 17px;
  }
}

@media only screen and (max-width: 992px) {
  header {
    display: none;
  }

  .toggle-button {
    display: block;
  }

  .navbar-brand {
    margin-left: 0;
  }

  .toggle-container {
    margin-left: auto;
  }

  .jnavbar {
    margin-top: 0;
  }
}

@media (max-device-width: 768px) {
  .nav-logo {
    height: 50px;
  }

  /* .info {
      font-size: 0.6rem;
  } */
}

@media only screen and (max-width: 576px) {
  .jpadding-nav {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-device-width: 420px) {
  .info {
    font-size: 0.7rem;
  }
}

@media (max-device-width: 364px) {
  .social {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .details {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* height queries */

@media only screen and (max-height: 580px) {
  .overlay nav {
    top: 160px;
    font-size: 25px;
  }

  .overlay ul li {
    min-height: 25px;
  }

  .overlay .jbtn-nav {
    padding: 7px 13px;
    font-size: 0.9rem;
    margin-top: 15px;
  }

  .overlay-bottom img {
    width: 30px;
    height: 30px;
  }
}

@media only screen and (max-height: 380px) {
  .overlay nav {
    top: 120px;
    font-size: 20px;
  }

  .overlay ul li {
    min-height: 20px;
  }
}