* {
  scrollbar-color: #14100230 transparent;
  scroll-behavior: smooth;
}

html,
body {
  animation: fadeIn 1s forwards;
  background-color: #c08f4f;
  font-family: 'ms gothic', 'font', sans-serif;
  font-size: 12px;
  margin: 0;
  opacity: 0;
  padding: 0;
  text-align: justify;
  /* scroll-behavior: smooth; */
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@font-face {
  font-family: 'font';
  font-weight: normal;
  src: url('media/fonts/Greybeard-18px.ttf') format('truetype');
  font-display: fallback;
}

button {
  background-color: #c3744d;
  border: 1px solid #e8e5cc;
  color: #e8e5cc;
  font-family: 'ms gothic', 'font', sans-serif;
  font-size: 12px;
  margin-bottom: 10px;
  padding: 2px 10px;
  text-decoration: none;
  transition: 0.3s;
}

button:hover {
  background-color: #e8e5cc;
  border: 1px solid #c3744d;
  color: #c3744d;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
a,
ul,
ol,
li,
span {
  color: #e8e5cc;
}

h1,
h2 {
  text-align: center;
}

.art-section-text {
  text-align: left;
  text-decoration: 2px underline;
}

.box {
  background-color: #2d30276c;
  border: solid 1px #e8e5cc65;
  color: #e8e5cc;
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 5px;

  p {
    text-align: center;
    margin: 0;
  }
}

a {
  margin: 0;
  /* text-decoration: underline 2px #9ec544; */
  transition: 0.3s;
  text-decoration: underline dotted;
}

a:hover {
  /* text-decoration: underline 2px #d4f181; */
  /* text-decoration: underline dotted #e8e5cc50; */
  /* border: none; */
  background-color: #c3744dbc;
  color: #e8e5cc;
  text-decoration: underline dotted 1px #e8e5cc;
}

hr {
  border: none;
  border-top: 1px solid #e8e5cc65;
  width: 100%;
}

hr.dotted {
  border: none;
  /* border-top: 1px dashed #e8e5cc65; */
  border-top: 1px solid #e8e5cc;
  width: 100%;
}

li::marker {
  content: "∙ ";
}

.container {
  margin: auto;
  max-width: 95%;
  padding-bottom: 35px;
  width: 500px;
}

footer,
header {
  margin: auto;
  max-width: 100%;
  /* padding-right: 20px;
  padding-left: 20px; */
  text-align: center;
  width: 650px;

  a.home-button {
    background-color: #e8e5cccc;
    border: 2px #e8e5cc solid;
    border-radius: 6px;
    color: #4a4e42;
    font-size: 16px;
    /* height: 25px; */
    margin-bottom: 20px;
    padding: 2px;
    text-decoration: none;
    /* width: 100%; */
  }

  a.home-button:hover {
    background-color: #e8e5cccc;
    color: #c3744d;
    text-decoration: none;
  }
}

footer {
  p {
    font-size: 12px;
    display: block;
    margin: 10px auto;
    width: max-content;
    background-color: #4a4e42bc;
  }

  button {
    display: block;
    margin: auto
  }
}

select {
  width: 100%;
  max-width: 85%;
  margin: auto;
  background-color: #e8e5cccc;
  border: 2px #e8e5cc solid;
  border-radius: 6px;
  color: #4a4e42;
  font-family: 'ms gothic', 'font', sans-serif;
  font-size: 16px;
  font-weight: bold;

  option {
    /* color: #4a4e42; */
    color: #c3744d;
  }
}

.art-grid {
  /* border: 2px black solid; */
  /* margin: 15px 10px 10px 15px; */
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;

  a {
    margin: 0;
  }

  a:hover {
    background-color: transparent;
  }
}

img {
  max-width: 100%;
}

.preview,
.preview-18 {
  max-width: 90%;
  height: auto;
  border: solid 3px transparent;
  transition: 0.3s;
}

.preview-18 {
  outline: solid 3px #e8e5cc;
  outline-offset: -6px;
}

.preview:hover,
.preview-18:hover {
  border-color: #e8e5cc82;
  opacity: 0.7;
}

.artwork {
  display: flex;
  justify-content: center;

  img {
    margin: 10px;
    margin-top: 40px;
    transform: rotate(1.5deg);
    transition: 0.3s;
    width: 150px;
  }

  & img:hover {
    border-color: #e8e5cc82;
    filter: contrast(1.25) brightness(1) grayscale(50%);
    transform: rotate(2.5deg);
  }

  h3 {
    margin: 0;
    text-align: center;
  }
}

iframe {
  border: none;
  height: 310px;
  width: 100%;
}

.fortune {
  height: 30px
}

.guestbook {
  height: 490px;
  margin: auto;
  margin-top: -70px;
  margin-bottom: -25px;
  width: 104%;
}

#guestbook-iframe {
  margin-top: -1px;
  overflow: hidden;
}

#nasturtium {
  display: block;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 15px;
  width: 325px;
}

#img-load {
  /*background-color: #e8e5cc;*/
  margin-top: 150px;
  /* height: 310px; */
  /*outline: solid 6px #e8e5cc;*/
  outline-offset: -6px;
}

div#footer {
  margin-top: 50px;
}

/*.home {
  width: 500px;
}*/

/* section {
  width: 500px;
  margin-bottom: 15px;

  table {
    border-collapse: collapse;
  }

  td {
    box-sizing: border-box;
    color: #e8e5cc;
    border: 1px #e8e5cc solid;
    border-top: 0;
    width: 31.5px;
    text-align: center;
    height: 30px;
  }

  .results {
    background-color: #e8e5cc;

    td {
      border-top: 4px #e8e5cc solid;
      width: 500px;
      color: #4a4e42;
    }
  }
} */

@media screen and (max-width: 400px) {
  .art-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .artwork {
    img {
      width: 90%
    }
  }

  .container {
    width: 90%;

    #nasturtium {
      width: 60%;
    }
  }

  .guestbook {
    height: 500px;
  }

  #img-load {
    margin-top: 100px;
    height: 100%;
  }

  .home {
    width: 100%;
  }
}