@font-face {
    font-family: 'Roboto-Regular';
    src: local('Roboto'), local('Roboto-Regular'),
        url('../misc/Roboto-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RobotoSlab-Regular';
    src: local('Roboto Slab Regular'), local('RobotoSlab-Regular'),
        url('../misc/RobotoSlab-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background-image: url('../misc/bg-gloede.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'RobotoSlab-Regular', 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
    position: relative;
    height: 100vh;
}

h1 {
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
    font-size: 27px;
}

p {
    margin-top: 50px;
}

.sidebar-content {
    width: 35vw;
    background-color: rgb(119 251 163 / 71%);
    z-index: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto; /* Allows content to scroll if necessary */
}

img#background-image {
    display: none;
}

main {
    z-index: 10;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 50px;
    margin-bottom: 30px;
}

.white-box {
    background-color: #F7F7EC;
    width: fit-content;
    max-width: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    padding: 30px;
    text-align: left;
    gap: 20px;
    font-family: 'Roboto-Regular', 'Franklin Gothic Medium', Arial, sans-serif;
}

.button {
    background-color: #B99372;
    padding: 12px 25px 13px 25px;
    width: fit-content;
    min-width: 115px;
    display: inline-block;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.button-container .button {
    background-color: #B99372;
    padding: 8px 25px 15px 25px;
    width: fit-content;
    min-width: 115px;
}

.button img {
    padding-right: 10px;
    height: 24px;
    position: relative;
    top: 5px;
}

a {
    color: black;
    font-family: 'Roboto-Regular', 'Franklin Gothic Medium', Arial, sans-serif;
    text-decoration: none;
}


@media screen and (min-width: 1807px) {
    body {
        background-size: cover;
    }
}

@media screen and (max-width: 1400px) {
    .sidebar-content {
        width: 50vw;
    }
}

@media screen and (max-width: 900px) {
    .sidebar-content {
        width: 70vw;
    }
}

@media screen and (max-width: 700px) {
    img#background-image {
        display: block;
        width: 100%;
        height: auto;
    }

    .sidebar-content {
        width: 100vw;
    }

    .white-box {
        width: 70%;
        max-width: unset;        
    }

    footer {
        padding: 20px;
    }
}

@media screen and (max-width: 500px) {
    .white-box {
        display: flex;
        width: 60%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
