* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: white;
    margin: 0;
    height: 100vh; /* เต็มหน้าจอ */
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(https://wallpaperaccess.com/full/8278296.gif) no-repeat center center fixed;
    background-size: cover;
    font-family: 'Baloo 2', cursive;
}

.contain {
    background-color: rgb(248, 111, 155);
    width: 350px;
    border-radius: 20px;
    height: 250px;
}

.contain h2 {
    font-size: 24px;
    text-align: center;
    color: white;
    padding-top: 10px;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5)
}

.contain .input-box {
    width: 100%;
    height: 30px;
    margin: 10px 0 ;
    padding-left: 20px;
    padding-right: 20px;

}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border: 1px solid rgb(254, 245, 246);
    border-radius: 40px;
    padding-left: 10px;
}

.input-box input::placeholder {
    color: white;
    font-family: 'Baloo 2', cursive;
}

input:not(:placeholder-shown) {
    color: white;
    font-family:'Baloo 2', cursive ;
}

.contain .exam {

    padding-left: 20px;
    font-size: 12px;
}

.contain .forgot {
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

.forgot:hover {
    color: #b4034d;
}

.button input {
    background-color: white;
    color: #f9247c;
    font-family: 'Baloo 2', cursive;
    display: block;
    margin: 0 auto;
    margin-top: 5px;
    border-width: 1px;
    border-color: #f9247c;
    height: 25px;
    width: 120px;
    border-radius: 10px;
    cursor: pointer;
    transition:background-color 0.5s, color 0.5s ;
}

input:hover {
    background-color:#f9247c ;
    color: white;
}