/* Install Guide */
.overlay {
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 10;
    top: 0;
    left: -100vw;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.25s;
}

.overlay-content {
    position: relative;
    top: 0%;
    width: 100%;
    font-family: Arial, sans-serif;
}

.overlay-content .grid-container {
    display: grid;
    grid-template-columns: auto auto auto;
    padding: 70px 10px 10px;
}

.overlay-content .grid-item {
    padding: 0.5rem;
    text-align: center;
}

.overlay-content .guide-container {
    color: white;
    line-height: 1.5;
    font-family: Arial, sans-serif;
}

.overlay-content .guide-container h3,
.overlay-content .guide-container h4 {
    margin: 0;
    padding: 10px;
    line-height: 1.5;
}

.overlay-content .guide-container h3,
.overlay-content .guide-container .forever_url {
    text-align: center;
}

.overlay-content .guide-container h3 {
    color: rgb(245, 215, 85);
}

.overlay-content .guide-container h4 {
    color: rgb(245, 243, 243);
    font-size: 1rem;
}

.overlay-content .guide-container p {
    padding: 5px 10px 10px;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    color: #b3b3b3;
}

.overlay-content .guide-container p img {
    width: 68%;
    margin: 0 auto;
    display: block;
}

.overlay a {
    text-decoration: none;
    transition: 0.2s;
    display: block;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 0.25rem;
    border: 1px solid rgb(245, 215, 85);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.overlay a:hover,
.overlay a:focus {
    background-color: rgb(245, 215, 85);
    color: #000;
}

.overlay .closebtn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    text-align: center;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 40px;
    line-height: 35px;
    color: #818181;
}

.code-guide {
    text-align: center;
}

.code-box {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 0.875rem;
    padding: 0;
    margin: 0;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    width: 100%;
    height: 100%;
    display: none;
    background-color: #000;
    opacity: 0.5;
    overflow: hidden;
}

.board {
    position: fixed;
    border-radius: 12px;
    background-color: #fff;
    top: calc((100vh - 88px) * 0.05);
    left: calc((100vw - (100vh - 88px) * 0.9 * 719 / 1280) / 2);
    height: calc((100vh - 88px) * 0.9);
    width: calc((100vh - 88px) * 0.9 * 719 / 1280);
    z-index: 999;
    display: none;
    overflow: hidden;
}