:root{
    --primary-bg: ;
    --primary-bg-footer: rgb(48, 47, 47);
    --one: #662D91;
    --two: #7B19C1;
    --three: #9444E2;
    --four: #A665E6;
    --five: #B37CEA;
    --six: #C295EE;
    --seven: #D1AEF2;
    --textbright: white;
    --textdark: #151517;
    --a: /*#9932cc*/#9444E2;
    --a-footer: /*#dd9cfd*/#D1AEF2;
    --button: /*#9932cc*/#B37CEA;
    --button-hover: /*#7f2ba8 */#A665E6;
    --form-bg: #f2f2f2;
    --topnav-bg: linear-gradient(to right, #662D91 0%, #9444E2 100%);
    --topnav-bg-hover: #4d0b4485;
}

@font-face {
  font-family: playfair;
  src: url(./PlayfairDisplay-VariableFont_wght.ttf);
  
}

@font-face {
    font-family: inter;
    src: url(./Inter-VariableFont_opsz\,wght.ttf);
}

body {
    margin: 0;
    font-family: inter;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: var(--textdark);
}

main{
    margin: 50px;
    flex:1;
}

h1{
    font-family: playfair;
    font-weight: bold;
}

h2{
    font-family: playfair;
}

footer{
    margin-top: 100px;
    position:relative;
    min-height: 400px;
    height: auto;
    width: 100%;
    background-color: var(--primary-bg-footer);
    color: var(--textbright);
}

.footer{
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
}

.footer a {
    color: var(--a-footer);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

.footer-bottom .tagline {
    color: grey;
    font-style: italic;
    font-size: 12px;
}

#langSelector{
    position: absolute;
    right: 50px;
}

a{
    color:var(--a);
}

img {
    pointer-events: none;
}

label{
    display: block;
    margin-top: 10px;
}

input{
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 0;
}

textarea{
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 0;
}

select{
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    z-index: 0;
}

button[type=submit] {
  width: 100%;
  background-color: var(--button);
  color: var(--textbright);
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type=info]:hover {
  background-color: var(--button-hover);
}

button[type=info] {
  width: 100%;
  background-color: var(--button);
  color: var(--textbright);
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button[type=submit]:hover {
  background-color: var(--button-hover);
}

.form{
    background-color: var(--form-bg);
    border-radius: 25px;
    width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.formcontent{
    margin: 50px;
    display: flex;
}

.topnav {
    position: sticky;
    top: 0;
    /*background: linear-gradient(to right, #6d0c9e 0%, #9e0c85 100%);*/
    background: var(--topnav-bg);
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    z-index: 1;
}

.topnav a {
    float: left;
    color: var(--textbright);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav p {
    float: left;
    color: var(--textbright);
    text-align: center;
    vertical-align: middle;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    margin: 0;
}

.topnav a:hover {
    background-color: var(--topnav-bg-hover);
    color: var(--textbright);
}

.topnav a.active {
    background-color: #272727a4;
    color: var(--textbright);
}

.hidex{
    color: var(--textbright);
    cursor: pointer; 
}

.cookiebar {
    position: fixed;
    bottom: 0;
    width: 80%;
    background-color: #333;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.cookiebar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.cookiebar ul li {
    flex-grow: 1;
}

.cookiebar ul li a {
    display: block;
    padding: 15px 0;
    text-align: center;
    color: var(--textbright);
    text-decoration: none;
    font-size: 16px;
}

.cookiebar ul li a:hover {
    background-color: #575757;
}

.row {
  display: flex;
}

.column {
  float: left;
}

.left {
  width: 15%;
}
.middle{
    width: 60%;
}

.right {
  width: 25%;
}

.publicdate{
    float:right;
}

/* Screen size dependents */
.menu-pc{
        display: inline;
    }

.menu-mob{
    display: none;
}

.menu-sub{
    display: none;
        background-color: #333;
}

.postlong{
    opacity: 80%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
}

.postshort{
    opacity: 80%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-clamp: 4;
}

@media screen and (max-width: 600px) {
    .empty{
        display: none;
    }

    main{
        margin: 25px;
        overflow: hidden;
    }

    div{
        float: none !important;
    }

    footer{
        margin-top: 50px;
        position:relative;
        bottom: 0;
        height: 800px;
        width: 100%;
    }

    .footer{
        margin-top: 25px;
        margin-left: 25px;
        margin-right: 25px;
        text-align: center;
    }

    .footer div[style*="float"] {
        float: none !important;
        width: 100%;
        text-align: left;
    }

    .formcontent{
        margin: 25px;
        display: flex;
    }

    .menu-pc{
        display: none;
    }

    .menu-mob{
        display: inline;
    }

    .cookiebar ul li a {
        font-size: 14px;
        padding: 10px 0;
    }
    .row {
        display: block;
    }

    .column {
        width: 100%;
        max-width: fit-content;
    }
}

@media screen and (max-width: 1200px) {
    .empty{
        display: none;
    }
}