/* Shared styles for matter pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(0, 0, 1);
    font-family: "Space Grotesk", sans-serif;
    color: aliceblue;
}

.header {
    position: fixed;
    width: 100%;
    background-color: rgb(0, 0, 1);
    background-image: url('../Images/SpaceBanner.png');
    background-size: 75% 100%;
    background-repeat: no-repeat;
    background-position: right center;
    z-index: 50;
    border-bottom: 1px rgb(115, 115, 115) solid;
    padding: 30px;
}

.header > .logo-text {
    float: left;
    padding: 0px 10px;
    font-size: 1.5em;
    font-family: "Rosie Brown Serif Demo", serif;
    position: relative;
    z-index: 51;
}

.header > .link {
    float: right;
    padding: 0px 10px;
    font-size: 1.5em;
    font-family: "Rosie Brown Serif Demo", serif;
    position: relative;
    z-index: 51;
    color: aliceblue;
    text-decoration: none;
}

.header-slogan {
    float: left;
    padding: 0px 30px;
    font-size: 1.2em;
    position: relative;
    z-index: 51;
    color: aliceblue;
    text-align: center;
    margin-left: 20px;
}

a > img {
    height: 50px;
    position: relative;
    z-index: 51;
}

a {
    color: aliceblue;
    text-decoration: none;
}

.container {
    padding: 120px 0px 60px 0px;
}

.content-wrapper {
    position: relative;
    width: 100%;
    min-height: 800px;
    overflow: hidden;
    display: flow-root;
}

/* Layout: Image on RIGHT side */
.content-wrapper.image-right {
    padding-left: 0;
    padding-right: 0;
}

.content-wrapper.image-right .image-container {
    float: right;
    width: 900px;
    height: 900px;
    margin: 0px -200px 0 60px;
    padding: 0;
    /* shape-outside: circle(450px at 450px 450px); */
}

.content-wrapper.image-right .text-container {
    padding: 80px 200px;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 900px;
    height: 900px;
    object-fit: cover;
    /* border: 3px solid rgb(115, 115, 115); */
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.text-container {
    position: relative;
    z-index: 1;
}

.text-container h1 {
    font-family: "Rosie Brown Serif Demo", serif;
    font-size: 3.5em;
    margin-bottom: 60px;
    color: aliceblue;
    line-height: 1.1;
}

.text-container p {
    font-size: 1.1em;
    line-height: 2.0;
    margin-bottom: 50px;
    color: aliceblue;
    text-align: justify;
}

@media (max-width: 768px) {
    .content-wrapper {
        position: relative;
        min-height: auto;
    }

    .content-wrapper.image-left,
    .content-wrapper.image-right {
        padding-left: 40px;
        padding-right: 40px;
    }

    .content-wrapper.image-left .image-container,
    .content-wrapper.image-right .image-container {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 300px;
        height: 300px;
        margin: 0 auto 30px auto;
    }

    .content-wrapper.image-left .text-container,
    .content-wrapper.image-right .text-container {
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }

    .text-container h1 {
        font-size: 2.5em;
    }

    .text-container p {
        font-size: 1em;
    }

    .image-container img {
        width: 300px;
        height: 300px;
    }
}

.footer {
    background-color: rgb(0, 0, 54);
    border-top: 1px rgb(115, 115, 115) solid;
    padding: 30px;
    text-align: center;
    color: aliceblue;
    font-size: 0.9em;
    margin-top: 60px;
}

.footer p {
    margin: 0;
}
