:root {
  --background-color: #000000;
  --primary-color: #131212;
  --secondary-color: rgb(46, 46, 46);
  --tertiary-color: #202020;

  --primary-font: Bangers;
  --secondary-font: Roboto;

  --text-color: #FFFFFF;
  --alternative-text-color: whitesmoke;
  --text-secondary-color: rgb(190, 190, 190);
  --text-tertiary-color: antiquewhite;
  --text-hover-color: #777777;

  --button-color: rgb(80, 106, 224);
  --button-hover-color: rgb(55, 92, 255);
  --button-active-color: rgb(87, 118, 255);

  --alternative-background-color: whitesmoke;
  --alternative-text-primary-color: #000000;

  --primary-opacity: 0.4;
  --secondary-opacity: 0.4;
}

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

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

.container {
  margin: 0 220px;
}

.small-container {
  margin: 0 500px;
}

.media-link img {
  display: block;
  max-height: 30px;
  margin: 0 0 0 6px;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0 70px 0 70px;
}

main {
  padding-bottom: 3em;
}

h1,
h2,
h3,
h4,
h5,
li,
label,
p,
span,
a {
  font-family: var(--secondary-font);
  color: var(--text-color);
}

h1 {
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 3px;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 2px;
}

li {
  font-size: 16px;
  font-weight: 500;
}

p {
  font-size: 18px;
  font-weight: 400;
}

a {
  text-decoration: none;
}

header {
  background-color: var(--primary-color);
}

header .container {
  display: flex;
  flex-direction: row;
  height: 15%;
  align-items: center;
  text-align: center;
}

header ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  padding: 0 0 0 0;
}

header li {
  margin: 1% 3.5% 1% 3.5%;
}

header a {
  font-family: var(--primary-font);
  font-size: 24px;
  font-weight: 300;
}

header a:hover {
  color: var(--text-hover-color);
}

#nav {
  height: 100%;
}

#nav-data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav-logo {
  display: inline-flex;
  align-items: center;
  padding: 1em 0;
}

#nav-logo img {
  max-height: 90%;
  max-width: 30%;
  min-width: 120px;
}

#nav-toggle {
  position: relative;
  width: 32px;
  height: 32px;
  background-color: gray;
}

#nav-burger,
#nav-close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
  -webkit-transition: opacity 0.1s, transform 0.4s;
  -moz-transition: opacity 0.1s, transform 0.4s;
  -ms-transition: opacity 0.1s, transform 0.4s;
  -o-transition: opacity 0.1s, transform 0.4s;
}

#nav-close {
  opacity: 0;
}

@media screen and (max-width: 1118px) {
  #nav-menu {
    position: relative;
    left: 0;
    top: 2.5rem;
    width: 100%;
    background-color: gray;
    height: calc(100vh - 3.5rem);
    /*overflow: auto;
    pointer-events: none;
    opacity: 0; */
    transition: top 0.4s, opacity 0.3s;
    -webkit-transition: top 0.4s, opacity 0.3s;
    -moz-transition: top 0.4s, opacity 0.3s;
    -ms-transition: top 0.4s, opacity 0.3s;
    -o-transition: top 0.4s, opacity 0.3s;
}
}

#nav-menu::-webkit-scrollbar {
  width: 0;
}

#nav-list {
 background-color: var(--primary-color);
 padding-top: 1rem;
}

.nav__link {
  color: #d1d1d1;
  background-color: var(--primary-color);
  font-weight: bold;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
  -webkit-transition: background-color 0.3s;
  -moz-transition: background-color 0.3s;
  -ms-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
}

.nav__link:hover {
  background-color: var(--secondary-color);
}

.dropdown__arrow {
  padding-left: 4px;
  max-width: 24px;
  max-height: 24px;
  margin: 0 0 0 0;
  user-select: none;
}

.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

#toonylab-logo {
  width: min-content;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 1em 0;
}

#toonylab-logo img {
  max-height: 90%;
  max-width: 30%;
  min-width: 120px;
}

#main-nav {
  margin: 0 5% 0 0;
}

#main-nav li {
  margin: 0 2em 0 2em;
  white-space: nowrap;
}

#main-nav li a {
  white-space: nowrap;
  letter-spacing: 1px;
}

.nav-dropdown-container {
  justify-content: center;
  align-items: center;
}

.nav-dropdown-container a {
  margin-right: 0;
}

.nav-dropdown-container img {
  padding-left: 4px;
  max-width: 18px;
  max-height: 18px;
  margin: 0 0 0 0;
  user-select: none;
}

.nav-dropdown-container img:hover {
  cursor: pointer;
}

.nav-dropdown-container:hover>a {
  color: #777777;
}

.nav-dropdown-container:hover .nav-dropdown {
  display: block;
}

