@font-face {
  font-family: 'Genty Demo Regular';
  src: url('/fonts/genty-demo-regular.woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Genty Demo Regular Placeholder';
  src: local('Arial');
  ascent-override: 97.82%;
  descent-override: 55.82%;
  line-gap-override: 0%;
  size-adjust: 94.05%;
}

html {
  font-size: 16px;
  margin: 0;
  padding: 0;
}

body {
  color: #FFFFFF;
  font-family: "Genty Demo Regular", "Genty Demo Regular Placeholder", sans-serif;
  font-size: 1rem;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #005fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image: url('/images/bg-10.jpg');
}

@media only screen and (min-width: 600px) {
  body {
    font-size: 1.5rem;
  }
}

.mainCont {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.mainContInner {
  width: 100%;
  word-wrap: break-word;
  padding: 6.5rem 0 8.5rem 0;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

h1 {
  color: #fec901;
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 400;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 80rem;
  padding: 0 1rem;
  margin: 0 auto;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
}

@media only screen and (min-width: 500px) {
  h1 {
    font-size: 5rem;
  }
}

@media only screen and (min-width: 1200px) {
  h1 {
    font-size: 8rem;
  }
}

p.genCopy1 {
  color: #ffffff;
  font-family: "Londrina Solid", sans-serif;
  font-size: 1.75rem;
  line-height: 1.4;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 60rem;
  padding: 0 1.25rem;
  margin: 2.5rem auto 0 auto;
}

@media only screen and (min-width: 1200px) {
  p.genCopy1 {
    font-size: 2rem;
  }
}

#avThumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  padding: 0 0.5rem;
  margin: 3rem auto 4rem auto;
  width: 100%;
  max-width: 92.875rem;
}

#avThumbs a {
  display: block;
  width: 100%;
  max-width: 10.25rem;
  height: auto;
  padding: 0.75rem;
  margin: 0.5rem;
  border-radius: 0.5rem;
  border: 3px solid #3c3c3c;
  transition: all 0.2s ease-in-out;
}

#avThumbs a.selected,
#avThumbs a:hover {
  border-color: #fec901;
}

#avThumbs a img {
  display: block;
  width: 100%;
  max-width: 10.25rem;
  height: auto;
  outline: none;
}

#avMakerCont {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

#avMakerContIn {
  position: relative;
}

#avMakerCanvasCont {
  position: relative;
}

#avMakerBtnCont {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#avMakerUploadBtn,
#avMakerSaveBtn {
  color: #000000;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #fec901;
  border: none;
  padding: 1rem 1rem 0.875rem 1rem;
  margin: 2rem 1rem 0 1rem;
  border-radius: 0;
  transition: all 0.2s ease-in-out;
}

#avMakerUploadBtn:hover,
#avMakerSaveBtn:hover {
  background-color: #feb100;
}

#avMakerSaveBtn {
  display: none;
}

#avMakerCloseBtn {
  color: #000000;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  opacity: 0.7;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-color: #feb100;
  transition: all 0.2s ease-in-out;
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  width: 2.5rem;
  height: 2.5rem;
}

#avMakerCloseBtn:hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  /* #avMakerContIn {
    width: 100%;
  } */

  #avMakerCanvasCont {
    width: 100%;
    max-width: 300px;
    max-height: 300px;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .konvajs-content {
    width: 100%;
    max-width: 250px;
    height: auto;
    position: relative;
    user-select: none;
  }

  .konvajs-content canvas {
    width: 100% !important;
    height: auto !important;
    max-width: 250px;
    position: absolute;
    top: 0;
    left: 0;
  }
}
