/* base style for non-customized pages */

/*========*/
/* Fonts */
/*======*/

@font-face {
    font-family: 'Open-Dyslexic';
    src: url('./Fonts/open-dyslexic.ttf') format('truetype');
}

/*============*/
/* Variables */
/*==========*/

:root {
    --font: verdana, arial, sans-serif;
    --heading-font: 'Open-Dyslexic', sans-serif;
    --font-size: 14px;
    --text-color: #ffffff;
    --link-color: #7026e8;
    --link-color-hover: #7780ec;
    --content-background-color: rgba(32, 32, 32, 0.829);
    --border: 2px dashed #8000ff;
    --inner-border: 1px solid #8000ff;
    --round-borders: 14px;
    --nav-button-background: black;
    --nav-text: 'Open-Dyslexic';
    --nav-shadow: rgb(217, 67, 255);
}

/*===============*/
/* General Stuff */
/*===============*/

* {
  box-sizing: border-box;
  scrollbar-color: var(--link-color) black;
}

body {
    color: var(--text-color);
    font-family: var(--font);
    font-size: var(--font-size);
    background-image: url('./BGs/moonnstars.gif');
}

/*=========================*/
/* Header (of page) Stuff */
/*=======================*/

header {
  grid-area: header;
  font-size: 1.2em;
}

.header-image img {
  width: 100%;
  height: auto;
}

/*=============*/
/* Navigation */
/*===========*/

nav {
  display: flex;
  justify-content: center;
}

nav a {
  display: inline-block;
  text-align: center;
  padding: 10px;
  margin: 5px;
  background-color: var(--nav-button-background);
  border: var(--border);
  border-radius: var(--round-borders);
  font-family: var(--nav-text);
  text-shadow: 1px 1px 4px var(--nav-shadow);
  text-decoration: none;
}

/*Dropdown Button*/
nav > div {
  display: inline-block;
  position: relative;
    text-align: center;
  padding: 10px;
  margin: 5px;
  background-color: var(--nav-button-background);
  border: var(--border);
  border-radius: var(--round-borders);
  color: var(--link-color);
  font-family: var(--nav-text);
  text-shadow: 1px 1px 4px var(--nav-shadow);
  text-decoration: none;
}

/*Dropdown Menu*/

nav div div {
  display: none;
  position: absolute;
  background: transparent;
  z-index: 1;
}

nav div div a {
  color: var(--link-color);
  font-family: var(--font);
  text-decoration: none;
  display: block;
}

nav div:hover div {
  display: block;
}

/*============================*/
/* Header (in content) Stuff */
/*==========================*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    margin-bottom: 0;
    line-height: 1.5;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

h1 {
  font-size: 1.5em;
  text-align: center;
  text-shadow: 1px 1px 5px var(--link-color);
  color: var(--text-color);
}

h2 {
  font-size: 1.4em;
}

h3 {
  font-size: 1.3em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1.1em;
}

h6 {
  font-size: 1em;
}

/*=============*/
/* List Stuff */
/*===========*/

ul,
ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

ul li,
ol li {
    margin-bottom: 0.2em;
    line-height: 1.3;
    cursor: default;
}

ul {
  list-style: '⯎ ';
}

ul li {
  padding-bottom: 5px;
}

/*====================*/
/* Text Content Stuff */
/*====================*/

p {
  text-align: justify;
  cursor: default;
}

.small-text {
  font-size: 11px;
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(216, 112, 241, 0.2);
}

blockquote {
  background: rgba(204, 0, 255, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 2px 2px 50px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

center {
  margin: 1em 0;
  padding: 0 1em;
}

hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

/*=============*/
/* Link Stuff */
/*===========*/

a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

/*==============*/
/* Image Stuff */
/*============*/

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/*=========================*/
/*Responsive Youtube Embed*/
/*=======================*/

.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*====================*/
/*MARQUEE REPLACEMENT*/
/*==================*/

/*Add whatever you want to scroll in a div w class marquee*/
.marquee {
  display: flex;
  width: auto;
  overflow: hidden;
}
.marquee img {
  padding: 5px;
  animation: marquee 1s linear infinite;
}
@keyframes marquee {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}