[data-theme="normal"] {
	--bg: #00dada;
	--header: #05386b;
	--head: white;
	--nav: white;
	--navactive: #05386b;
	--navlink: #05386b;
	--text: white;
	--headborder: #05386b;
	--navborder: white;
	--navlinkactive: white;
	--navhover: #c7ced9;
	--navlinkhover: white;
	--black: black;
	--white: white;
}

:root {
	--bg: black;
	--header: black;
	--head: white;
	--nav: black;
	--navactive: white;
	--navlink: white;
	--text: white;
	--headborder: white;
	--navborder: white;
	--navlinkactive: black;
	--navhover: #c7ced9;
	--navlinkhover: black;
	--black: white;
	--white: black;
}

[data-theme="white"] {
	--bg: white;
	--header: white;
	--head: black;
	--nav: white;
	--navactive: black;
	--navlink: black;
	--text: black;
	--headborder: black;
	--navborder: black;
	--navlinkactive: white;
	--navhover: #888a8c;
	--navlinkhover: black;
	--black: black;
	--white: white;
}

body {

    background-color: var(--bg);

}

.headrect {

    fill: var(--header);

    stroke-width: 3;

    stroke: var(--headborder);

}

.navbtn {

    color: var(--text);

    font-size: 3em;

    position: absolute;

    margin: 0;

    top: 2px;

    left: 2%;

    display: none;

}

.settingbtn {

	color: var(--text);

	font-size: 4.5em;

	position: absolute;

	margin: 0;

	top: 2px;

	right: 2%;

	display: none;

}

#settings {

	display: none;

	position: absolute;

	width: 70%;

	height: 70%;

	top: 15%;

	left: 15%;

	border: 5px solid var(--black);

	border-radius: 5px;

	background: var(--bg);

	z-index: 20;

}

.inline {

	white-space: nowrap;

}

.theme-tile {

	width: 30%;

	height: 40%;

	border: 3px solid var(--text);

	border-radius: 5px;

	white-space: normal;

}

#theme-white {

	height: 40%;

	margin-left: 3.5%;

	margin-right: 1.5%;

}

#theme-classic {

	margin-left: 1.5%;

	margin-right: 1.5%;

}

#theme-dark {

	margin-left: 1.5%;

	margin-right: 3.5%;

}

.heada {

    color: var(--text);

    text-decoration: none;

}

header {

    display: flex;

    width: 98.5%;

    height: 100px;

    background: var(--header);

    position: fixed;

    border-radius: 10px;

	border: 2px solid var(--headborder);

}

.headtext {

    color: var(--text);

    font-family: cursive;

    /*margin-top: -90px;*/

    margin: auto;

    font-size: 3em;

    text-align: center;

}

.header {

    color: var(--text);

    margin: auto;

    font-size: 2.5em;

    text-align: center;

    width: 50%;

}

.header2 {

    color: var(--text);

    margin: auto;

    font-size: 2em;

    text-align: center;

    width: 50%;

}

.text {

    color: var(--text);

    margin: auto;

    font-size: 1.5em;

    text-align: center;

    width: 50%;

}

.texta {

    color: var(--text);

    text-decoration: none;

}

.textlink {

    color: var(--text);

    font-size: 1.25em;

}

.textlinkwithinfo {

    color: var(--text);

    font-size: 1.5em;

}

.description {

    color: var(--text);

    margin: auto;

    font-size: 1.25em;

    text-align: center;

    width: 50%;

}

.nav {

    display: block;

    /*z-index: 10 !important;*/

}

.navbar {

    margin-top: 110px;

    list-style-type: none;

    padding: 0;

    width: 250px;

    background-color: var(--nav);

    height: 80%;

    overflow: auto;

    position: fixed;

    z-index: 3;

    border-radius: 10px;

	border: 2px solid var(--navborder)

}

.navlinks {

    display: block;

    padding: 6px 16px;

    text-decoration: none;

    color: var(--navlink);

}



li a.nav-active {

    background-color: var(--navactive);

    color: var(--navlinkactive);

}

li:hover:not(.nav-active) {

    background-color: var(--navhover);

}

li a:hover:not(.nav-active) {

    color: var(--navlinkhover);

}

li:not(.nav-active) {

    background-color: var(--nav);

    color: var(--nav);

}

.link {

    color: var(--text);

}

main {

    margin-top: 100px;

}

#overlay {

    position: fixed;

    width: 100%;

    height: 100%;

    top: 0; 

    left: 0;

    right: 0;

    bottom: 0;

    background-color: rgba(0,0,0,0.5);

    z-index: 2;

}

.devlogin {

    text-align: center;

    padding: 25% 0;

}

input, button, textarea {

    border-radius: 5px;

    border: 1px solid var(--black);

    background-color: var(--white);

	color: var(--black);

}

input:focus, textarea:focus {

    outline: 0;

    border: 2px solid var(--black);

}

button:focus {

    outline: 0;

    border: 2px solid var(--black);

}

button:active {

    outline: 0;

    border: 1.5px solid var(--black);

}

.dictionary {

    width: 50vw;

    margin-left: 25vw;

}

.dictinput {

    width: 100%;

}

.dictbtn {

    width: 100%;

}

.form {

    width: 50vw;

    margin-left: 25vw;

    margin-left: auto;

    margin-right: auto;

    text-align: center;

}

