@import url('https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

html {
  height: 100%;
  width: 100%;
}

body {
  position: relative;
  height: 100%;
  width: 100%;
  background-color: #e7ddb9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "MonteCarlo";
  font-weight: 500;
  font-style: normal;
}


h1 {
  font-size: clamp(3.7rem, 3.095rem + 2.421vw, 6rem);
}

h2 {
  font-size: clamp(2.5rem, 2.105rem + 1.579vw, 4rem);
}


h3 {
  font-size: 3rem;
}


a {
  text-decoration: none;
  color: black;
}

p,
a {
  font-family: "Lora"!important;
  font-size: clamp(1rem, 0.947rem + 0.211vw, 1.2rem);
}



header {
  position: fixed;
  top: 0;
  padding-top: .5rem;
  width: 100%;
  height: 14%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  backdrop-filter: blur(3px);
  background-color: #e7ddb977;
  z-index: 1000;
}

.logo {
  width: 16%;
  height: 100%;
  background-image: url(../imgs/logo.png);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;

}

.nav-container {
  width: 65%;
  height: 100%;
}

.nav-links {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

.nav-link {
  position: relative;
  padding-bottom: .1rem;
}

.nav-link::before {
  content: "";
  position: absolute;
  width: 0;
  border: 1px solid transparent;
  bottom: 0;
  transition: all 0.3s ease-out;
}

.nav-link:hover::before {
  width: 100%;
  border: 1px solid black;
}

audio{
  visibility: hidden;
}


@media (max-width: 500px) {

  header{
    animation: none;
  }

  .nav-links {
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
  }

  .nav-link a{
    font-size: 2rem!important;
  }

  .nav-link::before {
    bottom: -5px;
  }

  .nav-link:hover::before {
    width: 100%;
    border: 1px solid black;
  }

  .nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #e7ddb9;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 999;
  }

  .nav-container.active {
    height: 100vh;
    border-bottom: 1px solid black;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }  
}