/*~~~ FONTS ~~~*/
@font-face {
    font-family: Roboto;
    src: local(Roboto Thin), local(Roboto-Thin),
        url(/fonts/Roboto/Roboto-Thin.eot);
    src: url(/fonts/Roboto/Roboto-Thin.eot?#iefix) format("embedded-opentype"),
        url(/fonts/Roboto/Roboto-Thin.woff2) format("woff2"),
        url(/fonts/Roboto/Roboto-Thin.woff) format("woff"),
        url(/fonts/Roboto/Roboto-Thin.ttf) format("truetype");
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: local(Roboto Light), local(Roboto-Light),
        url(/fonts/Roboto/Roboto-Light.eot);
    src: url(/fonts/Roboto/Roboto-Light.eot?#iefix) format("embedded-opentype"),
        url(/fonts/Roboto/Roboto-Light.woff2) format("woff2"),
        url(/fonts/Roboto/Roboto-Light.woff) format("woff"),
        url(/fonts/Roboto/Roboto-Light.ttf) format("truetype");
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: local(Roboto Regular), local(Roboto-Regular),
        url(/fonts/Roboto/Roboto-Regular.eot);
    src: url(/fonts/Roboto/Roboto-Regular.eot?#iefix) format("embedded-opentype"),
        url(/fonts/Roboto/Roboto-Regular.woff2) format("woff2"),
        url(/fonts/Roboto/Roboto-Regular.woff) format("woff"),
        url(/fonts/Roboto/Roboto-Regular.ttf) format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: local("Roboto Medium"), local("Roboto-Medium"),
        url(/fonts/Roboto/Roboto-Medium.eot);
    src: url(/fonts/Roboto/Roboto-Medium.eot?#iefix) format("embedded-opentype"),
        url(/fonts/Roboto/Roboto-Medium.woff2) format("woff2"),
        url(/fonts/Roboto/Roboto-Medium.woff) format("woff"),
        url(/fonts/Roboto/Roboto-Medium.ttf) format("truetype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: Roboto;
    src: local("Roboto Bold"), local("Roboto-Bold"),
        url(/fonts/Roboto/Roboto-Bold.eot);
    src: url(/fonts/Roboto/Roboto-Bold.eot?#iefix) format("embedded-opentype"),
        url(/fonts/Roboto/Roboto-Bold.woff2) format("woff2"),
        url(/fonts/Roboto/Roboto-Bold.woff) format("woff"),
        url(/fonts/Roboto/Roboto-Bold.ttf) format("truetype");
    font-weight: 700;
    font-display: swap;
}

/*~~~ ~~~~~ ~~~*/

body {
    font-size: 14px;
    font-family: Roboto;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.h3,
.h4 {
    margin: 5px 0;
    line-height: 1.1;
    font-weight: 500;
}

ul {
    list-style: none;
}
ul > li::before {
    content: "— ";
    font-weight: 200;
    vertical-align: middle;
}

/*~~~ COLORS ~~~*/

.main-bg {
    background-color: #F3F3F3;
}
.main-dark-bg {
    background-color: #161C27;
}
.bar-bg {
    background-color: #1E2634;
}
.light-bg {
    background-color: #f3f3f3;
}
.dark-bg {
    color: #ccc;
    background-color: #222;
}
.primary-bg {
    color: white;
    background-color: #30a0f0;
}
.success-bg {
    color: white;
    background-color: #00caaa;
}
.warning-bg {
    color: white;
    background-color: orange;
}
.danger-bg {
    color: white;
    background-color: #EC5051;
}
/*~~~*/

.main-txt {
    color: #222;
}
.light-txt {
    color: #BBB;
}
.dark-txt {
    color: #444;
}
.primary-txt {
    color: #20a0d0;
}
.success-txt {
    color: #00caaa;
}
.warning-txt {
    color: orange;
}
.danger-txt {
    color: #ec5051;
}

/*~~~*/

.light-rainbow {
    color: #333;
    background-image: repeating-linear-gradient(
        180deg,
        #EEE,
        #FFF,
        #DADADA
    );
}
.dark-rainbow {
    background-image: repeating-linear-gradient(
        180deg,
        #222,
        #2A2A2A,
        #222,
        #111
    );
}
.primary-rainbow {
    background-image: repeating-linear-gradient(
        45deg,
        #05E,
        #07B,
        #09A,
        #0A8
    );
}
.success-rainbow {
    background-image: repeating-linear-gradient(
        45deg,
        #069,
        #099,
        #0c8,
        #4E5
    );
}
.warning-rainbow {
    background-image:  repeating-linear-gradient(
        45deg,
        #D83,
        #E42,
        #D63,
        #EA5
    );
}
.danger-rainbow {
    background-image: repeating-linear-gradient(
        45deg,
        #906,
        #f02,
        orange
    );
}
.substrate {
    background-image: repeating-linear-gradient(
        45deg,
        #000,
        #000000C0,
        #00000050,
        #000
    );
}

.shadow-light{
    box-shadow: 8px 8px 6px -8px #00000060;
}
.shadow-bold{
    box-shadow: 8px 8px 10px -6px #000000A0;
}

.disabled {
    opacity: .8;
    filter: grayscale(1);
    pointer-events: all;
}

/** Hovers **/
.hover-black-txt:hover {
    color: black !important;
}
.hover-white-txt:hover {
    color: white !important;
}
.hover-primary-txt:hover {
    color: #30A0F0 !important;
}
.hover-success-txt:hover {
    color: #00CAAA !important;
}
.hover-warning-txt:hover {
    color: orange !important;
}
.hover-danger-txt:hover {
    color: #EC5051 !important;
}

.hover-primary-bg:hover {
    color: white;
    background-color: #30A0F0 !important;
}
.hover-success-bg:hover {
    color: white;
    background-color: #00CAAA !important;
}
.hover-warning-bg:hover {
    color: white;
    background-color: orange !important;
}
.hover-danger-bg:hover {
    color: white;
    background-color: #EC5051 !important;
}
.hover-light-bg:hover {
    color: #333;
    background-image: repeating-linear-gradient(
        180deg,
        #EEE,
        #FFF,
        #DADADA
    ) !important;
}
.hover-dark-bg:hover {
    color: white;
    background-image: repeating-linear-gradient(
        180deg,
        #222,
        #333,
        #252525,
        #111
    ) !important;
}
.hover-underline:hover {
    text-decoration: underline;
}

/** Form Elements **/
.field {
    border-radius: 3px;
    box-sizing: border-box;
    border: 1px solid #CCC;
}
input.field {
    height: 32px;
    padding: 5px 10px;
}
textarea {
    font-size: 14px;
    font-family: Roboto;
}
fieldset {
    margin: 0;
    padding: 10px;
    border-width: 0;
}

.required::after {
    content: "*";
    color: OrangeRed;
    font-size: 14px;
    margin-left: 1px;
    vertical-align: top;
}

/** Buttons **/
.btn {
    border-width: 0;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 4px 4px 6px -4px #000000AA;
}
.btn-sm{
    font-size: 11px;
    padding: 5px 12px;
}
.btn-md{
    font-size: 12px;
    padding: 6px 20px;
}
.btn-lg{
    font-size: 13px;
    padding: 9px 30px;
}

.pop-up.preview {
    top: 50%;
    left: 50%;
    font-size: 0;
    padding-top: 42px;
    transition: all .5s;
    height: auto !important;
    overflow: hidden !important;
    transform: translate(-50%, -50%);
}
input:not(:checked) + .pop-up.preview {
    max-width: 0;
    max-height: 0;
}

@media (orientation: portrait) {
    h1,
    .h1 {
        font-size: 38px;
    }
    h2,
    .h2 {
        font-size: 30px;
    }
    h3,
    .h3 {
        font-size: 22px;
    }
    .spinner {
        padding-bottom: 120%;
    }

    .tiles {
        grid-template-columns: repeat(3, 1fr);
    }
    .tiles > label:nth-child(4) {
        grid-area: 2/2/4/4;
    }
    .tiles > label:nth-child(10) {
        grid-area: 5/1/7/3;
    }
    input:checked + .pop-up.preview {
        width: 96%;
    }
    .pop-up.preview > .body > img{
        width: 100%;
        object-fit: contain;
    }
    .slider {
        height: 45vh;
    }
    /** Captions **/
    .caption {
        font-size: 12vw;
    }
    .tagline {
        font-size: 5vw;
        color: #EEE;
        font-weight: bold;
        text-decoration-color: #FFA200;
        text-decoration-thickness: 3px;
    }
    .tagline:first-line {
        font-size: 9vw;
        color: white;
    }

    #offer {
        padding: 5vw;
    }
    #offer > div > img{
        width: 100%;
    }
    #offer > div:nth-child(1) {
        width:100%;
        padding: 5vw 0;
        flex-basis: 100%;
    }
    #offer > div:nth-child(2) {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
    }
    #offer > div:nth-child(3) {
        margin: -50px 0;
        clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%);
    }
    #offer > div:nth-child(4) {
        clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    }
    #offer > div > img {
        display: inline-block;
        box-sizing: border-box;
        border:8px solid white;
    }
    #offer > div:nth-child(2) > img {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 66px), 0 calc(100% - 6px));
    }
    #offer > div:nth-child(3) > img {
        clip-path: polygon(0 68px, 100% 8px, 100% calc(100% - 66px), 0 calc(100% - 6px));
    }
    #offer > div:nth-child(4) > img {
        clip-path: polygon(0 68px, 100% 8px, 100% 100%, 0 100%);
    }
}
@media (orientation: landscape) {
    h1,
    .h1 {
        font-size: 48px;
    }
    h2,
    .h2 {
        font-size: 32px;
    }
    h3,
    .h3 {
        font-size: 26px;
    }
    .spinner {
        padding-bottom: 48%;
    }
    .tiles {
        grid-template-columns: repeat(6, 1fr);
    }
    .tiles > label:nth-child(1) {
        grid-area: 1/1/3/3;
    }
    .tiles > label:nth-child(8) {
        grid-area: 2/5/4/7;
    }
    .tiles > label:nth-child(11) {
        grid-area: 3/2/5/4;
    }
    .tiles > label > img {
        min-height: 150px;
    }
    input:checked + .pop-up.preview {
        max-width: 90%;
        max-height: 80%;
    }
    .pop-up.preview > .body > img{
        max-height: 80vh;
        object-fit: contain;
    }
    .slideshow {
        display: flex;
        align-content: stretch;
        justify-content: space-between;
    }
    .slideshow > .slider {
        width: 75%;
        height: 100%;
    }
    .slideshow > .slider + div {
        width: 25%;
        overflow-y: auto;
    }
    /** Captions **/
    .caption {
        font-size: 6vw;
    }
    .tagline {
        font-size: 2vw;
        color: #EEE;
        font-weight: bold;
        text-decoration-color: #FFA200;
        text-decoration-thickness: 3px;
    }
    .tagline:first-line {
        font-size: 4.4vw;
        color: white;
    }
    #offer {
        height: 320px;
        padding: 20px 3vw;
    }
    #offer > div {
        margin: 0 -24px;
    }
    #offer > div > img{
        height: 100%;
    }
    #offer > div:nth-child(1) {
        width: 50%;
        padding: 5vw;
    }
    #offer > div:nth-child(2),
    #offer > div:nth-child(3) {
        width: 25%;
        clip-path: polygon(60px 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
    }
    #offer > div:nth-child(4) {
        width: 20%;
        clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%);
    }
    #offer > div > img {
        display: inline-block;
        border:10px solid white;
        box-sizing: border-box;
    }
    #offer > div:nth-child(2) > img,
    #offer > div:nth-child(3) > img {
        clip-path: polygon(70px 0, calc(100% - 10px) 0, calc(100% - 70px) 100%, 10px 100%);
    }
    #offer > div:nth-child(4) > img{
        clip-path: polygon(70px 0, 100% 0, 100% 100%, 10px 100%);
    }
}

