@font-face {
  font-family: 'LidlFontCondPro-Bold';
  src: url('../fonts/LidlFontPro-Bold.eot');
  src: url('../fonts/LidlFontPro-Bold.woff2') format('woff2'),
       url('../fonts/LidlFontPro-Bold.woff') format('woff'),
       url('../fonts/LidlFontPro-Bold.svg') format('svg'),
       url('../fonts/LidlFontPro-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style:normal
}

@font-face {
  font-family: 'LidlFontCondPro-SemiBold';
  src: url('../fonts/LidlFontPro-Semibold.eot');
  src: url('../fonts/LidlFontPro-Semibold.woff2') format('woff2'),
       url('../fonts/LidlFontPro-Semibold.woff') format('woff'),
       url('../fonts/LidlFontPro-Semibold.svg') format('svg'),
       
  font-weight: bold;
  font-style:normal
}

@font-face {
  font-family: 'LidlFontCondPro-Regular';
  src: url('../fonts/LidlFontPro-Regular.eot');
  src: url('../fonts/LidlFontPro-Regular.woff2') format('woff2'),
       url('../fonts/LidlFontPro-Regular.woff') format('woff'),
       url('../fonts/LidlFontPro-Regular.svg') format('svg'),
  font-weight: normal;
  font-style:normal
}

body, html{
  margin: 0;
  padding: 0;
  font-size: 100%;
  /* background-color: #ad2526; */
  /* background-image: radial-gradient(circle, #ad2526 40%, #6b1411 90%); */
  background-color: #ad080f;
  font-family: "LidlFontCondPro-Bold";
  color: #fff;
  width: 100%;
  min-height:100vh;
  overflow-x: hidden;
}

.yellowText{
  color: #fff000;
}

#backgroundCanvas{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 1;
}

#siteContainer{
  width: 60%;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  /* margin-bottom: 300px; */
  z-index: 10;
  max-width: 855px;
  padding-top: 120px;
  /* opacity: .6; */
  
}

#siteTop{
  /* height: 300px; */
  /* align-items: center; */
  
}

#siteTop h3{
  font-family: 'LidlFontCondPro-Regular';
  font-weight: normal;
  font-size: 1.7em;
  margin: 0;
  margin-top: 20px;
}

#siteTopBg{
  position: absolute;
  width: 100%;
  height: 400px;
  top: 0;
  left: 0;
  background-size: 100% 100%;
  background-image: url('../images/topBg_25.png');

}

#ribbon{
  position: absolute;
  z-index: 0;
  width: 762px;
  height: auto;
  top: 0;
  right: 0;
}

.contentRow{
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.contentRow.left-aligned{
  justify-content: flex-start;
}

#topLogo{
  position: absolute;
  width: 150px;
  height: auto;
  left: 50px;
  top: 50px;
  z-index: 3;
}

#siteTop{
  flex-direction: column;
}

#siteTop h1{
  font-size: 5em;
  line-height: 90px;
  /* text-align: center; */
  /*margin-right: auto;
  margin-left: auto;*/
}

h1{
  font-size: 6em;
  margin: 0;
  padding: 0;
}

#bigPhoneImg{
  position: relative;
  height: 500px;
  width: auto;
  margin-right: -270px;
}


.appstoreIcon{
  position: relative;
  height: 40px;
  width: auto;
}

.appstoreLink:not(:last-child){
  margin-right: 10px;
}

#kalenderWrapper{
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to the next row */
  gap: 30px; /* Optional: adds space between items */
  justify-content: center;
  margin-top: -40px;
  /* margin-bottom: 300px; */
}

#kalenderWrapper > .luckWrapper {
  flex: 1 0 20%; /* 22% width for 4 items per row with some space between them */
  aspect-ratio: 1 / 1; /* Makes the items square */
  width: calc(20% - 30px); /* Four items per row, adjusted for the new gap */
  box-sizing: border-box; /* Ensures padding/border won’t affect size */
}

.luckWrapper{
  position: relative;
  /*width: 200px;
  height: 200px;*/
  perspective: 300px;
  transform-style: preserve-3d;
  transition: transform 300ms;
  transition-timing-function: ease-in-out;
  transition-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
}

.luckFront{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  
}

.luckaIconWrapper{
  width: 100%;
  height: 50%;
  text-align: center;
}

.luckaIcon{
  width: auto;
  height: 100%;
}

.luckName{
  width: 100%;
  text-align: center;
}

.flip-card-front, .flip-card-back{
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.6s;
  backface-visibility: hidden;
  border-radius: 20px;
  overflow: hidden;
  border-style: solid;
  border-width: 4px;
  border-color: #fff;
}

.flip-card-back{
  transform: rotateY(180deg);
  width: 100%;
  height: 100%;
  border-color: #d4af37;
}

.flip-card-back.flipped{
  transform: rotateY(0deg) !important;
  z-index: 100;
  -webkit-box-shadow: 0px 0px 37px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 37px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 37px 0px rgba(0,0,0,0.4);
  background-color: #C89D47;
}

.flip-card-front.flipped{
  transform: rotateY(-180deg) !important;
  z-index: 100;
}

.luckWrapper.flickContainerOnTop{
  transform: scale(1.7) !important;
  z-index: 100;
}

.luckNumber{
  margin-top: 8px;
  margin-left: 8px;
}

.luckImage{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-top-left-radius: 60%;
}

