@charset "UTF-8";
/* CSS Document */

:root {
    --pageBackground: #fff;
    --textColor: #000;
    --linkColor: #2F2F2F;
    --textLightColor: #747474;
    --maxImageSize: 520px;
    --pagePadding: 20px;
}

@media screen and (prefers-color-scheme: dark) {
    :root {
        --pageBackground: #000;
        --textColor: #E6E6E6;
        --linkColor: #CACACA;
        --textLightColor: #ACACAC;
    }
}

html, body {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
    font-family: 'Outfit', 'Helvetica Neue', Helvetica, Arial, 'sans-serif', sans-serif;
    color: var(--textColor);
    background: var(--pageBackground);
}

a, a:visited {
    color: var(--linkColor);
    font-weight: 400;
	text-decoration: underline;
}

a:hover, a:active {
    color: var(--textColor);
    text-decoration: none;
}

#wrapper {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

#container {
    max-width: 1220px;
    width: 80%;
    margin: auto 0;
    max-height: 100%;
    box-sizing: border-box;
}

#main {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
    padding: var(--pagePadding);
    padding-bottom: calc(var(--pagePadding) + env(safe-area-inset-bottom));
    padding-top: calc(var(--pagePadding) + env(safe-area-inset-top));
    box-sizing: border-box;
}

.seperator {
    display: block;
    padding:0px;
    color: var(--textLightColor);
}

.italic {
    font-style: italic;
}

#main > div {
    box-sizing: border-box;
}

#main .left {
    width: 40%;
    padding-right: 1em;
}

#main .right {
    width: 60%;
    padding-left: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#main .titleLine {
    font-size: 1.85rem;
    padding-bottom: 1rem;
    /*font-family: 'DM Serif Display';*/
    line-height: 90%;
	text-transform: uppercase;
}

#main .titleLine .name {
    font-weight: 400;
    letter-spacing: 0.05em;
}

#main .titleLine .description {
    font-weight: 300;
    font-size: 0.75em;
    color: var(--textLightColor);
}

#main .mainImage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

#main .mainImage img {
    height: var(--maxImageSize);
    max-height: calc(100vh - (var(--pagePadding) + env(safe-area-inset-bottom)) - (var(--pagePadding) + env(safe-area-inset-top)) - var(--pagePadding));
    width: auto;
}

#main .textBlock {
    font-weight: 200;
    line-height: 150%;
    padding-top: 0.4rem;
    padding-bottom: 1.2rem;
}

#main .textBlock:last-child {
    padding-bottom: 0px;
}

.contactBlockContainer {
	display: flex;
	column-gap: 3em;
	align-items: flex-start;
	justify-content: flex-start;
}

.contactBlock {
    font-size: 0.9em;
    line-height: 170%;
}

.contactBlock a {
    maring-right: 1em;
    font-weight: 300;
}

.contactBlock b {
    font-weight: 400;
}

ul {
    list-style-type: none;
    padding-left: 0px;
}

@media all and (max-width:1150px) {
    #main .left {
        width: 50%;
    }

    #main .right {
        width: 50%;
    }
}

@media all and (max-width:800px) {
    #main {
        flex-direction: column;
    }
    
    #main .right, #main .left {
        padding-left: 0px;
        padding-right: 0px;
        width: 100%;
    }
    
    #main .left {
        padding-bottom: 1em;
    }
    
    #main .right {
        padding-top: 1em;
    }
    
    #main .mainImage img {
        width: 100%;
        height: auto;
        max-height: unset;
    }
	
	.contactBlockContainer {
		display: inline-block;
	}
}

@media all and (max-height: 520px) and (min-width: 800px) {
    #main .mainImage {
        align-items: flex-start;
    }
}
