@import "https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";

/* src/views/loader.css */
loader {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: rgba(0, 0, 0, 0);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
loader spinner {
  width: 3rem;
  height: 3rem;
  border: 0.25rem solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--ui-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* src/views/home/home.css */
el-home {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: auto;
}
el-home .hero-slate {
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
el-home .hero-slate h1 {
  color: white;
  font-size: 3rem;
  text-align: center;
  margin: 1rem;
  text-shadow: 0 0 5px black;
}
el-home .hero-slate i {
  color: white;
  font-size: 4rem;
  text-align: center;
  margin: 0 1rem;
}
el-home iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 5px;
}

/* src/views/nav/nav.css */
nav {
  width: 100%;
  box-shadow: var(--lg-shadow);
  display: flex;
  color: var(--ui-color);
  background-color: white;
  align-items: center;
  justify-content: end;
  z-index: 1000;
}
nav ul {
  font-family: var(--ui-font);
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  font-size: 1rem;
  background-color: white;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
nav #menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  width: 100%;
  position: absolute;
  top: 0;
  padding-top: 13px;
  padding-bottom: 13px;
}
nav li.fa-solid {
  text-align: center;
  font-size: 1.5rem;
  padding-top: 13px;
}
nav li a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 5px;
}
nav li a:hover {
  background-color: #2222225e;
}
nav #discord_login {
  background-color: #7289da;
  border-radius: 5px;
  width: 70px;
  padding: 10px 5px;
  color: white;
  text-decoration: none;
  margin: 2px;
  z-index: 2000;
}
nav #logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
}
nav .show {
  display: flex;
}
nav #nav-profile-picture {
  z-index: 2000;
}
nav #nav-profile-picture img {
  background-color: aliceblue;
  border: 3px solid rgb(31, 31, 31);
  box-shadow: var(--md-shadow);
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  margin: 10px;
  width: 30px;
}
@media screen and (min-width: 768px) {
  nav li.fa-solid {
    display: none;
  }
  nav ul {
    flex-direction: row;
    justify-content: space-evenly;
    position: static;
    width: 100%;
    background-color: transparent;
    display: flex;
  }
  nav #menu {
    position: static;
  }
  nav #menu::before {
    content: "";
  }
  nav #discord_login {
    margin: 10px;
    width: fit-content;
    white-space: nowrap;
    z-index: auto;
    padding: 10px 20px;
  }
  nav #nav-profile-picture {
    z-index: auto;
  }
}

/* src/views/about/about.css */
el-about {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  el-about {
    flex-direction: row;
  }
}

/* src/views/profile/profile.css */
el-profile section {
  position: relative;
}
el-profile #edit-profile {
  align-self: end;
  margin: 1rem;
  padding: 1rem;
  background-color: var(--ui-color);
  color: white;
  border-radius: 5px;
}
el-profile .hero-slate {
  color: white;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
el-profile .hero-slate h1 {
  color: white;
  font-size: 3rem;
  text-align: center;
  margin: 1rem;
  text-shadow: 0 0 5px black;
}
el-profile .hero-slate i {
  font-size: 4rem;
  text-align: center;
  margin: 0 1rem;
}
el-profile .profile-card {
  width: 100%;
}
el-profile .profile-card * {
  margin: 0 .5rem;
}
el-profile .profile-card h2 {
  width: 10rem;
}
el-profile .profile-card div {
  display: flex;
  align-items: center;
  margin: 1rem;
}
el-profile #profile-picture {
  background-color: aliceblue;
  border: 3px solid rgb(31, 31, 31);
  box-shadow: var(--md-shadow);
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: -6.5rem;
  margin-left: -1rem;
  z-index: 100;
  width: 133px;
}
@media screen and (min-width: 768px) {
  el-profile #edit-profile {
    position: absolute;
    top: 0;
    right: 0;
  }
}

/* src/views/index.css */

/* src/main.css */
:root {
  --sm-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --md-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --lg-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --xl-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --inner-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.1);
  --ui-color: #29701b;
  --stroke:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
  --ui-font:
    "Nunito",
    Geneva,
    Tahoma,
    sans-serif;
}
html {
  font-family: var(--ui-font);
  scroll-behavior: smooth;
  background-color: rgb(200, 200, 200);
}
body {
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  height: 100vh;
}
* {
  transition: all 0.35s;
}
a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
  color: inherit;
}
button {
  transition: none;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}
button:hover {
  filter: brightness(1.1);
}
button:active {
  transform: scale(0.85);
}
h1 {
  color: var(--ui-color);
}
.content-slate {
  flex-grow: 1;
  overflow: auto;
}
.content-slate section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: var(--md-shadow);
  background-color: white;
  max-width: 900px;
}
pre {
  max-width: 100%;
  overflow: auto;
}
.flex-align-center {
  align-content: center;
}
@media screen and (min-width: 768px) {
  .content-slate {
    margin: 0;
  }
  .content-slate section {
    padding: 1rem 4rem;
    margin: 1rem auto;
  }
}
