/* CSS Resets */
h1, h2, h3, h4, p, nav ul {
    padding: 0;
    margin: 0;
}
nav ul {
    list-style-type: none;
}
img { max-width: 100%; display: block; }
* { box-sizing: border-box;}


/* end Resets */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #85cde8;
}
nav {
    border-top: 2px solid #333;
}
nav ul li{
    font-size: 25px;
    padding: 10px;
}
nav ul li a {
    text-decoration: none;
    display: block;
    color:cornflowerblue;
    font-weight: bold;
    border-bottom: 2px solid #333;
    text-align: center;
    padding: 10px;

}
a {
    text-decoration: none;
}
/* unvisited link */
a:link {
    color: white;
}
  
/* visited link */
a:visited {
    color: #9C9D62;
}
  
/* mouse over link */
a:hover {
    color: #D7C386;
}
  
  /* selected link */
a:active {
    color: #dc9090;
}
ol {
    list-style-type: none;
}
header, footer {
    background-color: #d7a38f;
}

header, section, footer {
    padding: 20px;
}

section:nth-child(even){
    background-color: aliceblue;
}

.container {
    max-width: 1000px;
}
h1 {
    font-family: 'Ysabeau', sans-serif;
    font-weight: 200;
    font-size: extralight;
    font-style: italic;
}
h1, h2 {
    margin-bottom: .5em;
}
h2{
    font-family: 'Ysabeau', sans-serif;
    font-weight: 400;
    font-size: regular;
    padding: 20px;
}
h3 {
    font-family: 'Ysabeau', sans-serif;
    font-weight: 400;
    font-size: regular;
    padding: 15px;
}
p {
    padding: 10px;
    line-height: 1.4em;
    margin-bottom: 1em;
    font-family: 'Ysabeau', sans-serif;
    font-weight: 500;
    font-size: medium;
}

ol li {
    margin-bottom: 1em;
}

img {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}
address {
    font-family: 'Ysabeau', sans-serif;
    font-weight: 400;
    font-size: regular;
    padding-left: 10px;
}

/* Overview */
#overview img {
    max-height: 500px;
}
/* App Design*/


/* /*Fancy Box*/
 #featured {
	background: #2E364A;
	max-height: auto;
}

#grid {
	display: flex;
} 

#featured a {
	display: block;
	padding: 3px;
}

#featured a img {
	border: 4px solid #455784;
    max-height: 100%;
    margin-top: 3px;
    margin-bottom: 3px;

}

@media only screen and (min-width: 768px) {
    nav ul { display: flex; }
    nav ul li { flex: 1; }
}

@media only screen and (min-width: 1000px) {
    .container{ margin: auto; }
    nav ul {
        max-width: 1000px;
        margin: auto;
    }
    .content { 
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
    }
}