* {
  margin: 0;
  padding: 0;
  font-family: "Rubik", sans-serif;
}

:root {
  --pf-color: #fff;
  --sf-color: #787878;

  --bg-color: 0, 0, 0;
  --bg-url: url(img/darkback.jpeg);

  --imgfilter: grayscale(100%);
  --shadow-opacity: 0;

  --scroll-color: 255, 255, 255;
}

.light-theme {
  --pf-color: #111;
  --sf-color: #888;

  --bg-color: 255, 255, 255;
  --bg-url: url(img/lightback.jpeg);

  --imgfilter: brightness(5%);
  --shadow-opacity: 0.5;

  --scroll-color: 0, 0, 0;
}

#icon {
  width: 30px;
  cursor: pointer;
  position: absolute;
  right: 3rem;
  top: 4rem;
}

h1 {
  color: var(--pf-color);
  font-weight: 600;
  font-size: 2rem;
  opacity: 0.85;
}

h2 {
  color: var(--pf-color);
  font-weight: 500;
  opacity: 0.8;
}

p {
  color: var(--sf-color);
  font-weight: 500;
}

h3 {
  color: var(--pf-color);
  font-weight: 600;
  opacity: 0.85;
}

main {
  min-height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    var(--bg-url);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass {
  height: 85vh;
  max-height: 820px;
  min-width: 920px;
  width: 60%;
  background: linear-gradient(
    to right bottom,
    rgba(var(--bg-color), 0.5),
    rgba(var(--bg-color), 0.1)
  );
  border-radius: 2rem;
  backdrop-filter: blur(2rem);
  display: flex;
  overflow: hidden;
  z-index: 2;
}

.circle1,
.circle2 {
  background: linear-gradient(
    to right bottom,
    rgba(var(--bg-color), 0.6),
    rgba(var(--bg-color), 0.2)
  );
  height: 20rem;
  width: 20rem;
  position: absolute;
  border-radius: 50%;
}

.circle1 {
  top: 5%;
  right: 15%;
}
.circle2 {
  bottom: 7%;
  left: 10%;
}

.dashboard {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  text-align: center;
  background: linear-gradient(
    to right bottom,
    rgba(var(--bg-color), 0.5),
    rgba(var(--bg-color), 0.2)
  );
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.links a:hover,
.links a.active {
  background: linear-gradient(
    to right bottom,
    rgba(var(--bg-color), 0.5),
    rgba(var(--bg-color), 0.2)
  );
  transition: all 0.3s ease;
  opacity: 1;
}

.link {
  display: flex;
  margin: 2rem 0rem;
  padding: 1rem 5.6rem;
  align-items: center;
  text-decoration: none;
  opacity: 0.4;
}

.link img {
  filter: var(--imgfilter);
}

.link h2 {
  padding: 0rem 1rem;
}

.link:last-child {
  margin-bottom: 0;
}

.user {
  text-decoration: none;
}

.user img {
  width: 100px;
}

.content {
  flex: 2;
  overflow: hidden;
  scroll-behavior: smooth;
}

.watching {
  margin: 2.5rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.upnext {
  margin: 2.5rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.watched {
  margin: 2.5rem 5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.status h1 {
  display: flex;
  align-items: center;
}

#watching {
  scroll-margin-top: 100px;
  padding-top: 0.9rem;
  visibility: visible;
  opacity: 1;
  transition: visibility 0.25s, opacity 0.25s linear;
}

#upnext {
  padding-top: 3rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s, opacity 0.25s linear;
}

#watched {
  padding-bottom: 2rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s, opacity 0.25s linear;
}

.status img:first-child {
  margin-right: 1rem;
  filter: var(--imgfilter);
}

.gap {
  background: rgba(var(--bg-color), 0.7);
  margin: 1rem 0 3rem 0;
  height: 10px;
  filter: blur(10px);
}

.card {
  display: flex;
  background: linear-gradient(
    to right bottom,
    rgba(var(--bg-color), 0.2),
    rgba(var(--bg-color), 0.5)
  );
  border-radius: 1rem;
  margin: 1rem 1rem 1rem 0;
  padding: 1.5rem;
  text-decoration: none;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, var(--shadow-opacity));
  justify-content: space-between;
}

.cards img {
  border-radius: 1rem;
}

.card-info {
  margin-inline: 1rem;
}
