@font-face {
    font-family: 'Assistant';
    src: url('font/assistant-variablefont.woff2') format('woff2'),
        url('font/assistant-variablefont.woff') format('woff');
    font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Assistant Regular', sans-serif;
    background-color: #007c4b;
    color: #bccdeb;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 550;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow-x:hidden;
}

h1, h2 {
    font-family: 'Assistant Bold', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.logo {
    width: 100%;
    min-width: 400px;
}

.content {
    width: 100%;
    padding: 2rem;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;   
}

#maincont, #footer {
    height:fit-content;
    transition: opacity 0.5s ease-in-out;
}

#back {
    transition: opacity 0.5s ease-in-out;
    display: none;
    opacity: 0;
    cursor: pointer;
}

#mainiframe {
    transition: opacity 0.5s ease-in-out;
    display: none;
    opacity: 0;
    overflow-x: hidden;
    height:100vh;
}

.btn {
    background-color: #bccdeb;
    color: #007c4b;
    border-radius: 20px;
}

.btn:hover {
    background-color: #bccdeb;
    color: #007c4b;
}

a {
    color: #bccdeb;
}

/* Mobile */
@media (max-width: 480px) {

    /* This CSS will be applied to devices with a maximum width of 480px. */
    .content {
        flex-direction: column;
        gap:2rem;
    }

    .logo-section {
        order: 1;
    }

    .logo-section img {
        width: 100%;
        min-width: unset;
    }

    .inhalt-section {
        order: 0;
    }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 1024px) {

    /* This CSS will be applied to devices with a minimum width of 481px and a maximum width of 768px. */
    .content {
        flex-direction: column;
        gap:2rem;
    }

    .logo-section {
        order: 1;
    }

    .inhalt-section {
        order: 0;
    }
}

/* Desktop */
@media (min-width: 1024px) {

    /* This CSS will be applied to devices with a minimum width of 769px. */
    .content {
        flex-direction: row;
    }

    .logo-section {
        order: 0;
    }

    .inhalt-section {
        order: 1;
    }
}