@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.display {
    display: none;
}

.form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 110px 30px 60px 30px;
    box-shadow: 0 0 10px gray;
    border-radius: 20px;
    position: relative;
    gap: 18px;
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background-color: #cacaca;
    border-radius: 20px 20px 0px 0px;
    width: 100%;
    position: absolute;
    top: 0;
    border-bottom: 3px solid #b9b9b9;
}

.form-header-text {
    font-size: 32px;
    font-weight: 500;
    color: white;
}

.form-section {
    width: 100%;
}

.form-section-header {
    margin-bottom: 10px;
    font-size: 17px;
}

.form-section-text-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.form-section-text-box {
    width: 495px;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #bbbbbb;
    padding: 15px;
    font-size: 18px;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    height: 45px;
    width: 495px;
    border-radius: 5px;
    border: none;
    font-size: 18px;
    color: white;
    background-color: #428eff;
    cursor: pointer;
}

.btn:hover {
    background-color: #2a6dd1;
}

.checked-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
    column-gap: 10px;
}

.correct {
    font-size: 30px;
    color: #51d65c;
}

.wrong {
    font-size: 24px;
    color: #fd3434;
}

.wrong-text {
    font-size: 17px;
    color: #fd3434;
}

.correct-text {
    font-size: 17px;
    color: #51d65c;
}

.form-section-password-eye {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

@media only screen and (max-width: 600px){
    .form {box-shadow: none; gap: 10px; padding: 70px 0px 60px 0px;}
    .form-section-text-box {width: 400px;}
    .form-section-header {margin-bottom: 2px;}
    .form-header {background-color: transparent; padding: 5px; border-width: 2px;}
    .form-header-text {color: black;}
    .button-container {margin-top: 10px;}
    .btn {width: 400px;}
}

@media only screen and (max-width: 500px){
    .form-section-text-box {width: 300px;}
    .btn {width: 300px;}
}

@media only screen and (max-width: 400px){
    .form {transform: scale(0.9);}
    .form-section-text-box {width: 300px;}
    .btn {width: 300px;}
}