* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #000;
}

.container {
  position: fixed;
  width: 400px;
  height: 100vh;
}

.toolbar-top {
  position: fixed;
  width: 400px;
  max-width: 100vw;
  height: 60px;
  background: #7d19ff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
}

.title-wrapper {
  display: flex;
  height: 100%;
}

.site-logo {
  background-image: url("https://cdn-icons-png.flaticon.com/512/3183/3183468.png");
  background-size: cover;
  background-color: #fff;
  object-fit: 100%;
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.site-title {
  font-size: 2em;
  margin: 0 0 0 7px;
  color: #000000;
  font-weight: bold;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.avatar-wrapper {
  position: absolute;
  width: 40px;
  height: 40px;
  margin: 0 10px;
  right: 0;
}

.avatar {
  background-image: url("https://storage.surfit.io/user/avatar/644861621.png");
  background-size: cover;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.avatar:hover {
  cursor: pointer;
}

.toolbar-bottom {
  position: fixed;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  bottom: 0;
  width: 400px;
  max-width: 100vw;
  height: 70px;
  background: #eee;
  justify-content: space-around;
}

.toolbar-button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.toolbar-button:hover {
  cursor: pointer;
  color: red;
}

.main {
  position: relative;
  top: 60px;
  width: 100%;
  height: calc(100vh - 130px);
  background: #fff;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: auto;
}

/**
  * Animations
  */
.anim-gradient:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #000 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.3s, opacity 0.5s;
}

.anim-gradient:active:after {
  transform: scale(0, 0);
  opacity: 0.2;
  transition: 0s;
}