html, body {
  position: relative;
  height: 100%;
  width: 100%;
}

body {
  background: #eee;
  font-family: Averta, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color:#000;
  margin: 0;
  padding: 0;
}

p {
	margin-top: 5px;
    margin-bottom: 5px;
}

.swiper-pagination-progress .swiper-pagination-progressbar {
  background: #00AE51;
}
.swiper-container {
  width: 100%;
  height: 100%
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background-color: #fff;
  position:relative;
}

.rightArrow {
  margin-right: 2%;
  margin-top: 35%;
  float: right;
  font-size: 40px;
  padding: 25px;
}

.leftArrow {
  margin-left: 2%;
  margin-top: 35%;
  float: left;
  font-size: 40px;
  padding: 25px;
}

#lastArrow{
  
}

img {
  background-image: url("img/Lined-backgrounds.svg");
  max-height: 100%;
  height:auto;
  width: auto;
  max-width: 100%;
  -o-object-fit: scale-down;
  object-fit: scale-down;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}

#Safari2 {
  max-width: 320px;
  height: auto;
}

#Safari5 {
  width: 640px;
  height: auto;
}

#Safari6 {
  height: 100%;
  width: 100%;
}

.overlayCanvas {
  z-index:3;
  position:absolute;
  background-color: rgba(0,0,0,0);
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}
  
.price {
  color: #00AE51;
  display:inline-block;
  font-size: 2.5em;
  position: absolute;
  bottom: 17%;
  left: 5%;
}

#info {
  font-size: 1.25em;
  position: absolute;
  display: block;
  color: #C8C8C8;
  text-align: left;
  top: 20%;
  left: 6%;
}

#title{
  font-size: 2.5em;
  display: block;
  top: 5%;
  left: 5%;
  position: absolute;
}

#change{
  display: inline-block;
  font-size: 25px;
}

.parent {
  height: 40%; 
  width: 95%;
  display:block;
  position: absolute;
  bottom: 26%;
  left: 2%;
}

.parent2 {
  height: 40%; 
  width: 95%;
  display:block;
  position: absolute;
  bottom: 28%;
}

.stock {
  border: 2px solid black;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}

#arrow {
  display: inline-block;
  font-size: 30px;
}

#footer {
  bottom: 7%;
  left: 5%;
  position: absolute;
}

@-webkit-keyframes jello {
  25% {
    -webkit-transform: skewX(10deg) skewY(10deg);
            transform: skewX(10deg) skewY(10deg);
  }
  40% {
    -webkit-transform: skewX(-10deg) skewY(-10deg);
            transform: skewX(-10deg) skewY(-10deg);
  }
  60% {
    -webkit-transform: skewX(5deg) skewY(5deg);
            transform: skewX(5deg) skewY(5deg);
  }
  80% {
    -webkit-transform: skewX(-3deg) skewY(-3deg);
            transform: skewX(-3deg) skewY(-3deg);
  }
}

@keyframes jello {
  25% {
    -webkit-transform: skewX(10deg) skewY(10deg);
            transform: skewX(10deg) skewY(10deg);
  }
  40% {
    -webkit-transform: skewX(-10deg) skewY(-10deg);
            transform: skewX(-10deg) skewY(-10deg);
  }
  60% {
    -webkit-transform: skewX(5deg) skewY(5deg);
            transform: skewX(5deg) skewY(5deg);
  }
  80% {
    -webkit-transform: skewX(-3deg) skewY(-3deg);
            transform: skewX(-3deg) skewY(-3deg);
  }
}

.jello {
  -webkit-animation-name: jello;
          animation-name: jello;
  -webkit-transform-origin: center;
          transform-origin: center;
}

.animated {
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}

#instructions {
  background-color: rgba(0,0,0,.6);
}

.overlay{
  z-index: 2;
  width:320px;
  height: 480px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}


.overlay.textBoxLayer{
  min-height: 500px;
  max-width: 81%;
  max-height: 80%;
  margin-left: 2%;
  margin-right: 2%;
}

#heart {
  color:white;
  font-size: 20px;
  height: 20px;
}

#text {
  position:absolute;
  bottom: 30%;
  text-align: left;
  font-size: 19px;
  padding-left: 20px;
}

#top{
  color:white;
  z-index:4;
  height: 480px;
  width: 320px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}

div#intro {
  color:white;
  z-index:5;
  height: 480px;
  width: 320px;
  background-color: rgba(0,0,0,.8);
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%)
}

#gotIt{
  bottom: 20%;
  left: 34%;
  z-index:4;
  position: absolute;
  color: white;
  background-color: #00AE4D;
  border: none;
  font-size: 18px;
  padding: 7px;
  width: 100px;
  cursor: pointer;
}

.hidden {
  display: none;
}

#message {
  position:absolute;
  top: 25%;
  left: 2%;
  text-align:left;
  padding-left:10px;
  padding-right:10px;
}

.textBox {
  background-color: rgba(255,255,255,.95);
  z-index: 6; 
  position: absolute;
  color: black;
  top: 3%;
  left: 5%;
  width: 85%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 9px;
  text-align: left;
}

.x {
  position: absolute;
  right: 15px;
  top: 15px;
  height: 35px;
  width: 30px;
  font-size: 24px;
  z-index: 7;
  border: none;
  background-color: rgba(255,255,255,0);
}

#textBox11 {
  background-color: black;
  top: 10%;
  left: 11%;
  max-width: 75%;
}

#textBox11 > p {
  color: white;
}
#textBox1, #textBox2, #textBox3 {
  margin: auto;
}

#textBox10, #textBox4, #textBox5, #textBox6, #textBox7, #textBox8, #textBox9{
  top: -7%;
  left: 2%;
  margin: auto;
}

@media only screen and (max-width: 767px){
  .swiper-slide {
    background-image: url("./img/Lined-backgrounds.svg");
    background-color: none;
  }
  .parent {
    height: 175px; 
    left: 2%;
    width:95%;
    display:block;
    position: absolute;
    bottom: 25%;
  }
  .mobile {
    display:none
  }
}
@media only screen and (max-width: 704px){
  body {
    width:375px;
  }

  .desktop {
    display: none
                            }
  .mobile {
    display: inline
                            }
}

@media only screen and (max-width: 385px){
  body {
    width:350px;
  }


}