@font-face{
    font-family: headerLofiFont;
    src: url(fonts/LofiLifestyleRegular-2OM9v.ttf);
}
@font-face {
    font-family: 'Kollektif Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Kollektif Regular'), url('fonts/Kollektif.woff') format('woff');
}
:root{
    --primary-color: midnightblue;
    --secondary-color: purple;
    --font-color: midnightblue;
    --bg-color: whitesmoke;
    --font-secondary: whitesmoke;
    --flashbg: whitesmoke;
}
[data-theme="dark"] {
    --primary-color: #9A97F3;
    --secondary-color: #3f7dfa;
    --font-color: #e1e1ff;
    --bg-color: #161625;
    --font-secondary: #0c0000;
    --flashbg: #9A97F3;
}

*{
    box-sizing: border-box;
}

::-moz-selection {
    color: var(--bg-color);
    background: var(--primary-color);
}

::selection {
    color: var(--bg-color);
    background: var(--primary-color);
}

body::-webkit-scrollbar{
    display: none;
}

#navbar{
    background-color: midnightblue;
    padding: 1% 1% 1% 1%;
    margin: -10px -10px 0 -10px;
}

#navbar a{
    transition: all 0.3s ease 0s;
    font-family: "Kollektif Regular", sans-serif;
    font-size: 2em;
    color: white;
    margin: 10px 20px;
}
#navbar a:link{
    text-decoration: none;
}
#navbar a:hover{
    color: purple;
}
#navbar ul{
    display: flex;
    list-style: none;
    align-items: center;
}



.nav-right{
    margin-left: auto;
}

.logoOff, #home:hover .logoOn{
    height: auto;
    max-width: 150px;
    display:none
}

.logoOn, #home:hover .logoOff{
    height: auto;
    max-width: 150px;
    display:block
}


#signup{
    font-family: "Kollektif Regular", sans-serif;
    color: midnightblue;
    padding: 9px 25px;
    background-color: rgba(245, 245, 245, 1);
    border: none;
    border-radius: 50px;
    cursor: not-allowed;
    transition: all 0.3s ease 0s;
    margin: 3px 10px;
}

#signup:hover{
    background-color: rgba(245, 245, 245, 0.6);
}

.nav-right{
    float: right;
}

body{
    background-color: var(--bg-color);
    color: var(--font-color);
    font-size: 16px;
}

/*Simple css to style it like a toggle switch*/
.theme-switch-wrapper {
    display: flex;
    align-items: center;
}
em {
    margin-left: 10px;
    font-size: 1rem;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display:none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked + .slider {
    background-color: #66bb6a;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}
#lightswitch{
    display: flex;
}