html {
    height: 3000px;
}

header {
    background-color: #8fbfc4;
    height: 80px;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding-left: 50px;
    font-family: "Share Tech", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

#Timer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 250px auto;
    height: 200px;
    width: 350px;
}
#Timer-txt {
    font-size: 200px;
    font-family: "Share Tech", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333333;
}

/*ゲージ*/
.gauge {
    display: flex;
    margin: -200px auto;
    width: 800px;
    height: 20px;
    background-color: lightgray;
    border-radius: 10px;
    overflow: hidden;
} /*ゲージ内の値*/
  .gauge-value {
    height: 20px;
    background-color: #8fbfc4;
    border-radius: 10px 0 0 10px;
    transition: width 0.35s ease;
    width: 0%;/*値*/
}
.gauge-value.full {
    border-radius: 10px;
}

/*Settings↓のためだけに書くどうでもいいcss*/
.SubTxt {
    font-family: "Share Tech", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: gray;
    font-size: 30px;
}

 section.TimePassed {
    position: absolute;
    left: 50%;
    top: 500px;
    transform: translateX(-50%);
    text-align: center;
    display: none;
}

/*配置*/
.box{
    display: inline-block;
    width:auto;
    height:100%;
}

/*浮かせるやつ*/
.float {
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: block;
    /* アニメーション用 */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.float.is-hidden {
  opacity: 0;
  visibility: hidden;
}
@keyframes floating-y {
  0% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(5px);
  }
}

/*ここから設定*/
#Settings {
    position: static;
    margin: auto auto 0;
    margin-top: 600px;
    padding: 0 50px;
    max-width: 900px;
    color: #333333;
    font-size: 50px;
    font-family: "Share Tech", sans-serif;
    font-weight: 400;
    font-style: normal;
    /* アニメーション用 */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
#Settings.is-hidden {
  opacity: 0;
  visibility: hidden;
}
#Settings h5 {
    font-size: 50px;
    margin-bottom: 15px;
    font-family: "Share Tech", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333333;
}

.checkbox-icon {
    accent-color: #8fbfc4;
    margin: 0 20px ;
    border-radius: 1px;
    box-shadow: 0 0 0 0 transparent;
    width: 30px;
    height: 30px;
}

.checkbox a {
    padding-left: 70px;
}

.text {
    margin: 16px 0 16px 10px;
    width: 60px;
    height: 40px;
    font-size: 30px;
    color: #333333;
    border: 2px solid #8fbfc4;
    border-radius: 6px;
    padding: 2px 6px;
    text-align: center;
    vertical-align: middle;
}

.checkbox.CountDown {
    display: block;
}

.checkbox.CountUp {
    display: none;
}

/* こっからfont */
.Fonts select {
    width: 320px;
    height: 48px;
    padding: 6px 14px;
    font-size: 24px;
    color: #333333;
    background-color: #ffffff;
    border: 2px solid #8fbfc4;
    border-radius: 8px;
    outline: none;
}
.Fonts select:focus {
    box-shadow: 0 0 0 3px rgba(143, 191, 196, 0.3);
}

#ShareTech {
    font-family: "Share Tech", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333333;
}

/* Font radio layout */
.Fonts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.Fonts .font-option {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 32px;
    color: #333333;
}

.Fonts .font-option input {
    accent-color: #8fbfc4;
    width: 26px;
    height: 26px;
}

.Fonts .font-option.ShareTech { font-family: "Share Tech", sans-serif; }
.Fonts .font-option.Quantico { font-family: "Quantico", sans-serif; }
.Fonts .font-option.Geo { font-family: "Geo", sans-serif; }
.Fonts .font-option.MajorMonoDisplay { font-family: "Major Mono Display", monospace; }
.Fonts .font-option.Offside { font-family: "Offside", sans-serif; }
.Fonts .font-option.Plaster { font-family: "Plaster", sans-serif; }
.Fonts .font-option.RibeyeMarrow { font-family: "Ribeye Marrow", serif; }

/*ぼたん*/
#TBtn {
    display: block;
    margin: 270px auto 0;
    padding: 10px 36px;
    font-size: 28px;
    font-family: "Share Tech", sans-serif;
    color: #ffffff;
    background-color: #8fbfc4;
    border: 2px solid #8fbfc4;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.6s ease, border-color 0.6s ease, color 0.3s ease;
}

