* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --text-color: white;
  --stroke-color: rgba(255, 255, 255, 0.5);
  --surface-color: rgba(255, 255, 255, 0.05);
  --surface-color-hover: rgba(255, 255, 255, 0.02);
  --highlight-color: rgba(255, 255, 255, 0.2);
}

.light {
  --text-color: white;
  --stroke-color: rgba(255, 0, 0, 0.5);
  --surface-color: rgba(255, 255, 255, 0.05);
  --surface-color-hover: rgba(255, 0, 0, 0.02);
  --highlight-color: rgba(255, 255, 255, 0.1);
}

body {
  margin: 0;
  padding: 0;
}

body * {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
}
#video-background {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
}
#video-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  color: #fff;
  font-size: 24px;
}

#container {
  width: 360px;
  margin: 56px auto 0px;
  padding: 0 24px;
}

#title {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#title a {
  padding: 16px 24px;
  font-weight: 800;
}

#title h2 {
  font-size: small;
  font-weight: 300;
  text-align: justify;
}

/* Lista de Links */
ul {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: var(--surface-color);
  border: 1px solid var(--stroke-color);
  border-radius: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  text-decoration: none;
  font-weight: 500;

  transition: background 0.5s;
}

/* pseudo-selector */
ul li a:hover {
  background: var(--surface-color-hover);
  border: 1.5px solid --text-color;
}

/* Icons */
#icons {
  display: flex;
  justify-content: center;
  padding: 24px 0;
  font-size: 36px;
}

#icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

#icons a:hover {
  background: var(--highlight-color);
  border-radius: 50%;
}

footer {
  padding: 24px;
  text-align: center;
  font-size: 14px;
}

@keyframes slide-in {
  from {
    left: 0;
  }
  to {
    left: 50%;
  }
}

@keyframes slide-back {
  from {
    left: 50%;
  }
  to {
    left: 0;
  }
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
  #video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 80%;
  }
}

@media (max-width: 768px) {
  #video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 20%;
  }
}

@media (max-width: 450px) {
  #video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 5%;
  }
}
