@font-face{
    font-family: 'NanumB';
    src: url('fonts/NanumBarunGothic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face{
    font-family: 'NanumS';
    src: url('fonts/NanumSquareRoundB.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'NanumS', sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 16px;
}

.icons {
    display: flex;
    justify-content: flex-start;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 2; /* Ensure the icons appear above other elements */
}

.icons a {
    margin-left: 10px;
    font-size: 36px;
    text-decoration: none;
    color: rgb(228, 228, 228);
}

.icons a:hover{
    color: white;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    color: #e2e2e2;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn.btn-github{
    background-color: #000000;
}

.btn.btn-github:hover {
    color: #fff;
}

h1 {
    font-family: 'NanumB', sans-serif;
    margin-block-start: 10px;
    margin-block-end: 10px;
}

#game-container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 10px 10px 0 rgba(0,0,0,0.2);
}

#instruction {
    display: none;
}

input[type=text] {
    position: relative;
    cursor: text;
    font-size: 14px;
    line-height: 20px;
    height: 30px;
    background-color: #fff;
    border: 1px solid #d6d6e7;
    border-radius: 3px;
    color: rgb(35, 38, 59);
    box-shadow: inset 0 1px 4px 0 rgb(119 122 175 / 30%);
    overflow: hidden;
    transition: all 100ms ease-in-out;
    outline: none; /* Remove default focus outline */
}

input[type=text]:focus {
    border-color: #6aaa64;
    box-shadow: 0 1px 0 0 rgb(35 38 59 / 5%);
}

#inputText{
    display: block;
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

#submit {
    margin: 20px 0;
}

#result{
    line-height: 0.7;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #58a351;
    color: #fff;
    border: none;
    border-radius: 4px;
}

button:hover {
    background-color: #6aaa64;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.2),0 3px 3px 0 rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

button:active{
    box-shadow: none;
    transform: translateY(0px);
}

.container {
    margin-top: 10px;
    white-space: nowrap;
}

.container p{
    margin-block-end: 3px;
}

.box {
    font-family: 'NanumB', sans-serif;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    user-select: none;
    cursor: pointer;
    line-height: 50px;
    background-color: gray;
    color: white;
    width: 50px;
    height: 50px;
    margin: 0px;
}
