/* simple reset rule to set page defaults*/
* {
    margin: 0;padding: 0;border: 0;
    box-sizing: border-box;
}

:root {
    font-size: 62.5%; /*16px *.625= 10px*/

    --color-bg1: #EEE5E9;
    --color-bg2: #EFC88B;
    --color-fn1: olive;
    --color-accent1: #cf5c36;

}

body{
    background-color: var(--color-bg2);
    color: var(--color-fn1);
    font-size: 1.4rem;
}

header{
    background-color: rgb(65, 109, 110);
    height: 10vh;
    display: flex;
    min-height: 10vh;
}

h1{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 55pt;
    text-shadow: 2px 2px 2px black;
    color: rgb(170, 170, 63);
    font-family: sans-serif;
}

#nav1{
    float: right;
    width: 50%;
    display: flex;
    font-size: 16pt;
    padding-top: 10px;
}

a{
    margin-left: auto;
    margin-right:auto;
    color: rgb(170, 170, 63);
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

figure{
    background-image: url(/images/cyclists.jpg); 
    min-height: 80vh;
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    position: relative;
    background-position-y: top;
}

#figheader{
    background-color: rgb(25, 25, 78);
    width: 100%;
    height: 10vh;
}

h2{
    margin: 10px;
    font-family: sans-serif;
    color: rgb(216, 200, 189);
    font-weight: lighter;
    font-size: 150%;
}

span{
    float: right;
    margin: 10px 10%;
    font-style: italic;
}

img{
    margin: 10px;
}

#figcontainer{
    min-height: 40%;
    position: absolute;
    top: 620px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.nav2{
    border: seashell solid;
    border-radius: 10px; 
    display: inline-flex;
    width: 23%;
    padding-top: 10px;
    text-decoration: none;
    color:seashell ;
    font-size: 30pt;
    font-family: sans-serif;
    font-weight: bold;
    justify-content: center;
}

#one:hover{
    text-decoration: none;
    color: yellow;
    border-color: yellow;
    filter: grayscale(0%)
}

#two:hover{
    text-decoration: none;
    color: yellow;
    border-color: yellow;
    filter: grayscale(0%)
}

#three:hover{
    text-decoration: none;
    color: yellow;
    border-color: yellow;
    filter: grayscale(0%)
}

#four:hover{
    text-decoration: none;
    color: yellow;
    border-color: yellow;
    filter: grayscale(0%)
}

#one{
    background-image: url(/images/bike1.jpg);
    background-position: center;
    filter: grayscale(100%);
}

#two{
    background-image: url(/images/bike2.jpg);
    background-position: center;
    filter: grayscale(100%);
    background-size: cover;
    background-repeat: no-repeat;
}

#three{
    background-image: url(/images/bike3.jpg);
    background-position: center;
    filter: grayscale(100%);
    background-size: cover;
    background-repeat: no-repeat;
}

#four{
    background-image: url(/images/bike4.jpg);
    background-position: center;
    filter: grayscale(100%);
    background-size: cover;
    background-repeat: no-repeat;
}

footer{
    height: 10vh;
}

#ft1{
    text-align: center;
    color: black;
    background-color: rgb(65, 109, 110);
    height: 33.333%;
    font-size: 24pt;
    font-family: sans-serif;
}

footer nav{
    border-bottom: rgb(63, 63, 63) dashed 2px ;
    height: 33.333%;
    background-color: rgb(65, 109, 110);
    padding-left: 15%;
    padding-right: 15%;
    display: flex;
    border-bottom: rgb(63, 63, 63) dashed 2px;
    padding-top: .5%;
}

.nav3{
    color: seashell;
    font-size: 20px;  
}

footer a{
    margin-left: auto;
    margin-right: auto;
    text-decoration: underline;
}

#ft2{
    background-color: rgb(65, 109, 110);
    height: 33.333%;
    color: black;
    text-align: center;
    padding-top: 12px;
}