* {
    margin: 0px;
    padding: 0px;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

img {
    display: none
}

#flash-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

ruffle-player {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

#videoframe {
    overflow: hidden;
    position: absolute;
    background: url("video-frame.png") no-repeat;
    top: -600px;
    left: 100px;
    width: 518px;
    height: 368px;
    z-index: 100;
}

#nicodou {
    overflow: hidden;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 512px;
    height: 362px;
}

#first {
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 1px;
    height: 1px;
}

/* ===================================================
   Material Design 1 (MD1) Modal Dialog Styles
   =================================================== */
.md-dialog-scrim {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.225s cubic-bezier(0.0, 0.0, 0.2, 1), visibility 0.225s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.md-dialog-scrim.open {
    opacity: 1;
    visibility: visible;
}

.md-dialog-container {
    background: #262626;
    color: rgba(255, 255, 255, 0.87);
    border-radius: 2px; /* MD1 Standard 2px radius */
    max-width: 480px;
    width: calc(100% - 48px);
    /* Material Design 1 24dp Elevation Shadow */
    box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.35),
                0 24px 38px 3px rgba(0, 0, 0, 0.25),
                0 9px 46px 8px rgba(0, 0, 0, 0.2);
    transform: scale(0.92);
    transition: transform 0.225s cubic-bezier(0.0, 0.0, 0.2, 1);
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.md-dialog-scrim.open .md-dialog-container {
    transform: scale(1);
}

.md-dialog-title {
    padding: 24px 24px 20px 24px;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.25px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

.md-dialog-content {
    padding: 0 24px 24px 24px;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    color: rgba(255, 255, 255, 0.70);
}

.md-dialog-content p {
    margin: 0 0 12px 0;
}

.md-dialog-content a {
    color: #00e5ff;
    text-decoration: none;
    font-weight: 500;
}

.md-dialog-content a:hover {
    text-decoration: underline;
}

.md-dialog-note {
    border-left: 3px solid #00e5ff;
    background: rgba(0, 229, 255, 0.08);
    padding: 10px 14px;
    margin-top: 14px;
    border-radius: 0 2px 2px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 20px;
}

.md-dialog-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 8px 8px 24px;
    min-height: 52px;
    box-sizing: border-box;
}

/* Material Design 1 Flat Button */
.md-button {
    background: transparent;
    border: none;
    outline: none;
    border-radius: 2px;
    height: 36px;
    min-width: 64px;
    padding: 0 16px;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #00e5ff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
    transition: background-color 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.md-button:hover {
    background-color: rgba(0, 229, 255, 0.12);
}

.md-button:active {
    background-color: rgba(0, 229, 255, 0.24);
}