*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    justify-content: center;
    align-items: center;
    display: flex;
    min-height: 100vh;
    background: url(4949813.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.wrapper{
    width: 400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid grey;
    border-radius: 20px;
    box-shadow: 0 0 30px rgb(120, 109, 109);
}

.wrapper .formbox{
    width: 100%;
    padding: 40px;
}

.formbox h2{
    font-size: 30px;
    text-align: center;
    margin-bottom: 20px;
    color: rgb(10, 10, 10);
}

.inputbox{
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid black;
    margin: 30px 0;
}

.inputbox label{
    position: absolute;
    top: 50%;
    left: 35px;
    transform: translateY(-50%);
    font-size: 15px;
    color: rgb(4, 4, 4);
    transition: .5s;
    pointer-events: none;
}

.inputbox input:focus~label,
.inputbox input:valid~label{
    top: -5px;
    left: 0;
    color: rgb(45, 76, 115);
    font-size: 12px;
}

.inputbox input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding-left: 5px;
}

.button{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.button button{
    padding: 6px 5px;
    background-color: rgb(45, 76, 115);
    border: 2px solid black;
    outline: none;
    border-radius: 6px;
    color: rgb(245, 244, 244);
    font-family: 'Poppins', sans-serif;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    min-width: 100%;
    transition: 0.3s ease-in;
}

.button button:hover{
    transform: scale(1.04);
    transition: 0.3s ease-out;
}

.login p, .register p{
    justify-content: center;
    display: flex;
    color: rgb(1, 1, 1);
    gap: 5px;
}

.login a, .register a{
    text-decoration: none;
    color: rgb(157, 147, 147);
}

.login a:hover, .register a:hover{
    text-decoration: underline;
}

a, button{
    cursor: pointer;
}
