/* ----------------
		optional fade-in for images
---------------- */

@media screen, handheld {
    @keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    .tabs img {
        animation: 3s fadeIn;
    }
}

/* / @media screen,handheld */

/* ----------------------------*/

/* ----------------
            tabs
    ---------------- */

@media all {
    * {
        box-sizing: border-box;
    }
    .tabs {
        display: flex;
        flex-direction: row;
        flex-flow: nowrap;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: flex-start;
        box-sizing: border-box;
    }
    .tabs * {
        box-sizing: inherit;
    }
    .tabs :focus {
        box-shadow: none;
        outline: none;
    }
    .tabs .button-list {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-content: stretch;
        align-items: stretch;
    }
    .tabs button {
        border-radius: 0;
        margin: 0;
        font-size: 1.5rem;
        padding: 1em 1em;
        border: 1px solid transparent;
        background: #ddd;
        color: #666;
        transition: all .6s ease-in-out;
    }
    .tabs button:hover {
        background: #515158;
        color: rgb(211, 211, 211);
    }
    .tabs button:not(:first-of-type) {
        border-top-color: #aaa;
    }
    .tabs button.active {
        background: #262730;
        color: #fff;
    }
    .tabs section {
        flex: 2 1 auto;
        display: none;
        background: #fff;
        background: rgba(255, 255, 255, .6);
        padding: 1rem;
    }
    .tabs section.active {
        display: block;
    }
    .tabs img {
        display: block;
        margin: 0 auto;
        width: 100%;
        min-width: 180px;
        max-width: 600px;
    }
}

/* / @media all */

@media (max-width: 900px) {
    .tabs {
        flex-direction: column;
    }
    .tabs .button-list {
        flex-direction: row;
        min-width: 100%;
    }
    .tabs button:first-child:not(.active) {
        border-top: 1px solid #aaa;
        border-left: 1px solid #aaa;
    }
    .tabs button.active {
        border-right: 1px solid #aaa;
    }
}

/* / @media (max-width: 900px) */

/* ---------------------------- */

/* ---------------------------- */

/* ---------------------------- */

/* POSSIBLE LATER ADD-ON (HORIZONTAL LABELS) */

@media (min-width: 901px) {
    /*
    .tabs button {
        transform: rotate(-90deg);
      transform-origin: right bottom;
        white-space: nowrap;
      justify-content: center;
      align-content: center;
      align-items: center;
      position: relative;
    }
    .tabs button:nth-child(1) {
        top: -66px;
    }
    .tabs button:nth-child(2) {
        top: -24px;
    }
    .tabs button:nth-child(3) {
        top: 30px;
    }
    .tabs section {
            margin: 0;
    }
    */
}

/* @media (min-width: 901px) */

/* ----------------
            page setup
    ---------------- */

@media all {
    .text {
        background: #fff;
        background: rgba(255, 255, 255, .6);
        padding: 1rem 2rem;
    }
    body {
        font-family: verdana, sans-serif;
       
        color: #111;
        line-height: 1.2;
        letter-spacing: .2px;
    }
    figure {
        display: block;
        padding: 0.7rem;
    }
    figcaption {
        text-align: center;
        margin-top: .4em;
        color: #333;
        font-family: 'Indie Flower';
        font-size: 2em;        
    }
  
    h1 {
        font-family: 'Indie Flower';
        color: #c04;
        text-shadow: 1px 1px #333;
        letter-spacing: 1px;
        text-align: center;
        font-size: 3.2rem;
        line-height: 1;
        max-width: 560px;
        margin: 1rem auto;
    }
    h2 {
        font-size: 1.8rem;
        line-height: 1.1;
        text-align: left;
    }
    button, a, a img {
        transition: .4s all ease-in-out;
    }
    
    button {
        font-size: 3em;
        background-color: #016;
        color: #eee;
    }
    a, button, input[type=button], input[type=submit] {
        cursor: pointer;
        cursor: hand;
    }
    main>p:first-of-type:first-letter {
        font-family: 'Indie Flower';
        font-weight: bold;
        color: #016;
        text-shadow: 1px 1px #04c;
        float: left;
        font-size: 4.8em;
        margin: -.9rem .6rem 0 0;
    }
    main>p:first-of-type+p {
        clear: both;
    }
    ul li:not(:last-child) {
        margin-bottom: .6em;
    }
}

/* @media all */