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

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

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;
//  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;
}

.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;
}

.responsive_navi {
	display: none;
}

.flex-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding: 0;
  margin: 0 4% 50px 4%;
  list-style: none;
}

.flex-item {
  padding: 5px;
  width: 240px;
  height: 420px;
  margin-top: 10px;
  text-align: center;
  flex: 1 0 21%;
}
        
/* The wrapper for each item */
.rig-cell {
    margin: 0;
    display: inline-block; 
    position: relative;
    overflow: hidden;
    text-align: center;
}
        
/* If have the image layer */
.rig-img {
  //  display: block;
    width: 100%;
    height: auto;
    border: none;
    transition: all 1s;
    opacity: 1;
    box-sizing: content-box;
    margin: 0 auto;
    object-fit: cover;
    width: 240px;
    height: 240px;
    border-radius:0%;
}

.flex-container li:hover .rig-img {
    transform: scale(1.05); 
    opacity: 0.2;
}


/* captions */
.rig-text {
    display: block;
    padding: 80px 60px;
    box-sizing: content-box;
    position: absolute;
    left: 0;
    text-align: center;
    font-size: 30px;
    font-weight: normal!important;
    top: 20%;
    filter: alpha(opacity=1);/*For older IE*/
    transform: translateY(-20px);
    transition: all .4s;
    opacity: 1;
    color: white;
    position: relative;
    padding: 0 0 0 0;
    top: -122px;
}


/* captions */
.rig-text a {
    color: white;
}

.rig-text a:hover {
    color: #7f1a1a;
}

.rig-cell a:hover {
    color: #7f1a1a;
}

.flex-container li:hover .rig-text {
    position: relative;
    padding: 0 0 0 0; 
    opacity: 1;
    color: #7f1a1a;
}

.flex-container li:hover h3 {
    transform: translateY(0px);
    transition: all .4s;
    position: relative;
    padding: 0 0 0 0; 
    color: #7f1a1a;
}

.flex-container p {
    margin: 0 0 0 0;
}

.flex-container into-cart {
    margin: -26px 0 0 0;
}

@media (max-width: 950px) {
    #rig li {
        width: 33.33%;
    }
}

@media (max-width: 740px) {
    
    #rig li {
        width: 50%;
    }
}

@media (max-width: 520px) {
    #rig li {
        width: 100%;
        margin: 0;
        padding: 0px;
    text-align: center;
    }
    
	.rig-img {
            width: 90%;
            height: auto;
            border-radius: 0%;
            opacity: 1;
            transition: all 1.4s;
	}
	
	#rig li:hover .rig-img {
	}
	
	.rig-cell {
            margin: 0px;
            padding: 0px;
            text-align: center;
	}

	.rig-text, #rig li:hover .rig-text {
		display: block;
		padding: 5px 5px;
		box-sizing: content-box;
		position: relative;
		top: -95px;
		z-index: 999;
		font-size: 38px;
		color: #7f1a1a;
		color: white;
		text-align: center;
		transform: none;
		transition: all .4s;
		line-height: 38px;
	}
	
	#rig li:hover .rig-text {
		color: #7f1a1a;
	}

        .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: -16px;
  border-radius: 4px;
  background-color: white;
}

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

.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;
}

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;
}

::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: center;
    flex: 0 0 auto;
}

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

.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: -50px;
    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;
}

hr {
    color: #7f1a1a;
    
}

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

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

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

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

#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%;
}

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

@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}

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

.pay {
    width: 240px;
    font-size: 20px;
}

#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: 990px) {
    .toolbar {
        margin: 0;
    }
}

@media screen and (max-width: 955px) {
  
  .top_line_logo {
      font-size: 20px;
  }
  
  .button-blank{
      padding: 0 8px;
  }
}

@media screen and (max-width: 900px) {
  #burger-toggle, .burger-menu {
    display: block;
  }
  
  .container {
      display: block;
      width: 100%;
  }
  
  .navigation {
      display: none;
  }
  
  .products {
      display: inline;
  }
  
  .product {
      width: 100%;
  }
  
  .navi {
      padding: 10px 10px;
  }
  
  .toolbar {
      display: none;
  }
}

@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;
      }
    }
  }
}