html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, hr, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, active, hover, selected {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    text-decoration: none;
}

html {
    overflow-x: hidden;
}

ol, ul{
    margin: 0 25px;
}

li {
    margin: 25px 0;
}

.pswd-input {
    background-color: black;
    color: white;
    border: 1px solid white;
    padding: 15px;
    font-family: Montserrat;
}

.empty{
    border: 1px solid red;
}

/* FONTS */
@font-face {
    font-family: 'Roboto Light';
    src: url(fonts/Roboto-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Calhern Wide';
    src: url(fonts/FTCalhern-WideSemibold.otf) format('opentype');
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'SometypeMono';
    src: url('fonts/SometypeMono-Regular.ttf') format('truetype');
    font-weight: 400;
}
/* !FONTS */

/* COLORS */
:root {
    --theme-beige: #FFFCE0;
    --theme-lightgreen: #96A494;
    --theme-darkgreen: #5A7F76;
    --theme-grey: #515151;
    --theme-grey-trans: rgba(20, 20, 20, 80%);
    --center-width: 85%;
    --navbar-height: 60px;
    scrollbar-color: var(--theme-beige) var(--theme-grey) !important;
    scrollbar-width: thin !important
}

@media screen and (min-width:768px){
    :root {
        --center-width: 75%;
    }
}

/* !COLORS */

/* SCROLLBAR */

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-thumb {
    background-color: #888;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* !SCROLLBAR */
/* TEXT STUFF */

.text_style1 {
    font-family: 'Roboto Light', sans-serif;
    color: white;
    text-decoration: none;
}

.text_style2 {
    font-family: 'Calhern Wide', sans-serif;
    color: white;
    text-decoration: none;
}

.text_style3 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.text_style4 {
    font-family: 'Montserrat', sans-serif;
    color: white;
    text-decoration: none;
}

.text_style5 {
    font-family: 'SometypeMono', sans-serif;
    color: white;
    font-weight: 400;
    text-decoration: none;
}

h1.text_style1, .text_big {
    font-size: 70px;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    h1.text_style1, .text_big {
        font-size: 70px;
    }
}

@media screen and (min-width:1200px) {
    h1.text_style1, .text_big {
        font-size: 70px;
    }
}

h1.text_style2, .text_xmid {
    font-size: min(10vw, 55px);
}

@media screen and (min-width:768px) and (max-width:1199px) {
    h1.text_style2, .text_xmid {
        font-size: min(10vw, 70px);
    }
}

@media screen and (min-width:1200px) {
    h1.text_style2, .text_xmid {
        font-size: min(10vw, 70px);
    }
}

h2.text_style3, .text_mid {
    font-size: 26px;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    h2.text_style3, .text_mid {
        font-size: 32px;
    }
}

@media screen and (min-width:1200px) {
    h2.text_style3, .text_mid {
        font-size: 38px;
    }
}

h3.text_style3 {
    font-size: 16px;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    h3.text_style3 {
        font-size: 28px;
    }
}

@media screen and (min-width:1200px) {
    h3.text_style3 {
        font-size: 32px;
    }
}


h3.text_style4 {
    font-size: 22px;
}

h4.text_style4, .text_small {
    font-size: 20px;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    h4.text_style4, .text_small {
        font-size: 26px;
    }
}

@media screen and (min-width:1200px) {
    h4.text_style4, .text_small {
        font-size: 26px;
    }
}

.text_xsmall {
    font-size: 16px;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    .text_xsmall {
        font-size: 16px;
    }
}

@media screen and (min-width:1200px) {
    .text_xsmall {
        font-size: 16px;
    }
}

.text_select {
    user-select: text;
}

.text_pointer {
    cursor: pointer;
}

.text_underline{
    text-decoration: underline;
}

.text_right {
    text-align: right;
}

.text_center {
    text-align: center;
}

.text_secondary {
    color: var(--theme-beige);
}

.text_ter {
    color: var(--theme-darkgreen);
}

.mv-5{
    margin-top: 5px;
    margin-bottom: 5px;
}

.mv-10{
    margin-top: 10px;
    margin-bottom: 10px;
}

.mv-15{
    margin-top: 15px;
    margin-bottom: 15px;
}

.mv-25{
    margin-top: 25px;
    margin-bottom: 25px;
}

.mv-5p{
    margin-top: 5%;
    margin-bottom: 5%;
}

.mv-10p{
    margin-top: 10%;
    margin-bottom: 10%;
}

.mv-15p{
    margin-top: 15%;
    margin-bottom: 15%;
}

.mh-5{
    margin-left: 5px;
    margin-right: 5px;
}

.mh-10{
    margin-left: 10px;
    margin-right: 10px;
}

.mh-15{
    margin-left: 15px;
    margin-right: 15px;
}

.mh-5p{
    margin-left: 5%;
    margin-right: 5%;
}

.mh-10p{
    margin-left: 10%;
    margin-right: 10%;
}

.mh-15p{
    margin-left: 15%;
    margin-right: 15%;
}

.m-5{
    margin: 5px;
}

.m-10{
    margin: 10px;
}

.m-15{
    margin: 15px;
}

.m-5p{
    margin: 5%;
}

.m-10p{
    margin: 10%;
}

.m-15p{
    margin: 15%;
}

/* !TEXT STUFF */
/* BUTTON STUFF */

button{
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.button-default{
    background-color: rgba(0,0,0,0.2);
    backdrop-filter: blur(10px); /*<─┴ Maybe*/
    color: white;
    border: 2px solid rgba(255,255,255, 0.7);
    border-radius: 100px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

@media screen and (min-width:768px) {
    .button-default {
        min-width: 300px;
    }
}

.button-default:active:not(:disabled) {
    background-color: var(--theme-grey-trans);
}

.button-default:hover{ /*Kontrovers*/
    box-shadow: 0px 0px 15px rgba(255,255,255, 0.5); 
}

.button-default:disabled {
    filter: brightness(50%);
}

.button-primary{
    background-color: var(--theme-darkgreen);
    color: white;
    border: 2px solid rgba(0,0,0,0);
    min-width: 300px;
    border-radius: 100px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.button-primary:active:not(:disabled) {
    color: var(--theme-beige);
    border-color: var(--theme-beige);
}

.button-primary:disabled {
    filter: brightness(50%);
}

.button-secondary{
    background-color: var(--theme-grey);
    color: var(--theme-beige);
    border: 2px solid var(--theme-beige);
    min-width: 300px;
    border-radius: 100px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.button-secondary:active:not(:disabled) {
    background-color: var(--theme-lightgreen);
}

.button-secondary:disabled {
    filter: brightness(50%);
}


/* !BUTTON STUFF */

/* ANIMATION STUFF */

.animated{
    animation-duration: 1s;
    animation-fill-mode: backwards;
}

.animation-delay {
    animation-delay: var(--anim-delay, 0);
}

@keyframes fadeSlideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    
    100% {
        transform: translateY(0%);
        opacity: 1;
    }
}

.animation_fadeInUp {
    animation-name: fadeSlideUp;
    animation-timing-function: ease-in-out;
}

@keyframes fadeSlideUpRotate {
    0% {
        transform: translateY(100%) rotate(-75deg);
        opacity: 0;
    }
    
    100% {
        transform: translateY(0%) rotate(0deg);
        opacity: 1;
    }
}

.animation_fadeInUpRotate {
    animation-name: fadeSlideUpRotate;
    animation-timing-function: ease-in-out;
}

@keyframes slideInLeft {
    0% {
        transform: translate(-100%, -30px);
        opacity: 0;
    }
    
    100% {
        transform: translate(0%, 0%);
        opacity: 1;
    }
}

.animation_fadeInLeft {
    animation-name: slideInLeft;
    animation-timing-function: ease-in-out;
}

@keyframes slideInRight {
    0% {
        transform: translate(100%, -30px);
        opacity: 0;
    }
    
    100% {
        transform: translate(0%, 0%);
        opacity: 1;
    }
}

.animation_fadeInRight {
    animation-name: slideInRight;
    animation-timing-function: ease-in-out;
}

@keyframes crazyTown {
    0% {
        transform: rotate(0deg) scale(0);
    }
    25% {
        transform: rotate(120deg) scale(1.2);
    }
    50% {
        transform: rotate(240deg) scale(0.8);
    }
    75% {
        transform: rotate(360deg) scale(1.2);
    }
    100% {
        transform: rotate(480deg) scale(0);
    }
}

.animation_crazyTown {
    animation-name: fadeSlideUpRotate;
    animation-timing-function: ease-in-out;
}

@keyframes fadeInBlur {
    0% {
        filter: blur(25px);
        opacity: 0;
    }
    
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

.animation_fadeInBlur {
    animation-name: fadeInBlur;
    animation-timing-function: ease-in-out;
}

/* !ANIMATION STUFF */

/* GENERIC STUFF */

noscript{
    position: fixed;
    background-color: yellow;
    color: black;
    word-wrap: break-word;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

html{
    scroll-behavior: smooth;
}

a{
    color: white;
    text-decoration: underline;
    /* text-decoration-line: none; */
}

header{
    display: flex;
    position: fixed;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    width: 100%;
    z-index: 1000;
    background-color: black;
    /* padding: 10px; */
    /* box-shadow: 0px 5px 15px rgba(0,0,0,0.2); */
}

header + * {
    margin-top: var(--navbar-height);
}

.navbar{
    width: 100%;
    height: calc(var(--navbar-height) - 10px);
    margin: 5px 0;
}

#navbar-apply {
    border-bottom: var(--theme-beige) solid 1px;
    padding: 0 5%;
}

.navbar-buttons-container > *{
    margin: 0 5px;
    gap: 2vw;
    font-size: 3.5vw;
}

@media screen and (min-width:768px){
    .navbar-buttons-container > * {
        margin: 0 5%;
        font-size: 1.5vw;
    }
}

.navbar-button{
    cursor: pointer;
    /* border-bottom: 1px solid rgba(255,255,255,0.5); */
}

.navbar-button:hover {
    border-color: white;
    text-shadow: 0px 0px 10px rgba(255,255,255,1); /*Kontrovers*/
}

.navbar-button.logo {
    border-bottom: 0px none black;
}


/*  Classes for easy absolute postioning */
.abs{
    position: absolute; 
}

.abs.centerY{
    top: 50%; 
    transform: translateY(-50%);
}

.abs.centerX{
    left: 50%;
    transform: translateX(-50%);
}

.abs.center, .abs.centerX.centerY {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* end abs easy postioning */

body {
    background-color: black;
    color: white;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    font-family: Times;
    align-items: center;
    user-select: none; 
    word-wrap: keep-all;
    margin: 0 0 0 0; 
    padding: 0;
}

img {
    height: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
}

.relative-container{
    position: relative;
}

.box-small {
    width: 100%;
    word-break: keep-all;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    .box-small {
        width: 33.333%;
    }
}

@media screen and (min-width:1200px) {
    .box-small {
        width: 33.333%;
    }
}

.box-medium {
    width: 100%;
    word-break: keep-all;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    .box-medium {
        width: 66.666%;
    }
}

@media screen and (min-width:1200px) {
    .box-medium {
        width: 66.666%;
    }
}

.box-big {
    width: 100%;
    word-break: keep-all;
}

@media screen and (min-width:768px) and (max-width:1199px) {
    .box-big {
        width: 100%;
    }
}

@media screen and (min-width:1200px) {
    .box-big {
        width: 100%;
    }
}

hr {
    width: 100%;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #999;
    border-left: 0
}

.flex-container {
    display: flex;
}

.flex-container.align-center{
    align-items: center;
}

.flex-container.justify-center{
    justify-items: center;
}

.flex-container.center, .grid-x.center, .grid-y.center {
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
}

.flex-container.column {
    flex-direction: column;
}

.flex-container.space{
    justify-content: space-around;
}

.flex-container.even{
    justify-content: space-evenly;
}

.flex-container.between{
    justify-content: space-between;
}

.flex-container.wrap{
    flex-wrap: wrap;
}

.center-coloumn{
    width: var(--center-width);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    overflow: visible;
    /* word-break: break-all; */
}

.gutter-width{
    width: var(--center-width);
}

.flex-left{
    align-self: flex-start;
}

.flex-right{
    align-self: flex-end;
}

.flex-center {
    align-self: center;
}

.justify-sEnd {
    justify-self: flex-end;
}

.justify-sStart {
    justify-self: flex-start;
}

.justify-sCenter {
    justify-self: center;
}

.max-width {
    width: 100%;
}

.no-margin{
    margin: 0 0;
}

.spacer {
    width: 100%;
    height: calc(var(--height, 20vh) / 2);
}

@media screen and (min-width:768px) and (max-width:1199px) {
    .spacer {
        height: var(--height, 20vh);}
}

@media screen and (min-width:1200px) {
    .spacer {
        height: var(--height, 20vh);
    }
} 

@media screen and (min-width:768px) {
    .show-for-mobile {
        display: none !important;
    }
}

@media screen and (max-width:768px) {
    .show-for-desktop {
        display: none !important; 
    }
}

.grid-x{
    display: grid;
    grid-auto-flow: column;
}

.grid-y{
    display: grid;
    grid-auto-flow: row;
}

.grid-3c {
    grid-template-columns: repeat(3, 1fr);
}

.trunc-content{
    position: relative;
    display: inline-block;
    max-height: 199px;
    overflow-y: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.3s ease-out;
}

.trunc-content::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}

.set-max{
    max-height: 600px;
}

.set-max::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: none;
}

.read-more{
    text-decoration: underline;
    display: block;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}
