@font-face {
	font-family: 'Mic32';
	src: url("../fonts/mic32.ttf");
	src: url("../fonts/mic32.ttf") format("truetype");
    font-weight: 300;
}

@font-face {
	font-family: 'Mic32';
	src: url("../fonts/mic32-light.ttf");
	src: url("../fonts/mic32-light.ttf") format("truetype");
    font-weight: 500;
}


body {
    background: #191a1c;
    color: #ffffff;
    font-family: Mic32, sans-serif;
    font-size: 18px;
    font-variant: small-caps;
    box-sizing: border-box;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    margin: 0;
    overflow-y: scroll;
}

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

body::before, body::after {
    content: "";
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #191a1c 150px, transparent 50%, transparent 70%, rgba(24,26,28, 0.8) 100%), linear-gradient(to bottom, #191a1c 10%, transparent 40%, transparent 60%, #191a1c 90%);
    z-index: 1;
}

body::after {
    background: #191a1c;
    opacity: 0;
    animation: bg-flicker 20s infinite;
}

.room-1 {
    background-image: url(../images/bedroom.jpg);
}
.room-2 {
    background-image: url(../images/bedroom2.jpg);
}
.room-3 {
    background-image: url(../images/living.jpg);
}
.room-4 {
    background-image: url(../images/living2.jpg);
}

.final {
    background-image: url(../images/final.jpg);
}

.final .content h1 {
    margin-top: 50px;
}

.final .content p:last-of-type {
    letter-spacing: 0.75em;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.final-image { 
    display: none;
}

.final .content h1 em {
    font-size: 57px;
}

.final .content h1 span {
    font-size: 34px;
    line-height: 44px;
    padding-right: 20px;
}


* {
    box-sizing: border-box;
}

.nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 20%;
    min-width: 300px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 11;
}

.nav .brand {
    width: 100%;
    padding: 50px;
    text-align: center;
}

.nav .brand .logo_large {
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
    max-width: 220px;
}

.nav ul {
    list-style-type: none;
    padding-left: 0;
}

.nav .menu {
    display: flex;
    flex-basis: 40%;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1em;
    font-size: 14px;
    line-height: 30px;
    font-weight: bold;
    padding-left: 10px;
}

.nav .menu, .nav .menu a {
    transition: all 0.3s ease-in-out;
}

.nav .menu a:hover {
    letter-spacing: 1.3em;
}

.nav .menu a:hover .icon-cart::before {
    margin-right: 14px;
}

.icon-cart.num::after {
    content: "";
    background: #fff;
    border-radius: 50%;
    color: #191a1c;
    position: absolute;
    line-height: 8px;
    font-weight: bold;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0;
    padding-bottom: 2px;
    width: 17px;
    height: 17px;
    left: 9px;
    top: 3px;
}

.icon-cart.num-1::after { content: "1"; }
.icon-cart.num-2::after { content: "2"; }
.icon-cart.num-3::after { content: "3"; }
.icon-cart.num-4::after { content: "4"; }
.icon-cart.num-5::after { content: "5"; }
.icon-cart.num-6::after { content: "6"; }
.icon-cart.num-7::after { content: "7"; }
.icon-cart.num-8::after { content: "8"; }
.icon-cart.num-9::after { content: "9"; }
.icon-cart.num-10::after { content: "10"; }

.mobile-cart {
    display: none;
}

.nav .socials {
    display: flex;
    flex-direction: row;
    align-content: center;
    padding-bottom: 50px;
}

.nav .socials .icon {
    border: 3px solid #fff;
    border-radius: 50%;
    color: #191919;
    width: 42px;
    height: 42px;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all 0.3s ease-out;
}

.nav .socials a:hover .icon {
    background-size: 180% 180%;
}

.nav .socials a + a {
    margin-left: 15px;
}

.nav .socials .icon-instagram {
    background-image: url(../images/instagram.png);
}
.nav .socials .icon-facebook {
    background-image: url(../images/facebook.png);
}
.nav .socials .icon-mail {
    background-image: url(../images/email.png);
}

.icon-cart {
    display: inline-flex;
    align-items: center;
    margin: 20px 0;
    position: relative;
}