.luckaOpenedContent{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.luckaOpenedDescription{
  padding-bottom: 10px;
}

#appInfoContainer{
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-bottom: 40px;
  /* margin-top: -100px; */
}

#appInfoContent{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

#appInfoContent h2{
  /* align-self: flex-end; */
  margin: 0; 
  /* margin-top: 20px;  */
  font-family: 'LidlFontCondPro-Regular';
  font-size: 2em;
  margin-bottom: 40px;
}

.oldDate{
  opacity: .3;
}



.clickable{
  cursor: pointer;
}

.luckaTooEarlyDescription{
  width: 80%;
  margin: 0 auto;
  text-align: center;
  /*align-self: center;*/
}

#footer{
  width: 100%;
  height: 200px;
  /* background-color: #6b1411; */
  
}

#footerTopLine{
  width: 100%;
  height: 10px;
  /* background-image: linear-gradient(to right, #ca9f43 , #fae58f, #ca9f43); */
}

#footerContent{
  text-align: center;
  display: flex;
  height: calc(100% - 10px);
  width: 100%;
  flex-direction: column;
  justify-content: center;
}

#footerAppstoreWrapper{
  margin-bottom: 20px;
}

#footer a{
  color: #fff;
  
}

#footerContent a:not(:last-child){
  margin-right: 10px;
}

#footerContent a:first-child{
  margin-left: 10px;
}

@keyframes gradient {
	0% {
		background-position: 0% 0%;
	}
	20% {
		background-position: 100% 100%;
	}
  60% {
		background-position: 100% 100%;
	}
	100% {
		background-position: 0% 0%;
	}
}

.luckaToday{
/* ffd700 */
  
  /* background: repeating-linear-gradient(130deg, #d4af13 1%, #ffe606 1%, #d4af13 1%); */
  background-color: #d4af13;
  background-image: repeating-linear-gradient(130deg,#d4af13 60%,#ffe606,#d4af13);
  background-size: 200% 200%;
  animation: gradient 8s ease infinite;
}

#testDiv{
  position: absolute;
  top: 100px;
  left: 100px;
  width: 1px;
  height: 1px;
  background-color: rebeccapurple;
  z-index: 0;
  /* opacity: .6; */
}

.subHeading{
  font-family: 'LidlFontCondPro-Regular';
  font-size: 1.1em;
}

#appInfoContent .subHeading{
  margin-top: 20px;
  margin-bottom: 20px;
}

.hidden{
  display: none;
}

/* Medium screens (tablets, ~600px and up) */
@media (min-width: 600px) {
  
}

/* Large screens (small desktops, ~900px and up) */
@media (max-width: 900px) {

  #siteContainer{
    padding-top: 30px;
  }

  .iconContainer{
    flex-direction: column;
    display: flex;
  }

  .appstoreLink:not(:last-child) {
    margin-right: 0px;
  }
  
  #kalenderWrapper > .luckWrapper {
    flex: 1 0 38%; /* 22% width for 4 items per row with some space between them */
    aspect-ratio: 1 / 1; /* Makes the items square */
    width: calc(38% - 40px); /* Four items per row, adjusted for the new gap */
    box-sizing: border-box; /* Ensures padding/border won’t affect size */
  }

  #siteContainer{
    max-width: none;
    width: 80%;
  }

  #topLogo{
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto;
    display: block;
    width: 80px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  #siteTop{
    justify-content: flex-start;
  }

  #appInfoContainer{
    /* margin-top: -80px; */
    flex-direction: column-reverse;
  }

  #bigPhoneImg {
    height: 340px;
    margin-right: -150px;
  }

  #bigPhoneWrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}



@media (max-width: 1600px) {
  #siteTop h1{
    /* font-size: 7em; */
  }
}



/* Extra-large screens (desktops, ~1200px and up) */
@media (max-width: 1420px) {

  #topLogo{
    width: 100px;
  }

  #siteTop h1{
    /* font-size: 6em; */
  }

  #siteTop h3{
    /* font-size: 3em; */
  }
}

/* Extra-large screens (desktops, ~1200px and up) */
@media (max-width: 1217px) {
  #siteTop h1{
    /* font-size: 5.5em; */
  }

  #siteTop h3{
    /* font-size: 2.5em; */
  }
}


/* Extra-large screens (desktops, ~1200px and up) */
@media (max-width: 1100px) {
  #ribbon {
    width: 500px;
    
}
  .iconContainer{
    flex-direction: column;
    display: flex;
  }

  .appstoreLink:not(:last-child) {
    margin-right: 0px;
  }
  #siteTop h1{
    font-size: 3em;
    line-height: 49px;
  }
  #siteTop h3{
    font-size: 2em;
  }

  #appInfoContent{
    /* margin-top: -37px; */
    text-align: center;
  }
  

  #siteTopBg{
    background-size: 180% 60%;
    background-position: top;
    height: 810px;
    background-repeat: no-repeat;
  }

  #footer{
    height: 300px;
  }

  #footerContent{
    width: 80%;
    margin: 0 auto;
  }

  #kalenderWrapper{
    margin-top: 0px;
  }

  .subHeading{
    font-size: 1.4em;
  }

  .appstoreLink:not(:last-child) .appstoreIcon {
    
    padding-bottom: 20px;
  }

  .luckWrapper.flickContainerOnTop{
    transform: scale(1.3) !important;
  }
}
