@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&display=swap');
*{
    padding: 0;
    margin: 0;

    text-decoration: none;
    list-style: none;

    border: none;
    outline: none;

    position: relative;
    scrollbar-width: none;
}
body{
    max-width: 100svw;
    min-height: 100svh;
    font-family: "Tektur", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image:linear-gradient(to top, rgb(97, 181, 0),rgb(0, 255,100),black) ;
}
form{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 50%;
    padding:30px;
    background-image: linear-gradient(to top,rgb(97, 181, 0),rgb(0, 255, 100),black);
    border-radius: 20px;
    box-shadow: 0 0 20px white;
}
label{
    color: white;
}
input{
    padding:10px 20px;
    border-radius: 10px;
    transition: 0.3s;
}
input:focus{
    box-shadow:0 0 20px white;
}
.pass{
    width: 100%;
    display: flex;
    gap: 20px;
}
.pass div{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
form button{
    width: 100%;
    padding: 10px 20px;
    border-radius: 10px;
    background-color: rgb(0, 181, 54);
    color: white;
    box-shadow: 0 0 10px white;
    transition: 0.3s;
}
form button:hover{
    transform: scale(1.005);
    background-color: white;
    color: rgb(30, 181, 0);
    box-shadow: 0 0 10px white;
}
form button:active{
    transform: scale(0.95);
}
    .success-box {
      background: #fff;
      padding: 40px 50px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
      animation: pop 0.4s ease;
    }

    .check {
      font-size: 60px;
      color: #28a745;
      margin-bottom: 10px;
    }

    .success-box h1 {
      margin: 10px 0;
      color: #333;
    }

    .success-box p {
      color: #666;
      margin-bottom: 25px;
    }

    .success-box a {
      text-decoration: none;
      padding: 10px 22px;
      background: #28a745;
      color: #fff;
      border-radius: 6px;
      font-weight: bold;
      transition: 0.3s;
    }

    .success-box a:hover {
      background: #218838;
    }

    @keyframes pop {
      from {
        transform: scale(0.9);
        opacity: 0;
      }
      to {
        transform: scale(1);
        opacity: 1;
      }
    }
@media (max-width: 768px){
    *{
        font-size: 14px;
    }
    .pass{
        flex-direction: column;
    }   
    .pass div{
        width: 100%;
    }
    form{
        margin: 20px 0;
        width: 80%;
    }
    .success-box{
        margin: 20px;
    }
    .success-box h1{
        font-size: 30px;
    }
    .success-box p {
        font-size: 16px;
    }
    .success-box a{
        font-size: 20px;
    }
}