@font-face {
  font-family: "70s";
  src: url("../text/BrightDemo-axVxE.otf");
  src: url("../text/BrightDemo-axVxE.otf") format("woff"),
    url("../text/BrightDemo-axVxE.otf") format("opentype"),
    url("../text/BrightDemo-axVxE.otf") format("svg");
}

a{
  color: white;
  text-decoration: none;
  background-color: transparent;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.music,
.art,
.tv {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 18px;
}

.music {
  font-family: "70s";
  font-size: 4rem;
  color: white;
  background-color: rgb(221, 79, 79);
}

.art {
  
  font-family: "70s";
  font-size: 4rem;
  color: white;
  background-color: rgb(180, 130, 63);
}

.tv {
  font-family: "70s";
  font-size: 4rem;
  background-color: rgb(221, 79, 79);
  color: white;
  position: relative;
  z-index: 1;
}

svg {
  position: absolute;
  top: -8rem;
  left: 0;
  height: calc(100% + 15rem);
  width: 100%;
  z-index: -1;
}

/****NAVBAR****/

nav {
  font-size: 13px;
  font-family: "aktiv-grotesk", "Helvetica Neue", "Helvetica", sans-serif;
  height: 100%;
  width: 100%;
	margin: 0;
	padding: 0;
  opacity: 1;
  position: absolute;
  top: 0;
  z-index: 10;
  order: 1;
  width: 100%;
  height: 4rem;
  background-color: #222222;
  color: #fff;
  zoom: 0.7;
  animation: slide-from-top 1s forwards;
  animation-delay: 2s;
}

nav .menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  height: inherit;
  overflow: hidden;
}

nav #burger_input {
  display: none;
}

nav #burger_input:checked ~ .burger-menu span {
  opacity: 0;
}

nav #burger_input:checked ~ .burger-menu:before {
  margin-bottom: 0;
  position: absolute;
  transform: rotate(45deg);
}

nav #burger_input:checked ~ .burger-menu:after {
  margin-top: 0;
  position: absolute;
  transform: rotate(-45deg);
}

nav #burger_input:checked ~ .menu {
  opacity: 1;
  width: 100%;
}

nav #burger_input:checked ~ .menu .menu-item {
  display: block;
  width: 50%;
  padding: 1rem;
  list-style: none;
  text-align: center;
  cursor: pointer;
  margin-bottom: 1rem;
}

nav #burger_input:checked ~ .menu .menu-item .menu-link {
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
}

nav #burger_input:checked ~ .menu .menu-item:hover {
  background: #cdcdcd;
}

nav #burger_input:checked ~ .menu .menu-item:hover .menu-link {
  color: #222222;
}

nav .burger-menu {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  z-index: 11;
  cursor: pointer;
  width: 5rem;
  height: 5em;
}

nav .burger-menu:before, nav .burger-menu:after {
  content: "";
  height: 5px;
  width: 30px;
  background: #cdcdcd;
  transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

nav .burger-menu:before {
  margin-bottom: 5px;
}

nav .burger-menu:after {
  margin-top: 5px;
}

nav .burger-menu span {
  width: 30px;
  height: 5px;
  position: absolute;
  background-color: #cdcdcd;
  transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}

nav .menu {
  opacity: 0;
  float: right;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
	margin: 0;
  position: fixed;
  background-color: #282828a8;
  color: #fff;
  -webkit-transition: all 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  transition: all 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
}

nav .menu .menu-item {
  display: none;
	width: 100%;
	height: auto;
}

nav .menu .menu-item .menu-link {
  text-decoration: none;
  color: #cdcdcd;
	width: 10rem;
	text-align: center;
}

@media (min-width: 900px) {
  nav {
    top: 0;
    height: 100%;
    width: 5rem;
    right: 0;
    zoom: 1;
    animation: slide-from-right 0.5s forwards;
    animation-delay: 2s;
  }

  nav .menu-toggle {
    right: 0;
    top: 0;
    position: absolute;
    width: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: unset;
    flex-wrap: unset;
    height: 100vh;
    overflow: hidden;
  }

  nav .menu-toggle .burger-menu:before, nav .menu-toggle .burger-menu:after {
    height: 5px;
  }

  nav .menu-toggle #burger_input:checked ~ .menu .menu-item {
    width: 20%;
  }
}

@-webkit-keyframes slide-from-top {
  100% {
    top: 0;
  }
}

@keyframes slide-from-top {
  100% {
    top: 0;
  }
}
