@font-face {
  font-family: "MiddleAlpha";
  src: url(../fonts/AlphaFridgeMagnetsAllCaps.ttf);
}

@font-face {
  font-family: "BottomBarlowBold";
  src: url(../fonts/BarlowCondensed-ExtraBold.ttf);
}

@font-face {
  font-family: "Pluto-Regular";
  src: url(../fonts/Pluto-Regular.woff);
}

@font-face {
  font-family: "Pluto-Bold";
  src: url(../fonts/Pluto-Bold.woff);
}

@font-face {
  font-family: "Pluto-Light";
  src: url(../fonts/Pluto-Light.woff);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: white;
  background-attachment: fixed;
  background-size: 100% 100%;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

#image-preview {
  width: 10vw;
  margin-block: 20px;
  display: none;
}

.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
}

.error-email-address {
  color: #df1b22;
  font-family: "BottomBarlowBold";
  font-size: 0.9rem;
  display: none;
}

.btn-group .btn-1 {
  margin: 5px;
  font-size: 2vw;
  background-color: #df1b22;
  color: white;
  font-family: "Pluto-Bold";
  font-weight: 400;
  border-color: #df1b22;
  height: 4.5vw;
  letter-spacing: 1.4px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36vw;
}

#scan-btn {
  display: none;
}

.btn-group .btn-1 p {
  font-family: "Pluto-Bold";
  font-size: 2vw;
  margin-top: 0.75vw;
}

.btn-group .btn-2 {
  margin: 5px;
  font-size: 2vw;
  background-color: white;
  color: #df1b22;
  font-family: "Pluto-Bold";
  width: 36vw;
  height: 4.5vw;
  letter-spacing: 1.4px;
  border: 0.3vw solid #df1b22;
}

.btn-group .btn-2::placeholder {
  color: #df1b22;
  font-size: 2.25vw;
  margin-bottom: 1.75vw;
  font-family: "Pluto-Bold";
}

.btn-group .btn-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5vw;
  color: white;
  font-family: "Pluto-Bold";
  width: 9vw;
  height: 3vw;
}

.wrapper-button {
  background-repeat: no-repeat;
  background-color: #df1b22;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.confirmari {
  margin-block: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  font-family: "Pluto-Regular";
  font-weight: 400;
  font-size: 1vw;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  color: #696969;
}

.confirmari li {
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 25vw;
  width: 50vw;
  margin-right: 25vw;
}

.confirmari li label {
  margin-left: 2.5vw;
}

.confirmari li label::before {
  opacity: 0;
}

.confirmari li label::after {
  opacity: 0;
}

#check1 {
  accent-color: #df1b22;
  width: 1.4vw;
  height: 1.4vw;
  margin-inline: 7.5px;
  float: left;
  margin-right: 0.8vw;
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
  margin-top: -0.1vw;
}

#check2 {
  accent-color: #df1b22;
  width: 1.4vw;
  height: 1.4vw;
  margin-inline: 7.5px;
  float: left;
  margin-right: 0.8vw;
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
  margin-top: -0.1vw;
}

#check3 {
  accent-color: #df1b22;
  width: 1.4vw;
  height: 1.4vw;
  margin-inline: 7.5px;
  float: left;
  margin-right: 0.8vw;
  opacity: 1;
  pointer-events: all;
  cursor: pointer;
  margin-top: -0.1vw;
}

.btn-group-down {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 5vw;
  column-gap: 2vw;
}

.btn-group-down button {
  margin: 5px;
  font-family: "Pluto-Bold";
  font-size: 1.2vw;
  color: white;
  background-color: #df1b22;
  border-color: #df1b22;
  width: 12vw;
  height: 2.5vw;
}

.upload-img {
  width: 2.5vw;
  margin-right: 1.5vw;
}

.container-for-overlay {
  margin-top: 5vw;
}

.loader {
  border: 0.4vw solid #f3f3f3;
  border-top: 0.4vw solid #3498db;
  border-radius: 50%;
  width: 2vw !important;
  height: 2vw !important;
  animation: spin 2s linear infinite;
  margin: auto;
}

.popup {
  background: rgba(100, 100, 100, 0.6);
  position: fixed;
  z-index: 9999;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.bottom-btn-group {
  display: flex;
  column-gap: 1vw;
}

.bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #df1b22;
  border: #df1b22 2px solid;
  border-radius: 0.5vw;
  font-size: 1.25vw;
  width: 11vw;
  height: 3.5vw;
  cursor: pointer;
}