.icon-cart::before {
    content: "";
    border: 0;
    width: 35px;
    height: 35px;
    display: inline-block;
    background-image: url(../images/cart.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
}

.content-wrap {
    width: 100%;
    padding-left: calc( max(20%, 200px) + 100px );
    padding-right: max(10%, 50px);
    /*padding-right: 50px;*/
    display: flex;
    justify-content: flex-end;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.content {
    flex-basis: 100%;
    max-width: 500px;
    text-align: justify;
    color: #ffffff;
    background-color: rgba(24,26,28, 0.9);
    min-height: 100vh;
}

.content-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: rgba(24,26,28, 0.7) !important;
}

.content-404 h1 {
    font-size: 38px !important;
    margin: 0 !important;
    margin-left: 20px !important;
    margin-top: -60px !important;
}

.content-brand {
    padding: 30px 70px;
}

.content h1 {
    text-align: center;
    font-size: 22px;
    letter-spacing: 0.5em;
    margin-bottom: 50px;
}

.content h1 {
    display: flex;
    flex-direction: column;
    line-height: 31px;
}

.content h1 em {
    font-style: normal;
    letter-spacing: 1.4em;
    font-size: 36px;
    margin-right: -50px;
}

.content p:last-child {
    margin-bottom: 40px;
}

.hide {
    display: none !important;
}

.content-featured {
    padding: 0px;
    display: flex;
}

.content-featured .item-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.content-featured .item-image, .content-item .item-image {
    width: 100%;
    animation: image-flicker 14s infinite;
    border-radius: 40px;
}

.item-gallery a + .owl-carousel-wrap {
    margin-top: 10px; 

}

.content-item, .content-catalogue {
    max-width: 100%;
    min-width: 600px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 20px;
    padding-right: 20px;
}

.content-catalogue { 
    max-width: 70%;
}

.content-cart {
    flex-direction: column;
}

.content-item .item-gallery {
    max-width: 600px;
    width: 50%;
}

.item-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.content-item .item-caption {
    width: 30%;
    min-width: 300px;
    padding: 20px 10px 0px 30px
}

.item-thumbnail {
    width: 80%;
    max-width: 100px;
    opacity: 0.3;
    transition: all 0.3s ease-in-out;
    border: 2px solid #fff;
}

.item-thumbnail.active, .item-thumbnail:hover, .item-thumbnail:focus {
    opacity: 1;
}

.content-item .owl-item {
    text-align: center;
}

.owl-item .item-caption {
    display: inline-block;
    position: relative;
}

.content-featured .item-title {
    font-size: 18px;
    letter-spacing: 0.2em;
    white-space: nowrap;
    padding: 0 0 0 5px;
    margin: 0;
    text-align: center;
}

.content-item .item-title {
    white-space: wrap;
    letter-spacing: 0.2em;
    font-size: 22px;
    font-weight: bold;
    padding: 0;
    margin: 0;
    text-align: left;
}

.content-featured .item-buy, .content-item .item-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 3px;
}

.content-item .item-buy {
    flex-wrap: wrap;
}

.content-featured .item-price, .content-item .item-price {
    font-size: 38px;
    font-weight: bold;
    margin-top: -5px;
    margin-right: 15px;
}

.content-item .item-price {
    margin-top: 11px;
    margin-right: 10px;

}
.content-item .button {
    margin-top: 15px;
}

.button {
    border: 3px solid #fff;
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 9px;
    padding: 3px 15px;
    font-weight: bold;
    height: 30px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
}

.button:hover, .button:focus, .button.added {
    background: #fff;
    color: #191a1c;
}

.button.added { 
    cursor: default;
}

.button-large {
    font-size: 16px;
    letter-spacing: 1em;
    width: 100%;
    padding: 8px 15px;
    height: auto;
}

.owl-dots {
    bottom: 70px;
}


.owl-carousel {
    align-items: center;
}

.content-catalogue {
    align-items: flex-start;
    padding: 20px;
}

.content-catalogue h1 {
    flex-basis: 100%;
}

.content-cart h1 img {
    max-width: 180px; 
    margin-left: auto; 
    margin-right: auto;
    margin-top: -20px;
}

