* {
    box-sizing: border-box;
}

.title {
    background-color: beige;
    font-size: 50px;
    font-family: '游明朝';
    animation: fadeIn 0.7s ease 0s 1 normal;
    user-select: none;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
    }
}

body {
    margin: 0px;
    text-align: center;
}

h1 {
    margin-top: 0px;
    user-select: none;
}

#textarea {
    width: 99%;
    height: 200px;
    resize: none;
    font-size: 15px;
    background-color: #f9f9f9;
    transition: 0.5s;
}

#textarea:hover {
    background-color: #ffffff;
    transition: 0.5s;
}

#output {
    font-size: 40px;
    display: inline;
    user-select: auto;
}

h2 {
    user-select: none;
}

.start {
    font-size: 40px;
}

#end {
    font-size: 30px;
    font-weight: normal;
    display: inline;
}

.output {
    width: 50%;
    margin: 0 auto;
    position: relative;
    animation: colorChange 5s infinite linear alternate;
}

.select {
    position: absolute;
    top: 30px;
    right: 30px;
}

.select label {
    font-size: 30px;
    cursor: pointer;
    color: dimgray;
    user-select: none;
}

.select label:hover {
    color: black;
}

.select input {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

@keyframes colorChange {
    0% {
        border: 3px dotted #9ed8ff;
    }

    50% {
        border: 3px dotted #38afff;
    }

    100% {
        border: 3px dotted #007dd1;
    }
}
