/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

:root {
  --boxcolor: #000;
}


.other {
    --boxcolor: #f8d3c5;
    --textcolor: #fceee9;
    --bordercolor: #b9cfb7;
    --linkcolor: #a3b899;
    --buttoncolor: #667b68;
}
.history {
    --boxcolor: #ffd5b9;
    --textcolor: #4e1909;
    --bordercolor: #fffff4;
    --linkcolor: #ffe8a3;
    --buttoncolor: #d36d6d;
}
.boats {
    --boxcolor: #d9c7ab;
    --textcolor: #d9afa8;
    --bordercolor: #617d7d;
    --linkcolor: #91a5a1;
    --buttoncolor: #4e5f6e;
}
.hobby {
    --boxcolor: #1c3f2e;
    --textcolor: #424a26;
    --bordercolor: #5c6b28;
    --linkcolor: #a47e4f;
    --buttoncolor: #eadaa1;
}

body {
  display: block;
  background: url("https://i.imgur.com/um7VW5i.jpg") no-repeat fixed;
  background-position: center bottom;
  background-size: cover;
  color: black;
  font-family: Quattrocento;
}

.quattrocento-regular {
  font-family: "Quattrocento", serif;
  font-weight: 400;
  font-style: normal;
}

.quattrocento-bold {
  font-family: "Quattrocento", serif;
  font-weight: 700;
  font-style: normal;
}

a {
  color: var(--linkcolor);
  text-decoration: none;
}

h1 {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}

h2 {
  font-size: 1.75em;
  color: var(--buttoncolor);
  text-align: center;
  margin-top: 6px;
  margin-bottom: 6px;
  text-decoration: underline;
}
 
#main{
margin: 0 auto;
background-color: #fff8db;
width: 530px;
padding: 15px;
text-align: justify;
color: #5e6e54;
border: 8px double #e6b451;
}

#main ul{
text-align: center;
padding: 0px;
margin: 0px;
}

#main li {
  display: inline-block;
  justify-content: center;
  background-color: #5e7a63;
  color: #fff8db;
  border: 4px solid #e6b451;
  padding: 3px;
  width: 80px;
}

#bottomborder{
background-image: url('https://i.imgur.com/lv5pt9F.png');
background-repeat: repeat-x;
height: 73px;
width: 100vw;
position: fixed;
bottom: 0px;
z-index: 3;
}

.grid {
width: 70%;
height: calc(100vh - 230px);
margin: 0 auto;
margin-bottom: 900px;
}

.grid .box {
  display: inline-block;
  background: var(--boxcolor);
  width: 30%;
  box-sizing: border-box;
  padding: 10px;
  margin: 1%;
  border: 10px double var(--bordercolor);
  color: var(--textcolor);
  text-align: justify;
  height: 400px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--boxcolor);
}

.box .info {
  background-color: var(--buttoncolor);
  padding: 5px;
  width: 89%;
  height: 1.15em;
  overflow: hidden;
  margin-bottom: 5px;
  margin-top: 5px;
  padding-left: 1em;
  padding-right: 1em;
}

.info:hover {
    height: auto;
    z-index: 99999;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.15);
}

ol {
  list-style-type: lower-roman;
  margin: 0 5px 5px 10px;
  padding: 0 5px 5px 10px;
}


