
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300&display=swap');

html {
  scroll-behavior: smooth;
}

body {

  font-family: 'Nunito', sans-serif;
  background-color: #fefefe;;
  padding: 0;
  margin: 0;

}

img {
  width: auto;
}

input, button, textarea {
  font-family: 'Nunito', sans-serif;
}

article {
    min-height: 400px;
}

a {
  text-decoration: none;
  outline: none;
  color: black;
}

button {

  outline: none;
  background-color: transparent;
  border: solid 2px white;
  color: white;
  padding: 15px;
  font-size: 17px;
  margin-top: 40px;
  margin-bottom: 20px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: bolder;
  transition: all 0.2s linear;

}

button:hover {

  background-color: white;
  color: #2d3436;

}

section {

  min-width: 250px;
  overflow: hidden;

}

header {

  width: 100%;
  height: 70px;
  background: #fdcb6e;
  z-index: 20;

  position: sticky;
  top: 0;
  color: black;
  font-size: 15px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

}

.in-header {

  margin: 20px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 100%;

}

@media (max-width: 800px) {

  #menu-icon {
    display: block!important;
  }

  .header-button {
    display: none!important;
  }

}

.header-button {

  text-decoration: none;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
  transition: all 0.5s linear;

}

.header-button:hover {

  background-color: #ffeaa7;

}

#mobile-nav {

  position: absolute;
  top: 70px;
  right: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;

  height: fit-content;
  width: fit-content;
  z-index: 10;

}

@keyframes enterMobileNav {
  0% { transform: translateX(-100%);}
}

#mobile-nav a {

  text-decoration: none;
  outline: none;
  background-color: #ffeaa7;
  padding: 15px;
  margin: 2px;
  text-align: right;
  animation: enterMobileNav 0.5s linear;
  transform: translate(0);
  color: black;

}