.content-catalogue .item-caption {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.content-catalogue .item-caption {
    text-align: left;
}

.content-catalogue .item-block {
    width: 50%;
    padding: 20px;
    text-align: center;
}

.content-cart { 
    padding: 50px;
}

.content-cart .item-block { 
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.cart-empty {
    text-align: center;
    letter-spacing: 0.1em;
}

.content-cart .item-delete:before {
    content: "\2715";
    /*position: absolute;
    left: -20px;
    width: 20px;*/
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.content-cart .item-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.content-catalogue .item-block .item-image {
    max-height: 250px;
}

.content-cart .item-block .item-image {
    max-height: 100px;
}

.content-cart .cart-total {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 5px;
    border-top: 2px solid #fff;
}

.content-cart .price-total {
    font-size: 38px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 10px;
}

.rd-mailform {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.form-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    flex-basis: 49%;
    padding-bottom: 20px;
}

.form-wrap input {
    width: 100%;
    height: 40px;
    padding: 5px;
    padding-left: 10px;
    font-family: Mic32, sans-serif;
    font-size: 18px;
    background: #000;
    color: #fff;
    border: 0;
}

.form-wrap input:focus {
    outline: 0;
}

.form-wrap.has-error input {
    background: rgba(195,50,50,0.2);
}

.form-wrap label {
    position: absolute;
    left: 0;
    color: #fff;
    padding-left: 10px;
    top: 0;
    line-height: 38px;
    font-weight: bold;
}

.form-wrap label.focus {
    opacity: 0;
}

.form-wrap .form-validation {
    width: 100%;
    font-size: 14px;
    /* text-transform: uppercase; */
    opacity: 0.6;
    position: absolute;
    top: 38px;
}

.content-catalogue .item-title {
    max-width: 150px;
    margin-top: 10px;
    font-weight: bold;
    text-align: left;
}

.content-catalogue .item-price {
    font-size: 38px;
    text-align: right;
    font-weight: bold;
}

.content-cart .item-title { 
    margin-right: 10px;
    text-align: left;
}

.content-cart .item-price {
    font-weight: bold;
    font-size: 18px;
    margin-left: 10px;
}

@media (max-height:600px) {
    .nav { position:  absolute;}
    .owl-carousel { 
        min-height: 600px; 
    }
    .content-featured .item-image {
        width: unset;
        height: 300px;
    }
}


@keyframes image-flicker {
    0%, 50% {
        transform: translate(0, 0);
        opacity: 1;
        /*filter: contrast(100%) brightness(100%);*/
      }
      50.5% {
        transform: translate(-1px, 1px);
        opacity: 0.7;
        /*filter: contrast(90%) brightness(120%);*/
      }
      51% {
        transform: translate(1px, 0);
        opacity: 0.3;
        /*filter: contrast(130%) brightness(110%);*/
      }
      51.5% {
        transform: translate(2px, -2px);
        opacity: 0;
        /*filter: contrast(110%) brightness(100%);*/
      }
      52% {
        transform: translate(-1px, 1px);
        opacity: 0.5;
        /*filter: contrast(100%) brightness(105%);*/
      }
      52.5% {
        transform: translate(0, 0);
        opacity: 1;
        /*filter: contrast(120%) brightness(95%);*/
      }
      53%, 100% {
        transform: translate(0, 0);
        opacity: 1;
        /*filter: contrast(100%) brightness(100%);*/
      }
}

@keyframes bg-flicker {
    0%, 20% {
        opacity: 0;
      }
      30.5% {
        opacity: 0.3;
      }
      31% {
        opacity: 0.95;
      }
      31.5% {
        opacity: 0.2;
      }
      32% {
        opacity: 0.5;
      }
      33%, 100% {
        opacity: 0;
      }
}

.bottom-links {
    display: flex;
    justify-content: space-between;
    margin-right: -5px;
}

.bottom-links a {
    font-weight: bold;
    letter-spacing: 0.5em;
    font-size: 14px;
}

/* loader */

#page-loader {
    /*background-image: url(../images/logo-bg.png);
    background-position: calc(50% + 7px) center;
    background-size: 325px auto;
    background-repeat: no-repeat;*/
    transition: all 0.2s ease-in;
    
}

#page-loader:before {
    content: "loading";
    font-size: 12px;
    letter-spacing: 1em;
    position: relative;
    left: 12px;
    top: 290px;
    animation: blink 1s infinite;
    padding-right: 7px;
}

#page-loader:after {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(24,26,28, 1);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    animation: fadeIn 2s forwards;
}

#page-loader.checkout {
    background-color: rgba(24,26,28, 1);
    backdrop-filter: blur(25px) contrast(1.5);
    transition: all 2.5s ease-in;
}

#page-loader.checkout:before {
    content: "processing";
}

#page-loader.checkout::after {
    display: none;
}

  .tentacle-container {
    position: relative;
    width: 100px;
    height: 300px;
    transform: scale(0.25);
    top: -14px;
  }

  .logo-container {
    position: absolute;
    left: calc(50% - 108px);
    top: calc(50% - 121px);
    min-width: 300px;
}

/*
  .tentacle-container::before {
      content: "";
      position: absolute;
      top: -255px;
      left: -20px;
      background: url("../images/head.png");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: contain;
      width: 182px;
      height: 100%;
  }*/

  .segment {
    position: absolute;
    left: 50%;
    background-color: #fff;
    border-radius: 50%;
    transform-origin: center;
    animation: moveWave 5s ease-in-out infinite;
  }

  .topnav-toggle {
    display: none;
  }

  /* Base keyframes for sine wave animation */
  @keyframes moveWave {
    0%, 100% {
      transform: translateX(0);
    }
    50% {
      transform: translateX(var(--amplitude));
    }
  }
  @keyframes blink {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
  }
  @keyframes fadeIn {
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }



