:root {
  --color-fill: white;
  --color-primary: #2ab488;

  
}

* {
  margin: 0;
  user-select: none;
  -webkit-user-select: none;
}

body {
  width: 100vw;
  height: 100vh;
  font-family: sans-serif;
  box-sizing: border-box;
}

.headline, .pickup, .license {
  color: var(--color-fill);
  fill: var(--color-fill);
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
}

.swiper {
  flex: 1;
  position: relative;
  background-color: white;
}

.product {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  text-decoration: none;
  color: black;
  height: 100%;
  width: 100%;
  gap: 6px;
}

.product img {
  width: 120px;
  height: auto;
  mix-blend-mode: hard-light;
}

.product_details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product button {
  border: none;
  border-radius: 50px;
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 16px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.8em;
  width: 100px;
}

.button-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 5px;
  bottom: 0;
  height: 100%;
  z-index: 999;
  width: 20px;
}

.button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 5px;
  bottom: 0;
  z-index: 999;
  width: 20px;
}

.swiper-button-next,
.swiper-button-prev {
  position: static;
  margin-top: 0;
  top: 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
  color: var(--color-primary);
}

.swiper-button-disabled {
  display: none;
}

.fill {
  fill: var(--color-fill);
}

.decoration {
  fill: var(--color-decoration);
}

.box {
  display: block;
  color: white;
  text-decoration: none;
}

.box .content {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  position: relative;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  flex-direction: column;
  height: 100%;
}

.box .license {
  text-align: center;
  font-size: 3px;
  padding: 3px;
}

.box .logo {
  height: 30px;
}

.box .logo {
  padding: 5px;
}

.box .reef_logo {
  height: 16px;
  fill: var(--color-logo);
  margin-bottom: 5px;
}

.box .pickup {
  font-size: 0.6em;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bolder;
}

@media (orientation: landscape) {
  .headline.v {
    display: none;
  }

  .headline.h {
    display: static;
  }

  .product {
    flex-direction: row;
  }

  .box {
    flex-grow: 1;
    flex-basis: 0;
    flex-direction: column;
  }

  .box .content {
    flex-grow: 1;
  }
}

@media (orientation: portrait) {
  .headline.v {
    display: block;
  }

  .headline.h {
    display: none;
  }

  main {
    flex-direction: column;
  }

  .product {
    flex-direction: column;
  }

  .swiper {
    width: 100%;
  }
}

/* 320x50 */
@media screen and (min-height: 50px)and (max-height: 50px) and (min-width: 320px) and (max-width: 320px) {

  .swiper,
  .location,
  .headline.horizontal,
  .headline.vertical {
    display: none;
  }

  .box .content {
    flex-direction: row-reverse;
    background-position: center center;
    background-size: cover;
    height: 100vh;
  }

  .box .license {
    font-size: 2px;
    position: absolute;
    bottom: 0;
  }

  .box .logo {
    padding-right: 5px;
    height: 40px;
  }

  .pickup {
    display: none;
  }

  .headline.h {
    height: 32vh;
  }
}

/* 320x100 */
@media screen and (min-height: 100px) and (min-height: 100px) and (min-width: 320px) and (max-width: 320px) {

  .swiper,
  .location,
  .headline.horizontal,
  .headline.vertical {
    display: none;
  }

  .headline.h {
    height: 30px;
    margin-bottom: 5px;
  }

  .box .logo {
    height: 40px;
    padding: 0;
  }

  .box .content {
    background-position: top;
    gap: 0;
  }

  .box .license {
    font-size: 4px;
  }
}

/* 300x250 */
@media screen and (min-width: 300px) and (max-width: 300px) and (min-height: 250px) and (max-height: 250px) {
  .box .logo {
    height: 50px;
  }

  .box .headline {
    width: 80%;
  }

  .headline.v {
    display: block;
  }

  .headline.h {
    display: none;
  }

  .box .content {
    justify-content: flex-start;
    height: 100%;
    gap: 10px;
  }

  .box .license {
    font-size: 3px;
    position: fixed;
    bottom: 0;
  }

  .product {
    flex-direction: column;
  }

  .product img {
    width: 80px;
  }

  .product_details {
    text-align: center;
    gap: 6px;
  }

  .product button {
    align-self: center;
  }
}

/* 300x600 */
@media screen and (min-width: 300px) and (max-width: 300px) and (min-height: 600px) and (max-height: 600px) {
  
  .headline.v {
    width: 50%;
    margin-bottom: 10px;
  }

  .box {
    gap: 10px;
    flex-grow: 1;
    flex-basis: 0;
    flex: 1;
  }

  .box .content {
    justify-content: space-between;
    height: 100%;
  }

  .box .logo {
    height: 60px;
  }

  .box .license {
    font-size: 7px;
    left: 0;
    right: 0;
    padding: 5px;
    bottom: 0;
  }

  .swiper {
    flex-grow: 1;
    flex-basis: 0;
  }

  .product {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .product_details {
    flex-direction: column !important;
    max-width: 200px;
  }

  .product img {
    width: 120px;
  }

  .product button {
    align-self: center !important;
  }
}

/* 160x600 */
@media screen and (min-width: 160px) and (max-width: 160px) and (min-height: 600px) and (max-height: 600px) {
  .headline {
    width: 70vw;
  }

  .box {
    gap: 10px;
  }

  .box .content {
    gap: 10px;
    background-size: 200%;
    background-position: left bottom;
  }

  .box .license {
    font-size: 3px;
    padding: 5px;
  }

  .box .logo {
    height: 50px;
  }

  .product {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .product_details {
    flex-direction: column;
    width: 110px;
    gap: 5px;
  }

  .product img {
    width: 100px;
  }

  .product button {
    align-self: center !important;
  }
}

/* 728x90 */
@media screen and (min-height: 90px) and (max-height:90px) and (min-width: 728px) and (max-width: 728px) {
  .product {
    padding: 10px;
    box-sizing: border-box;
  }

  .box {
    display: flex;
    justify-content: flex-start;
  }

  .box .logo {
    display: none;
  }

  .box .headline {
    height: 24px;
    margin-bottom: 6px;
  }

  .box .content {
    background-size: cover;
  }

  .box .license {
    position: absolute;
    bottom: 0;
    font-size: 4px;
  }

  .product {
    flex-direction: row;
  }

  .product_details {
    max-width: 200px;
    flex-direction: row;
    align-items: center;
  }

  .product img {
    width: auto;
    height: 80px;
  }
}

/* 970x250 */
@media screen and (min-height: 250px) and (max-height: 250px) and (min-width: 970px) and (max-width: 970px) {
  .box {
    display: flex;
    justify-content: flex-start;
  }

  .box .content {
    justify-content: flex-start;
    height: 100%;
  }

  .box .headline {
    margin-top: 20px;
  }

  .box .license {
    font-size: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 3px;
    right: 0;
  }

  .box .logo {
    height: 60px;
  }

  .product {
    flex-direction: row;
  }

  .product_details {
    max-width: 200px;
  }

  .product img {
    width: 150px;
    height: auto;
  }
}

.animate {
  animation: animate 0.3s ease backwards;
}

@keyframes animate {
  0% {
    transform: translate(0px, 10px);
    opacity: 0;
  }

  100% {
    transform: translate(0px, 0);
    opacity: 1;
  }
}