@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.45;
    color: #2F3234; /*RAL7016*/
    background-color: #fff;
    margin: 0;
    padding: 64px 0;
}

a:link, a:visited {
    color: #A84339;
    text-decoration: none;
}

a:hover, a:active {
    background-color: #A84339;
	color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.Title {
    font-weight: 400;
    font-size: 2.2em;
}

.Bold {
    font-weight: 700;
}

.Red {
    color: #A84339;
}

.Block {
    padding: 1vw 4vw;
    display: flex;
    gap: 16px;
    align-items: center;
}

.Block.BackHome {
    gap: 4px;
}

.Block.Stack {
    flex-direction: column;
    align-items: flex-start;
}

.Block.Stack.Contact {
    gap: 0;
}

.SubTitle {
    font-weight: 400;
    font-size: 2.0vw;
    color: #A84339;
}

.SquareTitle {
    position: absolute;
    font-weight: 700;
    font-size: 1.4em;
    padding: 4px 12px;
    background-color: #fff
}

.SquareSub{
    position: absolute;
    margin-top: 40px;
    font-weight: 400;
    font-size: 1.2em;
    padding: 4px 12px;
    background-color: #fff
 }

.Square {
    float:left;
    position: relative;
    width: 33.33%;
    padding-bottom : 33.33%; /* = width for a 1:1 aspect ratio */
    margin: 0px;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
}

.Square:hover {
    cursor: pointer;
}

.Square:hover .SquareTitle, .Square:hover .SquareSub {
    color: #fff;
    background-color: #A84339;
}

.SquareDetail {
    float:left;
    position: relative;
    width: 33.33%;
    padding-bottom : 33.33%; /* = width for a 1:1 aspect ratio */
    margin: 0px;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
    /*border-bottom: 0.4vw solid white;*/
    /*border-right: 0.4vw solid white;*/
    box-sizing: border-box;
}

.Spacer {
    height: 32px; /* top, left-right, bottom */
}

.Portrait {
    width: 100%;
    max-width: 400px;
    max-height: 300px;
}

.Footer {
    display: flex;
    justify-content: space-between;
}

.Footer .Logo {
    display: flex;
    font-size: 1.2em;
    gap: 8px;
    align-items: center;
}

.IconRow {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.IconRow a:link, .IconRow a:visited {
    height: 32px;
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    z-index: 1000;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
}



@media only screen and (max-width: 900px) {

    .Square {
        float:left;
        position: relative;
        width: 49.99%;
        padding-bottom : 49.99%; /* = width for a 1:1 aspect ratio */
        margin: 0px;
        background-position:center center;
        background-repeat:no-repeat;
        background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
    }

    .SquareDetail {
        float:left;
        position: relative;
        width: 49.99%;
        padding-bottom : 49.99%; /* = width for a 1:1 aspect ratio */
        margin: 0px;
        background-position:center center;
        background-repeat:no-repeat;
        background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 640px) {

    .Square {
        float:left;
        position: relative;
        width: 100%;
        padding-bottom : 100%; /* = width for a 1:1 aspect ratio */
        margin: 0px;
        background-position:center center;
        background-repeat:no-repeat;
        background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
    }

    .SquareDetail {
        float:left;
        position: relative;
        width: 100%;
        padding-bottom : 100%; /* = width for a 1:1 aspect ratio */
        margin: 0px;
        background-position:center center;
        background-repeat:no-repeat;
        background-size:cover; /* you change this to "contain" if you don't want the images to be cropped */
        box-sizing: border-box;
    }
}


