/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #404448;
    font-size: 1em;
    line-height: 1.6;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
    max-width: 100%;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}



/* ==========================================================================
   Main styles
   ========================================================================== */

body {
    background-color: #e6d4dc;
    font-family: 'Cabin', sans-serif;
}

.wrapper {
    width: 90%;
    margin: 20px auto;
    border: solid 2px;
    padding: 20px;
    background: #fdfdfd;
    position: relative;
    /*outline: solid 2px;*/
    /*outline-offset: -22px;*/
}

h1, h2, h3 {
    font-family: 'Josefin Sans', sans-serif;
}

h1 {
    font-size: 3.5em;
}

h3 {
    margin: 0 0 5px;
    font-size: 1.6em;
    font-weight: 500;
    line-height: 1em;
}

a {
    color: #c17978;
    text-decoration: none;
}

a:hover {
    color: #000;
}


/* ----------------------
   ------ Homepage ------
   ---------------------- */


.hero-title {
    display: inline-block;
    position: absolute;
    bottom: -80px;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.highlight {
    background: #C17875;
    line-height: 1em;
    padding: 25px 30px 10px;
    box-shadow: 2px 2px 4px rgba(0,0,0,.2);
    color: #fff;
    border: solid 2px #dee9f5;
}

.highlight a {
    color: #fff;
}

header {
    position: relative;
    margin-bottom: 50px;
}

.hero {
    margin-bottom: 100px;
    /*border-bottom: solid 2px #404448;*/
}

section {
    padding: 0 40px 20px;
}

ul.thumb-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

ul.thumb-list-wide li {
    width: 500px;
    max-width: 100%;
    border-radius: 10px;
}

.thumb-list li {
    width: 315px;
    margin-bottom: 70px;
    box-shadow: 0.1px 0.1px 0.3px rgba(0, 0, 0, 0.056), 
                0.1px 0.1px 0.8px rgba(0, 0, 0, 0.081), 
                0.3px 0.3px 1.5px rgba(0, 0, 0, 0.1), 
                0.4px 0.4px 2.7px rgba(0, 0, 0, 0.119), 
                0.8px 0.8px 5px rgba(0, 0, 0, 0.144), 
                2px 2px 12px rgba(0, 0, 0, 0.2);
}

.thumb-list a {
    display: block;
    position: relative;
}

.thumb-list .content-overlay {
    background: #404448;
    background: rgba(64, 68, 72, 0.9);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.thumb-list li:hover .content-overlay {
    opacity: 1;
}

.description-card {
    position: absolute;
    text-align: center;
    width: 100%;
    top: 80%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    backface-visibility: hidden;
    
    color: #fff;
}

.thumb-list li:hover .description-card {
    top: 50%;
    left: 50%;
    opacity: 1;
}


.thumb-list .description-card p {
    margin: 0 0 10px;
    line-height: 1em;
}



/* ----------------------
   ---- Inside Pages ---- 
   ---------------------- */



.site-title {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    margin: 0;
    border-width: 0 2px 2px 0;
}

header nav {
    margin: 20px 0 0;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
}

.detail-list {
    padding: 0;
    list-style-type: none;
}

.slick-slide img {
    margin: 0 auto;
}

.arrows {
    height: 50px;
}

.arrows .slick-arrow,
.arrows .slick-arrow:focus {
    position: static;
    float: left;
    width: 50%;
    left: auto;
    right: 0;
    transform: none;
    height: 50px;
    background: #000;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1em;
    line-height: 1em;
    border-bottom: solid 2px #fff;
    
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.arrows .slick-arrow:hover {
    color: #404448;
    background: rgba(0, 0, 0, 0.1);
}

.arrows .slick-arrow:before {
    content: none;
}

.arrows .slick-prev {
    text-align: left;
    padding: 0 0 0 30px;
    border-right: solid 1px #fff;
}

.arrows .slick-next {
    text-align: right;
    padding: 0 30px 0 0;
    border-left: solid 1px #fff;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 470px) {
    .hero-title {
        bottom: -50px;
    }
    
    .hero {
        margin-bottom: 70px;
    }
}

@media only screen and (min-width: 720px) {
    html {
        font-size: 1.25em;
    }
    
    .wrapper {
        width: 720px;
        margin: 40px auto;
    }
    
    header {
        margin-bottom: 70px;
    }
    
    .hero-title {
        bottom: -30px;
    }
    
    .hero {
        margin-bottom: 60px;
    }
    
    .thumb-list li {
        width: 225px;
        margin-bottom: 50px;
    }
    
    header nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        margin: 0;
    }
    
    .left {
        width: 50%;
        float: left;
    }
    
    .right {
        width: 50%;
        float: right;
    }
    
    header .left {
        width: 65%;
    }
    
    header .right {
        width: 35%;
    }
    
    .arrows .slick-prev {
        padding: 0 0 0 70px;
    }
    
    .arrows .slick-next {
        padding: 0 70px 0 0;
    }

}

@media only screen and (min-width: 960px) {
    .wrapper {
        width: 960px;
    }
    
    .thumb-list li {
        width: 315px;
        margin-bottom: 70px;
    }
    
    header .left {
        width: 50%;
    }
    
    header .right {
        width: 50%;
    }

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}
