@font-face {
  font-family: 'h1_title';
  src: url('fonts/BPreplayBold.otf');
  font-weight: bold;
}
@font-face {
  font-family: 'h2_title';
  src: url('fonts/BPreplay.otf');
  font-weight: bold;
}
@font-face {
  font-family: 'h2_title_italic';
  src: url('fonts/BPreplayItalics.otf');
  font-weight: bold;
}

h1 {
  font-family: h1_title,Verdana,sans-serif;
  font-size: 4rem;
  margin: 0;
}
td {
  vertical-align: top;
  height: 3rem;
}
td:last-of-type {
  line-height: 1.2rem;
}
#email {
  color: green;
}

.container {
  display: grid;
  border-left: 4px solid #f9f9f9;
  border-right: 4px solid #f9f9f9;
  padding: 1rem 2rem;
  font-size: 62.5%;
}

.header {
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 8px double #f9f9f9;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.subtitle_h2 {
  font-family: h2_title,Verdana,sans-serif;
  font-size: 1rem;
  margin: 0;
}
.subtitle_h2_italic {
  font-family: h2_title_italic,Verdana,sans-serif;
  font-size: 1rem;
  margin: 0;
}

.intro {
  grid-row: 2 / 3;
  display: flex;
  flex-direction: row;
}

.default_intro_text {
  padding: .5rem;
  font-size: 2.6rem;
  font-style: italic;
}

.picture_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
}
.picture {
  border: 6px solid #e8cfa9;
  border-radius: 4px;
}
.picture_caption {
  font-size: .85rem;
}

.fruit {
  grid-row: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
}
.fruit_box, .points_box {
  font-size: 1.2rem;
  border-radius: 3px;
  background-color: #ffffdf;
  border: 2px solid #e8cfa9;
  padding: 1rem;
}
.title {
  font-size: 1.8rem;
  font-weight: bolder;
  text-align: center;
}
.outofseason {
  color:red;
}
.inseason {
  color:green;
}

.about {
  grid-row: 4 / 5;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.about a {
  text-decoration: none;
  color: blue;
  margin: 1rem;
  font-size: 1.5rem;
}
#aboutmiddle {
  border-right: 1px solid;
  border-left: 1px solid;
  border-color: #ccc7c9;
  padding-right: 2rem;
  padding-left: 2rem;
}

@media only screen and (max-width: 768px) {
  /*For mobile phones*/
  .intro {
    grid-row: 2 / 4;
    display: flex;
    flex-direction: column;
  }
  .farm_img {
    width: 32rem;
  }
  .default_intro_text {
    padding: .5rem;
    font-size: 2rem;
    font-style: italic;
  }
  .fruit {
    grid-row: 4 / 6;
    display: flex;
    flex-direction: column;
  }
  .points_box {
    margin-top: .5rem;
  }
  .about {
    grid-row: 6 / 7;
  }
}