@import 'colors.css';
@import 'default-override.css';
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap');
@import 'navbar.css';

html, body {
  min-height: 100%;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

*,
::after,
::before {
    box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;

  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  font-size: 0.95rem;
  font-style: normal;
  color: black;
  word-wrap: break-word;
}

@media (prefers-color-scheme: light) {
  body {
    background:
    linear-gradient(rgb(97, 144, 252), rgba(255, 255, 255, 0.001)),
    linear-gradient(to top left, rgb(97, 144, 252), rgba(255, 255, 255, 0.001)),
    linear-gradient(to top right, white, rgba(255, 255, 255, 0.001));
    
    background-blend-mode: screen;
    background-attachment: fixed;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    color: rgb(255, 255, 255, 0.9);

    background:
    linear-gradient(black, transparent),
    linear-gradient(to top left, rgb(61, 91, 212), transparent),
    linear-gradient(to top right, black, transparent);
    
    background-blend-mode: screen;
    background-attachment: fixed;
  }
}

a {
  text-decoration: none;
  color: black;
}

@media (prefers-color-scheme: dark) {
  a {
    color: white;
  }
}

ul {
  padding-left: 18px;
  margin-top: 0;
}

/* Main */
.main {
  margin-top: 71px;
  /* Centers main and sets max width */
  max-width: 1000px;
  position: relative;
  margin-left: auto;
  margin-right: auto;

  padding-left: 15px;
  padding-right: 15px;
}
/* End of Main */

/* Mobile */
@media only screen and (max-width: 450px) {
  .main {
    margin-top: 61px;
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Footer */
.footer {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  padding-left: 15px;
  padding-right: 15px;
  text-align: center;
  /* background: rgb(129, 129, 129); */

  font-size: 1rem;
  font-weight: 700;
}

.footer .beta {
  border-radius: 12px;
  padding-top: 4px;
  padding-bottom: 2px;
  padding-left: 8px;
  padding-right: 8px;

  display: table;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;

  color: white;
  background: linear-gradient(to right, rgb(98, 100, 235), rgb(128, 130, 239)) !important;
}
/* End of Footer */



.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: white;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: none;
  padding: 0.7rem 2rem;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  border-radius: 15px;
}

.btn:focus {
  outline: none;
}

.btn-black {
  background-size: 200% auto;
  background-color: black;
  transition: all 250ms;
}

.btn-black:hover {
  background-color: rgb(124, 98, 235);
}

.btn-primary {
  background-size: 200% auto;
  background-image: linear-gradient(to right, rgb(124, 98, 235) 0%, rgb(152, 128, 239) 50%);
  transition: 0.5s;
}

.btn-primary:hover {
  background-position: right center;
}


.element-title {
  margin-top: 2px;
  margin-bottom: 15px;

  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4rem;
}

/* Mobile */
@media only screen and (max-width: 500px) {
  .element-title {
      font-size: 1.4rem;
  }
}


.element-background-box {
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);

  padding-left: 15px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 15px;

  animation: fadein 0.8s;
}

.element-background-box:not(:first-child) {
  margin-top: 15px;
}

@keyframes fadein {
  from {opacity:0} 
  to {opacity:1}
}

.secondary-text {
  color: rgba(0, 0, 0, 0.7);
}

@media (prefers-color-scheme: dark) {
  .element-background-box {
    background-color: rgba(0, 0, 0, 0.3);
  }

  .secondary-text {
    color: rgba(255, 255, 255, 0.8);
  }
}


.link-text {
  color: rgb(124, 98, 235);
  font-weight: 400;
  text-decoration: underline 0.15em rgba(255, 255, 255, 0);
  transition: text-decoration-color 250ms;
}

.link-text:hover {
  text-decoration-color: rgb(124, 98, 235);
}

@media (prefers-color-scheme: dark) {
  .link-text {
    color: orange;
  }

  .link-text:hover {
    text-decoration-color:orange;
  }
}