/* // 2023 charl note
// i know for a fact i should not be doing this like this
// but i already styled the entire website last year and i don't want to do it again */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;800&family=Outfit&display=swap');
/*
=========
VARIABLES
=========
*/
:root {
  --clr-primary: #02f49b;
  --clr-secondary: #75ffcc;
  --clr-white: #fff;
  --clr-black: #181818;
  --bg-dark: #252525;
  --bg-light: #f7fafc;
}

/*
============
FONT STYLES
============ 
 */
 @font-face {
    font-family: 'Azonix';
    src: url('./Azonix.otf') format('opentype');
 }

/*
===============
STYLES - GLOBAL
===============
*/

::selection {
    background: var(--clr-primary);
    opacity: 0.25!important;
    color: var(--clr-white);
}

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

body {
    font-family: 'Nunito', sans-serif !important;
    color: var(--clr-black) !important;
}

html {
    background: var(--bg-light) !important;
    color: var(--clr-black) !important;
}

a {
    color: var(--clr-primary) !important;
    transition: all 250ms ease-in-out !important;
}
a:hover {
    color: var(--clr-secondary) !important;
}

nav a {
    color: var(--clr-black) !important;
    transition: all 250ms ease-in-out !important;
}
nav a:hover {
    color: var(--clr-primary) !important;
}

strong { 
    font-weight: 800 !important;
    color: var(--clr-dark) !important;
}

.navbar {
    background-color: var(--clr-light) !important;
}
.a.navbar-item, a.navbar-item, a.navbar-item, a.navbar-item, .navbar-link, .navbar-link, .navbar-link, .navbar-link {
    transition: all 250ms ease-in-out !important;
}

.a.navbar-item:focus, a.navbar-item:focus-within, a.navbar-item:hover, a.navbar-item.is-active, .navbar-link:focus, .navbar-link:focus-within, .navbar-link:hover, .navbar-link.is-active {
    background: none !important;
    color: var(--clr-primary) !important;
}
.navbar-brand {
    font-family: 'Azonix';
}
.has-bg {
    background-color: none !important;
    background-image: url('/assets/img/background.png');
    background-size: cover;
}
.has-anim-bg {
    background-color: none !important;
    background: url('/assets/img/trees.gif');
    background-size: cover;
}
.center-txt {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.about .box {
    background-color: var(--clr-light);
}
main {
  color: var(--clr-black) !important;
}
main .box {
    margin: 15px;
      color: var(--clr-black) !important;
}
main .tag {
    font-family: 'Outfit', sans-serif !important;
      color: var(--clr-black) !important;

}
.about a {
    transition: all 250ms ease-in-out !important;
}
.info .box {
    background-color: var(--clr-light);
      color: var(--clr-black) !important;

}
.info .box {
    margin: 15px;
      color: var(--clr-black) !important;

}
.rules .box {
    background-color: var(--clr-light);
      color: var(--clr-black) !important;

}
.rules .box {
    margin: 15px;
      color: var(--clr-black) !important;

}
.rules li {
    list-style: numbered;
      color: var(--clr-black) !important;

}
.title {
    font-family: 'Outfit', sans-serif !important;
      color: var(--clr-black) !important;
}
.bolder {
    font-weight: 800 !important;
      color: var(--clr-black) !important;

}
.tooltip {
    background-color: var(--bg-light);
    color: var(--clr-black);
    border-radius: 5px;
    padding: 5px;
    display: none;
    width: 75px;
    text-align: center;
}
.err-not-found {
    text-align: center;
    font-family: 'Outfit', sans-serif !important;
      color: var(--clr-black) !important;

    margin: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 90vh;
}
.err-not-found h1 {
    font-size: 3rem;
    font-weight: 800;
      color: var(--clr-black) !important;

}

.container {
  padding-left: 15px;
  padding-right: 15px;
}

.code {
    background: var(--bg-dark);
    color: var(--clr-white);
    padding: 5px;
    border-radius: 5px;
}

.textarea, .input {
    background: var(--clr-light)!important;
    color: var(--clr-black)!important;
    border-radius: 10px;
    border: 1px solid var(--bg-dark)!important;
    padding: 5px;
}

.textarea:focus, .input:focus {
    outline: none;
}

.textarea::placeholder, .input::placeholder {
    color: var(--clr-dark)!important;
}

label {
    color: var(--clr-black)!important;
}

.img {
    /* margin: 5px; */
    max-width: 20vh;
    max-height: 20vh;
    /* display: inline-block; */
}

.img img {
  border-radius: 15px;
}

.navbar-menu {
    background-color: var(--clr-light) !important;
}

/*
=============
MEDIA QUERIES
=============
*/

@media (prefers-color-scheme: dark) {
  :root {
    --clr-primary: #02f49b;
    --clr-secondary: #75ffcc;
    --clr-white: #ffffff;
    --clr-black: #e9e9e9;
    --clr-light: #1d1d1d;
    --bg-dark: #333333;
    --bg-light: #252525;
  }
}