#svg {

    visibility: hidden;

    position: absolute;

    margin: auto;

    left: calc(50vw - 75px);

    top: 375px;

	fill: black;

	stroke: var(--black);

	stroke-width: 5;

    animation-name: rotate-s-loader;

    animation-iteration-count: infinite;

    animation-duration: 1s;

    animation-timing-function: linear;

}

@keyframes rotate-s-loader {

    from {

        transform: rotate(0);

    }

    to {

        transform: rotate(360deg);

    }

}

.certbtn {

    margin: auto;

}

#startinput {

    margin: auto;

}

#joininput {

    margin: auto;

}

#userinput {

    margin: auto;

}

#passinput {

    margin: auto;

}

.certspan {

    margin-left: 45%;

}

.certallbtn {

    margin: auto;

}

#checkbox {

    transform: scale(2);

    z-index: 1;

}

.checklbl {

    font-size: 1.5em;

}

label {

    color: white;

}

.tickcounter {

    z-index: -1 !important;

}

.countdowndiv {

    width: 50%;

    margin-left: 25%

}

video {

    outline: 0;

}

#resourceaction {

    font-size: 1em;

}

.message {

    border: 5px solid white;

    border-radius: 10px;

    width: 50vw;

    margin: auto;

}

.msgsubject {

    text-align: center;

    color: white;

    font-size: 20px

}

.msgbody {

    text-align: left;

    margin-left: 10px;

    color: white;

    font-size: 15px;

    white-space: pre-wrap;

    white-space: -moz-pre-wrap;

    white-space: -pre-wrap;

    white-space: -o-pre-wrap;

    word-wrap: break-word;

}

.msgdelete {

    width: 100%;

    border: none;

    border-radius: 0px 0px 5px 5px;

    height: 50px;

    background-color: white;

    font-size: 20px

}

.code {

    background: #dbdbdb;

    padding: 5px;

    border-radius: 5px;

    margin: auto;

    text-align: center;

    width: 50%;

}

.latlegeopt {

    width: 50%;

    margin-left: 25%;

    margin-top: 5px;

    padding: 5px;

}

.latlegeselect {

    margin-left:  25%;

    width: 50%;

    border: 1px solid #000000;

    border-radius: 5px;

    margin-top: 5px;

    padding: 5px;

}

.sendiv {

	width: 98.5%;

    height: 50px;

    border: 1px solid red;

    margin-top: 95px;

    position:  fixed;

    border-radius: 10px;

    background: red;

}

.sentext {

	color: white;

	font-size: 30px;

	display: block;

	text-align: center;

	margin: auto;

	padding: 7px;	

}

@media only screen and (max-width: 549px) {

    .nav {

        display: none;

        position: fixed;

        /*overflow: scroll;*/

    }

    .navbar {

        margin-top: 85px;

        width: 96%;

        height: 90%;

    }

    .navbtn {

        display: block;

    }

	.settingbtn {

		display: block;

	}

    .certspan {

        margin-left: 40%;

    }

    header {

        width: 96%;

        height: 75px;

    }

    .headtext {

        font-size: 2em;

    }

    .header {

        width: 90%;

    }

    .header2 {

        width: 90%;

    }

    .text {

        width: 90%;

    }

    .countdowndiv {

        width: 100%;

        margin-left: 0%;

    }

}

@media only screen and (max-width: 749px) and (min-width: 550px) {

    .nav {

        display: none;

        position: fixed;

        /*overflow: scroll;*/

    }

    .navbar {

        margin-top: 90px;

        width: 97%;

        height: 85%;

    }

    .navbtn {

        display: block;

    }

	.settingbtn {

		display: block;

	}

    .certspan {

        margin-left: 40%;

    }

    header {

        width: 97%;

        height: 80px;

    }

    .headtext {

        font-size: 2em;

    }

    .header {

        width: 70%;

    }

    .header2 {

        width: 70%;

    }

    .text {

        width: 70%;

    }

    .countdowndiv {

        width: 100%;

        margin-left: 0%;

    }

}

@media only screen and (max-width: 999px) and (min-width: 750px) {

    .nav {

        display: none;

        position: fixed;

        /*overflow: scroll;*/

    }

    .navbar {

        margin-top: 95px;

        width: 98%;

        height: 80%;

    }

    .navbtn {

        display: block;

    }

	.settingbtn {

		display: block;

	}

    .certspan {

        margin-left: 40%;

    }

    header {

        width: 98%;

        height: 85px;

    }

    .headtext {

        font-size: 2em;

    }

    .header {

        width: 60%;

    }

    .header2 {

        width: 60%;

    }

    .text {

        width: 60%;

    }

    .countdowndiv {

        width: 100%;

        margin-left: 0%;

    }

}

@media only screen and (min-width: 1000px) {

    .navbtn {

        display: none;

    }

	.settingbtn {

		display: block;

	}

    .nav {

        position: fixed;

        visibility: visible;

        /*overflow: scroll;*/

    }

    .certspan {

        margin-left: 42%;

    }

    header {

        width: 98.5%;

        height: 100px;

    }

    .headtext {

        font-size: 3em;

    }

    .header {

        width: 50%;

    }

    .header2 {

        width: 50%;

    }

    .text {

        width: 50%;

    }

    .countdowndiv {

        width: 50%;

        margin-left: 25%;

    }

}