/** Layout - Topbar **/
.topbar {
    transition: all .5s;
}
.topbar.fixed {
    z-index: 3;
    background-color: #011;
    justify-content: space-between;
    box-shadow: 0 10px 6px -8px #00000060;
}
.topbar:not(.fixed) {
    justify-content: center;
}
.topbar:not(.fixed) > img,
.topbar:not(.fixed) > div > .language,
.topbar:not(.fixed) > div > .sidebar-toggler {
    display: none;
}

/** Hamburger **/
.hamburger{
    width: 26px;
    height: 14px;
    margin: 6px;
    border: 0 solid #EEE;
    border-width: 2px 0;
    transition: border-color .5s;
    /*mix-blend-mode: difference;*/
}
.hamburger > span{
    top: 6px;
    width: 100%;
    height: 2px;
    background-color: #FFF;
    transition: transform .5s;
}
#sidebar-toggler:checked + div .sidebar-toggler > .hamburger {
    border-color: transparent;
}
#sidebar-toggler:checked + div .sidebar-toggler > .hamburger > span:nth-child(1) {
    transform: rotate(45deg);
}
#sidebar-toggler:checked + div .sidebar-toggler > .hamburger > span:nth-child(2){
    transform: rotate(-45deg);
}

.sidebar {
    box-shadow: -10px 0 8px -8px #00000060;
}