@media(max-width:992px) {
    .content {
        max-width: 400px;
    }

    .content-brand h1, .content-cart h1 {
        margin-left: -50px;
        margin-right: -50px;
    }

    .content-brand h1 em, .content-cart h1 em {
        font-size: 25px;
        margin-right: -35px;
    }

    .content-catalogue .item-block {
        width: 100%;
    }

    .content-item, .content-catalogue {
        min-width: unset;
        padding-bottom: 90px;
        padding-top: 40px;
    }

    .item-wrap {
        flex-direction: column;
    }
    .content-item .item-gallery, .content-item .item-caption {
        width: 100%;
    }
    .content-item .item-caption {
        padding: 20px 30px 0px 30px;
    }
    .content-item .item-title {
        text-align: center;
    }

    .form-wrap {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .final .content h1 em {
        margin-left: 30px;
    }
}

@media(max-width:769px) {
    .content {
        max-width: 350px;
    }

    .content-brand {
        padding: 30px 50px;
    }

    .content-brand h1, .content-cart h1 {
        margin-left: -40px;
        margin-right: -40px;
    }

    .content-brand h1 em, .content-cart h1 em {
        font-size: 25px;
        margin-right: -30px;
    }

    .nav .brand {
        padding: 30px;
    }

    .nav {
        min-width: 250px;
    }

    .nav .menu {
        font-size: 13px;
    }

    .content-wrap {
        padding-left: calc(max(20%, 150px) + 100px);
        padding-right: 20px;
    }

    .content-featured .item-title {
        white-space: wrap;
    }

    .content-cart .item-block .item-image {
        max-height: 50px;
    }

    .ae-link {
        display: inline-block;
        margin-left: -20px;
    }

}

@media(max-width:620px) { 

    body {
        margin-top: 100px;
    }

    .content-wrap {
        justify-content: center;
    }
    .nav {
        flex-direction: row;
        max-width: unset;
        min-width: unset;
        width: 100%;
        height: 100px;
        background: #191a1c;
    }

    .nav .brand {
        width: 110px;
        padding: 0;
        margin-left: 30px;
        margin-top: 5px;
    }

    .nav .menu {
        opacity: 0;
        position: fixed;
        overflow: hidden;
        width: 100%;
        height: 1px;
        left: 0;
        top: 100px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(24,26,28, 0.5);
        backdrop-filter: blur(0px);
        transition: all 0.5s ease;
        
    }

    .nav.open .menu {
        opacity: 1;
        backdrop-filter: blur(10px);
        height: calc(100% - 100px);
    }

    .nav .socials {
        padding-bottom: 0;
        padding-right: 30px;
    }

    .nav .socials .icon {
        width: 36px;
        height: 36px;
    }

    .content-wrap {
        padding-left: 30px;
        padding-right: 30px;
    }

    .topnav-toggle {
        width: 48px;
        height: 48px;
        line-height: 48px;
        background: none;
        border: 0;
        cursor: pointer;
        display: block;
        margin-right: 30px;
    }

    .topnav-toggle span, .topnav-toggle span::after, .topnav-toggle span::before {
        content: "";
        display: block;
        position: relative;
        width: 24px;
        height: 2px;
        background: #fff;
        backface-visibility: hidden;
        border-radius: 0;
        margin: auto;
        transition: .3s all ease;
    }

    .topnav-toggle span::before, .topnav-toggle span::after {
        transition-duration: .3s,.3s;
        transition-delay: .3s,0s;
        transition-property: top,transform;
    }

    .nav.open .topnav-toggle span:before,  .nav.open .topnav-toggle span:after {
        transition-delay: 0s, .3s;
    }

    .topnav-toggle span::before {
        top: 8px;
    }

    .topnav-toggle span::after {
        top: -10px;
    }

    .nav.open .topnav-toggle span {
        background: transparent;
    }

    .nav.open .topnav-toggle span:before {
        transform: rotate(45deg);
        top: 0;
    }
    .nav.open .topnav-toggle span:after {
        transform: rotate(-45deg);
        top: -2px;
    }

    .content-item, .content-catalogue {
        padding-bottom: 40px;
        padding-top: 20px;
    }

    .content-wrap, .content {
        min-height: calc(100vh - 100px);
    }

    .final .content h1 {
        margin-top: 0px;
    }

    .nav .socials {
        position: fixed;
        bottom: -100px;
        width: 100%;
        opacity: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        justify-content: center;
        padding-right: 0;
    }

    .nav.open .socials {
        opacity: 1;
        bottom: 20px;
        height: auto;
    }

    .mobile-cart {
        display: block;
        position: absolute;
        right: 70px;
    }

    body {
        overflow-x: hidden;
    }

    .final-image {
        display: block;
        margin: 50px -50px -70px -50px;
        width: calc(100% + 100px);
    }

}

@media(max-width:401px) {
    .content-wrap {
        padding-left:0px;
        padding-right: 0px;
    }
}