
html,body{
  margin: 0;
  padding: 0;
  min-height: 100%;
}

html {
    height: 100%;
    background-color: #f6f6f6;
}
body {
    font-family: Font; /*, Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif; */
    font-size: 14pt;
    color: #333;
}

#wrapper {
    padding: 20px;
}

#cart, #checkout {
    padding: 20px;
}

a {
    transition: color 0.7s;
    text-decoration: none;
}

button {
    transition: background-color 0.7s;
}

.newsletter button {
    background-color: #cf6a6a;
    height: 38px;
}

.newsletter button:hover {
    background-color: rgb(252, 194, 0);
}

.navigation a, .navigation button {
    display: block;
    // padding-right: 1em;
    margin-top: -16px;
}

a:hover, .navi a:hover, .navi button:hover, #logout:hover {
    color: #cf6a6a;
}

li {
    list-style: none;
}

.navi {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    background-color: white; 
//    background-color: #f9f9f9;
//    background-color: #7f1a1a; */
 //   background-color: #f9f9f9;
    z-index: 2000;
    padding: 28px 10px 38px 28px;
    padding: 18px 10px 24px 28px;
//  box-shadow: 8px 2px 8px #dcc;  
    border-bottom: #ddd solid 1px;
    color: #8f1a1a;
}

.navigation {
    float: right;
    display: inline-flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    padding: 0;
}

@media all and (max-width: 800px) {
    .navigation {
        justify-content: space-around;
    }
}

@media all and (max-width: 600px) {
    .navigation {
        flex-flow: column wrap;
        // padding: 0;
    }
    .navigation a { 
        text-align: center; 
        padding: 10px;
        border-top: 1px solid rgba(255, 255, 255,0.3); 
        border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
    }
    .navigation li:last-of-type a {
        border-bottom: none;
    }
}

.navT{
  -webkit-transition: all 0.25s;
  z-index: 111;
  cursor: pointer;
  width: 100%;
  background:#212121;
  height: 65px;
  left: 0;
  top: 0;
  position: fixed;

  .icon{
    -webkit-transition: all 0.25s;
    position: absolute;
    width: 30px;
    height: 1px;
    left: 15px;
    top: 30px;
    background-color: white;
    
    &:before, &:after{
    -webkit-transition: all 0.25s;
    width: 30px;
    height: 1px;
    left: 0;
    background: white;
    position: absolute;
    content: '';
    }
    &:before{
      top: -10px;
    }
    &:after{
      top: 10px;
    }
  
  }
  &:hover{
    background:black;
    
    .icon{
      &:before{
        top:-12px;
      }
      &:after{
        top: 12px;
      }
    }
  }
  &.active{
    .icon{
      -webkit-transform: rotate(180deg);
      background-color: transparent;
      left: 10px;
      
    &:before, &:after{
      top: 0;
    }
      &:before{
        -webkit-transform: rotate(45deg);
     
      }
      &:after{
        -webkit-transform: rotate(-45deg);
      }
    }
  }
}

#menu{
  z-index: 111;
  -webkit-transition: all 0.5s;
  text-align: center;
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 65px;
  font-size: 18px;
  font-family: sans-serif;
  font-weight: 100;
  text-transform: uppercase;
  width: 100%;
  height: 0;
  border-bottom: 1px solid transparent;
  overflow: hidden;
  & ul{
    list-style: none;
    padding: 0;
    letter-spacing: 0.4em;
  }
  & li:first-child{
    margin-top: 0;
  }
  & li{
    -webkit-transition: all 0.2s;
    margin-top: 20px;
    padding: 5px 0;
    color:white;
  }
  & a{
    padding: 8px;
    -webkit-transition: all 0.25s;
    cursor: pointer;
  }
  & a:hover{
    letter-spacing: 0.5em;
    text-decoration: underline;
  }
  &.open{
    height: 270px;
    width: 100%;
    background: #f3581b;
    border-bottom: 1px solid black;
  }
}
.space{
  letter-spacing: 0;
}

h1 {
    margin: 10px 0px;
    font-size: 18px;
}

.navi h1 {
    margin: 0px 10px;
    font-size: 24px;
}

h2 {
    color: white;
    font-size: 24px;
}

h3 {
    color: #7f1a1a;
    font-size: 24px;
}

hr {
    margin: 40px 0;
/*  color: #7f1a1a; */
}

/* LINKS */

a {
    text-decoration: none;
    color: #7f1a1a;
    font-weight: 500;
}


/* TABLES */

.top_line {
    margin: 0 2%;
    display: block;
}

.top_line_logo {
    margin: 0 0 0 0;
    display: inline;
    font-size: 24px;
}

.right {
    margin: 0 10px -3 0;
    float: right;
}


/* IMAGES */

