:root {
    --padding-main: 5vw;
    --padding-more: 20vw;
    --padding-menu-horizontal: 5vw;
    --padding-default-vertical: 30px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Manrope';
}

a {
    text-decoration: none;
    color: unset;
}

.article {
    line-height: 150%;
    text-align: justify;
}

hr {
    border: none;
    border-top: 1px solid lightgray;
    width: 100%;
}

.flexbar-row {
    display: flex;
    flex-direction: row;
}

.flexbar-column {
    display: flex;
    flex-direction: column;
}

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

.flex-align-start {
    align-items: flex-start;
}

.flex-align-end {
    align-items: flex-end;
}

.flex-justify-center {
    justify-content: center;
}

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

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

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

.flex-justify-start {
    justify-content: flex-start;
}

.flex-justify-end {
    justify-content: flex-end;
}

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

.gap-20 {
    gap: 20px !important;
}

.gap-10 {
    gap: 10px !important;
}

.gap-5 {
    gap: 5px !important;
}

.gap-0 {
    gap: 0px !important;
}

.width-50 {
    width: 50px;
}

.width-200 {
    width: 200px;
}

.width-full {
    width: 100%;
}

.width-fit {
    width: fit-content;
}

.height-full {
    height: 100%;
}

.btn-gray {
    border-radius: 10px;
    padding: 10px 15px;
    background-color: #f2f2f2;
    color: black;
    transition: .2s;
    cursor: pointer;
    border: none;
    font-weight: 600;
    font-size: var(--font-default);
}

.btn-gray:hover {
    background-color: var(--gray);
    color: var(--black);
}

.btn-main {
    border-radius: 10px;
    padding: 10px 15px;
    background-color: var(--main);
    color: var(--white);
    transition: .2s;
    cursor: pointer;
    border: none;
    font-weight: 600;
    font-size: var(--font-default);
}

.btn-main:hover {
    background-color: var(--gray);
    color: var(--black);
}

.btn-second {
    border-radius: 10px;
    padding: 10px 15px;
    background-color: var(--white);
    color: var(--main);
    transition: .2s;
    cursor: pointer;
    border: 1px solid var(--main);
    font-weight: 600;
    font-size: var(--font-default);
    text-align: center;
}

.btn-second:active {
    transform: scale(0.9);
}

.btn-small {
    padding: 5px !important;
    border-radius: 5px !important;
}

.btn-second:hover {
    background-color: var(--main);
    color: var(--white);
}

.mr-5 {
    margin-right: 5px;
}

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

.mb-5 {
    margin-bottom: 5px;
}

.padding-horizontal-main {
    padding: 0 var(--padding-main);
}

.padding-horizontal-more {
    padding: 0 var(--padding-more);
}

.padding-default-vertical {
    padding-top: var(--padding-default-vertical);
}

.padding-container {
    padding: 20px;
}

.rounded-xs {
    border-radius: 5px;
}

.rounded-s {
    border-radius: 10px;
}

.rounded-m {
    border-radius: 15px;
}

.rounded-l {
    border-radius: 20px;
}

.border {
    border: 1px solid lightgray;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.title-bar {
    margin: 20px 0;
    padding: 0 var(--padding-main);
    position: sticky;
    position: -webkit-sticky;
    top: 80px;
    transition: .5s;
}

.title-bar-active {
    background-color: var(--third);
    height: 50px;
    z-index: 9;
}

.title-bar-active h1 {
    color: white !important;
    font-size: 20px;
    font-weight: 400 !important;
}

.title-bar-active span {
    color: white !important;
}

.photo-title {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: var(--padding-main);
}

.photo-title img {
    width: min(100%, 700px);
    border-radius: 20px;
}

.photo-half {
    width: 49%;
    height: 70vh;
    display: flex;
    justify-content: center;
}

.photo-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.width-half {
    width: 49%;
}

.width-partial {
    width: min(95vw, 1000px)
}

.form-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid lightgray;
    justify-content: flex-start;
    max-width: 400px;
}

.checkbox-container input {
    width: unset !important;
}

.checkbox-container label {
    font-size: 13px;
    text-align: center;
    color: var(--gray);
}

.checkbox-container {
    display: flex;
    flex-direction: row !important;
    gap: 5px;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: var(--third);
}

.input-box input {
    padding: 10px 15px;
    font-size: var(--font-default);
    border-radius: 10px;
    border: 1px solid lightgray;
    width: 100%;
    outline-color: var(--main);
    transition: .5s;
}

