/* import barabu fonts */
@import url(fonts.css);

/* Fallback message for unsupported browsers */

.fallback-message {
    font-family: sans-serif;
    line-height: 1.3;

    width: 780px;
    padding: 10px 10px 0;
    margin: 20px auto;

    border: 1px solid #E4C652;
    border-radius: 10px;
    background: #EEDC94;
}

.fallback-message p {
    margin-bottom: 10px;
}

.impress-supported .fallback-message {
    display: none;
}

/* main formatting rules */

body {
    font-family: "Helvetia Neue Condensed", sans-serif;
    font-weight: 400;
    min-height: 740px;

    background: #FAFAC5;
    background-image: url(../assets/img/chiba-bg.svg);
    background-size: cover;
    background-repeat: no-repeat;
    color: #000;
}

/* general slide formatting */

.slide {
    display: block;

    width: 100vw;
    height: 90vh;
    padding: 40px 60px;
    margin: 15px;

    background-color: rgba(255, 255, 255, 0.97);
    border-radius: 1.5em;

    text-shadow: 0 3px 3px rgba(0, 0, 0, .2);

    font-size: 5em;
}

.slide h1, 
.slide h2, 
.slide h3 {
    font-family: 'Childs Play Age Eight';
    color: #DA3732;
    margin-bottom: 0.5em;
    margin-top: 0.1em;
    text-align: center;
}

.slide h1 {
    font-size: 1.25em;
}

.slide h2 {
    font-size: 1.1em;
}

.slide h3 {
    font-size: 1.05em;
}

.slide p {
    text-align: left;
    margin: 0.7em;
}

.slide li {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    margin-left: 3em;
    margin-right: 3em;
}

/* weather widgets */

div.weather_day {
    float: left;
    width: 20%;
    height: 75%;
    margin: 0;
    padding: 0;
    text-align: center;
    align: center;
}

div.weather_slot_name {
    font-size: 50%;
    margin-bottom: 15%
}

div.weather_symbol img {
    height: 3em;
    width: 3em;
}

div.weather_temp {
    font-size: 200%;
    font-weight: 870;
    padding-left: 15%;
}

div.weather_precipitation {
    font-size: 75%;
}

/* message bits */


#impress .step .substep,
#impress .step .substep.substep-visible {
    display: none;
    transform: rotateY(90deg);
    opacity: 0;
}

#impress .step .substep.substep-visible.substep-active {
    display: block;
    transform: rotateY(0deg);
    opacity: 1;
    transition: transform 3500ms, opacity 4s;
}

/* photo slides */

div.photocontainer {
    position: relative;
    height: 90vh;
    max-height: 90vh;
}

div.photos {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.photo figure {
    position: relative;
    max-height: 90vh;
    padding: 0;
    margin: 0;
}

.photo figure img {
    max-height: 72vh;
    width: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.photo figure figcaption {
    position: absolute;
    bottom: -2vh;
    width: 85%;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
    margin-left: 5%;
    margin-right: 10%;
    border-radius: 5px;
    border: none;
    padding: 2vh 5vh;
    font-size: 0.6em;
    text-align: center;
}
