@import url(fontembedding.css);

:root {
    --custom-spacing: 100px;
    --font-size-large: 30px;
    --font-size-medium: 18px;
    --font-size-small: 16px;
    --textblock-width: 320px;
    --background-image-width: 840px;
    --bottom-transparency-starting-point:30%;
}

@media (max-width: 840px) {
    :root {
        --background-image-width: calc(100vw - 40px);
    }
}

@media (max-width: 740px) {
    :root {
        --custom-spacing: calc(32.6vw - 141.304px);
    }
}

@media (max-width: 510px) {
    :root {
        --custom-spacing: 25px;
        --textblock-width: calc(100vw - 150px);
        --bottom-transparency-starting-point: 10%;
    }
}

body,
html {
    margin: 0;
    padding: 0;
}

html {
    background-color: #d2c1aa;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.textbox {
    /*external layout*/
    display: block;
    width: var(--textblock-width);

    /*internal layout*/
    padding: 50px var(--custom-spacing);
    border-radius: 20px;
    background-color: #ffffff;

    text-align: center;
}

#main {
    margin-top: 100px;
    margin-bottom: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 23%, rgba(255, 255, 255, 0.9) 55%);
}

#footer {
    margin-bottom: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) var(--bottom-transparency-starting-point));
}

.background_image {
    /*external-layout*/
    display: block;
    position: absolute;
    top: 250px;
    z-index: -1;

    /*internal-layout*/
    border-radius: 20px;
    background-color: #495d68;
    background-image: url(assets/background.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: var(--background-image-width);
    height: 750px;
}

p {
    font-family: NotoSans;
    color: #000000;
}

.I {
    font-weight: 100;
    font-size: var(--font-size-large);
}

.II {
    font-weight: 500;
    font-size: var(--font-size-medium);
    /*font-style: italic;*/
}

.III {
    font-weight: 300;
    font-size: var(--font-size-small);
}

.IV {
    font-weight: 700;
    font-size: var(--font-size-medium);
}

a.prominent {
    color: #16303d;
    text-decoration: none;
    fill: #16303d;
}

a.simple {
    color: #000000;
    text-decoration: none;
}

a:hover {
    color: #b58f48;
    fill: #b58f48;
}

.logo {
    width: 100%;
}

.octicon-mark-github {
    display: inline-block;
    padding-right: 5px;
    vertical-align: middle;
}