@font-face {
  font-family: 'Seurat Pro';
  src: 
    local('Seurat Pro B'),
    url('fonts/FOT-Seurat Pro B.otf') format('opentype');
}

body {
  color: #1c0000;
  box-sizing: border-box;
}

.tiled-background {
  background: url(images/animal_crossing_grass_spring_triangle_pattern_by_biochao_dezrr52-pre.png);
  background-size: 80px;
}

/*  */

input[type="checkbox"] {

}

/* Tabs */

::selection {
  background-color: #e3ffd4;
}

.tabbed {
  width: 700px;
  margin: 50px auto;
}

.tabbed > input {
  display: none;
}

.tabbed > label {
  display: block;
  float: left;
  padding: 12px 20px;
  margin-right: 5px;
  cursor: pointer;
  transition: background-color .3s;
}

.tabbed > label:hover,
.tabbed > input:checked + label {
  background: #e3ffd4;
}

.tabs {
  clear: both;
}

.tabs > div {
  width: 700px;
  position: absolute;
  border: 2px solid #e3ffd4;
  padding: 10px 30px 40px;
  line-height: 1.4em;
  opacity: 0;
  z-index: 0;
  /* Cream */
  background-color: #fff9d4;
}

#tab-nav-1:checked ~ .tabs > div:nth-of-type(1),
#tab-nav-2:checked ~ .tabs > div:nth-of-type(2),
#tab-nav-3:checked ~ .tabs > div:nth-of-type(3),
#tab-nav-4:checked ~ .tabs > div:nth-of-type(4){
  opacity: 1;
  z-index: 1;
}

@media screen and (max-width: 700px) {
  .tabbed { width: 400px }
  .tabbed > label { display: none }
  .tabs > div {
    width: 400px;
    border: none;
    padding: 0;
    opacity: 1;
    position: relative;
    margin-bottom: 60px;
  }
  .tabs > div h2 {
    border-bottom: 2px solid #4EC6DE;
    padding-bottom: .5em;
  }
}