* { box-sizing: border-box; }

body {
    background-color: #EAEAEA;
    color: #666666;
    font-family: Arial, Helvetica, sans-serif;
}

#wrapper{
    background-image: linear-gradient(to bottom, #FFFFFF, #90C7E3);
    background-color:#90C7E3;
}

header {
    background-color:#002171 ;
    text-align: center;
    color: #FFFFFF;
}

header a{
    text-decoration: none;
    color:#FFFFFF
    }
    header a:link{
        color:#FFFFFF;
    }
    header a:visited{
        color:#FFFFFF;
    }
    header a:hover{
        color:#90C7E3;
    }

nav {
    font-weight: bold;
    font-size: 120%;
    padding: 0;
    text-align: center;
}

nav a {
    text-decoration: none;
}

nav ul{
    list-style-type: none;
    margin: 0;
    padding-left: 0;
    font-size: 1.2em;
}
nav li{
    border-bottom: 1px solid darkblue;
}

nav a:link{
    color: #5C7FA3;
}

nav a:visited{
    color:#344873;
}

nav a:hover{
    color:#A52A2A;
}

main{
    padding-top: 1px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    display: block;
    background-color: #FFFFFF;
    padding-left: 30px;
    overflow: auto;
}



h1 {
    margin-bottom: 0;
    margin-top: 0;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.25em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

h2 {
    color:#1976D2;
    font-family: Georgia, "Times New Roman", serif;
    text-shadow: 1px 1px 1px  #CCCCCC;
}

h3 {
    color:#000033;
    font-family: Georgia, "Times New Roman", serif;
}
main ul{
    list-style:url(images/marker.gif);

}

dt {
    color: #002171;
}

footer {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 75%;
    font-style: italic;
    text-align: center;
    padding: 2em;
    
    background-color: #FFFFFF;
}

.resort {
    font-weight: bold;
    color: #1976D2;
}
 
#contact {
    font-size:90%;
}

#homehero {
    height: 300px;
    background-image: url(images/coast2.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
   
}

#yurthero {
    height: 300px;
    background-image: url(images/yurt.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
}

#trailhero {
    height: 300px;
    background-image: url(images/trail.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
}

table {
    border: 2px solid #3399CC;
    border-collapse: collapse;
    border-spacing: 0;
}

td, th {
    padding: 0.5em;
    border: 2px solid #3399CC;
}

td{
    text-align: center;
}

.text{
    text-align: left;
}

tr:nth-of-type(odd) {
    background-color:#F5FAFC;

}

@media (min-width: 600px){
    nav ul{
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }
    
    nav li{
        border-bottom: none;
    }

    section{
        padding-left: 2em;
        padding-right: 2em;
        flex: 1;
    }
    
    .flow{
        display: flex;
        flex-direction: row;

    }
}

@media (min-width: 1024px){
    #wrapper{
        margin:auto;
        width : 80%;
        border: 1px solid darkblue;
        box-shadow: 3px 3px darkblue;

    }
    nav {
        text-align: left;
        padding-left: 1em;

    }
    @supports (display: grid){
        nav ul{
            flex-direction: column;
            padding-top: 1em;
            text-align: left;
        }
        header {grid-area: header;}
        nav {grid-area: nav;}
        main {grid-area: main;}
        footer {grid-area: footer;}
        .hero {grid-area: hero;}

        #wrapper {
            display: grid;
            grid-template:
                "header header"
                "nav hero"
                "nav main"
                "nav footer" / 180px;
        }
    }
}
