
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@500&family=Nunito:wght@500;700&display=swap');

:root {
/* Out of Palette */
  --darkest: #292e39;

/* Polar night */
  --dark0: #2e3440;
  --dark1: #3b4252;
  --dark2: #434c5e;
  --dark3: #4c566a;

/* Sn0w storm */
  --light0: #d8dee9;
  --light1: #e5e9f0;
  --light2: #eceff4;

/* Frost */
  --frost0: #8fbcbb;
  --frost1: #88c0d0;
  --frost2: #81a1c1;
  --frost3: #5e81ac;

/* Aurora */
  --red: #bf616a;
  --orange: #d08770;
  --yellow: #ebcb8b;
  --green: #a3be8c;
  --purple: #b48ead;
}

#checkbox,
.btn span {
  /* Hide the checkbox input & word "Menu" in the button */
  display: none;
}

svg {
  width: 60%
}

.btn {
  display: block;
  position: fixed;
  top: 0;
  background-color: var(--orange);
  color: var(--light2);
  width: 45px;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  cursor: pointer;
  border-radius: 0 0 25px 0;
  transition: top 0.3s ease-in-out, width 0.3s ease-in-out;
}

.sidebar {
  background-color: var(--dark1);
  position: fixed;
  overflow: auto;
  top: 50px;
  width: 250px;
  height: 100%;
  z-index: 1111;
  transition: transform 0.3s ease-in-out;
  transform: translateX(-250px);
}

.sidebar ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.sidebar ul a {
  position: relative;
  text-decoration: none;
  display: block;
  background-color: transparent;
  color: var(--light0);
  padding: 10px 20px;
  font-size: 16px;
}

.sidebar ul a li i {
  margin-right: 15px;
}

/* Add margin to the icon in the second item */
.sidebar ul a:nth-child(2) li i {
  margin-left: 4px;
  margin-right: 19px;
}

.sidebar ul a:hover,
.sidebar ul a.active {
  background-color: var(--dark0);
  color: var(--light2);
}

.sidebar ul a:hover::before,
.sidebar ul a.active::before {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  background-color: var(--orange);
  width: 4px;
  height: 100%;
}

/* Effect of showing the sidebar - starts */
#checkbox:checked ~ .sidebar {
  transform: translateX(0);
}

#checkbox:checked + .btn {
  width: 250px;
  padding: 0 20px;
}
/* End of nav */

*::-webkit-scrollbar {
  display: none;
}

* {
  scrollbar-width: none;
  margin: 0;
  padding: 0;
  color: var(--light0);
  text-decoration: none;
}

body {
  box-sizing: border-box;
  font-family: Lora, sans-serif;
  background-color: var(--darkest);
  background: var(--darkest);
}

.main {
  opacity: 0;
  display: none;
  transition: opacity 0.5s ease-in;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 75vh;
  height: 100vh;
}

header {
  display: flex;
  margin: 4em 0 1em 0;
  align-items: center;
  justify-content: center;
}

.wrapper {
  display: flex;
  box-sizing: border-box;
  max-width: 620px;
  justify-content: center;
  background: var(--dark1);
  margin: 0.5em;
  border-radius: 10px;
  width: 95%;
  box-shadow: 2px 3px 6px 2px var(--dark0);
  -webkit-box-shadow: 2px 3px 6px 2px var(--dark0);
  overflow: hidden;
}

#posts {
  width: 100%;
}

#yt {
  width: 100%;
}

.list-unstyled {
  display: flex;
  flex-direction: column;
  align-items: center;
}

iframe {
  margin: 0 20px;
}

li {
  width: 100%;
  display: flex;
  margin: 20px;
}

img {
  width: 100%;
  margin: 20px;
}

.terms {
  margin: 1em 0 0 0;
}

.animate-charcter {
  background-image: linear-gradient(
    -90deg,
    var(--frost3) 0%,
    var(--frost2) 30%,
    var(--frost1) 40%,
    var(--light0) 50%,
    var(--frost0) 70%,
    var(--frost3) 100%
  );
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 16s linear infinite;
  display: inline-block;
  font-size: 5em;
}

@keyframes textclip {
  to {
    background-position: 200% center;
  }
}

.re {
  width: 85%;
  padding-right: 5px;
}

.re-title {
  font-size: 20px;
}

.re-under {
  display: flex;
  width: 15%;
  justify-content: right;
  align-items: center;
}

@media all and (max-width: 500px) {
  .re-title {
    font-size: 16px;
  }
  .animate-charcter {
    font-size: 2em;
  }
}

/* LOADER */
.loader {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.loader > span {
  display: inline-block;
  background-color: var(--frost3);
  width: 0px;
  height: 0px;
  border-radius: 50%;
  margin: 0 8px;
  transform: translate3d(0);
  animation: bounce 0.6s infinite alternate;
}

.loader > span:nth-child(2) {
  background-color: var(--frost1);
  animation-delay: 0.2s;
}

.loader > span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  to {
    width: 16px;
    height: 16px;
    transform: translate3d(0, -16px, 0);
  }
}

.buttons {
  display: flex;
  flex-direction: row;
  border-radius: 25px;
  margin: 0.5em;
  min-width: 10em;
  max-width: 20em;
  width: 70%;
}

.buttons a {
  all: unset;
  display: flex;
  width: 100%;
  padding: 2em;
  border: none;
  border-radius: 25px;
  align-items: center;
  justify-content: center;
  font-family: Nunito, sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
}

.buttons i {
  display: flex;
  padding-right: 0.5em;
  align-items: center;
  justify-content: right;
  font-size: 1.6rem;
}

footer {
  font-family: Nunito;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5em;
  width: 100%;
}

.footer-content {
  display: flex;
  flex-direction: column;
  margin: 3em 1em;
  align-items: center;
  text-align: center;
  justify-content: center;
}
.footer-content p {
  max-width: 620px;
  margin: 0.2em;
}

footer ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

footer li {
  padding: 0;
}
