.wrapPopup {
    background: rgba(29, 202, 115, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    /* min-height: 100vh; */
    /* border-radius: 2rem; */
    min-width: 100vw;
    position: fixed;
    top: -100%;
    z-index: 10;
    display: none;
    animation: xcmb 0.5s linear forwards;
}

@keyframes xcmb {
    from {
        width: 0vw;
        height: 0vh;
        top: -100%;
    }
    to {
        width: 100vw;
        height: 100vh;
        top: 0%;
    }
}
.wrapper {
    background: whitesmoke;
    width: 30vw;
    padding: 3rem 1rem;
    border-radius: 1rem;
    box-shadow: 1rem 1rem 1rem rgb(0, 0, 0, 0.2);
}

.wrapper .title {
    margin-bottom: 2rem;
    text-align: center;
    font-size: xx-large;
    font-weight: 600;
}

.wrapper form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: medium;
}

.wrapper form input {
    font-size: medium;
    padding: 0.6rem;
    border-radius: 0.3rem;
    outline: none;
    background-color: rgb(226, 226, 226);
    color: rgb(107, 104, 104);
}

.wrapper form a {
    text-decoration: none;
    color: rgb(29, 202, 115);
    font-size: medium;
    text-align: right;
}

.wrapper form input[type="submit"] {
    background-color: rgb(29, 202, 115);
    border-radius: 0.3rem;
    outline: none;
    border: none;
    font-size: large;
    font-weight: 700;
    color: whitesmoke;
}

.wrapper form input[type="submit"]:hover {
    background-color: rgb(34, 242, 138);
    cursor: pointer;
    /* background-color: rgb(29, 202, 115); */
}

.footer {
    color: rgb(107, 104, 104);
    margin-top: 1.5rem;
    text-align: center;
    font-size: medium;
}

.footer label {
    color: rgb(29, 202, 115);
    text-decoration: none;
}

.footer label:hover,
.wrapper form a:hover {
    text-decoration: underline;
}

.register {
    display: none;
}

#check:checked ~ .register {
    display: block;
}

#check:checked ~ .login {
    display: none;
}

#check,
#chkpopup {
    display: none;
}

#chkpopup:checked ~ .wrapPopup {
    top: 0;
    display: flex;
}
