@charset "utf-8";

body {
    background-color: #1e1e1e;
}

.main {
    text-align: center;
    padding: 0 30%;
}

#forms {
    background-color: #0c0b0c27;
    padding: 15px;
    position: relative; /* relative で #title の基準を設定 */
    border-radius: 3px;
    border: 10px solid #c5c5c5;
    border-top-width: 40px;
}

#forms #title h3 {
    color: black;
    position: absolute; /* absolute を使って #forms の内部で位置指定 */
    top: -50px; /* 微調整 */
    left: 50%;
    transform: translateX(-50%); /* 水平方向中央 */
}

#forms #body {
    color: white;
}

.button {
    margin: 2px;
    height: 60px;
    color: #474747;
    display: flex; /* Flexboxを有効化 */
    align-items: center; /* 垂直中央揃え */
    justify-content: center; /* 水平方向中央揃え */
    border: 2px solid black;
    background-color: #c6c6c6;
}

.control {
    background-color: rgb(54, 129, 194);
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
}

.innerControl {
    border: 3px solid white;
    border-radius: 10px;
}