.nav-dropdown:hover {
  display: block;
}

.nav-dropdown {
  display: none;
  position: absolute;
  z-index: 999;
  padding-top: 15px;
  background-color: var(--tertiary-color);
  align-items: center;
  text-align: center;
  width: max-content;
  min-width: 200px;
  transform: translateX(-15%);
  -webkit-transform: translateX(-15%);
  -moz-transform: translateX(-15%);
  -ms-transform: translateX(-15%);
  -o-transform: translateX(-15%);
}

.nav-dropdown li {
  display: block;
  color: var(--text-secondary-color);
  font-size: 14px;
  font-weight: 400;
  margin: 12px 2em 12px 2em !important;
}

.nav-dropdown li:last-child {
  padding-bottom: 10px;
}

.nav-dropdown li a {
  color: #d1d1d1;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 1px;
}

.nav-dropdown li a:hover {
  text-decoration: underline;
}

#about-dropdown {
  transform: translateX(-37%);
  -webkit-transform: translateX(-37%);
  -moz-transform: translateX(-37%);
  -ms-transform: translateX(-37%);
  -o-transform: translateX(-37%);
}

#main-social-media {
  display: flex;
  width: 100%;
  justify-content: right;
  padding: 0 15px 0 0;
}

footer {
  letter-spacing: 1px;
  background-color: var(--primary-color);
}

footer>div {
  display: flex;
  flex-direction: row;
  padding: 35px 0 0 0;
}

footer ul {
  list-style: none;
  padding: 0 0 0 0;
}

#complete-navigation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

#complete-navigation div {
  width: fit-content;
  margin: 0 20px 0 0;
}

#complete-navigation div:last-child {
  margin: 0;
}

#complete-navigation li {
  margin: 10px 0;
}

#complete-navigation li:first-child span {
  margin: 0 0 15px 0;
  font-weight: bolder;
}

#complete-navigation a {
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 2px;
}

#complete-navigation a:hover {
  color: #777777;
}

#social-media {
  display: flex;
  width: 100%;
  justify-content: right;
}

#social-media ul {
  display: flex;
  flex-direction: row;
  margin: 0 0 0 0;
}

#social-media ul .media-link {
  margin: 0 10px 0 10px;
}

#social-media ul .media-link:last-child img {
  margin: 0 0 0 6px;
}

#social-media li {
  margin: 0 0 0 10px;
}

#social-media li:first-child {
  margin-left: 0;
}

#footer-bottom {
  display: flex;
  flex-direction: column;
  position: relative;
  font-family: var(--secondary-font);
  font-size: 12px;
  width: fit-content;
  padding: 20px 0 28px 0;
}

#footer-bottom span {
  color: rgb(184, 146, 116);
}

#footer-bottom ul {
  display: flex;
  flex-direction: row;
  width: 70%;
  list-style: none;
}

#footer-bottom li {
  color: var(--text-tertiary-color);
  font-size: 12px;
  font-weight: normal;
  white-space: nowrap;
  margin: 0 10px 0 0;
}

#footer-bottom li a:hover {
  text-decoration: underline;
}

.button a {
  display: flex;
  width: max-content;
  min-width: 120px;
  height: 50px;
  border-radius: 25px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  -ms-border-radius: 25px;
  -o-border-radius: 25px;
  border: none;
  background-color: var(--button-color);
  font-size: 24px;
  font-weight: 400;
  padding: 2px;
  letter-spacing: 1px;
}

.button a:hover {
  background-color: var(--button-hover-color);
}

.button a:active {
  background-color: var(--button-active-color);
}

.button span {
  width: 100%;
  padding: 0 20px;
  text-align: center;
  align-content: center;
}

@media (max-width: 1700px) {
  body {
    margin: 0;
  }
}

@media (max-width: 1600px) {
  .container {
    margin: 0 120px;
  }
}

@media (max-width: 1200px) {
  .container {
    margin: 0 50px;
  }
}

@media (max-width: 900px) {
  #main-social-media {
    display: none;
  }

  .box {
    display: flex;
    flex-direction: column;
    background-color: var(--tertiary-color);
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
    padding: 2rem 0;
    align-items: center;
  }

  .box img {
    width: 60%;
    max-width: 500px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
  }

  .box span {
    text-align: center;
    width: 80%;
  }

}

@media (max-width: 800px) {
  footer>div:first-child {
    flex-direction: column;
  }

  #nav-toggle {
    display: flex;
    width: 100%;
    justify-content: right;
  }

  #main-nav {
    width: 100%;
    margin: 0;
  }

  #main-nav nav {
    display: none;
  }

  #social-media {
    justify-content: center;
  }

  #social-media li {
    margin-left: 1.5em;
  }

  #social-media li:first-child {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .container {
    margin: 0 1em;
  }
}