@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&display=swap');
 
body {
    font-family: 'Roboto Mono', monospace;
    color: #fff;
    margin: 0;
    padding: 0;
    background-color: #0d0d0d;
}

.tab-bar {
    display: flex;
    background-color: #0d0d0d;
    padding: 5px;
}

.tab {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    background-color: #141414;
    margin-right: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    color: #fff;
    border-radius: 5px;
}

.tab.active {
    background-color: #141414;
}

.tab .close-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 5px;
    color: #fff;
}

.new-tab {
    background-color: #141414;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    color: #fff;
}

.controls {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #141414;
}

.controls button {
    background: none;
    border: none;
    margin: 0 5px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

.iframe-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(100vh - 90px);
    overflow: hidden;
}

.iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

.iframe.active {
    display: block;
}

#games-box-img {
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-right: 7px;
    margin-bottom: 7px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

#games-box-img:hover {
    transform: scale(1.1);
}

.bar-button {
    color: #fff;
    transition: color 0.3s ease;
}

.bar-button:hover {
    color: #ccc;
}

#open-btn-1 {
    left: 10px;
}

#open-btn-2 {
    left: 70px;
}


.box {
    position: fixed;
    top: 10px;
    width: 300px;
    padding: 20px;
    background-color: #141414;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    z-index: 999;
}


#box-1 {
    right: 10px;
}


#box-2 {
    right: 10px;
}


.box.visible {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}