/** Languages **/
.languages > a::after {
    content: "";
    height: 2px;
    left: 0;
    bottom: 0;
    position: absolute;
    transition: width .3s;
    background-color: white;
}
.languages:hover > a:not(:hover)::after {
    width: 0;
}
.languages > a:hover::after,
.languages > a.current::after{
    width: 100%;
}

.language::before {
    content: "›";
    top: 8px;
    right: 5px;
    width: 18px;
    z-index: -1;
    font-size: 18px;
    line-height: 18px;
    position: absolute;
    text-align: center;
    transform: rotate(90deg);
}
.language > div {
    transition: max-height .5s;
}
.language > div > a {
    display: block;
    padding: 6px 0;
    margin: 1px 5px;
    border-radius: 3px;
    border: 1px solid #DDD;
    box-shadow: 1px 1px 5px -2px #00000050;
}
.language > input {
    width: 54px;
    border-width: 0;
}
.language > input:not(:focus) + div {
    max-height: 0;
}
.language > input:focus + div {
    max-height: 25vh;
    padding-bottom: 2px;
}

/** Spinner **/
.slider > figure,
.spinner > figure {
    transition:
        transform 1.4s ease-in-out,
        opacity 1.2s;
}
.slider > input:checked + figure,
.spinner > input:checked + figure {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
    transition-delay: .4s;
}
.slider > input:not(:checked) + figure,
.spinner > input:not(:checked) + figure {
    opacity: 0;
    transform: scale(1.4);
}

