html,
body {
    background-color: rgb(237, 212, 238);
    height: 100%;
    padding: 0px;
    margin: 0px;

}

:root {
    --input-primary-color: #1887e8;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
}

.progress {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 580px;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    background-color: white;
    width: 500px;
    height: 300px;

    padding: 40px;
    box-shadow: 10px 10px 15px 0 #0000000a;
}

.login-btn {
    margin-top: 5px;
}

.input-button {
    border-radius: 25px;
    background-color: #3c7ade;
    color: white;
    height: 50px;
    padding: 5px;
    border: #0000000a solid 0;
    width: 100px;
    margin: 10px;
    margin-top: 20px;
    display: block;
    cursor: pointer;
}

.input-button:hover {
    background-color: #356ec9;
    box-shadow: 3px 3px 3px 0 #0000001a;
}

.input-button:disabled {
    background-color: #1f4179;
    cursor: default;
}

.input-button:disabled:hover {
    box-shadow: none;
}

.footer {
    display: flex;
    justify-content: flex-end;
}

.middle {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.login {
    margin: 5px;
}

.message-box {
    width: 60%;
}

.login-box {
    width: 40%;
}

.card-content {
    width: 100%;
    height: 100%;
}

circle {
    fill: none;
    stroke: #3c7ade;
    stroke-width: 10;
    stroke-linecap: round;
    /* 使うkeyframesの名前、再生時間、補間の仕方、繰り返すかどうか、をそれぞれ指定している */
    animation: wax-and-wane 2s cubic-bezier(.5, 0, .5, 1) infinite, rotate 1.5s linear infinite;
}

/* 全体の再生時間のn%のときになってほしいCSSプロパティを指定する */
@keyframes wax-and-wane {

    /* 状態1 */
    0% {
        stroke-dasharray: 236 78;
        stroke-dashoffset: -37;
    }

    /* 状態2 */
    50% {
        stroke-dasharray: 20 294;
        stroke-dashoffset: -304;
    }

    /* 状態3 */
    100% {
        stroke-dasharray: 236 78;
        stroke-dashoffset: -351;
    }
}

@keyframes rotate {

    /* 0%の時はどっちみち0度なので省略してもよいです */
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}


.error {
    color: #b02828;
    padding: 0px;
    margin: 0px;
}

.info {
    color: #28b041;
    padding: 0px;
    margin: 0px;
}

.message {
    margin: 0px;
}

.circle-progress {
    display: none;
    position: absolute;
    left: 250px;
    top: 200px;
}

@media (max-width: 580px) {
    .card {
        width: 100%;
        height: calc(100% - 50px);
        box-shadow: none;
        padding-bottom: 0px;
        padding-top: 50px;
        border-radius: 0px;
    }

    .logo {
        position: absolute;
        top: 50px;
        left: 20px;
    }

    .circle-progress {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }
}