* {
    margin: 0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.form {
    padding: 20px;
    border: 0px solid black;
    border-radius: 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25vw;
    box-sizing: border-box;
    background: white;
}

.form input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 0px solid black;
    background-color: var(--lightgray);
    font-family: var(--font1);
    font-size: 15px;
    box-sizing: border-box;
    margin-top: 10px;
}

.form button {
    width: 100%;
    box-sizing: border-box;
    background-color: black;
    padding: 12px;
    border: 0px solid black;
    border-radius: 10px;
    color: white;
    font-family: var(--font1);
    font-size: 15px;
    margin-top: 10px;
    cursor: pointer;
}

.form h1 {
    font-family: var(--font1);
    font-size: 20px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
}

.form span {
    font-family: var(--font1);
    font-weight: 300;
    color: var(--lightdarkgray);
    font-size: 14px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.otpForm {
    padding: 20px;
    border: 0px solid black;
    border-radius: 15px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25vw;
    box-sizing: border-box;
    background: white;
}

.otpForm p {
    font-family: var(--font1);
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
}

.otpForm input {
    font-family: var(--font1);
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    border: 0px;
}

.otpForm span {
    font-family: var(--font1);
    font-weight: 300;
    color: var(--lightdarkgray);
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    padding: 5px;
    margin-bottom: 20px;
}

.otpDialogButtons {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#resendOtpBtn {
    background: var(--lightgray);
    border: 0px;
    border-radius: 40px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

#verifyOtpBtn {
    background: black;
    color: white;
    border: 0px;
    border-radius: 40px;
    padding: 8px;
    margin-left: 15px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
}

.otpBoxs {
    align-self: flex-start;
}

.otpBoxs input {
    width: 45px;
    padding: 12px;
    border-radius: 10px;
    border: 0px solid black;
    background-color: var(--lightgray);
    font-family: var(--font1);
    font-size: 15px;
    text-align: center;
    box-sizing: border-box;
}

#resendOtpBtn:hover,
#verifyOtpBtn:hover {
    background: var(--lightdarkgray);
}

@media (max-width: 1500px) {
    .form,
    .otpForm {
        width: 25vw;
    }
}

@media (max-width: 1400px) {
    .form,
    .otpForm {
        width: 30vw;
    }
}

@media (max-width: 1300px) {
    .form,
    .otpForm {
        width: 35vw;
    }
}

@media (max-width: 1200px) {
    .form,
    .otpForm {
        width: 40vw;
    }
}

@media (max-width: 1100px) {
    .form,
    .otpForm {
        width: 45vw;
    }
}

@media (max-width: 1000px) {
    .form,
    .otpForm {
        width: 50vw;
    }
}

@media (max-width: 900px) {
    .form,
    .otpForm {
        width: 55vw;
    }
}

@media (max-width: 900px) {
    .form,
    .otpForm {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .container {
        padding: 1.5rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 1rem;
    }
}