/* GLOBAL SETTINGS */
* {
  font-family: "Funnel Sans", Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
p {
  color: aliceblue;
  padding: 20px;
  text-justify: auto;
  text-align: center;
}
a {
  color: aliceblue;
  text-decoration: none;
}
body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
header,
nav,
main {
  width: 100%;

  padding-right: 7vw;
  padding-left: 7vw;

  display: flex;
  justify-content: center;
}

/* ANIMATIONS */
@keyframes slideRight {
  from {
    transform: translateX(-200%);
  }
  to {
    transform: translateX(0%);
  }
}

/* LAYOUT */
header {
  background-color: hsl(315, 100%, 98%);
  height: 50vh;

  display: flex;
  align-items: end;
}
#photo {
  height: 46vh;
}

nav {
  background-color: hsl(315, 100%, 98%);
  height: 10vh;
}
.navbar {
  background-color: hsl(229, 89%, 66%);
  min-width: 300px;
  border-radius: 30vw;

  padding: 10px;

  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-content: center;
  column-gap: 10px;
}
.navbar-button {
  background-color: hsl(229, 100%, 73%);
  height: 8vh;
  border-radius: 30vw;

  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-button:hover {
  background-color: hsl(229, 100%, 78%);
  box-shadow: 0px 4px 0px hsl(256, 57%, 51%);
  transform: translateY(-4px);
  transition: transform 0.3s, color 0.5s, text-shadow 0.3s;
}
.navbar-button:active {
  background-color: hsl(256, 83%, 77%);
}
.navbar-button-active {
  background-color: hsl(30, 100%, 73%);
  border-radius: 30vw;

  box-shadow: 0px 4px 0px hsl(323, 100%, 37%);
  transform: translateY(-4px);

  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-button-icon {
  width: 40%;
  height: 40%;
}

main {
  background-color: rgb(55, 61, 63);
  min-height: 50vh;

  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}
.page {
  background-color: hsl(229, 100%, 73%);
  width: 100%;
  max-width: 900px;
  min-width: 300px;
  border-radius: 15vw;

  box-shadow: 0px 10px 20px hsla(255, 39%, 20%, 0.233);

  padding: 40px;
  display: flex;
  justify-content: center;

  animation-name: slideRight;
  animation-duration: 0.5s;
}
