@font-face {
  font-family: "VodafoneRg";
  src: url("../../gifting/fonts/vodafonerg-webfont.ttf") format("truetype");
}

@font-face {
  font-family: "VodafoneRg";
  font-display: auto;
  src: url("../../gifting/fonts/vodafonerg-webfont-bold.ttf") format("truetype");
  font-weight: bold;
}

body {
  font-family: VodafoneRg, sans-serif;
  background: linear-gradient(180deg, #f6f6f6 62.48%, #d9d8d8 100%);
  min-height: 100vh;
  margin: 0 auto;
  overflow: auto;
}
.container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 400px;
  padding: 5vw;
}
.header {
  text-align: end;
  width: 100%;
  margin-bottom: 20px;
}
.headingContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url("../images/blank_background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 32vh;
  border-radius: 12px;
}
.heading {
  font-size: 30px;
  margin-left: 5%;
  color: #fff;
  font-weight: bold;
}
.welcomeTitle {
  display: flex;
  align-items: flex-end;
}

.welcomeText {
  font-weight: 200;
}
.giftContainer {
  margin-left: 16%;
}
.confirmation {
  font-size: 22px;
}
.rewardsText {
  font-size: 36px;
  font-weight: bold;
  text-align: left;
}
.logo {
  top: 40px;
  right: 10px;
  width: 30px;
  height: auto;
}
.text {
  font-size: 20px;
  color: #333;
  margin-top: 20px;
}
form {
  display: flex;
  flex-direction: column;
}
input {
  padding: 10px;
  border: 2px solid #d3d3d3;
  border-radius: 8px;
  margin: 12px 0px;
  font-size: 18px;
}
input:focus-visible {
  outline: none;
}
button {
  font-weight: bold;
  font-family: "VodafoneRg";
  padding: 10px;
  border: none;
  background-color: #e60000;
  color: #fff;
  cursor: pointer;
  width: 40%;
  border-radius: 12px;
  font-size: 18px;
  margin-top: 10px;
}
p#output {
  margin-top: 20px;
  color: #333;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  align-content: center;
}
.modal-content {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  width: 40%;
  border-radius: 12px;
}
.close {
  height: 18px;
}
.modalHeader {
  display: flex;
  justify-content: space-between;
}
.errors{
    color: #e60000;
}
label{
    font-weight: bold;
    color: #333;
}
/* Responsive styling */
@media (min-width: 200px) and (min-height: 500px) {
  .modal-content {
    width: 66%;
    padding: 20px;
  }
}

@media (min-width: 340px) and (min-height: 600px) {
  .headingContainer {
    height: 22vh;
  }
  .heading {
    font-size: 30px;
  }
  .giftContainer img {
    height: 66px;
  }
  .rewardsText {
    font-size: 36px;
  }
  .text {
    font-size: 24px;
    margin-top: 26px;
  }
  .modal-content {
    width: 70%;
    padding: 20px;
  }
}
@media (min-width: 1100px) and (min-height: 1000px) {
  .modal-content {
    width: 34%;
    padding: 20px;
  }
}

@media (min-width: 1000px) and (min-height: 600px) {
  .modal-content {
    width: 34%;
    padding: 20px;
  }
}

@media (min-width: 1000px) and (min-height: 600px) {
  .modal-content {
    width: 34%;
    padding: 20px;
  }
}

@media (min-width: 700px) and (min-height: 600px) {
  .modal-content {
    width: 34%;
    padding: 20px;
  }
}

@media (min-width: 300px) and (min-height: 840px) {
  .headingContainer {
    height: 22vh;
  }
  .heading {
    font-size: 34px;
  }
  .giftContainer img {
    height: 66px;
  }
  .rewardsText {
    font-size: 39px;
  }
  .text {
    font-size: 24px;
    margin-top: 26px;
  }
  input {
    margin: 13px 0px;
    font-size: 20px;
    height: 38px;
  }
  button {
    font-weight: bold;
    font-family: "VodafoneRg";
    padding: 14px;
    width: 40%;
    font-size: 22px;
    margin-top: 16px;
  }
  p#output {
    margin-top: 25px;
    font-size: 20px;
  }
  .modal-content {
    width: 68%;
    padding: 22px;
  }
  .confirmation {
    font-size: 24px;
  }
  .close {
    height: 20px;
  }
}

@media (min-width: 400px) and (min-height: 900px) {
  .headingContainer {
    height: 22vh;
  }
  .heading {
    font-size: 35px;
  }
  .giftContainer img {
    height: 66px;
  }
  .rewardsText {
    font-size: 41px;
  }
  .text {
    font-size: 24px;
    margin-top: 26px;
  }
  input {
    margin: 13px 0px;
    font-size: 20px;
    height: 38px;
  }
  button {
    font-weight: bold;
    font-family: "VodafoneRg";
    padding: 14px;
    width: 40%;
    font-size: 22px;
    margin-top: 16px;
  }
  p#output {
    margin-top: 25px;
    font-size: 20px;
  }
  .modal-content {
    width: 68%;
    padding: 22px;
  }
  .confirmation {
    font-size: 24px;
  }
  .close {
    height: 20px;
  }
}
@media (min-width: 760px) and (min-height: 1000px) {
  .headingContainer {
    height: 20vh;
  }
  .heading {
    font-size: 34px;
  }
  .giftContainer img {
    height: 72px;
  }
  .rewardsText {
    font-size: 42px;
  }
  .text {
    font-size: 26px;
    margin-top: 28px;
  }
  input {
    margin: 15px 0px;
    font-size: 22px;
    height: 40px;
  }
  button {
    font-weight: bold;
    font-family: "VodafoneRg";
    padding: 16px;
    width: 40%;
    font-size: 24px;
    margin-top: 20px;
  }
  p#output {
    margin-top: 28px;
    font-size: 22px;
  }
  .modal-content {
    width: 55%;
    padding: 24px;
  }
  .confirmation {
    font-size: 26px;
  }
  .close {
    height: 22px;
  }
}
@media (min-width: 1400px) and (min-height: 600px) {
  .modal-content {
    width: 28%;
    padding: 24px;
  }
}