.spinner-btn{
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    box-shadow: 8px 8px 6px -6px #00000080;
}
.spinner-btn.next {
    right: 20px;
    bottom: 85px;
    background-color: #00000050;
}
.spinner-btn.back {
    right: 90px;
    bottom: 45px;
    background-color: #00000020;
}
.spinner-btn:hover{
    font-size: 32px;
    background-color: navy;
}

/** Snippets **/
.snippet{
    border: 1px solid white
}
.snippet-image{
    overflow: hidden;
}
.snippet-image > img{
    transform: scale(1.3);
    transition: transform .5s;
}
.snippet-title{
    padding: 10px;
}
.snippet-description{
    padding: 0 10px;
}
.snippet-specifics{
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: around;
}
.snippet:hover > .snippet-image > img{
    transform: scale(1);
}
.snippet > .snippet-image > .substrate{
    transition: opacity .5s;
}
.snippet:hover > .snippet-image > .substrate{
    opacity: 0;
}

/** Message **/
.message{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/************/
.cases {
    grid-template-columns: repeat(4, 1fr);
}

.cloud span {
    position: absolute;
}

.tiles > label {
    font-size: 0;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #888;
}
.tiles > label > img {
    /*height: 100%;*/
    transition: filter .6s;
    object-fit: cover;
}
.tiles > label:not(:hover) > img {
    filter: brightness(55%);
}
.tiles > label > div.substrate {
    transition: opacity .6s;
}
.tiles > label:hover > div.substrate {
    opacity: 0;
}


#FAQs > label:not(:nth-last-child(2)) {
    border-bottom: 1px solid #555;
}
#FAQs > label::after {
    top: 50%;
    right: 20px;
    width: 28px;
    font-family: ;
    text-align: center;
    position: absolute;
    transform: translateY(-50%);
    transition: all .4s ease-out;
}
#FAQs > input:not(:checked) + label {
    color: #FFFF;
}
#FAQs > input:not(:checked) + label::after {
    content: "+";
    font-size: 38px;
}
#FAQs > input:checked + label {
    color: #EC5051;
}
#FAQs > input:checked + label::after {
    content: "✕";
    transform: translateY(-50%) rotate(180deg);
}

.question {
    color:white;
    font-size: 16px;
    font-weight: 300;
    background-color: #555;
}
.question::after {
    top: 100%;
    left: 20px;
    content: "";
    position: absolute;
    border: 14px solid transparent;
    border-top-color: #555;
}

.img-list {
    display: flex;
    flex-wrap: wrap;
}
.img-list > label {
    width: 23%;
    margin: 2px 1%;
}

#text-shower:not(:checked) + div {
    max-height: 0;
}
#text-shower + div {
    max-height: 200vh;
    overflow: hidden;
    transition: max-height 0.5s;
}
#text-shower:not(:checked) + div + label::before {
    content: attr(data-details);
}
#text-shower:checked + div + label::before {
    color: #ec5051;
    content: attr(data-rollup);
}
#text-shower:not(:checked) + div + label::after {
    content: " →";
}
#text-shower:checked + div + label::after {
    color: #ec5051;
    content: " ←";
}