.input-box input[type=submit] {
    text-align: center;
    width: 100%;
    background-color: var(--main);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.btn-alternative::after {
    content: ">";
    color: var(--gray);
}

.btn-alternative {
    color: black;
    font-weight: 500;
    font-size: 20px;
    background-color: unset;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.btn-alternative:hover {
    background-color: white !important;
    color: black !important;
    text-decoration: underline;
}

.tabs-right {
    width: max(30%, 300px);
    padding: 20px;
    border-right: 1px solid lightgray;
    overflow-x: hidden;
    overflow-y: scroll;
}

.tabs-right button {
    position: relative;
}

.tab {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    display: none;
    padding: 20px;
    width: 70%;
    flex-direction: column;
    gap: 10px;
}

.tab-active {
    display: flex !important;
}

.back-button {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    font-size: 40px;
    color: var(--main);
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

#mycourses-container {
    /*background-image: url(../img/dashboardbg.svg);*/
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.course-preview-container {
    width: 250px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid lightgray;
    background-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(6.7px);
    -webkit-backdrop-filter: blur(6.7px);
}

.course-preview-container ion-icon {
    width: 25px;
    height: 25px;
    cursor: pointer;
}

.course-image-container {
    width: 100%;
    height: 60%;
    border-radius: 5px;
    overflow: hidden;
}

.course-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sideMenu-left {
    height: calc(100% - 80px);
    width: 250px;
    position: fixed;
    left: 0;
    top: 80px;
    padding: 10px 5px;
    border-right: 1px solid lightgray;
}

.sideMenu-right {
    overflow-x: hidden;
    overflow-y: scroll;
    height: calc(100% - 80px);
    width: 250px;
    position: fixed;
    right: 0;
    top: 80px;
    padding: 10px 5px;
    border-left: 1px solid lightgray;
}

.linebreak-auto {
    width: 100%;
    line-break: anywhere;
}

button {
    background-color: unset;
}

.btn-delete {
    border: none;
    background-color: none;
    font-size: 16px;
    color: rgb(186, 17, 17);
    cursor: pointer;
}

.toastArea {
    position: fixed;
    bottom: 0;
    right: 0;
    margin: 10px;
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
}

.toast {
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px gray;
}

.toast:last-child {
    cursor: pointer;
}

#overlayInput {
    display: none;
}

.fileUploadBtn {
    border-radius: 5px;
    padding: 5px;
    background-color: var(--main);
    color: var(--white);
    transition: .2s;
    cursor: pointer;
    border: none;
    font-weight: 600;
    font-size: var(--font-default);
    text-align: center;
    transition: .3s;
}

.fileUploadBtn:hover {
    background-color: var(--second);
}

.fileUploadBtn:active {
    transform: scale(0.9);
}

.subscriptionItem {
    border: 1px solid lightgray;
    border-radius: 10px;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.subscriptionItem button {
    font-size: 16px;
}

.hover-light:hover {
    background-color: var(--ultralightgray);
}

.btn-text {
    font-weight: bold;
    cursor: pointer;
    border: none;
    background-color: unset;
    transition: .3s;
}

.btn-text:hover {
    transform: scale(1.05);
}

.cursor-pointer {
    cursor: pointer;
}

.details_table th, .details_table td {
    width: 50%;
    padding: 5px;
    border: 1px solid lightgray;
}

.details_table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 5px;
}

.presentation-paid::before {
    content: "Aktives Abonnement";
    color: var(--green);
    background-color: var(--lightgreen);
    border: 1px solid var(--green);
    font-weight: bold;
    font-size: 14px;
    padding: 5px;
    border-radius: 10px;
    top: 0;
    width: fit-content;
    text-align: center;
    position: relative;
}

.selectedAssignItem {
    background-color: var(--third);
}

.btn-special {
    width: 100%;
    padding: 5px;
    background-image: linear-gradient(30deg, #c842ed, #7055eb);
    font-size: 16px;
    border-radius: 5px;
    border: none;
    color: white;
    cursor: pointer;
    transition: .3s;
}

.btn-special:hover {
    transform: scale(1.05);
}

.bg-special {
    background-color: unset !important;
    background-image: linear-gradient(30deg, #c842ed, #7055eb);
    color: white !important;
}

.text-align-center {
    text-align: center;
}

.footer-container {
    margin-top: 20px;
    width: 100vw;
    padding: 50px 5vw;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap-reverse;
    gap: 10px;
    justify-content: space-evenly;
    align-items: flex-end;
    background-color: #2d2d2d;
}

.footer-content-container {
    display: flex;
    gap: 50px;
}

.footer-content-label img {
    max-width: 200px;
    margin-top: 10px;
}

.footer-content-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-content-links h1 {
    font-size: 16px;
    color: lightgray;
}

.footer-content-links a {
    font-size: 14px;
    color: lightgray;
}

.footer-content-links a:hover {
    color: white;
}

.blockSmall {
    z-index: 1000000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    background-color: white;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    text-align: center;
    padding: 50px;
}

@media only screen and (min-width: 801px) {
    .blockSmall {
        display: none;
    }
}