@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Oswald:wght@200..700&display=swap');



/* VARIABLES */
:root {
  --glow1: rgb(43, 118, 172);
  --glow2: rgb(88, 165, 220);
  --glow3: rgb(197, 231, 255);
}



/* SKIP BUTTON */
/* Courtesy of https://www.a11y-collective.com/blog/skip-to-main-content/ */

.skip_main {
  display: inline-block;
  position: absolute;
  left: -100%;
  top: 70px;
  z-index: 999;
  padding: 1rem;
  width: fit-content;
  background-color: black;
  font-weight: normal;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  opacity: 0;
  transition: transform 0.2s ease;
}

.skip_main:focus-visible, .skip_main:focus, .skip_main:hover  {
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
}



body {
  background-color: #657686;
  background-image: url("images/site_background.jpg");
  background-size: cover;
}

#main_container {
  position: relative;
  background: linear-gradient(45deg, #005694, #88496B 70%);
  width: 1000px;
  height: auto;
  margin: auto;
  border-radius: 25px;
}

#wrapper {
  padding: 5px;
}

#intro, #main_home, .new_section, footer {
  text-align: center;
}

#main_home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

#left_side {
  width: 30%;
}

#right_side {
  width: 65%;
}

#main_else {
  padding: 20px;
}

p {
  font-size: 16px;
}

p, li, span, td, a {
  font-family: "Inter", sans-serif;
  letter-spacing: 0.075rem;
  line-height: 1.5rem;
}

p:not(.all_caps), li, span, td {
  font-variant-caps: small-caps;
}

p:not(.cat), li, span, td {
  color: rgba(255, 255, 255, 0.75);
}


h1 {
  color: white;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

h2 {
  text-transform: uppercase;
  font-weight: 400;
}

h2, h3, h4, h5, h6 {
  color: white;
  font-family: "Inter", sans-serif;
}

li {
  list-style-type: "›  ";
}

.smaller_caps {
  font-size: 0.75em;
}

.smaller_p {
  font-size: 0.80rem;
}

.bigger {
  font-size: 1.2rem;
}

.all_caps {
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
}

a:not(.fa):not(.cat) {
  font-weight: 700;
}

a:not(.red_link):not(.cat) {
  color: #FAEB69;
}

a:hover:not(.red_link):not(.cat) {
  color: #FAF2B1;
}

.red_link {
  color: #FC5353;
}

.red_link:hover {
  color: #EB8181;
}






/* BANNER */

#banner {
  width: 100%;
  margin: 0;
  border-radius: 25px 25px 0 0;
}

#banner_invis {
  width: 100%;
  margin-bottom: 15px;
  opacity: 0;
}



/* BUTTONS */
.cat {
  display: inline-block;
  color: white;
  margin: 5px;
  border-radius: 40px;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease, font-weight 0.25s ease;
}

.home_cat {
  padding: 10px 15px;
}

.else_cat {
  padding: 5px 7px;
}

.nav_active {
  background: linear-gradient(to top, rgba(2, 24, 46, 0.55), rgba(76, 12, 71, 0.55));
}

.nav_active:hover {
  background: linear-gradient(to top, rgba(7, 169, 237, 0.45), rgba(6, 104, 193, 0.45));
  transform: scale(1.05);
  font-weight: bold;
}

.nav_not {
  background-color: rgba(112, 112, 112, 0.5);
}

.nav_icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 10px;
  vertical-align: middle;
}



/* TOP & BOTTOM */
#intro {
  margin-bottom: 30px;
}

footer {
  margin: 50px auto;
}







.btn{
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  background-color: rgba(2, 24, 46, 0.45);;
  box-shadow: 0 5px 10px rgba(0,0,0, .3);
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
  float: right;
  margin: 10px 10px 0 0;
  z-index: 6;
}
.btn__line{
  width: 1.1rem;
  height: 0.3rem;
  background-color: white;
  border-radius: 0.5rem;
  position: absolute;
  transition: transform .4s ease;
}
.btn__line--top{
  transform: translateY(-1rem);
  width: 1.8rem;
  margin-top: 0.4rem;
}
.btn__line--bottom{
  transform: translateY(1rem);
  width: 1.8rem;
  margin-bottom: 0.4rem;
}


/* ANIMATION*/

.active > .btn__line--center{
  transform: translateX(-5rem);
}
.active > .btn__line--top{
  margin: 0;
  transform: translateY(0) rotate(45deg);
}
.active > .btn__line--bottom{
  transform: translateY(0) rotate(-45deg);
  margin: 0;
}
.active{
  background-color: transparent;
  box-shadow: none;
}
.active > .btn__line{
  background-color: white;
}






/* LOADING */
/* Courtesy of https://404city.neocities.org/guides/tutorial-0 */

body {overflow-y: hidden;} /*Hides the scrollbar while loading.*/
#loadingScreen {
    position: fixed; /*Keeps the loading screen fixed on the screen */
    inset: 0; /*Makes loading screen wrap full screen.*/
    z-index: 999999; /*Makes loading screen stay on top.*/
    user-select: none; /*Disables user interaction with loading screen.*/
    transition: opacity 300ms; /*Adds a nice fading effect.*/
    background: #0E1122;
    color: white;
    font-family: 'Oswald', serif;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    
    /* Glowing text: https://www.w3schools.com/howto/howto_css_glowing_text.asp */
    -webkit-animation: glow 1s ease-in-out infinite alternate;
    -moz-animation: glow 1s ease-in-out infinite alternate;
    animation: glow 1s ease-in-out infinite alternate;
}

#loadingScreen::after {
    content: '';
    animation: loadingDots 1s linear infinite;
}
@keyframes loadingDots {
    0%, 100% {content: '';}
    25% {content: '.';}
    50% {content: '..';}
    75% {content: '...';}
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--glow1), 0 0 40px var(--glow1), 0 0 50px var(--glow1), 0 0 60px var(--glow1), 0 0 70px var(--glow1);
  }
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px var(--glow2), 0 0 40px var(--glow2), 0 0 50px var(--glow2), 0 0 60px var(--glow2), 0 0 70px var(--glow2), 0 0 80px var(--glow2);
  }
}




/* ---------- MOBILE ---------- */

@media (max-width: 400px) {
  
  #loadingScreen {
    font-size: 5rem;
  }

  @-webkit-keyframes glow {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--glow1), 0 0 20px var(--glow1), 0 0 25px var(--glow1), 0 0 30px var(--glow1), 0 0 35px var(--glow1);
  }
  to {
    text-shadow: 0 0 5px #fff, 0 0 10px var(--glow2), 0 0 20px var(--glow2), 0 0 30px var(--glow2), 0 0 40px var(--glow2), 0 0 50px var(--glow2), 0 0 60px var(--glow2);
  }
}

html, body {
    margin: 0;
    padding: 0;
}

#main_container {
  width: 95%;
  margin: 0;
}

p, span, nav, h1, h2 {
  margin: 10px 25px;
}

h1 {
  line-height: 2.2rem;
}

.cat {
  display: block;
  line-height: 1.2rem;
  margin: 10px;
}


}


