#TBtn:hover {
    filter: brightness(0.95);
}

#TBtn:active {
    transform: translateY(1px);
}

#TBtn.Stop1 {
    background-color: #cccccc;;
    border-color: #cccccc;
    color: transparent;
}
#TBtn.Stop2 {
    color: #ffffff;
}

#clearBtn {
    padding: 10px 36px;
    font-size: 28px;
    font-family: "Share Tech", sans-serif;
    color: #ffffff;
    background-color: #e95464;
    border: 2px solid #e95464;
    border-radius: 10px;
    cursor: pointer;
}
#clearBtn:hover {
    filter: brightness(0.95);
}
#clearBtn:active {
    transform: translateY(1px);
}

.br {
    display: none;
}

/* レスポンシブ対応とかいう地獄の作業（サイズ変更するだけだから楽（サボってるだけ）） */
@media screen and (min-width: 650px) and (max-width: 899px) {
    header {
        padding-left: 33.33px;
    }
    #Timer {
        width: 233.33px;
    }
    .gauge {
        width: 533.33px;
    }
    #Settings {
        padding: 0 33.33px;
    }
    .checkbox a {
        padding-left: 46.67px;
    }
    .Fonts select {
        width: 213.33px;
        padding: 4px 9.33px;
    }
}
@media screen and (min-width: 600px) and (max-width: 649px) {
    header {
        padding-left: 33.33px;
        font-size: 13.33px;
    }
    #Timer {
        width: 233.33px;
    }
    #Timer-txt {
        font-size: 133.33px;
    }
    .gauge {
        width: 533.33px;
    }
    .SubTxt {
        font-size: 20px;
    }
    #Settings {
        padding: 0 33.33px;
        font-size: 33.33px;
    }
    #Settings h5 {
        font-size: 33.33px;
    }
    .checkbox a {
        padding-left: 46.67px;
    }
    .text {
        width: 40px;
        height: 26.67px;
        font-size: 20px;
        border-width: 1.33px;
        border-radius: 4px;
    }
    .Fonts select {
        width: 213.33px;
        height: 32px;
        padding: 4px 9.33px;
        font-size: 16px;
        border-width: 1.33px;
        border-radius: 5.33px;
    }
    .Fonts .font-option {
        font-size: 21.33px;
    }
    .Fonts .font-option input {
        width: 17.33px;
        height: 17.33px;
    }
    .checkbox-icon {
        width: 20px;
        height: 20px;
    }
    #TBtn {
        font-size: 18.67px;
        padding: 6.67px 24px;
        border-width: 1.33px;
    }
    #clearBtn {
        font-size: 18.67px;
        padding: 6.67px 24px;
        border-width: 1.33px;
    }
    .br {
        display: block;
    }
}
@media screen and (min-width: 200px) and (max-width: 599px) {
    header {
        padding-left: 33.33px;
        font-size: 13.33px;
    }
    #Timer {
        width: 233.33px;
        margin: 60px auto;
    }
    #Timer-txt {
        font-size: 133.33px;
    }
    .gauge {
        width: 270px;
        margin: -15px auto;
    }
    .SubTxt {
        font-size: 20px;
    }
    #Settings {
        padding: 0 33.33px;
        font-size: 33.33px;
    }
    #Settings h5 {
        font-size: 33.33px;
    }
    .checkbox a {
        padding-left: 46.67px;
    }
    .text {
        width: 40px;
        height: 26.67px;
        font-size: 20px;
        border-width: 1.33px;
        border-radius: 4px;
    }
    .Fonts select {
        width: 213.33px;
        height: 32px;
        padding: 4px 9.33px;
        font-size: 16px;
        border-width: 1.33px;
        border-radius: 5.33px;
    }
    .Fonts .font-option {
        font-size: 21.33px;
    }
    .Fonts .font-option input {
        width: 17.33px;
        height: 17.33px;
    }
    .checkbox-icon {
        width: 20px;
        height: 20px;
    }
    #TBtn {
        font-size: 18.67px;
        padding: 6.67px 24px;
        border-width: 1.33px;
        margin: 50px auto;
    }
    #clearBtn {
        font-size: 18.67px;
        padding: 6.67px 24px;
        border-width: 1.33px;
    }
    .br {
        display: block;
    }
    section.TimePassed {
        top: 300px;
    }
}

