html, body{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
body {
    background-image: url('bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}
.top{
    width: 100%;
    background-color: #f36f21;
    padding-block: .2rem;
}
.top p {
    margin: 0 auto;
    display: block;
    width: fit-content;
    color: white;
    font-weight: bold;
}
.survey{
    width: 100%;
    background-color: white;
    height: fit-content;
    padding-top: 1rem;
}
.about {
    display: flex;
    align-items: center;
    width: fit-content;
    margin-inline: auto;
}
.about p {
    margin: 0;
    font-weight: bold;
}
.about span {
    background-color: black;
    height: .1rem;
    width: 3rem;
    display: block;
    margin-inline: .5rem;
}
.logo {
    width: 12rem;
    height: auto;
    display: block;
    margin-inline: auto;
}
.date {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    margin-inline: auto;
}
.date p {
    font-size: 1.2rem;
    font-weight: bolder;
}
.date img {
    width: 1.2rem;
    height: 1.2rem;
}
.form {
    width: 50rem;
    background-color: white;
    display: block;
    margin-inline: auto;
    padding: 1rem 2rem;
    border-bottom: .6rem solid #f36f21;
    border-radius: .5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
    text-align: center;
}
.form h1 {
    font-size: 1.5rem;
}
.form > div {
    display: flex;
}
.form img {
    width: 12rem;
    height: auto;
}
.form button {
    background-color: #f36f21;
    border: 0;
    color: white;
    font-size: 1.3rem;
    width: 80%;
    font-weight: bolder;
    padding-block: .5rem;
    margin-inline: auto;
    display: block;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.form span {
    color: red;
}

.form button::after {
    animation: shine 3s ease-in-out infinite;
    animation-fill-mode: forwards;
    content: "";
    position: absolute;
    top: -80%;
    left: -200%;
    width: 150%;
    height: 500%;
    opacity: 0;
    transform: rotate(-10deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.0) 30%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 1) 92%, rgba(255, 255, 255, 0.0) 100%);
}

@keyframes shine {
    10% {
        opacity: 1;
        top: -30%;
        left: -200%;
        transition-property: left, top, opacity;
        transition-duration: 0.7s, 0.7s, .15s;
        transition-timing-function: ease
    }

    100% {
        opacity: 0;
        top: -30%;
        left: 100%;
        transition-property: left, top, opacity;
    }
}

.copyright {
    width: 50rem;
    background-color: white;
    display: block;
    margin-inline: auto;
    padding: 1rem 2rem;
    padding-bottom: 3rem;
    border-top: .6rem solid #f36f21;
    outline: 2px solid rgb(172, 172, 172);
    margin-top: 15rem;
}
.copyright div{
    width: fit-content;
    margin-inline: auto;
}
.copyright img {
    width: 5rem;
    height: auto;
}
.copyright p {
    width: fit-content;
    margin-inline: auto;
}

.timer {
    width: 100%;
    background-color: #D20000;
    position: fixed;
    bottom: 0;
    padding-block: .4rem;
}

.timer p {
    width: fit-content;
    margin-inline: auto;
    font-weight: bolder;
    color: white;
    margin-block: 0;
}

.timer p span {
    background-color: white;
    color: #D20000;
    padding: .3rem;
    font-size: 1.2rem;
    border-radius: .4rem;
}

.arrow {
    animation: updown 0.4s infinite alternate;
    width: 20px;
    margin: auto;
}

@keyframes updown{
    0% {
      transform: translateY(-8px)
    }
    100% {
      transform: translateY(8px)
    }
  }

.claimForm{
    width: 50rem;
    background-color: white;
    display: block!important;
    margin-inline: auto;
    padding: 2rem;
    border-radius: .5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
    text-align: center;
}
.claimForm > div {
    display: flex;
    border: 2px solid #D20000;
    padding: 1rem;
    border-style: dashed;
}
.claimForm > div > div {
    flex: 50%;
}
.claimForm h1 {
    font-size: 1.4rem;
    width: 100%;
    border-bottom: 1px solid black;
}
.claimForm p i {
    margin-bottom: 1rem;
}
.claimForm p + p {
    margin-block: .1rem;
    font-size: .8rem;
}
.claimForm button {
    background-color: #f36f21;
    border: 0;
    color: white;
    font-size: 1.3rem;
    width: 100%;
    font-weight: bolder;
    padding-block: .5rem;
    margin-inline: auto;
    display: block;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    margin-top: 2rem;
}
.claimForm .pay, .claimForm .stock {
    font-size: 1.1rem;
    font-weight: bold;
    color: red;
}
 .claimForm .stockCount {
    animation: opacityN 2s infinite linear;
}
@keyframes opacityN{
	0%{
    	opacity: 1;
	}
	50%{
    	opacity: 0;
	}
	100%{
    	opacity: 1;
	}
}
.claimForm .price{
    text-decoration: line-through;
    color: red;
    font-size: 1.1rem;
}
.claimForm .newPrice{
    color: green;
    font-size: 1.2rem;
    font-weight: bold;
    animation: heartbeatPrice 2s infinite linear;
    display: inline-block;
}

.form2 {
    width: 50rem;
    background-color: white;
    display: block;
    margin-inline: auto;
    padding: 1rem 2rem;
    border-bottom: .6rem solid #f36f21;
    border-radius: .5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
}

.form2 button {
    background-color: #f36f21;
    border: 0;
    color: white;
    font-size: 1rem;
    width: 100%;
    font-weight: bolder;
    padding-block: .5rem;
    margin-inline: auto;
    display: block;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    margin-bottom: 1rem;
}

@keyframes heartbeatPrice {
    0% {
      transform: scale(1);
  }
  25% {
      transform: scale(1.2);
  }
  50% {
      transform: scale(1);
  }
  75% {
      transform: scale(1.2);
  }
}
.claimForm img{
    width: 12rem;
    height: auto;
    margin: auto;
    display: block;
    margin-top: 2rem;
}
.claimForm > div div:nth-child(1) {
    background-color: rgb(236, 236, 236);
}
.claimForm > div div:nth-child(2) {
    background-color: rgb(243, 243, 243);
    padding-left: 1rem;

}
.comments {
    width: 52rem;
    background-color: white;
    display: block;
    margin-inline: auto;
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
}
.comments input{
    width: 100%;
    border-radius: 3px;
    padding: 20px;
    margin-top: 10px;
    box-sizing: border-box;
    border-radius: .3rem;

}
.comments div.submit{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.comments .submit p {
    font-size: 1.2rem;
    font-weight: bold;
}

.comments .submit button {
    background-color: #4b87c8;
    color: white;
    font-size: 1.2rem;
    padding-block: 0;
    height: 2.5rem;
    cursor: pointer;
    border: 0;
    border-radius: .3rem;
}
.comments .submit button a {
    color: white;
    text-decoration: none;
}
.comments h2 {
    margin: 0;
    font-size: 1.3rem;
    color: #12C1DD;
    font-weight: bolder;
}
.comments img.profile {
    width: auto;
    height: 4rem;
}
.comments img.commentimg {
    width: 20rem;
    height: auto;
}
.comments .comment {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}
.comments .comment > div {
    flex-grow: 1;
}
.comments .commentText{
    font-size: .8rem;
}
.comments .commentActions{
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.comments svg{
    width: .8rem;
    color: #27B7C7;
}
.comments .commentActions div {
    display: flex;
    gap: 1rem;
}
.comments .commentActions div div{
    display: flex;
    gap: .5rem;
    align-items: center;
}
.comments .commentActions div p {
    margin: 0;
    font-size: .8rem;
}
.comments .commentActions div a {
    font-weight: 900;
    color: #27B7C7;
    text-decoration: none;
}

@media screen and (max-width: 900px) {
    /* Your styles here */
    .form, .claimForm, .comments,.copyright, .form2  {
        width: 100%;
        box-sizing: border-box;
    }
    #finished .form p {
        font-size: .9rem;
    }
    #finished .form h1 {
        font-size: 1.1rem;
    }
    .form2 h1{
        font-size: 1.4rem;
    }
    .form > div h1 {
        font-size: 1.2rem;
    }
    .form > div p {
        font-size: .9rem;
    }
    .form > div img {
        width: auto;
        height: 8rem;
    }

    .comments img.commentimg {
        width: 50%;
        height: auto;
    }
    .claimForm {
        padding: .5rem;
        
    }
    .claimForm > div div:nth-child(2) {
        padding-left:0;
    
    }
    .claimForm > div{
        padding: 0;
        gap: 0;
    }
    .claimForm h1 {
        font-size: .8rem;
        width: 100%;
        border-bottom: 1px solid black;
    }
    .claimForm p i {
        font-size: .8rem;
    }
    .claimForm > div > div {
        flex: auto;
    }
    .claimForm img{
        width: 10rem;
        height: auto;
        margin: auto;
        display: block;
        margin-top: 1rem;
    }
}

.question, #finished{
    display: none;
}
.hidden{
    display: none!important;
}
.visible{
    display: block!important;
    animation: fadeIn .2s ease-in;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#loading {
    display: block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #5f5f5f;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    margin: auto;
  }

@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

#checking {
    display: none;
}
#checking p{
    display: none;
}




