/* COMMONS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Encode Sans', sans-serif;
  background-color: black;
}


/* NAVBAR */
nav {
  height: 60px;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 16px;
  max-width: 100%;
  width: 100%;
  background-color: none;
  margin: 0 auto;
  z-index: 200;
  list-style: none;
  font-weight: 600;
  position: fixed;
  transition: all 0.6s;
}

nav .mobile-navbar {
  display: none;
}

/* Nav Blinking */
nav .blinking {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2e2f2e;
  margin-right: auto;
  top: 0%;
  text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  z-index: 600;
  transition: all 0.6s ease 0s;
}

nav .blinking a {
  color: #2e2f2e;
  text-decoration: none;
}

nav .blinking i {
  padding-right: 10px;
}

nav .blinking:hover {
  animation: blinkingText-shadow 3.2s infinite;
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  color: #2e2f2e;
  text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  cursor: pointer;
}

@keyframes blinkingText-shadow {
  0% {
    text-shadow: 0 0 6px #24ff24, 0 0 10px #07501f;
  }

  49% {
    text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  }

  51% {
    text-shadow: 0 0 6px #24ff24, 0 0 10px #07501f;
  }

  54% {
    text-shadow: 0 0 3px #24ff24, 0 0 5px #07501f;
  }

  60% {
    text-shadow: 0 0 4px #24ff24, 0 0 6px #07501f;
  }

  99% {
    text-shadow: 0 0 2px #24ff24, 0 0 4px #07501f;
  }

  100% {
    text-shadow: 0 0 4px #24ff24, 0 0 6px #07501f;
  }
}

/* Nav Links */
nav .navbar li {
  display: inline-block;
  padding-right: 20px;
  transition: all 0.6s;
  font-size: 20px;
}

nav .navbar li a {
  text-decoration: none;
  transition: all 0.6s;
  color: #24ff24;
}

nav .navbar li i {
  padding-right: 5px;
  transition: all 0.6s;
}

nav .navbar li a:hover {
  font-size: 30px;
  color: #07501f;
}

/* NAV SCROLLED */
nav.scrolled {
  height: 60px;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #24ff24;
  margin: 0 auto;
  z-index: 200;
  list-style: none;
  font-weight: 600;
  position: fixed;
  transition: all 0.6s;
}

nav.scrolled .mobile-navbar {
  display: none;
}

/* Nav Scrolled Links */
nav.scrolled .navbar li {
  transition: all 0.6s;
  font-size: 18px;
}

nav.scrolled .navbar li a {
  text-decoration: none;
  transition: all 0.6s;
  color: black;
}

nav.scrolled .navbar li a:hover {
  font-size: 28px;
  color: #2e2f2e;
}


/* CARD HOVER EFFECT */
h5{
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  text-align: center;
}

.container{
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  transition: all 0.6s;
  margin: 0 auto;
  padding-top: 100px;
}

.container  p {
  margin: 0;
  padding: 0;
  font-size: 15px;
}

.container  a {
  margin: 15px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #07501f;
  padding: 5px;
  border: 2px solid #07501f;
  border-radius: 2px;
}

.container .card{
  position: relative;
  transition: all 0.6s;
  margin-right: 20px;
}

.container .card .face{
  width: 200px;
  height: 160px;
  transition: all 0.6s;
}

.container .card .face.face1{
  position: relative;
  background: #2e2f2e;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(80px);
  transition: all 0.6s;
  border: 1px solid  #d9ffd9;

}

.container .card:hover .face.face1{
  transform: translateY(0);
  transition: all 0.6s ease 0;
  background-color: #24ff24;
}

.container .card:hover .face.face1 h5{
  color: #8A8A8A;
}

.container .card .face.face2{
  position: relative;
  background: #d9ffd9;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 0 50px rgba(7, 80, 31, 0.8);
  transition: all 0.6s;
  transform: translateY(-80px);
}

.container .card .face.face2 .content a:hover{
  background: #07501f;
  color: #d9ffd9;
}

.container .card:hover .face.face2{
  transform: translateY(0);
}

.container .card .face.face1 .content{
  opacity: 0.2;
  transition: all 0.6s;
}

.container .card:hover .face.face1 .content{
  opacity: 1;
  cursor: default;
}

h5{
  font-size: 40px;
  color: #24ff24;
  letter-spacing: 10px;
}






