/* 
    TISAK
    by Operon Design
*/

/* Basics */

html {
    font-size: 20px;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: #111111;
    background-image: url('tisak_papir.jpg');
    background-size: 100%;
    background-repeat: repeat;
}
.container {
    max-width: 1248px;
    padding: 24px;
    margin: 0 auto;
    width: 100%;
}
.narrow-container {
    width: 100%;
    max-width: 788px;
    padding: 24px;
    margin: 0 auto;
}
header {
    background-color: white;
}
header nav {
    background-color: #222;
}
header nav img {
    width: auto;
    height: 23px;
    margin: 8px;
}
header > img {
    position: absolute;
    left: 0;
    bottom: -2vw;
    width: 100%;
    z-index: 2;
}
header .center .full img:nth-child(2) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    z-index: 2;
    animation-name: image-fade;
    animation-iteration-count: infinite;
    animation-duration: 25s;
    animation-delay: 0s;
}
header .center .full img:nth-child(3) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    z-index: 3;
    animation-name: image-fade;
    animation-iteration-count: infinite;
    animation-duration: 25s;
    animation-delay: 5s;
}
header .center .full img:nth-child(4) {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    z-index: 3;
    animation-name: image-fade;
    animation-iteration-count: infinite;
    animation-duration: 25s;
    animation-delay: 10s;
}
@keyframes image-fade {
    0% {
        opacity: 0;
    }
    22.5% {
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    47.5% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}
.bigbtns .half {
    padding: 24px;
}
.bigbtn {
    background-color: #34684b;
    color: white;
    flex-wrap: nowrap;
    padding: 16px;
    text-transform: capitalize;
    min-height: 100px;
    font-size: 26px;
    font-size: 1.3rem;
    line-height: 1.2em;
    font-weight: 700;
    font-family: 'Amatic SC', cursive;
}
.bigbtn:hover {
    background-color: #3e7556;
}
.bigbtn img {
    width: 50px;
    margin-right: 16px;
}
.social-links {
    justify-content: space-between;
}
.social-links .bigbtn {
    margin: 8px 0px;
    min-width: 25%;
}
.shoo-top {
    margin-top: 24px;
}
h2 {
    font-size: 36px;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 16px;
}
p {
    line-height: 1.35em;
    margin-bottom: 16px;
}
.gallery .slick-slide {
    padding: 16px;
}
.gallery .gallery-card {
    background-color: white;
    padding: 24px;
    border-top: 5px solid #f01616;
}
.gallery > div img {
    height: 200px;
    object-fit: contain;
    object-position: center center;
}
.arrow {
    width: 24px;
    height: 24px;
    transform: rotate(-135deg);
    border-right: 5px solid #f01616;
    border-top: 5px solid #f01616;
}
.gallery .arrow {
    position: absolute;
    top: 40%;
    cursor: pointer;
    color: #f01616;
    left: -64px;
}
.gallery .arrow-right {
    left: auto;
    right: -64px;
    transform: rotate(48deg);
}
.gallery-card h3 {
    font-size: 24px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 16px;
}
.gallery-card .price {
    color: #f01616;
    font-weight: 700;
    margin-bottom: 0px;
}
.gallery-card .price span {
    color: #111;
    opacity: .7;
    text-decoration: line-through;
    font-weight: 400;
}
.no-vertical-pad {
    padding-top: 0px;
    padding-bottom: 0px;
}
.special-frame {
    max-width: 1168px;
    margin: 0 auto;
    background-color: #f01616;
    color: white;
    padding: 24px;
}
.special-image {
    max-width: 1168px;
    margin: 0 auto;
}
p a {
    font-weight: bold;
    color: #f01616;
}
.red-text {
    color: #f01616;
}
.green-text {
    color: #34684b;
}
.blue-text {
    color: #2823c6;
}
footer a {
    margin: 0px 16px;
}

/* Desktop only */
@media screen and (min-width: 1025px) {
    .desktop-nowrap {
        flex-wrap: nowrap;
    }
    .bigbtns .half:first-child {
        padding-left: 0px;
    }
    .bigbtns .half:nth-child(2) {
        padding-right: 0px;
    }
    .special-frame img {
        width: 320px;
    }
}

/* Mobile only */
@media screen and (max-width: 1025px) {
    .special-frame img {
        max-width: 500px;
        margin: 0 auto;
    }
    .shoo-top {
        margin-top: 0px;
    }
    h2 {
        font-size: 28px;
        font-size: 1.4rem;
    }
    .gallery .arrow {
        top: 150px;
        left: -8px;
        width: 18px;
        height: 18px;
        border-width: 3px;
        z-index: 30;
    }
    .gallery .arrow-right {
        left: auto;
        right: -8px;
    }
    .social-links {
        flex-wrap: wrap;
    }
}