html {
  font-family: 'Oswald', sans-serif;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: top;
  min-height: 100vh;
  max-height: 100vh;
  background-image: url('P-YABackground-WebSize.svg');
  background-size: cover;

}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  display: block;
}


h1 {
  text-align: center;
  color: white;
  line-height: 100px;
  margin: auto;
}


img {
  object-fit: contain;
}

button {
  font-family: 'Oswald', sans-serif;
}


.logo-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: 200px;
  margin-top: 3%;
}

.home-super-container {
  display: flex;
  justify-content: center;
  flex-direction: row; /* Ensure one object per row */
  align-items: center; /* Center content horizontally */
  width: 100%; /* Ensure the container takes the full width of the screen */
  flex-wrap: wrap;
}

.home-button-text-container {

    display: flex;
    justify-content: center;
    flex-direction: column; /* Ensure one object per row */
    align-items: center; /* Center content horizontally */
  
}

/* For desktop screens */
@media only screen and (min-width: 1024px) {
  .home-button-text-container {
    width: 45%;
  }
}

/* For tablet and mobile screens */
@media only screen and (max-width: 1023px) {
  .home-button-text-container {
    width: 85%;
  }
}

.home-h2 {
  font-size: 1.2em;
  text-align: center;
  line-height: 1.5em;
  font-weight: 500;
  color: white;
  background: rgba(40, 40, 40, 0.5);
  padding: 3%;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  flex-direction: column; /* Ensure one object per row */
  align-items: center;
  margin: auto;
  width: 50%;
}

@media only screen and (max-width: 1023px) {
  .home-h2 {
    width: 85%;
    margin-top: 7%;
  }
}

.code-result {
  font-size: 1.2em;
  text-align: center;
  line-height: 1em;
  font-weight: 500;
  color: white;
  background: rgba(40, 40, 40, 0.5);
  padding: 3%;
  border-radius: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column; /* Ensure one object per row */
    align-items: center; /* Center content horizontally */
}

@media only screen and (max-width: 1023px) {
  .code-result {
    width: 85%;
    margin-top: 7%;
  }
}



.home-button {
  width: 50%;
  padding: 2%;
  margin: 2%;
  font-size: 1.3em;
  font-weight: 600;
  background-color: #F1D18C;
  border-radius: 12px;
  box-shadow: gray;
  border-color: rgb(40, 40, 40);
  color: #00312F;
}


/* For tablet and mobile screens */
@media only screen and (max-width: 1023px) {
  .home-button {
    width: 85%;
  }
}



.home-assessment-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1%;
  flex-wrap: wrap;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
}



/* For tablet and mobile screens */
@media only screen and (max-width: 1023px) {
  .home-assessment-container {
    width: 100%;
  }
}


.home-assessment-button {
  width: 30%;
  padding: 2%;
  margin: 2%;
  font-size: 1.5em;
  font-weight: 500;
  background-color: #00312F;
  border-radius: 12px;
  box-shadow: white;
  border-color: #F1D18C;
  color: #F1D18C;
  justify-content: center;
  
}

/* For tablet and mobile screens */
@media only screen and (max-width: 1023px) {
  .home-assessment-button {
    width: 85%;
    margin: 5% 10%;
  }
}

.form-container {
  display: flex;
  justify-content: center;
}

.inputs {
  
  width: 700px;
  height: 40px;
  margin: 1%;
  padding: 1%;
  border-radius: 12px;
  font-size: 1.4em;
}

/* For tablet and mobile screens */
@media only screen and (max-width: 1023px) {
  .inputs {
    width: 400px;
   
  }
}

.form-button-container {
  display: flex;
  justify-content: center;
}

.promotion-title {
  font-size: 4em;
  margin-top: 5%;
  margin-bottom: 2%;
}

.message-container {
  display: flex;
  justify-content: center;
}

.result-message {
  font-size: 2.5em;
  color: white;
}
.error-message {
  text-align: center;
  color: red;
  font-weight: bold;
  display: none; /* Hidden by default */
}

.code-result-div {
    background-color: rgba(0, 0, 0, 0.5); /* Black background with 50% opacity */
    width: 50%; /* Takes 60% of screen width on desktop */
    padding: 20px;
    text-align: center;
    margin: auto;
    margin-bottom: 12px;
    border-radius: 20px;

}

.code-result-div h2 {
    color: white;
    font-size: 1.1em;
     line-height: 1.5;
     margin-bottom: 2%;
}

@media (max-width: 1024px) { /* Targeting tablets and mobile */
    .code-result-div {
        width: 85%; /* Takes 85% width on mobile and tablets */
    }
}

.code-result-heading {
     line-height: 1.4;
}

.free-button {
    width: 50% !important;  /* Ensure the width is applied */
    padding: 2% !important;  /* Ensure padding is applied */
    margin: 2% auto !important; /* Centers the button horizontally */
    font-size: 1.3em;
    font-weight: 600;
    background-color: #F1D18C;
    border-radius: 12px;
    box-shadow: 0 4px 8px gray; /* Adds shadow */
    border: 2px solid rgb(40, 40, 40);
    color: #00312F;
    text-align: center;
    cursor: pointer;
    display: block !important; /* Ensure it behaves as a block element */
    text-decoration: none !important; /* Removes underline */
    transition: background-color 0.3s ease;
}

/* Hover effect */
.free-button:hover {
    background-color: #e0c27b !important;
}

.promo-image {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Ensure items are centered horizontally */
  height: 400px;
  margin-top: 3%;
  margin-bottom: 3%;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* 
}

.scale-image {
  width: 200px; /* Adjust the image size */
  height: auto;
  animation: scaleUp 2s infinite alternate; /* Infinite animation with alternate direction */
}

@keyframes scaleUp {
  0% {
    transform: scale(1); /* Start at actual size */
  }
  100% {
    transform: scale(1.2); /* Scale up to 1.2 times the actual size */
  }
}


