@font-face {
  src: url(fonts/Pacifico-Regular.ttf);
  font-family: pacifico;
}

@font-face {
  src: url(fonts/SairaStencilOne-Regular.ttf);
  font-family: saira;
}

@font-face {
  src: url(fonts/VollkornSC-Black.ttf);
  font-family: voll;
}

@font-face {
  src: url(fonts/Livvic-LightItalic.ttf);
  font-family: livvic;
}

@font-face {
  src: url(fonts/IndieFlower-Regular.ttf);
  font-family: indie;
}

@font-face {
  src: url(fonts/TurretRoad-Medium.ttf);
  font-family: turret;
}

@font-face {
  src: url(fonts/RobotoMono-Medium.ttf);
  font-family: robot;
}

@font-face {
  src: url(fonts/Notable-Regular.ttf);
  font-family: not;
}

@font-face {
  src: url(fonts/FingerPaint-Regular.ttf);
  font-family: finger;
}

@font-face {
  src: url(fonts/FredokaOne-Regular.ttf);
  font-family: one;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::after {
  box-sizing: border-box;
}

*::before {
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}

body {
  margin: 0 auto;
}

/*======HEADER=======*/

.header {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns:  100%;
  grid-template-areas:
    "header-logo header-logo "
    "info info"
    "header-list header-list";
  /* grid-gap: 1em; */
}

.toggle {
  display: flex;
  justify-content: center;
  grid-area: toggle;
}

.btn {
  position: relative;
}

.check {
  display: none;
}

.toggle span {
  margin-top: 2.5em;
  position: relative;
  display: block;
  width: 2em;
  height: 0.2em;
  background-color: black;
  border-radius: 1em;
  transform: translateX(100%);
}

@media (max-width: 330px) {
  .toggle span {
    transform: translateX(10%);
  }
}

.toggle span::after,
.toggle span::before {
  position: absolute;
  content: "";
  display: block;
  width: 2em;
  height: 0.19em;
  background-color: black;
  border-radius: 1em;
}

.toggle span::after {
  bottom: 0.6em;
}

.toggle span::before {
  top: 0.6em;
}

.check:checked ~ .btn-items {
  display: block;
}

@keyframes bg {
  0% {
    width: 20vw;
  }
  50% {
    width: 45vw;
  }
  100% {
    width: 65vw;
  }
}

.btn-items {
  background-color: #444;

  width: 100vw;
  height: auto;
  display: none;
  z-index: 1;
  position: absolute;
  top: 4em;
  /* animation: bg 100ms linear; */
}

.btn-items ul {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  /* text-align: center; */
  /* margin: 0 auto; */
  width: 100%;
  height: 70%;
  /* align-content: center; */
  padding: 1.3em 5em;
}

.btn-items ul li {
  width: 100%;
  font-size: 1.3em;
  padding: 1.3em 0;
}

.btn-items ul li a {
  color: wheat;
}

.btn-items ul li:nth-child(1) {
  width: 100%;
  border-bottom: 1px solid red;
}

.info {
  display: flex;
  flex-flow: wrap;
  margin-top: 2em;
  padding-left: 180%;
  width: 500%;
}
.info .log-in {
  font-size: 1.1em;
}
.info .sign-up {
  font-size: 1.1em;
  margin-left: 5px;
}

.header-logo {
  /* grid-area: header-logo; */
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 30px 0 20px 0;
  align-items: center;
}

.header-logo h1 {
  font-size: 19px;
  font-family: one;
  letter-spacing: 3px;
  word-spacing: 9px;
  /* transform: translateX(-5%); */
}

.header-list {
  grid-area: header-list;
  margin-top: 2em;
}
.header-list ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  line-height: 2.5em;
  text-transform: uppercase;
}

.header-list ul li {
  margin: 0 1em;
  font-size: 1.1em;
  font-family: saira;
}

.carousel-track-container {
  height: 100%;
  position: relative;
  /* background: lightgreen; */
  margin: 0 auto;
  width: 90%;
}

/*===Carousel====*/

.carousel {
  width: 100%;
  height: 25em;
  margin-top: 3em;
  position: relative;
  padding-bottom: 3em;
  border-bottom: 2px solid red;
}