/* FOOTER */
.pusher{
  height: 15vh;
}

footer {
  bottom: 0;
  width: 100%;
}

footer p {
  font-size: 15px;
  text-align: center;
  color: #8A8A8A;
}

.footerinfo a{
  font-size: 13px;
  color: #6d6d6d;
  text-decoration: none;
  transition: all 0.6s;
}
.footerinfo a:hover{
  color: #24ff24;
  transition: all 0.6s;
}

/* MEDIA QUERIES 1 */
@media(max-width: 1200px) and (min-width: 901px) {

  nav .blinking{
    font-size: 30px;
  }

  nav .navbar li a{
    font-size: 30px;
  }

  nav .navbar li a:hover{
    font-size: 40px;
  }

  span.text{
    display: none;
  }
}


/* MEDIA QUERIES */
@media(max-width: 900px) {

  .introduction .content,
  .about .content,
  .random .content,
  .contact .content{
    flex-direction: column;
  }

  .navbar {
    display: none;
  }

  .blinking a {
    font-size: 30px;
  }

  nav .blinking:hover {
    font-size: 30px;
  }

  nav .mobile-navbar {
    display: flex;
    flex-direction: column;
    background-color: #2e2f2e;
    position: fixed;
    top: 0;
    left: 100vh;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    transition: all 0.6s;
  }

  nav.scrolled .mobile-navbar {
    display: flex;
    flex-direction: column;
    background-color: #2e2f2e;
    position: fixed;
    top: 0;
    left: 100vh;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    transition: all 0.6s;
  }

  nav .mobile-navbar.active {
    left: 0;
  }

  nav.scrolled .mobile-navbar.active {
    left: 0;
  }

  nav .mobile-navbar li {
    list-style: none;
  }

  nav .mobile-navbar i {
    font-size: 40px;
    padding-right: 10px;
    margin-bottom: 20px;
  }

  nav .mobile-navbar a {
    font-size: 40px;
    color: #24ff24;
    text-decoration: none;
    transition: all 0.2s;
  }

  nav.scrolled .mobile-navbar a {
    font-size: 40px;
    color: #24ff24;
    text-decoration: none;
    transition: all 0.2s;
  }

  nav .mobile-navbar a:hover {
    font-size: 40px;
    transition: all 0.2s;
  }

  nav.scrolled .mobile-navbar a:hover {
    font-size: 40px;
    transition: all 0.2s;
  }

  /* MENU BUTTON */
  .container-menu {
    height: 50px;
    width: 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: fixed;
    right: 20px;
  }

  .container-menu.active .menu-btn::after {
    transform: rotateZ(45deg) translate(-6px, -12px);
    background: #24ff24;
  }

  .container-menu.active .menu-btn::before {
    transform: rotateZ(-45deg) translate(-12px, 16px);
    background: #24ff24;
  }

  .container-menu.active .menu-btn {
    background: transparent;
  }

  .menu-btn {
    width: 50px;
    height: 10px;
    position: absolute;
    background: #24ff24;
    transition: all .4s;
  }

  .menu-btn::after {
    content: "";
    position: absolute;
    background: #24ff24;
    width: 50px;
    height: 10px;
    top: 16px;
    transition: all .4s;
  }

  .menu-btn::before {
    content: "";
    position: absolute;
    background: #24ff24;
    width: 50px;
    height: 10px;
    bottom: 16px;
    transition: all .4s;
  }

  nav.scrolled .container-menu.active .menu-btn::after {
    transform: rotateZ(45deg) translate(-6px, -12px);
    background: #24ff24;
  }

  nav.scrolled .container-menu.active .menu-btn::before {
    transform: rotateZ(-45deg) translate(-12px, 16px);
    background: #24ff24;
  }

  nav.scrolled .container-menu.active .menu-btn {
    background: transparent;
  }

  nav.scrolled .menu-btn {
    width: 50px;
    height: 10px;
    position: absolute;
    background: black;
    transition: all .4s;
  }

  nav.scrolled .menu-btn::after {
    content: "";
    position: absolute;
    background: black;
    width: 50px;
    height: 10px;
    top: 16px;
    transition: all .4s;
  }

  nav.scrolled .menu-btn::before {
    content: "";
    position: absolute;
    background: black;
    width: 50px;
    height: 10px;
    bottom: 16px;
    transition: all .4s;
  }



}
