@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "width" 100;
}

body {
  overflow-x: hidden;
}

nav {
  border-top: solid rgb(216, 214, 214) 0.1px;
  border-bottom: solid rgb(216, 214, 214) 0.1px;
  margin-top: 0.5em;
}

.nav-content {
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 4em;
}

.logo {
  width: 5.2em;
  height: auto;
}

.links {
  display: none;
}

.links a {
  margin-right: 8em;
  color: rgb(10, 32, 77);
}

.links a:hover {
  color: rgb(153, 40, 40);
}

main {
  margin-top: -1.5em;
}

.hidden-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 2em;
  display: none;
  flex-direction: column;
  gap: 2em;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2em 3em;
}

.hidden-menu a {
  font-size: 1.5em;
  color: rgba(255, 255, 255, 0.8);
}

.close-button {
  background-color: rgba(255, 255, 255, 0.8);
  align-self: flex-end;
  cursor: pointer;
  padding: 1em;
}

.close-button img {
  width: 1.5em;
  height: auto;
}

@media (min-width: 800px) {
  .links {
    margin-right: 2em;
    display: flex;
  }
  .menu {
    display: none;
  }
  .logo {
    width: 6em;
    height: auto;
  }
}
@media (max-width: 800px) {
  .nav-content {
    width: 90%;
    padding-left: 1em;
    gap: 4em;
  }

  .menu img {
    width: 2em;
    height: auto;
  }
}