/* popup css*/

.popup {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-header {
    position: absolute;
    top: 0;
    left: 40px;
}

.popup-header img {
    width: 300px;
}

.popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
    margin: 0 15px 0 15px;
}

.popup-content h2 {
    margin: 0;
    font-family: sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
    color: #1c1e21;
}

.popup-content p {
    margin: 0;
    font-family: sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
    color: #1c1e21;
}

.popup-content .loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

.popup-content .success-checkmark {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    position: relative;
}

.popup-content .success-checkmark .check-icon {
    width: 36px;
    height: 36px;
    position: absolute;
}

.icon-circle {
    width: 30px;
    height: 30px;
    border-color: #22a84b;
    border-style: solid;
    border-width: 3px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.checkmark-line-one,
.checkmark-line-two {
    width: 17px;
    height: 4px;
    background-color: #22a84b;
    position: absolute;
    transform-origin: left;
}

.checkmark-line-one {
    transform: rotate(47deg);
    top: 5px;
    left: 2px;
    animation: drawCheckmarkOne 0.5s forwards;
}

.checkmark-line-two {
    transform: rotate(-48deg);
    top: 17px;
    left: 11px;
    animation: drawCheckmarkTwo 0.5s forwards;
    animation-delay: 0.5s;
    width: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes drawCheckmarkOne {
    0% {
        width: 0;
    }

    100% {
        width: 17px;
    }
}

@keyframes drawCheckmarkTwo {
    0% {
        width: 0;
    }

    100% {
        width: 17px;
    }
}


/* HTML: <div class="loader"></div> */
.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid #514b82;
    animation:
      l20-1 0.8s infinite linear alternate,
      l20-2 1.6s infinite linear;
  }
  @keyframes l20-1{
     0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
     12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
     25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
     50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
     62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
     75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
     100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
  }
  @keyframes l20-2{ 
    0%    {transform:scaleY(1)  rotate(0deg)}
    49.99%{transform:scaleY(1)  rotate(135deg)}
    50%   {transform:scaleY(-1) rotate(0deg)}
    100%  {transform:scaleY(-1) rotate(-135deg)}
  }