@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600&display=swap');

.background {
    position: fixed;
    top: 0;
    left: 0; 
    z-index: -1;
    background: url(images/CharacterBackgrounds/Background_01.jpg);
    background-size: cover;
  }

body,
html {
  font-size: 20px;
  font-family: 'Oswald', sans-serif;
}

.navlist a {
  text-decoration: none;
  color: #fff;
  padding: 5px;
  font-size: 30px;
  animation: fadeInAnimation ease-in-out 1s;
  transition: width 0.44s cubic-bezier(0.895, 0.03, 0.685, 0.22);
  box-shadow: rgba(255, 255, 255, 0) 0px 5px 15px;
  overflow-y: hidden;
  z-index: 10;
  position: relative;
}

.navlist a:hover {
  color: #fff;
  animation: fadeInAnimation ease-in-out 1s;
  animation-iteration-count: 1; 
  animation-fill-mode: forwards; 
  transition:  0.44s cubic-bezier(0.895, 0.03, 0.685, 0.22);
}


/* EFFECT TESTING ZONE--------------EFFECT TESTING ZONE--------------EFFECT TESTING ZONE--------------EFFECT TESTING ZONE--------------EFFECT TESTING ZONE*/




/* EFFECT TESTING ZONE--------------EFFECT TESTING ZONE--------------EFFECT TESTING ZONE--------------EFFECT TESTING ZONE--------------EFFECT TESTING ZONE*/


.navicon:hover {
	animation: fadeInAnimation ease-in-out 1s;
  animation-iteration-count: 1; 
  animation-fill-mode: forwards; 
  transition: width 0.44s cubic-bezier(0.895, 0.03, 0.685, 0.22);
  width: 73px;
}

.navicon {
  transition: width 0.2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
  z-index: 10;
  -webkit-animation: breathing 3s ease-out infinite normal;
    animation: breathing 3s ease-out infinite normal;
}
@-webkit-keyframes breathing {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  25% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  60% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

@keyframes breathing {
  0% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }

  25% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  60% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }

  100% {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
  }
}

.navlist li {
  list-style-type: none;
  padding: 10px;
  text-align: right;
  display: inline;
  transition: width 0.2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
}
.navlist li a {
  background-color: rgba(0, 0, 0, 0);
  animation: fadeInAnimation ease-in-out 1s;
  animation-iteration-count: 1; 
  animation-fill-mode: forwards; 
  transition: font-size 0.2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
}

.navlist li a:hover {
  mix-blend-mode: soft-light;
  animation: fadeInAnimation ease-in-out 1s;
  animation-iteration-count: 1; 
  animation-fill-mode: backwards;
  transition: font-size 0.2s cubic-bezier(0.895, 0.03, 0.685, 0.22);
  padding-bottom: 2rem;
}

.navlist {
  padding-bottom: 10px;
  margin-right: 5px;
  display: none;
}

.navigation {
    float: right;
    z-index: 10;
}

.navicon {
    width: 70px;
    padding: 20px;
    z-index: 10;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@media screen and (max-width: 768px) {
  .navicon {
    width: 70px;
    padding-top: 20px;
    display: block;
    margin-right: auto;
    margin-left: auto;
  }
  .navigation {
    float: none;
  } 
  html { 
    overflow-x: hidden;
  }
  .navlist li {
    text-align: center;
    font-size: 32px;
    display: list-item;
  }
}
@media (hover: hover) and (pointer: fine) {
	.navlist:hover::before {
		left: 0;
		right: auto;
		width: 100%; 
	}
}

@media screen and (min-width: 2560px) {
  html {
    zoom: 150%;
  }
  .navicon {
    width: 90px;
  }
  .navicon:hover {
    width: 93px;
  }
}

@media screen and (min-width: 3840px) {
  html {
    zoom: 200%;
  }
  .navicon {
    width: 120px;
  }
  .navicon:hover {
    width: 125px;
  }
}

@media only screen and (max-width: 768px) { 
  .background {
    position: fixed;
    top: 0;
    left: 0; 
    z-index: -1;
    background: url(images/CharacterBackgrounds/Mobile_Background_01.jpg);
    background-size: cover;
  }
}