img {
    image-orientation: from-image;
    opacity: 1;
}

detail-img {
    cursor: pointer;
}

.top_line_logo img {
    width: 48px;
    z-index: 3000;
    opacity: 1;
    margin-right: 13px;
    margin-bottom: -7px;
    margin-top: 5px;
}


/* DIVS */

#page-wrap {
    top: 0;
}

#haupttext {
    margin: 0px 40px 90px 40px;
}

#text {
    margin-top: 68px;
}

#filters {
    width: 100%;
    display: flex;
    position: fixed;
    z-index: 200;
    background-color: aliceblue;  
    padding: 3px 0;
}

#filter {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

#selections {
  display: flex;
  justify-content: right;
  margin-right: 30px;
  width: 30%;
}

#languageSelector, #currencySelector, #categorySelector {
    width: auto;
    height: 20px;  
    padding: 0 6px 0 8px;
    margin: 0 0 0 20px;
    background-color: white;
    border: lightblue solid 1px;
    color: #7f1a1a;
}
  
.responsive_navi, #categorySelector {
	display: none;
}

@media (max-width: 520px) {

        .newsletter button {
            display: block;
        }
        
        .newsletter: margin-bottom: 200px;
}

.product img {
  max-width: 100%;
  height: auto;
}

.product h2 {
  margin-top: 0;
}

.toolbar {
    margin-right: 20px;
}

#cart-icon-toolbar {
    stroke: white;
}

#cart-show, #cart-show a {
    color: white;
    padding: 0px 8px;
    margin-top: -8px;
    border-radius: 4px;
    background-color: white;
    display: flex;
}

.total, #total {
  font-weight: bold;
  margin: 0;
  text-align: right;
  font-size: 24px;
}

#total {
    margin-right: 20px;
}

.container {
 // max-width: 600px;
  margin: auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}

.checkout {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
}

label {
  /*display: block;*/
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#registration-form input[type="text"],
#registration-form input[type="password"],
#registration-form input[type="email"],
#login-form button,
#registration-form button,
#login-form input[type="text"],
#login-form input[type="password"],
#login-form input[type="email"] {
  display: block;
  width: 280px;
  padding: 10px;
  border-radius: 5px;
  border: 0px solid #ccc;
}

#login-form button,
#registration-form button {
    width: 300px;
}

.login-button {
    padding: 10px 0;
}

button, .button {
  background-color: #7f1a1a;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
}

button:hover, .button:hover {
  background-color: #cf6a6a;
}

.remove-from-cart {
  float: right;
  margin: -3px;
}

.button-blank {
	background: none;
	color: #7f1a1a;
	border: none;
	font: inherit;
	cursor: pointer;
	outline: inherit;
        font-weight: 500;
    padding: 0 20px;
}

.button-blank:hover {
    background-color: white;
}

#show-cart, #show-downloads, #show-account-information {
    margin: 0px 0px 10px 0;
}

#navigation {
    display: block;
}

#navi-tabs {
    margin: 30px 0 20px 0;
}

::placeholder {
  color: #7f1a1a;
  opacity: 0.5; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #7f1a1a;
}

#detail-desc {
    display: flex;
}

#detail-desc #desc {
    width: 70%;
    padding: 0 30px 30px 30px;
}

#detail-desc img {
    width: 30%;
    height: auto;
    align-self: flex-start;
    flex: 0 0 auto;
    cursor: pointer;
    display: block;
  max-width: 30%;
  // max-height: 85vh;
  // width: auto;
  // height: auto;
}

#video iframe {
    width: 560px;
    height: 315px;
}

#detail-desc .products {
    margin: 0 0 0 0px;
    display: block;
}

@media (max-width: 860px) {
    
    #detail-desc {
        display: block;
    }
    
    #detail-desc img {
        width: 80%;
        max-width: 80%;
        height: auto;
        max-height: none;
        margin: auto;
        margin-bottom: 24px;
    }
    
    #detail-desc #desc {
        width: 80%;
        padding: 0;
        margin: auto;
    }

    #video iframe {
        width: 100%;
    }

    #video {
        width: 100%;
        height: auto;
    }
    
}

.box {
  margin: 30px;
  height: 50px;
  width: 50px;
  background-color: blue;
}
.box.horizTranslate {
  -webkit-transition: 3s;
  -moz-transition: 3s;
  -ms-transition: 3s;
  -o-transition: 3s;
  transition: 3s;
  margin-left: 50% !important;
}

.box {
  border-style: solid;
  border-width: 1px;
  display: block;
  width: 100px;
  height: 100px;
  background-color: #0000ff;
  transition:
    width 2s,
    height 2s,
    background-color 2s,
    rotate 2s;
}

.box:hover {
  background-color: #ffcccc;
  width: 200px;
  height: 200px;
  rotate: 180deg;
}

