
/* crimson-pro-regular - latin */
@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('fonts/CrimsonPro-Regular.ttf') format('truetype'); /* Legacy iOS */
}

body{
    padding: 0;
    margin: 0 auto;
    font-size: 18px;

    /*max-width: 1280px;*/

    --bright-orange: #FCF7EE;
    --petrol: #37ADB9; /* 50% capacity for brighter color */
    --petrol-op50: #37ADB980;
    --bright-petrol: #98D2D3;
    --light-gray: #AAAAAA;
    --tecxt-color: #283040;
    --selected-text-color: #077F8C;
    --hovered-text-color: #688C8F;
    --hovered-text-color-op25: #688C8F25;

    background-color: var(--bright-orange);
    color: var(--tecxt-color);

    font-family: 'Crimson Pro', serif;
}

ul{
    list-style-type: square ;
}

a:link {
    color: var(--tecxt-color)
}

a:visited {
    color: var(--tecxt-color);
}

h3{
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

h4{
    font-size: 1.5em;
    font-weight: bold;
}

.headline-decoration{
    width: 10px;
    background-color: var(--tecxt-color);
}

.container-fluid{
    padding:0;
}
/*
##########################
HEADER
##########################
 */

header{
    display: grid;

    grid-template-columns: 10% 5% 70% 5% 10%;
    grid-template-rows: 160px auto;

    padding: 0 !important;
}

header h2{
    visibility: collapse;
    display: none;
}

header h1{
    z-index: 3;

    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 3;
    grid-column-end: 4;
    padding-top: 10%;
}

header .my-header-subtitle{
    font-weight: bold;
    margin: 0 5%;

    z-index: 3;

    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 3;
    grid-column-end: 4;
}

header p {
    z-index: 3;

    grid-row-start: 4;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 5;

    margin: 10% 5%;
}

header .my-header-picture{
    width: 100%;
    height: 100%;

    background-image: url("LowResPictures/header-bg-picture-beachchair.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    z-index: 1;

    grid-row-start: 1;
    grid-row-end: 5;
    grid-column-start: 1;
    grid-column-end: 6;
}

header .my-header-rectangle{
    width: 100%;
    height: 100%;
    background-color: var(--petrol);

    z-index: 2;

    opacity: 90%;

    grid-row-start: 2;
    grid-row-end: 6;
    grid-column-start: 2;
    grid-column-end: 5;
}

@media only screen and (min-width: 992px){
    header{

        width: 100%;
        max-width: 1280px;

        height: 550px;

        margin-left: auto;
        margin-right: auto;

        grid-template-columns: 6.25% 46.875% 6.25% 40.625%;
        grid-template-rows: auto auto auto auto;
    }

    header h2{
        font-size: 3.2em;
        font-weight: normal;
        margin: auto 0;

        z-index: 3;

        visibility: visible;
        display: block;

        grid-row-start: 1;
        grid-row-end: 2;
        grid-column-start: 2;
        grid-column-end: 3;
    }

    header h1{
        font-size: 3.6em;
        font-weight: bold;
        margin: auto 10% auto 0;

        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 3;
        grid-column-end: 5;
    }

    header .my-header-subtitle{
        font-weight: bold;
        margin: 0 5%;

        grid-row-start: 3;
        grid-row-end: 4;
        grid-column-start: 4;
        grid-column-end: 5;
    }

    header p {
        margin: 5% 5%;

        grid-row-start: 4;
        grid-row-end: 5;
        grid-column-start: 4;
        grid-column-end: 5;
    }

    header .my-header-picture{
        width: 100%;
        height: 0;
        padding-bottom: 100%;

        background-image: url("LowResPictures/header-bg-picture-beachchair.jpg");
        background-repeat: no-repeat;
        background-position: left;
        background-size: cover;

        z-index: 2;

        grid-row-start: 2;
        grid-row-end: 5;
        grid-column-start: 2;
        grid-column-end: 4;
    }

    header .my-header-rectangle{
        width: 100%;
        height: 0;
        padding-bottom: 100%;
        background-color: var(--petrol);

        z-index: 1;

        opacity: 100%;

        grid-row-start: 1;
        grid-row-end: 4;
        grid-column-start: 3;
        grid-column-end: 5;
    }
}

@media only screen and (min-width: 1200px){
    body{
        font-size: 21px;
    }
    header{
        height: 650px;
    }
}

@media only screen and (min-width: 1400px){
    body{
        font-size: 22px;
    }
    header{
        height: 750px;
    }
}

/*
##########################
NAV
##########################
 */

.my-navigation-square{
    width: 320px;

    z-index: 5;

    position: relative;

    display: grid;

    grid-template-rows: auto;
    grid-template-columns: auto;

    opacity: 100%;

    transition: opacity 250ms;
}

.my-navigation-square .my-nav-bckg-square{
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    background-color: var(--petrol);

    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}

.my-navigation-square .my-nav-items-wrapper{
    margin-left:25%;
    margin-top: auto;
    margin-bottom: auto;

    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
}

.my-navigation-square a{
    display: inline-block;
    width: 100%;
    text-decoration: none;

    margin: 5px 0;

    transition: color 250ms;
}

.my-navigation-square a:Hover{
    color: var(--hovered-text-color);
}

.my-navigation-square a.my-nav-selected{
    /*color: var(--selected-text-color);*/
    text-decoration: underline;
}


.my-nav-fixedtop-wrapper{
    position: fixed;
    top: 0;

    width: 100vw;

    z-index: 5;

    background-color: var(--petrol);

    visibility: collapse;

    opacity: 0;

    transition: opacity 250ms;
}

.my-nav-fixedtop-wrapper a{
    display: inline-block;

    padding:5px;

    flex-shrink: 0;

    transition: color 250ms;
}

.my-nav-fixedtop-wrapper a:Hover{
    color: var(--hovered-text-color);
}

.my-nav-fixedtop-wrapper a.my-nav-selected{
    color: var(--selected-text-color);
    text-decoration: underline;
}

/*
##########################
Footer
##########################
*/

footer{
    width: 100%;
    margin: auto;

    font-size: 0.8em;

    background-color: var(--tecxt-color);
    color: var(--bright-orange);

    grid-column-start: 1;
    grid-column-end: 4;

    scroll-snap-align: start;

    display: grid;
    grid-template-columns: 1fr minmax(auto, 1280px) 1fr;
}

footer p{
    color: var(--bright-orange);
    margin: 0;
}

footer a{
    color: var(--bright-orange);
    text-decoration: None;
}

footer a:link {
    color: var(--bright-orange)
}

footer a:visited {
    color: var(--bright-orange);
}

footer .my-footer-upper{
    grid-column-start: 2;
    grid-column-end: 3;

    padding: 24px;

    border-bottom-width: 2px;
    border-bottom-color: var(--hovered-text-color);
    border-bottom-style: solid;
}

footer .my-footer-lower{
    grid-column-start: 2;
    grid-column-end: 3;

    padding: 24px;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

footer .my-footer-lower div{
    margin-right: 24px;
}