.popup-bg {
  position: fixed;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  width: 100vw;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999999;
}

.send-messages {
  background-color: white;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.message {
  margin-top: 0.5vw;
}
.message-error {
  margin-top: 1.5vw;
}

.send-messages-button {
  margin-bottom: 2vw;
  border-radius: 10px;
  border-color: #df1b22;
  background-color: #df1b22;
  color: white;
  font-family: "Pluto-Bold";
  font-weight: 400;
  font-size: 1.5vw;
  margin-inline: 1vw;
  padding: 5px;
  padding-inline: 20px;
  cursor: pointer;
}

.send-messages #success-text-submit {
  color: black;
  font-family: "Pluto-Bold";
  font-size: 1.5vw;
  padding-inline: 2vw;
  padding-block: 2vw;
  text-align: center;
}

.send-messages #success-text-submit p {
  color: black;
  font-family: "Pluto-Bold";
  font-size: 1.5vw;
  text-align: center;
  display: inline;
}

.send-messages #error-text-submit {
  color: #df1b22;
  font-family: "Pluto-Bold";
  font-size: 1.5vw;
  padding-inline: 2vw;
  padding-block: 2vw;
  text-align: center;
}

.image-error {
  color: red;
  font-size: 1.5vw;
  margin-bottom: 2vw;
}

.time-expired {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 5vw;
  padding-block: 5.5vw;
  row-gap: 2vw;
  border-radius: 1vw;
}

#time-expired {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgb(243, 65, 14);
  font-family: "BottomBarlowBold";
}

.time-expired-text {
  font-family: "BottomBarlowBold";
  font-size: 2.5vw;
  color: #df1b22;
  text-align: center;
  text-transform: uppercase;
}

.lista-castigatori-bg {
  visibility: hidden;
  background: rgba(100, 100, 100, 0.6);
  position: fixed;
  z-index: 9999;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.lista-castigatori {
  width: 60%;
  height: 80%;
  margin: auto;
  margin-top: 5%;
  margin-bottom: 5%;
  background-color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #df1b22;
  font-family: "MiddleAlpha";
  font-weight: 400;
  overflow-y: scroll;
}

.subtitle {
  font-size: 3vw;
  margin-top: 3vw;
}

.coloane {
  display: flex;
  flex-direction: column;
  clear: both;
  /* margin-left: 25%; */
  width: 100%;
}

.lista-castigatori button {
  width: 2vw;
  height: 2vw;
  border-radius: 2px;
  border-color: #df1b22;
  background-color: #df1b22;
  color: white;
  font-family: "BottomBarlowBold";
  font-weight: 400;
  font-size: 1.5vw;
  position: absolute;
  right: 0;
  margin-right: 1vw;
  margin-top: 1vw;
}

.campanie-derulare-bg {
  visibility: hidden;
  background: rgba(100, 100, 100, 0.6);
  position: fixed;
  z-index: 9999;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.campanie-derulare {
  background-color: white;
  left: 50%;
  top: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.campanie-derulare-text {
  font-family: "Pluto-Bold";
  font-size: 1.5vw;
  padding-inline: 2vw;
  padding-block: 2vw;
  text-align: center;
}

.campanie-derulare-button {
  margin-inline: 1vw;
  padding: 5px;
  padding-inline: 20px;
  margin-bottom: 2vw;
  cursor: pointer;
  background-color: #df1b22;
  color: white;
  font-family: "Pluto-Bold";
  font-weight: 400;
  font-size: 1.5vw;
  border-radius: 10px;
  border-color: #df1b22;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(500px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-500px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animations for exiting */
@keyframes fadeOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-500px);
  }
}

@keyframes fadeOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(500px);
  }
}