.login, .title {
    font-size: 32px;
    color: #7f1a1a;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    margin-top: 36px;
    margin-bottom: 46px;
    text-align: center;
    font-weight: 1000;
}

.title {
    margin-top: 46px;
}

.type {
    font-size: 32px;
    color: #7f1a1a;
    margin: 46px 0px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-weight: 1000;
    scroll-margin-top: 120px;
}

hr {
    color: #7f1a1a;
    
}

#footer {
    //height: 200px;
    background-color: #7f1a1a;
    font-size: 20px;
    color: white;
    margin: 32px 0 0 0;
    padding: 32px;
}

#stay-current {
    margin: 0 0 20px 0;
}

#footer input[type="email"],
#footer input[type="text"]{
    width: 300px;
}

.newsletter-msg2 {
    color: white;
    font-size: 16px;
    padding: 0;
    margin: 10px 0 0 0;
    display: none;
}

#cart-container, #downloads-container, #account-info-container {
    width: 76%;
    height: 100vh;
    background: white;
    padding: 90px 10% 0px 10%;
    overflow: hidden;
    display: none;
    min-height: 60vh; 
    margin-top: 36px;
}

#cart-container {
    display: inline;
}

#cart-container table {
    background: #f1f1f1;
}

.owned-image img {
  border: 1px solid #fff;
  border-radius: 4px;
  padding: 5px;
  width: 100px;
}

#downloads-container table, #cart-container table {
  border-collapse: collapse;
  width: 100%;
}

#downloads-container tr, #cart-container tr {
  border-bottom: 3px solid;
  border-color: white;
}

#downloads-container td, #cart-container td {
  text-align: left;
  padding: 8px;
}

#downloads-container tr:nth-child(even), #cart-container tr:nth-child(even) {
  background-color: #eae0c8;
}

#downloads-container tr:nth-child(odd), #cart-container tr:nth-child(odd) {
  background-color: #faf0be;
}

.del-btn {
    padding-top: 5px;
    margin: 10px;
    width: 31px;
    height: 31px;
}

#cart-container .del-btn {
    padding-top: 5px;
    margin: 5px;
    width: 31px;
    height: 31px;
}

.download {
    font-style: italic;
}

#checkout .column {
  float: left;
  width: 50%;
}

#checkout {
    margin-top: 20px;
    display: flex; 
    justify-content: flex-end;
}

/* Clear floats after the columns */
#checkout:after {
  content: "";
  display: table;
  clear: both;
}

/*@mixin sp-layout {
  @media screen and (max-width: 900px) {
    @content;
  }
}

@mixin pc-layout {
  @media screen and (min-width: 901px) {
    @content;
  }
}*/

#burger-toggle {
  position: absolute;
  appearance: none;
  opacity: 0;

  &:checked {
    & ~ .menu {
      opacity: 1;
      visibility: visible;
      
    & ~ #haupttext {
          display: none;
    }

      .menu-nav-link span div,
      img,
      .title p {
        transform: translateY(0);
        transition: 1.2s 0.1s cubic-bezier(0.35, 0, 0.07, 1);
      }
    }

    & ~ .burger-menu {
      .line {
        &::after {
          transform: translateX(0);
        }

        &:nth-child(1) {
          transform: translateY(calc(var(--burger-menu-radius) / 5))
            rotate(45deg);
        }

        &:nth-child(2) {
          transform: scaleX(0);
        }

        &:nth-child(3) {
          transform: translateY(calc(var(--burger-menu-radius) / -5))
            rotate(-45deg);
        }
      }
    }
  }
}

.burger-menu {
  --burger-menu-radius: 3em;

  position: fixed;
  top: 2px;
  right: 8px;
  z-index: 20001;
  width: var(--burger-menu-radius);
  height: var(--burger-menu-radius);
  outline: none;
  cursor: pointer;

  .line {
    position: absolute;
    left: 25%;
    width: 50%;
    height: 3px;
    background: #7f1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;

    &:nth-child(1) {
      top: 30%;
    }

    &:nth-child(2) {
      top: 50%;
    }

    &:nth-child(3) {
      top: 70%;
    }

    &::after {
      position: absolute;
      content: "";
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--primary-color-darker);
      transform: translateX(-100%);
      transition: 0.25s;
    }

    @for $i from 2 through 3 {
      &:nth-child(#{$i})::after {
        transition-delay: 0.1s * ($i - 1);
      }
    }
  }

  &:hover {
    .line::after {
      transform: translateX(0);
    }
  }
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #1a1e23;
  /*background: rgb(252, 194, 0);*/
  opacity: 0;
  overflow-x: hidden;
  visibility: hidden;
  transition: 0.3s;
  z-index: 20000;

  @include sp-layout {
    display: block;
  }

  &-nav {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    text-align: center;
    list-style-type: none;

    @include sp-layout {
      flex-direction: column;
    }

    &-item {
      flex: 1;
    }

    &-link {
      position: relative;
      display: inline-flex;
      font-size: 2rem;
      color: white;
      text-decoration: none;

      span {
        overflow: hidden;

        div {
          transform: translateY(102%);
        }
      }

      &::after {
        position: absolute;
        content: "";
        top: 100%;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 1s;
      }

      &:hover::after {
        transform: scaleX(1);
        transform-origin: left;
      }
    }
  }
}

