html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    margin: 0;
    background: #eaeaea;
}

.container{
 display: block;
 margin: 0 auto;
    height: 100%;
}


#scratchCard {
    width: 500px;
    height: 500px;
 
    display: block;
    margin: 0 auto;

}
.title {
    font-family: 'IBM Plex Sans', sans-serif;
    text-transform: uppercase;
    text-align: center;
    padding: 50px;
    background-color: #121212;
    color: #ffffff;
    margin-top: 0;
}
.btn  {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 250px;
    height: 50px;
    border: none;
    border-radius: 5px;
    background: #5900ff;
    color: #ffffff;
    cursor: pointer;
    transition: 0.2s all ease;
    font-size: 1rem;
display: block;
margin: 50px auto;
text-align: center;
}
 

.btn:hover {
    border: 1px solid #5900ff;
    background: #4400c4;
    color: #ffffff;
    box-shadow: 2px 2px 10px 0px #5900ff1f;
    transition: 0.2s all ease;
}

.btn:focus  {
    outline: none;
}

.pageContentWrapper{
    margin-bottom:100px;
  } 


  a {
    text-decoration: none;
    color: inherit;
}

a:hover{
    text-decoration: underline;
}

footer {
    text-align: center;
   line-height: 100px;
  background-color: #121212;
  color: #ffffff;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100px;
  width: 100%;
  overflow: hidden;
}

.goBack p{
    margin: 30px;
    text-align: center;
    font-size: 20px;
}

 
@media all and (max-width:786px){

    #scratchCard {
        width: 300px;
        height: 300px;
     
        display: block;
        margin: 0 auto;
    
    }
}


.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
    overflow: auto;
    animation: modalFadeIn 0.5s ease-in; /* Animation for modal fade-in */
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
    animation: modalContentFadeIn 0.5s ease-in; /* Animation for modal content fade-in */
}

@keyframes modalContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.rewards-content{
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Styles for the form elements */
input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Additional styles for the rewards modal */
.congratulations-title {
    text-align: center;
}

.rewards-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: auto;
}

.rewards-btn:hover {
    background-color: #45a049;
}

.backdiv {
    display: flex;
    justify-content: end;
    margin: 10px;
  }
  
  .backBtn {
    background-color: black;
    color: white;
    padding: 5px;
    border: 2px solid black;
    border-radius: 5px;
    font-size: medium;
    cursor: pointer;
  }
  

  .head{
    display: flex;
    justify-content: center;
  }