@font-face {
    font-family: 'SmileySans';
    src: url('../file/font/SmileySans-Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'SmileySans', sans-serif;
    background-color: #ffccbc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

#passwordBox {
    background-color: #ffffe0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    position: relative;
    padding-top: 40px;
    padding-bottom: 20px;
}

.input-data {
    position: relative;
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
}

.input-data input {
    width: 100%;
    height: 100%;
    border: none;
    font-size: 17px;
    text-align: center;
    background-color: #ffffff;
}

.input-data input:focus {
    border-bottom-color: transparent;
    outline: none;
}

.underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 2px;
    width: 0;
    background-color: blue;
    transition: width 0.3s ease, left 0.3s ease;
}

.input-data input:focus~.underline {
    width: 100%;
    left: 0;
}

#errorMsg {
    color: red;
    display: none;
    margin-top: 10px;
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0% {
        transform: translateX(0px);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0px);
    }
}

#progressBar {
    width: 0%;
    height: 20px;
    background-color: blue;
    margin-top: 20px;
}

#face {
    position: absolute;
    top: 18px;
    width: 88%;
    font-size: 18px;
    font-family: 'Segoe UI Emoji', 'Arial Unicode MS', sans-serif;
    text-align: center;
}

#tips {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
}

#volume-icon {
    cursor: pointer;
    margin-left: 5px;
    font-size: 20px;
}