.carousel-slide {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.gaming {
  position: relative;
}

.header-logo-gaming h1 {
  position: absolute;
  top: 50%;
  bottom: 50%;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  color: whitesmoke;
  letter-spacing: 0.1em;
  word-spacing: 0.5em;
  font-family: voll !important;
  font-size: 1.9em !important;
}

.image {
  width: 80%;
  height: 23em;
  margin: 0 auto;
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
  background-color: #222;
  background-blend-mode: overlay;
}

.gaming-img {
  background-image: url(img/gaming.jpg);
  background-position: center top;
}

/*=======Container=======*/

.main-container {
  margin-top: 2em;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 40% 40% 1fr;
  grid-template-areas:
    ". fuck fuck ."
    ". athletes athletes ."
    ". sports-money sports-money ."
    ". best-sports best-sports ."
    ". teams teams .";
  /* grid-gap: 1.6em; */
}

.fuck {
  grid-area: fuck;
  text-align: center;
  font-family: voll;
  letter-spacing: 0.3em;
}

.athletes {
  grid-area: athletes;
}

.sports-money {
  grid-area: sports-money;
}

.best-sports {
  grid-area: best-sports;
}

.teams {
  grid-area: teams;
}

.main-container {
  margin-bottom: 20px;
}

.container {
  width: 100%;
  height: 15em;
  margin: 20px 0;
  position: relative;
}

.container-logo {
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  font-family: turret;
}

/* ======Container image======*/

.container-img {
  height: 15em;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-blend-mode: overlay;
  background-color: #222;
}

.athletes-img {
  background-image: url(img/athletes.jpg);
}

.sports-money-img {
  background-image: url(img/sports-money.jpg);
}

.best-sports-img {
  background-image: url(img/best-sports.jpeg);
}

.teams-img {
  background-image: url(img/best-teams.jpg);
}

.container-logo {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.container-logo h1 {
  color: white;
  font-size: 1em;
  text-shadow: 3px 3px 5px black;
  width: 100%;
  text-align: center;
  line-height: 1.5em;
  word-spacing: 0.2em;
}

.athletes-logo h1 {
  width: 99%;
  line-height: 1.5em;
}

/*=====FOOTER=====*/

.footer {
  margin: 20px auto 0px auto;
  height: 10em;
  width: 90%;
  margin-top: 1.5em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas:
    "quote quote"
    "footer-logo footer-logo";
}

.footer-logo {
  grid-area: footer-logo;
}

.quote {
  grid-area: quote;
}

.dashboard {
  grid-area: dashboard;
}

.footer-logo h2 {
  font-family: voll;
  font-size: 1.4em;
  text-align: center;
}

.quote {
  margin-bottom: 20px;
}

.quote p {
  text-align: center;
  font-size: 1.3em;
  line-height: 1.2em;
  padding-bottom: 0.3em;
  font-family: livvic;
}

@media only screen and (min-width: 1100px) {
  .info {
    padding-left: 15em;
    margin-top: -13px;
  }

  .header-logo h1 {
    font-size: 19px;
    font-family: one;
    letter-spacing: 3px;
    word-spacing: 9px;
    /* transform: translateX(-60%); */
  }

  .image {
    width: 80%;
    height: 23em;
    margin: 0 auto;
    background-size: cover;
    background-repeat: no-repeat;
    /* object-fit: none; */
    background-color: #222;
    background-blend-mode: overlay;
  }

  .gaming-img {
    background-image: url(img/pubjdesktop.jpg);
    background-position: center top;
  }

  .header-logo-gaming h1 {
    position: absolute;
    bottom: 60%;
    top: 45%;
    transform: translateX(-60%);
    color: whitesmoke;
    font-family: voll;
    font-size: 2.3em;
  }

  .main-container {
    width: 90%;
    margin: 30px auto 0 auto;
    display: grid;
    grid-template-columns: 40% 40%;
    grid-template-rows: 10% 40% 40%;
    grid-template-areas:
      "fuck fuck"
      "athletes sports-money"
      "best-sports teams";
    column-gap: 20%;
    row-gap: 10%;
  }

  .footer {
    margin: 20px auto 0px auto;
    height: 10em;
    width: 90%;
    margin-top: 10.5em;
  }
}
