*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  background: #ffdbb1;
}

h1.entry-title {
  display: none;
}

#short {
  margin: 0.5rem auto 0 auto;
  font-size: 1.5rem;
}

#btn_img_input {
  background-color: #3273dc;
  border-radius: 50px;
}
input.upload {
  display: none;
}
.btnwa {
  display: inline-block;
  padding: 10px 12px;
  cursor: pointer;
}
.btnwa-primary {
  background-color: #3273dc;
  border-radius: 50px;
  color: white;
}
.btnwa label {
  cursor: pointer;
}
.fileUpload label {
  margin: 0;
}

#draw_container {
  z-index: 1000;
  position: relative;
  display: block;
  margin: 0 auto;
}
#container_canv_target {
  position: relative;
  /* min-height: 600px; */
  margin: 0 auto;
  background-color: antiquewhite;
}
#redo_ready {
  margin-top: 0.5rem;
}
#redo_ready,
#container_canv_target {
  display: none;
}
#close {
  float: right;
  width: 64px;
  height: 64px;
  background-color: aliceblue;
}
#close svg {
  display: block;
  margin: 16px;
  width: 32px;
  height: 32px;
}
#do-not-show {
  position: fixed;
  top: 1em;
  left: 1em;
}
#do-not-show button {
  cursor: pointer;
}
#footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  row-gap: 10px;
  background-color: aliceblue;
  min-height: 100px;
  column-gap: 25px;
  padding: 5px;
}

#barion_logo {
  max-width: 300px;
}
#footer div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 10px;
}

#canv_img_src,
#canv_mark,
#canv_aim {
  position: absolute;
  top: 0;
  left: 0;
  touch-action: none;
  margin: 0 auto;
  display: block;
}
#canv_target {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 auto;
  display: block;
  max-width: 100%;
}

.carousel {
  position: relative;
  width: 600px;
  height: 900px;
  width: 320px;
  height: 480px;
  margin: 0 auto;
}
.carousel__image {
  width: 100%;
  position: absolute;
  bottom: 0;
  border-radius: 35px;
}
.carousel__track-container {
  height: 100%;
  position: relative;
  overflow: hidden;
}
.carousel__track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  transition: transform 500ms ease-in;
}
.carousel__slide {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  margin: 0;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}
.carousel__indicator {
  border: 0;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.3);
  margin: 0 10px;
  cursor: pointer;
  padding: 0;
}
.carousel__indicator.current-slide {
  background: rgba(0, 0, 0, 0.75);
}
.carousel__slide--text {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 25px 30px;
  background: #939393;
  color: whitesmoke;
  height: 50%;
  border-radius: 35px;
  font-size: 1.5em;
}
.carousel__slide--text:only-child {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 25px 30px;
  background: #939393;
  color: whitesmoke;
  height: 100%;
  border-radius: 35px;
  font-size: 1.5em;
}
#carousel-do-not-show {
  position: fixed;
  top: 0;
  left: 1em;
}
#carousel-do-not-show button {
  cursor: pointer;
}
.carousel__button {
  background: transparent;
  border: none;
  padding: 0;
}
.carousel__button--left {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  left: 0;
  text-align: left;
}
.carousel__button--right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  right: 0;
  text-align: right;
}
.carousel__button img {
  display: inline-block;
  width: 20%;
}
#carousel-container {
  display: none;
}
#carousel-container.hide {
  display: none !important;
}
#carousel-container.show {
  display: block;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: aliceblue;
  padding-top: 48px;
}
#close-carousel-container {
  position: fixed;
  width: 48px;
  height: 48px;
  background-color: rgb(43, 130, 206);
  top: 0px;
  right: 0;
}
#close-carousel-container svg {
  display: block;
  margin: 8px;
  width: 32px;
  height: 32px;
}
#move-buttons {
  margin: 1rem 0;
  text-align: center;
}
#move-buttons button {
  margin: 0 0.5rem;
}
/* desktop */
@media only screen and (min-device-width: 414px) {
  body {
    overflow: auto;
    background-image: url("https://www.firkamese.hu/wp-content/uploads/2020/03/bg_section_2_n.1e8312b1.svg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
  }
  #carousel-container {
    padding-top: 64px;
  }
  .carousel {
    width: 600px;
    height: 900px;
  }
  .carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 200px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .carousel__button--left {
    left: -40px;
  }
  .carousel__button--right {
    right: -40px;
  }
  .carousel__button img {
    width: 40px;
    display: inline;
  }
  #close-carousel-container {
    width: 64px;
    height: 64px;
  }
  #close-carousel-container svg {
    margin: 16px;
  }
  .carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 200px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .carousel__button--left {
    left: -40px;
    width: initial;
  }
  .carousel__button--right {
    right: -40px;
    width: initial;
  }
  .btn {
    display: inline-block;
    padding: 16px 12px;
    cursor: pointer;
  }
  .carousel__slide--text {
    border-radius: 50px;
    font-size: 2.5em;
    padding: 50px 55px;
  }
  .carousel__slide--text:only-child {
    border-radius: 50px;
    font-size: 2.5em;
    padding: 50px 55px;
  }
  .carousel__image {
    border-radius: 50px;
  }
}
