@font-face {
  font-family: "Alternate Gothic No 2";
  src: local("Impact") url("../fonts/alternate-gothic-no2.ttf");
  font-display: swap;
}

html {
  min-height: 100%;
  height: 100%;
}

body {
  display: flex;
  flex-flow: column nowrap;
  margin: 0;
  min-height: 100%;
  padding: 0;
  background-color: #000;
  font-family: Roboto, Arial, Serif;
  color: #fff;
}

#bgImg {
  background: no-repeat top/100% url("../images/background.webp");
  filter: blur(2px);
  z-index: -1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.6;
}
#bgImg.noWebpSupport {
  background-image: url("../images/background.jpg");
}

h1 {
  margin: 0 0 0.1rem;
  font:
    6rem "Alternate Gothic No 2",
    Impact,
    Arial,
    Sans-Serif;
  text-shadow: 2px 2px 5px #333;
}

ul {
  list-style-type: none;
  padding-left: 0;
}

/* LAYOUT */
.content {
  display: flex;
  flex-direction: row;
  box-sizing: border-box;
  margin: auto;
  width: 100%;
  padding: 10px 0;
}

@media screen and (max-width: 45rem) {
  .content {
    flex-flow: column nowrap;
  }
}

.text-column {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-end;
  box-sizing: border-box;
  width: 50%;
  min-height: 100%;
  padding: 0 0 0 2vw;
}

@media screen and (max-width: 45rem) {
  .text-column {
    align-items: center;
    width: 100%;
    padding-right: 2vw;
  }
}

#description {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  min-height: 12rem;
  margin-top: 2vh;
  padding-left: 10vw;
  font-size: 1rem;
  line-height: 1.6rem;
  font-weight: normal;
  text-align: right;
  text-shadow: 1px 1px 4px #333;
}

@media screen and (max-width: 45rem) {
  #description {
    text-align: center;
    padding: 0 5vw 0;
  }
}

.store-icons {
  text-align: center;
}

.icon {
  margin: 10px 0px 0px 10px;
  height: 48px;
}
.icon.google-play {
  width: 161px;
}
.app-store {
  width: 144px;
}

@media screen and (max-width: 45rem) {
  .icon {
    height: 48px;
    margin-right: 10px;
  }
}

.image-column {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 50%;
  height: 100%;
  padding: 0 2vw;
}

@media screen and (max-width: 45rem) {
  .image-column {
    justify-content: center;
    width: 100%;
  }
}

.screenshot-container {
  position: relative;
  margin: 0;
  width: 232px;
  height: 480px;
  padding: 0;
}

/* SCREENSHOTS */
.screenshot {
  position: absolute;
  top: 11.1%;
  left: 6%;
  opacity: 0;
  width: 88.3%;
  height: 76.8%;
  transition: opacity 1s ease 0.1s;
}

.screenshot-border {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  height: 480px;
  transition: opacity 1s ease 0.1s;
}

.screenshot-visible {
  opacity: 1;
}

.detail-icons {
  display: flex;
  flex-flow: row nowrap;
  margin-top: auto;
}

.detail {
  padding: 10px 0px 10px 25px;
}

@media screen and (max-width: 45rem) {
  div.detail {
    padding: 10px 12px 10px 12px;
  }
}

svg *,
svg:hover * {
  transition: fill 0.8s ease;
}

svg * {
  fill: #fff;
}

svg:hover * {
  fill: #f88;
}

@media screen and (max-width: 45rem) {
  svg {
    width: 40px;
    height: 40px;
  }
}

/* FOOTER */
#footer {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  margin: 10px 0 10px;
  opacity: 0;
  visibility: hidden;
}
#footer.visible {
  opacity: 1;
  visibility: visible;
  transition:
    visibility 0s,
    opacity 1s 0.4s;
}
#footer.visibleNoTransition {
  opacity: 1;
  visibility: visible;
}

#footer ul {
  margin: 0;
}

#footer ul li {
  display: inline;
  margin-right: 10px;
  font-size: 0.8rem;
}

#footer ul li,
#footer ul li a {
  color: rgb(255, 255, 255, 0.6);
  transition: color 0.5s;
}
#footer ul li a:hover {
  color: rgb(255, 255, 255, 1);
  transition: color 0.3s;
}

/* MODAL */
.modal {
  position: fixed;
  z-index: 100;
  bottom: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-color: rgb(0, 0, 0, 0.85);
  transition:
    visibility 0s,
    opacity 1s;
}

.modal-body {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  z-index: 200;
  margin: 10vh auto;
  min-width: 20rem;
  width: 40vw;
  box-sizing: border-box;
  border-radius: 6px;
  padding: 10px 20px;
  background-color: rgb(255, 255, 255, 0.8);
  color: #000;
}

.fade-in {
  visibility: visible;
  opacity: 1;
  transition:
    visibility 0s,
    opacity 1s;
}

.modal-header {
  padding-left: 8px;
  font-size: 2rem;
  text-align: center;
}

.modal-content {
  font-size: 0.7rem;
  line-height: 1.1rem;
  color: #777;
  overflow: auto;
}

.modal-content a {
  text-decoration: none;
  font-weight: bold;
  color: #e48e38;
}

.form-entry {
  margin: 20px 0;
}

.form-entry label {
  padding: 0 0 4px 4px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
}

.error-message {
  float: right;
  display: none;
  font-family: "Permanent Marker";
  color: #e43838;
}

input,
textarea {
  border: 1px #aaa solid;
  border-radius: 6px;
  padding: 8px;
  font:
    1rem Roboto,
    Arial,
    Serif;
  resize: none;
  box-shadow: 1px 1px 4px #777;
}

input[type="text"],
input[type="email"],
textarea {
  box-sizing: border-box;
  width: 100%;
}

input.is-valid,
textarea.is-valid {
  border: 1px #38e438 solid;
}

input.is-invalid,
textarea.is-invalid {
  border: 1px #e43838 solid;
}

input[type="submit"] {
  background-color: #e48e38;
  font-size: 1rem;
  font-weight: bold;
}

.error-message.is-invalid {
  display: inline-block;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* NOTIFICATION */
.notification {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  transform: translateY(-100%);
  transition: transform 0.7s ease;
  width: 100%;
  padding: 15px 0;
  background-color: #38e48e;
  font-weight: bold;
  text-align: center;
  color: #000;
}
.notification.notification-visible {
  transform: translateY(0%);
  transition: transform 0.7s ease;
}

/* COOKIE NOTICE */
#cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  display: flex;
  flex-flow: row nowrap;
  align-items: center;

  padding: 0.7rem 1.5rem;
  box-sizing: border-box;

  font-size: 0.7rem;
  line-height: 1.3rem;
  color: rgb(255, 255, 255, 0.8);
  background-color: rgb(255, 255, 255, 0.15);

  transform: translateY(100%);
  transition: transform 0.7s ease;
}
#cookie-notice.visible {
  transform: translateY(0%);
  transition: transform 0.7s ease;
}

@media screen and (max-width: 45rem) {
  #cookie-notice {
    line-height: 1.1rem;
    background-color: rgb(0, 0, 0, 0.8);
  }
}

#cookie-notice a {
  color: #fff;
}
#cookie-notice a:hover {
  color: #f88;
}
#cookie-notice > .text {
  flex: 1;
  text-align: justify;
  padding-right: 1.5rem;
}
#cookie-notice > #cookie-accept {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  overflow: hidden;

  cursor: pointer;
  color: #fff;
  background-color: rgb(255, 255, 255, 0.3);
  box-shadow: 2px 2px 3px rgb(0, 0, 0, 0.3);
}
