@font-face {
  font-family: "edo";
  src: url("fonts/edosz.ttf");
}

body {
  margin: 0;
}

nav.main-nav {
  position: relative;
  width: 100%;
  z-index: 10;
  display: flex;
  height: 4em;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  color: white;
  background-color: #34585f;
}

.main-nav div {
  display: flex;
  align-items: center;
}

#nav-logo {
  display: flex;
  align-items: center;
  font-family: "Edo Sz";
  font-size: 2em;
  color: white;
  text-decoration: none;
  margin-left: 1em;
  -webkit-tap-highlight-color: transparent;
}

#nav-logo img {
  height: 1.8em;
  width: auto;
  margin-right: 0.5em;
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}

#instagram {
  width: 2em;
  height: auto;
  margin: 0 1em;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7495%)
    hue-rotate(99deg) brightness(101%) contrast(101%);
}

#instagram:hover {
  filter: brightness(0) saturate(100%) invert(70%) sepia(88%) saturate(2136%)
    hue-rotate(331deg) brightness(100%) contrast(101%);
}

.main-nav img {
  width: auto;
  height: 3em;
}

.main-nav ul {
  display: flex;
  margin: auto;
}

.main-nav li {
  list-style: none;
  margin: 0.5em;
  padding: 0;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 1.2em;
}

.nav-link:hover {
  color: #fe8e3c;
}

.nav-link:hover::before {
  transform: scaleX(1);
}

.nav-button {
  width: 50px;
  height: 50px;
  position: absolute;
  outline: none;
  top: 40%;
  background-color: transparent;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
  -webkit-tap-highlight-color: transparent; /* Safari, Chrome */
}

.nav-button:hover {
  width: 55px;
  height: 55px;
}

footer {
  position: relative;
  height: auto;
  background-color: #eeeeeeff;
  bottom: -2em;
  align-self: self-end;
}

footer ul {
  min-height: 6em;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10em 0 10em;
}

footer li {
  list-style: none;
  margin: 1em;
  padding: 0;
}

footer p {
  margin: 0;
  color: black;
  font-family: sans-serif;
}

footer a {
  color: black;
  text-decoration: none;
  font-family: sans-serif;
}

footer a:hover {
  text-decoration: underline;
}

.textContent {
  max-width: 50em;
  margin: auto;
}

.textContent h2 {
  font-family: "Montserrat", sans-serif;
  color: #34585f;
  font-size: 2em;
  margin-top: 2em;
}

.textContent h3 {
  position: relative;
  font-family: "Montserrat", sans-serif;
  color: #34585f;
  margin: 0;
  margin-top: 1em;
  margin-bottom: 0.4em;
  font-size: 1.3em;
}

.textContent h4 {
  position: relative;
  font-family: "Montserrat", sans-serif;
  color: #34585f;
  margin: 0;
  margin-top: 1em;
  margin-bottom: 0.4em;
  font-size: 1.1em;
}

.textContent li {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1em;
}

.textContent p {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1em;
  margin: 0;
}

#burger-menu,
#burger-menu-btn {
  display: none;
}

/* MOBILE VERSION*/

@media only screen and (max-width: 600px) {
  .main-nav ul {
    display: none;
  }

  #burger-menu-btn {
    display: block;
    width: 2em;
    height: 2em;
    margin: 0 1em;
    background-image: url(/assets/icon/menu.png), url(/assets/icon/close.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center, center left 2em;
    filter: invert(100%) sepia(28%) saturate(0%) hue-rotate(171deg)
      brightness(113%) contrast(101%);
  }

  #burger-menu {
    display: none;
    position: fixed;
    margin-top: 4em;
    width: 100%;
    height: auto;
    z-index: 9000;
    background-color: rgba(255, 255, 255, 0.925);
  }

  #burger-menu ul {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0;
  }

  #burger-menu ul li {
    height: 100%;
    flex-basis: 100%;
    margin: 0;
  }

  #burger-menu ul li:last-child {
    flex-basis: 100%;
  }

  #burger-menu ul li a {
    display: block;
    height: 100%;
    padding: 1em 0em;
    align-content: center;
    flex-basis: 100%;
    text-align: center;
    color: #34585f;
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    border-radius: 0.6em;
  }

  #burger-menu ul li:first-child a {
    padding-bottom: 0.5em;
  }
  #burger-menu ul li:last-child a {
    padding-top: 0.5em;
  }

  .textContent {
    padding: 1.5em;
  }

  .textContent h2 {
    font-size: 1.5em;
  }

  .textContent h3 {
    font-size: 1.1em;
  }

  .textContent p {
    font-size: 1em;
  }

  footer ul {
    flex-direction: column;
    padding: 0;
  }
}

@media only screen and (max-width: 450px) {
  #logo-text {
    display: none;
  }
}
