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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #FFFFFF;
  overflow-x: hidden;
  max-width: 100vw;
}

ion-icon {
  transition-duration: .2s;
  font-size: 1.5em;
  --ionicon-stroke-width: 2em;
}

ion-icon:hover {
  color: #515FFF;
}

.navigation {
  display: flex;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  align-items: center;
  padding: .5em .8em;
  justify-content: space-between;
  border-bottom: 1px solid #484544;
  background-color: #FFFFFF;
}


.logo {
  font-weight: 600;
  font-size: 1.2em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, green, orange, red);
  animation: animate 2s linear infinite;
}

@keyframes animate {

  0%,
  100% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

.list {
  overflow: hidden scroll;
  display: flex;
  flex-direction: column;
}

.cell {
  display: flex;
  padding: 1.5em 1em .5em 1em;
  flex-direction: column;
  border-bottom: .5px solid grey;
}

.title {
  margin: .5em 0;
  font-size: 1.3em;
  color: #515FFF;
  font-weight: 500;
}

.content {
  width: 100%;
  height: 6em;
  font-size: .9em;
  overflow: hidden;
  word-break: break-all;
  white-space: pre-wrap;
  text-overflow: ellipsis;
  line-height: 2em;
}

.details {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  color: grey;
}

.block {
  display: flex;
  align-items: center;
  font-size: .7em;
  font-weight: 400;
  margin: 1.5em .6em 0 0;
  width: 25%;
}

.small {
  padding: .3em .3em .3em 0;
  font-size: 1.3em;
}

.credits {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.credits .block {
  width: max-content;
}

.credits .black {
  color: #515FFF;
  font-weight: bold;
}

.controller {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 1.5em;
  border-bottom: .5px solid grey;
}

.controller ion-icon {
  font-size: 1.4em;
  padding: .6em;
  border-radius: 50%;
  box-shadow: 0 0 .5em rgba(0, 0, 0, .5);
  transition-duration: .5s;
}

.controller ion-icon:hover {
  box-shadow: 0 .5em .5em indigo;
}

.drawer {
  position: fixed;
  z-index: 200;
  left: -300px;
  width: 300px;
  transition-duration: 1s;
  background-color: #FFFFFF;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .5em 0;
  overflow: hidden scroll;
  backdrop-filter: blur(2em);
}

.drawer .close {
  position: absolute;
  font-size: 2em;
  right: 0;
  border: 2px solid black;
  border-radius: 50%;
  top: 50%;
}

.drawer .avatar {
  font-size: 15rem;
}

.drawer .name {
  font-size: 1.5em;
  color: #515FFF;
}

.drawer .subname {
  font-size: .9em;
  font-weight: 800;
  color: grey;
  margin-bottom: 5em;
}

.drawer .links {
  color: #515FFF;
  height: 100%;
  width: 80%;
  display: flex;
  align-items: flex-start;
  margin-top: 100%;
  justify-content: space-between;
}

.drawer button {
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  padding: 8px 16px;
  font-size: 1em;
  font-weight: 500;
  transition-duration: .3s;
  color: grey;
}

.drawer button.active {
  border-right: 4px solid #FF3131;
}

.drawer button::before {
  content: '▪️';
}

.drawer button:hover {
  color: #515FFF;
  border-right: 4px solid #515FFF;
}

.search {
  position: fixed;
  z-index: 2;
  top: 5em;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #D8DBFF;
  padding: .3em;
  border-radius: .3em;
  width: 89%;
  display: flex;
  align-items: center;
  box-shadow: 0 0 .4em #151FFF;
  top: -5em;
  transition-duration: .4s;
}

.search input {
  padding: 8px 18px;
  outline: none;
  border: none;
  border-radius: .1em;
  width: 100%;
}

.search ion-icon {
  font-size: 1.5em;
  background-color: #FFFFFF;
  border-radius: 0 .1em .1em 0;
  padding: 6px;
  border-left: 2px solid #385333;
}

.main {
  height: 100%;
  width: 100%;
  transition-duration: .5s;
}

.bar {
  padding: 1em;
}

.dark-mode {
  background-color: #000000;
  color: #FFFFFF;
}
