html {
    font-family: 'Inter', sans-serif;
}

.htmlembed-wide-button {
    position: relative;
    height: 128;
    width: 768;
    display: block;
    font-size: 32px;
    overflow: hidden;
    text-align: center;
}

.audio-button {
    position: absolute;
    opacity: 0.8;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    z-index: 101;
    background-size: 48px;
    background-color: #1a5cc0;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../images/play-solid.svg");
    cursor: pointer;
}

.audio-button.pause {
    background-color: #ffffff;
    background-image: url("../images/pause-solid.svg");
}

.audio-button.narration {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.audio-button.bgm {
    top: 0;
    background-image: url("../images/volume-high-solid.svg");
}

.audio-button.bgm.muted {
    background-image: url("../images/volume-xmark-solid.svg");
}

.close-button {
    position: absolute;
    opacity: 0.8;
    top: 0;
    background-color: white;
    border-radius: 10px;
    right: 0;
    margin: 10px;
    padding: 5px;
    width: 40px;
    height: 40px;
    z-index: 101;
}

.close-button:hover {
    opacity: 0.8;
}

.close-button:before,
.close-button:after {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 2px;
    height: 33px;
    width: 2px;
    content: " ";
    background-color: #222;
}

.close-button:before {
    transform: rotate(45deg);
}

.close-button:after {
    transform: rotate(-45deg);
}

.close-button.hidden {
    display: none !important;
}

#page-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    min-height: 100%;
    border: none;
    z-index: 100;
}

.material-icons.md-white {
    color: #fff;
}

.material-icons.md-48 {
    font-size: 48px;
}

.material-icons.md-72 {
    font-size: 72px;
}

.material-icons.md-96 {
    font-size: 96px;
}

.icon-button {
    position: absolute;
    padding: auto;
    display: inline-block;
    right: 12px;
    color: #222;
    bottom: 18px;
    border-radius: 20px;
    /**/
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.icon-button:active {
    background-color: #eee;
    color: #222;
}

.btn {
    position: relative;

    display: block;
    margin: 30px auto;
    padding: 0;

    overflow: hidden;

    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);

    background-color: #222222;
    color: #ecf0f1;

    transition: background-color 0.3s;
}

.btn > * {
    position: relative;
}

.btn span {
    display: block;
    padding: 12px 24px;
}

.btn:before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    display: block;
    width: 0;
    padding-top: 0;

    border-radius: 100%;

    background-color: rgba(236, 240, 241, 0.3);

    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.btn:active:before {
    width: 120%;
    padding-top: 120%;

    transition:
        width 0.2s ease-out,
        padding-top 0.2s ease-out;
}

button {
    display: inline-block;
    width: 100%;
    height: 50px;
    border-radius: 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 20px;
}

button:hover {
    background-color: #fff;
    color: #888;
}

button:active {
    background-color: #fff;
    color: #888;
    box-shadow: 0px 0px 50px #00d2ff;
}

/* board style*/

.board-parent {
    width: 768px;
    height: 256px;
    background-color: #fff;
    color: #000;
}

.board-cover-image {
    object-fit: cover;
    max-width: 1024px;
}

.board-cover-title {
    width: 100%;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif;
    font-size: 6vw;
    line-height: 1;
    padding: 2px 16px;
}

/* https: //www.w3schools.com/howto/howto_js_snackbar.asp */
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden;
    /* Hidden by default. Visible on click */
    min-width: 250px;
    /* Set a default minimum width */
    margin-left: -125px;
    /* Divide value of min-width by 2 */
    background-color: #333;
    /* Black background color */
    color: #fff;
    /* White text color */
    text-align: center;
    /* Centered text */
    border-radius: 2px;
    /* Rounded borders */
    padding: 16px 0;
    /* Padding */
    position: fixed;
    /* Sit on top of the screen */
    z-index: 1;
    /* Add a z-index if needed */
    left: 50%;
    /* Center the snackbar */
    bottom: 30px;
    /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible;
    /* Show the snackbar */
    /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
    -webkit-animation:
        fadein 0.5s,
        fadeout 0.5s 2.5s;
    animation:
        fadein 0.5s,
        fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}
