:root {
    --blue: #3399CC;
    --skyblue: #33D6FF;
    --midnightblue: #191970;
    --stucco: #C59276;
    --sunset1: #DE8237;
    --sunset2: #D08F4B;
    --sunset3: #BC9A70;
    --sunset4: #928383;
    --sunset5: #3E3F58;
    --sunrise2: #DACA94;
    --sunrise3: #85ADAE;
    --sunrise4: #1F93C1;
    --darkmahogany: #7A0404;
}

* {
    margin: 0;
    padding: 0;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
}

html {
    background: var(--midnightblue);
}

body {
    background: var(--sunrise4);
    width: 100%;
    min-height: 100vh;
    overflow: auto;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    line-height: normal;
    font-weight: bold;
    font-size: 2.5vmin;
    color: var(--darkmahogany);
    /* background-image: url("WaterBKG11.jpg");
    background-position: top left;
    background-repeat: repeat-y;
    background-size: contain; */
}

img {
    max-width: 100%;
    height: auto;
}

.grid-container {
    display: grid;
    grid-template: auto auto auto auto;
    column-gap: 2vw;
    justify-content: space-between;
    align-items: stretch;
    margin: 0vmin 2vw;
}

.header {
    grid-area: 1/2/1/span 2;
    padding: 5px 0vw 0 0vw;
}


h1 {
    font-family: 'Monotype Corsiva', cursive;
    background-color: transparent;
    text-align: center;
    font-size: 6vmin;
    margin: 2vmin 2vw;
}

div.d {
    grid-area: auto/1/auto/span 4;
    font-style: italic;
    text-align: center;
    font-weight: 200;
    color: var(--midnightblue);
    text-shadow: -1px 0 var(--midnightblue), 0 1px var(--midnightblue), 1px 0 var(--midnightblue), 0 -1px var(--midnightblue);
    margin-bottom: 1vh;

}

div.d a {
    /* align-self: center; */
    color: var(--midnightblue);
    text-decoration-color: var(--midnightblue);
    text-align: center;
    text-decoration: underline;
}

div.d a:hover {
    background-color: var(--midnightblue);
    color: wheat;
}

.logolf {
    grid-area: 1/1/1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 2vw;
}

.logort {
    grid-area: 1/4/1/4;
    display: flex;
    justify-self: flex-end;
    align-items: center;
    margin-right: 2vw;
}

.stickytop {
    display: grid;
    grid-template-areas:
        'logolf header header logort'
        'topnav topnav topnav topnav ';
    column-gap: 2vw;
    justify-content: space-between;
    align-items: stretch;
    position: -webkit-sticky;
    position: sticky;
    /* background-image: url("WaterBKG11.jpg");
    background-position: top left;
    background-repeat: repeat-y;
    background-size: 100vw; */
    padding-bottom: 0.25vh;
    margin-bottom: 0.25vh;
    top: 0px;
}

.topnav {
    grid-area: 2/1/2/span 4;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    justify-items: center;
    gap: 5vw;
    background-color: transparent;
    border-style: ridge;
    border-color: var(--midnightblue);
    position: relative;
    margin: 0.5vmin 2vw;
}

.topnav a {
    align-self: center;
    color: var(--midnightblue);
    font-family: Monotype Corsiva, cursive;
    font-weight: bold;
    font-size: 4vmin;
    text-align: center;
    text-decoration: none;
}

.topnav a:hover {
    background-color: var(--midnightblue);
    color: wheat;
}

.rtnav {
    grid-area: 1/4/1/4;
    justify-self: center;
    position: -webkit-sticky;
    position: sticky;
    top: 30vh;
    right: 0;
    align-self: start;
}

ul {
    list-style: none;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    gap: 4vh;
    margin-top: 2vh;
}

li {
    background-color: transparent;
    outline: thick ridge wheat;
    border-style: ridge;
    border-color: var(--midnightblue);
    text-align: center;
    padding: 0.5vh 0.5vmax;
}

li a {
    font-family: Monotype Corsiva, cursive;
    color: var(--midnightblue);
    text-decoration: none;
    font-size: 3vmin;
}

li a:hover {
    background-color: var(--midnightblue);
    color: wheat;
    padding: 0.5vh 0.5vmax;
}

/* .events {
    grid-area: 3/1/auto/span 3;
} */

#event {
    grid-area: 3/1/auto/3;
    flex: 1 1 auto;
    flex-flow: row wrap;
}

.button {
    display: inline-block;
    background-color: transparent;
    outline: thick ridge wheat;
    border-style: ridge;
    border-color: var(--midnightblue);
    padding: 1vmin 0.5vmax;
    margin: 2vh 0vw;
}

/* Style the button link */
.button a {
    float: left;
    display: block;
    color: var(--midnightblue);
    text-align: center;
    text-decoration: none;
}

/* Change color on hover */
.button a:hover {
    background-color: var(--midnightblue);
    color: wheat;
}

.footer {
    grid-area: auto/1/auto/span 4;
    justify-self: center;
    position: relative;
    background-color: transparent;
    border-style: ridge;
    font-size: 2vmin;
    border-color: var(--midnightblue);
    text-align: center;
    width: 100%;
    padding-top: 0.5vmin;
    margin: 2vh 2vw 0.125vh 2vw;
}

.footer a {
    font-style: italic;
    color: var(--midnightblue);
    font-size: 2.25vmin;
    text-align: center;
    text-decoration: none;
    /* max-width: 100%; */
    margin-top: 2vmin;
}

.footer a:hover {
    background-color: var(--midnightblue);
    color: wheat;
    height: 100%;
}

/* Responsive layout - tablets */
@media screen and (max-width: 920px),
(orientation: potrait) {

    body {
        background-size: contain;
        background-position: top left;
        background-repeat: repeat-y;
    }

    h1 {
        font-size: 4.5vmin;
        white-space: pre;
    }

    .logort {
        max-width: 50%;
    }

    .topnav {
        display: -webkit-flex;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        justify-items: center;
        gap: 2vh;
        margin-top: 1vh;
    }

}

/* Responsive layout -cell phones */
@media screen and (max-width: 600px),
(orientation: potrait) {

    /* .logo1 {
        flex: 0 1 150%;
    } */
}