#total {
    font-size: 28px;
    padding-left: 100px;
}

.pay {
    width: 240px;
    font-size: 20px;
    margin: 32px 0 0 auto;
    float: right;
}

.products {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}

.product {
    width: 21%;
    box-sizing: border-box;
    // border-radius: 5px;
    margin: 0 2% 24px 2%;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.wrapper {
    height: 100%;
    position: relative;
    margin: 0 0 64px 0;
}

.added {
    color: white;
    background-color: red;
}

/* Cart page */

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

table, tr {
    border: solid 4px white;
    margin-bottom: 32px;
}

td {
    padding: 10px;
}

th {
    padding: 10px;
}

#th-price {
    text-align: right;
}

#th-delete {
    text-align: right;
}

tr {
    background-color: #faf0be;
}

#cart-table {
    font-size: 24px;
    margin: 60px 0 40px 0;
    width: 75%;
}

#checkout-btn {
    padding: 10px 24px;
    font: inherit;
    font-size: 24px;
}

#message {
    min-height: 39vh;
}

/* Burger Menu */


#burger-toggle, .burger-menu {
    display: none;
}

.menu-nav-item, .menu-nav-link {
    font-size: 32px;
    color: rgb(252, 194, 0);
}

@media screen and (max-width: 1200px) {
    
    .product {
        width: 29%;
    }
    
    #haupttext {
        margin: 0px 1% 90px 2%;
    }
}

@media screen and (max-width: 1065px) {
    
    .toolbar {
        margin: 0;
    }
}

@media screen and (max-width: 1045px) {
    
    #burger-toggle, .burger-menu {
        display: block;
    }
    
    .navigation a, .navigation button {
        display: none;
    }

    #filter {
        display: none;
    }
    
    #categorySelector {
        display: block;
    }
    
    #selections {
        justify-content: right;
        width: 100%;
    }
  
    .container {
        display: block;
        width: 100%;
    }
  
    #login, #contact {
        display: none;
    }
    
    .toolbar {
        display: block;
        margin-right: 40px;
        margin-top: 7px;
    }
  
    .navi {
        padding: 10px 10px;
    }
    
    #cart-table {
        width: 100%;
    }
    
    #cart #total, #cart #checkout {
        margin-right: 0px;
        padding: 0px;
    }
}

@media screen and (max-width: 955px) {
  
    .top_line_logo, .navi h1 {
        font-size: 20px;
    }
  
    .button-blank{
        padding: 0 8px;
    }
    
    #checkout {
        display: block;
    }
    
    #cart #checkout {
        display: flex;
    }
    
    #checkout .column {
        float: none;
        width: 100%;
    }
    
    #checkout #total {
        margin-right: 0px;
        padding: 0px;
    }
}

@media screen and (max-width: 890px) {
    
  #burger-toggle, .burger-menu {
    display: block;
  }
  
    .product {
        width: 46%;
    }
  
  #haupttext {
    margin: 0px 5% 90px 5%;
  }
  
  .wrapper {
    margin: 0 0 14px 0;
  }
}

@media screen and (max-width: 680px) {
  
    .navigation {
        display: none;
    }
  
  .product {
    width: 100%;
    margin: 0 0 24px 0;
  } 
  
    #footer {
        //height: 20px;
    }
}

@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
  
  #flex-container {
    display: block;
    width: 100%;
    height: 100hv;
    padding: 0px 0px 0px 0px;
  }
  
  #cart-container, #downloads-container, #account-info-container {
    display: block;
    width: 100%;
    padding: 0px 0px 0px 0px;
  }
  
  #downloads-container, #account-info-container {
    display: none;
  }
  
  #cart-container button, #no-purchases {
    margin: 0 0 0 10px;
  }
  
  .cart-caption {
    margin: 20px 0 0 10px;
  }
  
  #continue-shopping {
    margin: 10px 0 20px 10px;
  }
  
  tr {
    border-left: solid 10px white;
    border-right: solid 10px white;
  }
  
  .total, #total {
    margin: 0 10px 0 0;
  }
  
  #navigation {
      width: 100%;
      margin: 20px 0 -36px 10px;
  }
  
  #navigation button {
      width: auto;
  }
}