@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

body {
  background-color: #333137;
  color: #f3f5f8;
  display: flex;
  flex-wrap: wrap;
  font-family: "Outfit", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  padding: 0 2em;
}

header {
  align-items: center;
  background-color: #26262add;
  border-bottom-right-radius: 1em;
  border-top-right-radius: 2em;
  box-shadow: 0 0 2px #111;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 94%;
  left: 0;
  padding: 1em .5em;
  position: fixed;
  top: 3%;
  transform-origin: 0 50%;
  transition: all .2s ease-in;
  z-index: 10;
}

header .logo {
  transition: all .2s ease-in;
}

header .logo:hover {
  scale: 1.05;
  transform: rotate(-8deg);
}

header nav {
  margin-top: 1em;
}

header nav ul {
  display: flex;
  flex-direction: column;
  gap: .8em;
  list-style: none;
  padding: 0;
}

header nav ul li {
  align-items: center;
  border: 1px solid #333;
  border-radius: 25%;
  box-shadow: 0 0 2px #000;
  display: flex;
  justify-content: center;
  transition: all .2s ease-in;
}

header nav ul li:hover {
  background-color: #363640;
  scale: 1.1;
}

header nav ul li:hover img {
  filter: brightness(0) invert(1);
}

header nav ul li a {
  display: flex;
  padding: .6em;
}

header nav ul li a[data-title] {
  position: relative;
}

header nav ul li a[data-title]:after {
  background-color: #1e1e1eee;
  border-radius: .4em;
  bottom: .2em;
  box-shadow: 0 0 2px #111;
  color: #bbb;
  content: attr(data-title);
  font-size: .9em;
  left: 100%;
  min-width: 100px;
  opacity: 0;
  padding: .4em;
  pointer-events: none;
  position: absolute;
  text-align: center;
  transition: all 0.4s ease;
  white-space: nowrap;
}

header nav ul li a[data-title]:hover:after {
  left: 160%;
  opacity: 1;
}

main {
  flex-basis: 75%;
  margin-left: 50px;
}

aside {
  box-sizing: border-box;
  flex-grow: 1;
  padding: 1em 0;
}

aside nav ul {
  align-content: space-evenly;
  display: flex;
  gap: 1em;
  justify-content: end;
  list-style: none;
}

footer {
  background-color: #2d2d31;
  border-radius: 1em;
  box-sizing: border-box;
  color: #ccc;
  flex-basis: 100%;
  margin-left: 50px;
  margin-top: 2em;
  padding: 1em;
}

.social ul li a img {
  transition: all .4s ease-in;
}

.social ul li a:hover img {
  transform: rotateY(360deg);
}

@media screen and (max-width: 1024px) {
  h1, p {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}
