@font-face {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    src: url("font/verdana.ttf");
}

* {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html {
    min-height: 100%;
}

body {
    background-color: black;
    padding: 0;
    margin: 0;
}

/* For oblique text */
.oblique {
    font-style: oblique;
}

/* For links to have margin top */
.link-margin {
    margin-top: 20px;
}

/* For big images */
.content-right--text .big-image {
    width: 75%;
    margin: 20px 0;
}

.content-right--text .johan-image {
    align-self: auto;
    max-width: 300px;
}

.content-right--text .medium-image {
    width: 50%;
    margin: 20px 0;
}

/* Text between spaces */
.pre-text p{
    line-height: 50px;
}

/* Disabled class */
.disabled {
    pointer-events: none;
    cursor: default;
    background-color: grey !important;
}
/* next prev buttons div */
.next-prev--div {
    margin: 10px 0;
}

.content-right--text .full-image{
    width: 100% !important;
    height: 70% !important;
}

.home-next {
    padding: 10px;
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    color: black !important;
    margin-top: 5px;
    width: 15%;
}
/* Centered text */
.text-centered {
    text-align: center;
}

/* For multiple images */
.flex-container--images {
    display: flex;
    align-self: center;
    justify-content: center;
}

/* The linsk in the left bar */
.left-bar a {
    color: black;
    text-decoration: none;
    font-size: 1.4rem;
}

.left-bar a:visited {
    color: black;
}

/* The left bar with all the subjects in it */
.left-bar {
    display: flex;
    flex-direction: column;
    max-width: 25vw;
    max-height: 100vh;
    overflow: auto;
    height: 85vh;
    width: 25vw;
}

.left-bar-content {
    max-height: 80vh;
    margin-right: 5px;
}

.wrapper-right-bar {
    max-height: 100vh;
    width: 100vw;
}

.under-left-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 15vh;
}

.flex-wrapper {
    height: 100vh;
}

.top-flex {
    height: 85vh;
    display: flex;
}

/* If it's active on the left */
.link-group.active {
    border: 1px solid white;
    color: white;
    background-color: black;
}

.link-group {
    max-width: 90%;
    background-color: white;
    border: black 1px solid;
    margin: 0 0 10px 5px;
    border-radius: 10px;
    padding: 0 15px;
}

.link-group p {
    margin: 5px 0;
}

/* Patreon image shouldn't get bigger, but during responsabilty it may */
.patreon-image {
    width: 25vw;
    max-height: 15vh;
}

/* The content that isn't shown yet */
.dummy-text {
    display: none;
}

.content-right {
    display: flex;
    height: 88%;
}
/* Make content colored white */
.content-right p{
    color: white;
}

/* The balk for the icons */
.content-right--icons {
    width: 10%;
    background-color: white;
    border: 1px solid black;
    height: 100%;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Icon text */
.content-right--icons_text {
    margin: 0;
}
.content-right--icons_text strong{
    color: black;
}

/* Icons self */
.icon {
    width: 50px;
    height: 50px;
    margin: 5px 0;
}

.content-right--text {
    display: flex;
    flex-direction: column;
    width: 90%;
    padding: 0 5px;
    font-size: 1.2rem;
    overflow: auto;
}

.content-right--text a{
    text-align: center;
    color: white;

}

.content-right--text img {
    align-self: center;
    width: 35%;
    height: 100%;
}

/* Image wrapper */
.flex-image-wrapper {
    display: flex;
    height: 15vh;
}

.flex-image-text {
    background-color: white;
    width: 75vw;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.under-right-bar {
    background-color: white;
    border: 1px solid black;
}

.flex-image-text p{
    margin: 0;
}

/* Right bar */
.right-bar {
    width: 100%;
    height: 85vh;
}

/* Right bar text */
.right-bar--text {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text above the right content */
.right-bar--above_text {
    /* outline: 2px solid black; */
    border: 2px solid black;
    background-color: white;
    text-align: center;
    font-size: 1.5rem;
    /* padding: 0 20px; */
    height: 11%;
    display: flex;
}

/* Right bar image */
.right-bar--image {
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    height: 80%;
}

.logo-image:hover {
    height: 100%;
}

.right-bar--above_text p {
    font-style: oblique;
    margin: 5px 0;
}

/* Next and previous links */
.next-prev--div {
    display: flex;
    justify-content: space-between;
}

.next-prev--div a {
    padding: 20px;
    background-color: white;
    border: 1px solid black;
    border-radius: 10px;
    color: black;
    margin-top: 5px;
}

/* Iframe container */
.iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 25px;
    padding-bottom: 56.25%;
}

/* Iframe self */
.iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Temp iframe div, for testing */
.iframe-temp--div {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

/* Flex div from templates */
.flex-div--template {
    display: flex;
    flex-direction: column;
}

/* Responsiveness */
@media (max-height: 750px) {
    .icon {
        width: 25px;
        height: 25px;
    }

    .right-bar--above_text {
        height: 11% !important;
    }
    
    .content-right {
        height: 86% !important;
    }
    
    .flex-image-wrapper {
        height: auto;
    }
}

@media (max-height: 500px) {
    .icon {
        width: 20px !important;
        height: 20px !important;
    }
}

@media (max-width: 1096px) {
    .right-bar--above_text {
        font-size: 1rem;
        height: 8%;
    }

    .content-right {
        height: 91%;
    }
}

@media (max-width: 890px) {
    /* nEXT prev buttons */
    .next-prev--div a {
        padding: 10px;
    }
    .right-bar--above_text {
        font-size: 0.7rem;
        height: 7%;
    }

    .iframe-temp--div {
        position: relative;
        overflow: hidden;
        padding-top: 56.25%;
    }

    .iframe-temp--div iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    .flex-image-text {
        font-size: 0.7rem;
    }

    .icon {
        width: 30px;
        height: 30px;
    }

    .left-bar a {
        font-size: 1rem;
    }

    .content-right--text {
        font-size: 1rem;
    }

    /* Dont display patreon image */
    .patreon-image {
        display: none;
    }

    .flex-image-text {
        height: 100%;
        width: initial;
    }

    /* Put the patreon banner underneath eachoter */
    .flex-image-wrapper {
        height: 15vh;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .icon {
        width: 20px;
        height: 20px;
    }

    /* Add margin to the bottom flex template */
    .flex-div--template {
        margin-bottom: 20px;
    }

    /* Images need to be bigger on mobile */
    .content-right--text img {
        width: 75%;
        max-width: 200px;
        max-height: 200px;
    }

    /* Maybe just remove this? Small font is kinda ehh */
    .right-bar--above_text {
        font-size: 7px;
        height: 7%;
    }

    /* Make the image and text next to eachoter */
    .right-bar--text {
        width: 100%;
    }

    .right-bar--image {
        display: none;
    }

    /* .flex-image-text {
        height: auto;
    } */

    /* Main content txt */
    .content-right--text {
        font-size: 0.8rem;
    }

    .left-bar a {
        font-size: 0.5rem;
    }

    /* Responsive iframes */
    .iframe-temp--div {
        position: relative;
        overflow: hidden;
        padding-top: 56.25%;
    }

    .iframe-temp--div iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    /* Dont display patreon image on mobile */

    /* Icon bar, make icons space around */
    .content-right--icons {
        justify-content: space-around;
    }
}

