@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&family=Zen+Maru+Gothic:wght@900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&family=Noto+Sans+JP:wght@900&family=Zen+Maru+Gothic:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&family=Noto+Sans+JP:wght@900&family=Zen+Maru+Gothic:wght@700&display=swap');

body{
    background-image: url("./image/music.png");
}

#center{
    position: relative;
    width: 450px;
    height: 600px;
    border: solid green 3px;
    border-radius: 10px;
    margin: auto;
    background-image: url("./image/color.png");
    background-size: cover;
}

@keyframes light{
    0%{
        filter: brightness(1.5);
    }
    100%{
        filter: brightness(1);
    }
}

.switch{
    animation-name: light;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: 1;
}

@keyframes signal{
    0%{
        filter: brightness(0.5);
    }
    100%{
        filter: brightness(2);
    }
}

.sign{
    animation-name: signal;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-iteration-count: 2;
}

@keyframes blink{
    0%{
        filter: brightness(0.8);
    }
    100%{
        filter: brightness(1.5);
    }
}

.flash{
    animation-name: blink;
    animation-duration: 0.75s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
}

#mode{
    font-size: 20px;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
    text-shadow:3px 3px 3px white,
                3px -3px 3px white,
                -3px 3px 3px white,
                -3px -3px 3px white;
}

.name{
    color:black;
    border: solid;
    font-size: 15px;
    width: 300px;
    height: 40px;
    margin-left: 75px;
    font-family: 'Noto Sans JP', sans-serif;
}

#screen{
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-collapse: collapse;
}

td{
    opacity: 0;
    width: 75px;
    height: 75px;
}

img{
    vertical-align: top;
    width: 75px;
    height: 75px;
}

.record{
    margin: auto;
    width: 350px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 25px;
    text-align: center;
    text-shadow:3px 3px 3px white,
                3px -3px 3px white,
                -3px 3px 3px white,
                -3px -3px 3px white;
    line-height: 0.5;
    border: solid;
    border-radius: 20px;
}

#bluerecord{
    height: 60px;
    background-color:lightskyblue;
}

button{
    color:black;
    border: solid 1px black;
}

#eleven{
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color:rgb(255, 200, 100);
    width: 200px;
    height: 50px;
    text-shadow:1px 1px 1px white,
                1px -1px 1px white,
                -1px 1px 1px white,
                -1px -1px 1px white;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    border-radius: 5px;
}

#eleven:disabled{
    background-color: rgba(128, 128, 128);
    color: whitesmoke;
    text-shadow: none;
}

#reset{
    display: none;
    position: absolute;
    bottom: 20px;
    left: 85%;
    transform: translateX(-50%);
    background-color: whitesmoke;
    width: 80px;
    height: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
}

#reset:disabled{
    background-color: rgba(128, 128, 128);
    color: whitesmoke;
    text-shadow: none;
}

.t{
    opacity: 1;
}

.total{
    width: 50px;
    height: 50px;
}