@media screen and (max-width: 1000px) {
  .time-expired {
    row-gap: 4vw;
    border-radius: 3vw;
  }

  .time-expired-text {
    font-size: 5vw;
    margin-top: 2vw;
    line-height: 5vw;
  }

  .bottom-btn-group {
    column-gap: 2vw;
    margin-top: 1vw;
    margin-bottom: 1vw;
    flex-direction: column;
    row-gap: 2vw;
  }

  .bottom-btn {
    font-size: 2.5vw;
    width: 28vw;
    height: 8vw;
    border-radius: 1vw;
  }

  .button-text {
    margin-top: 1vw;
  }

  @keyframes fadeInRight {
    from {
      opacity: 0;
      transform: translateX(200px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes fadeInLeft {
    from {
      opacity: 0;
      transform: translateX(-200px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Animations for exiting */
  @keyframes fadeOutLeft {
    from {
      opacity: 1;
      transform: translateX(0);
    }
    to {
      opacity: 0;
      transform: translateX(-200px);
    }
  }

  @keyframes fadeOutRight {
    from {
      opacity: 1;
      transform: translateX(0);
    }
    to {
      opacity: 0;
      transform: translateX(200px);
    }
  }

  .jm-content {
    margin-top: 17vw;
  }

  .confirmari li label {
    margin-left: 5vw;
  }

  .btn-group-down {
    margin-top: 30px;
  }

  #btn-group {
    margin-top: 10vw;
  }

  .btn-group .btn-1 {
    font-size: 3.5vw;
    width: 70vw;
    height: 8vw;
    letter-spacing: 1.2px;
  }

  #upload-btn {
    display: none;
  }

  #scan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1vw;
  }

  .btn-group .btn-1 p {
    font-size: 4vw;
  }

  .scan-img {
    width: 5vw;
  }

  .btn-group .btn-2 {
    font-size: 3.5vw;
    width: 70vw;
    height: 8vw;
    letter-spacing: 1.2px;
  }

  .btn-group .btn-2::placeholder {
    font-size: 4vw;
    margin-bottom: 3vw;
  }

  .btn-group .btn-3 {
    font-size: 5vw;
    width: 50vw;
    height: 8vw;
  }

  .btn-group-down button {
    margin-top: 4vw;
    font-size: 3vw;
    width: 28vw;
    height: 8vw;
    letter-spacing: 1.1px;
  }

  .confirmari {
    font-size: 2.5vw;
    width: 100%;
  }

  .confirmari li {
    margin-left: 10%;
    width: 80%;
    margin-right: 10%;
  }

  #check1 {
    width: 2.5vw;
    height: 2.5vw;
    float: left;
  }

  #check2 {
    width: 2.5vw;
    height: 2.5vw;
    float: left;
  }

  #check3 {
    width: 2.5vw;
    height: 2.5vw;
    float: left;
  }

  .loader {
    border: 1vw solid #f3f3f3;
    border-top: 1vw solid #3498db;
    border-radius: 50%;
    width: 5vw !important;
    height: 5vw !important;
    animation: spin 2s linear infinite;
    margin: auto;
  }

  .send-messages-button {
    margin-bottom: 4vw;
    border-radius: 10px;
    font-size: 4vw;
    margin-inline: 1vw;
    padding: 5px;
    padding-inline: 20px;
  }

  .send-messages #success-text-submit {
    font-size: 3.5vw;
    padding-inline: 4vw;
    padding-block: 4vw;
    width: 80vw;
  }

  .send-messages #success-text-submit p {
    font-size: 3.5vw;
    width: 80vw;
    display: inline;
  }

  .send-messages #error-text-submit {
    font-size: 3.5vw;
    padding-inline: 4vw;
    padding-block: 4vw;
    width: 80vw;
  }

  .image-error {
    color: red;
    font-size: 3vw;
    margin-bottom: 4vw;
    text-align: center;
    width: 80%;
  }

  .wrapper-button {
    background-position: center;
    height: 10vw;
    margin-top: 20px;
  }

  .time-expired-text {
    font-size: 4vw;
  }

  .subtitle {
    margin-top: 6vw;
    font-size: 5vw;
    margin-bottom: 1vw;
  }

  .lista-castigatori button {
    width: 4vw;
    height: 4vw;
    border-radius: 4px;
    font-size: 3vw;
    margin-right: 2vw;
    margin-top: 2vw;
  }
  .message {
    margin-top: 0;
  }

  .campanie-derulare-text {
    font-size: 3vw;
    padding-inline: 2vw;
    padding-block: 3.5vw;
  }

  .campanie-derulare-button {
    margin-inline: 2vw;
    padding: 5px;
    padding-inline: 20px;
    margin-bottom: 3.5vw;
    font-size: 3vw;
    border-radius: 10px;
  }

}

::placeholder {
  color: #ccc;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media screen and (max-width: 1600px) {
  .message {
    margin-top: 1vw;
  }
}

