/* this CSS was writen by MRTech */

@font-face {
    font-family: "Montserrat";
    src: url(fonts/Montserrat-VariableFont_wght.ttf);
}

@font-face {
    font-family: "Montserrat-bold";
    src: url(fonts/Montserrat-Bold.ttf);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    outline: 0;
}

button {
    border: none;
    background-color: inherit;
    color: inherit;
}

button:hover {
    cursor: pointer;
}

a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    display: block;
}

body {
    font-family: "Montserrat";
    background-image: url(images/backgrounds/light/bg1.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 100%; height: 100vh;
}

.app-library {
    width: 50%;
    max-height: 50%;
    overflow-y: auto;
    scrollbar-width: none;
    overflow-x: hidden;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(5, 15%);
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid #ffffff35;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    color: black;
}

.app-library-items {
    background-color: unset;
    font-family: "Montserrat-bold";
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    transition: 250ms;
}

.app-library-items:hover {
    transform: scale(1.1);
}

.app-library-items > img {
    background-color: #fff;
    border-radius: 20px;
}

#app-library-title {
    grid-column: 1/6;
    text-align: center;
    margin-bottom: 20px;
}

.taskbar-container {
    position: fixed;
    padding: 0 20px;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    z-index: 99;
}

.taskbar {
    width: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid #ffffff35;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    position: relative;
}

.taskbar-items {
    width: 8%;
    background-color: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    transition: 250ms;
}

.taskbar-items:hover {
    background-color: #fff;
}

.taskbar-items-container {
    width: 8%;
    position: relative;
}

.power-btn {
    background-color: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    height: 100%;
    transition: 250ms;
}

.power-btn:hover {
    background-color: #fff;
}

.quickaccess {
    width: 20%;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid #ffffff35;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    color: black;
}

.nothing {
    width: 20%;
}

.controll-container {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex; justify-content: center; align-items: center;
}

.controll {
    font-size: 24px;
    width: 50%;
    padding: 10px 40px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid #ffffff35;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.controll-container-left {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
}

.ai-btn {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    border-radius: 20px;
    padding: 5px;
}

.ai-btn > p {
    font-size: 16px;
    margin-right: 5px;
}

.controll-container-right {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 20px;
}

.controll-container-right > button {
    font-size: 24px;
    display: flex; justify-content: center; align-items: center;
    padding: 10px;
    border-radius: 10px;
    transition: 250ms;
}

.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -120%;
    left: 0;
    background-color: #fff;
    color: black;
    padding: 8px;
    visibility: hidden;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 8px;
    opacity: 0%;
    transition: 250ms;
}

.tooltip:hover::after {
    visibility: visible;
    opacity: 100%;
}

#ai-welcome {
    display: none;
}

.application-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0%;
    transform: scale(0);
    transition: 250ms;
}

.application-container-active {
    visibility: visible !important;
    opacity: 100% !important;
    transform: scale(1) !important;
}

.mini {
    visibility: visible !important;
    opacity: 100% !important;
    transform: scale(1) !important;
    left: 1000%;
}

.application-container > iframe {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #fff;
    overflow-y: auto;
}

.controll-center {
    background-color: #e1e1e1;
    display: flex;
    justify-content: flex-start;
    flex-direction: row-reverse;
    align-items: center;
}

.controll-center > button {
    padding: 6px 20px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 250ms;
}

.close-btn:hover {
    background-color: red;
    color: white;
}

.minimize-btn:hover {
    background-color: #bcbcbc;
}

.power-container {
    background-color: #fff;
    font-size: 16px;
    transition: 250ms;
    display: block;
    position: absolute;
    top: -120%;
    left: -50%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
}

.power-container-show {
    visibility: visible;
    opacity: 1;
    top: -160%;
}

.power-items {
    padding: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    width: 100%;
    transition: 250ms;
}

.power-items:hover {
    background-color: #e1e1e1;
}

.close-app {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    visibility: hidden;
    opacity: 0;
    transition: 500ms;
    z-index: 100;
}

.systemapp-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22%;
    height: 100%;
    padding: 20px 20px;
    padding-left: 0;
    overflow: hidden;
}

.systemapp-container-2x {
    position: relative;
    height: 100%;
}

.systemapp {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 2px solid #ffffff35;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    color: black;
    overflow: hidden;
    transform: translateX(200%);
    transition: 250ms;
}

.setting-app {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 30px;
}

.setting-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    margin-bottom: 40px;
}

.setting-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    transition: 250ms;
}

.setting-item:hover {
    transform: scale(1.09);
}

.background-select-container {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    display: none;
}

.bg-select-btn {
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
}

.ai-app {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.ai-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    height: 8%;
}

.ai-title > div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.ai-title button {
    font-size: inherit;
    padding: 0 5px;
}

.ai-box {
    height: 92%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.ai-chat {
    width: 100%;
    height: 79%;
    overflow-y: auto;
    scrollbar-width: none;
}

.ai-chat > div {
    max-width: 90%;
    padding: 5px;
    border-radius: 10px;
}

.ai-input {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
}

.ai-suggest {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    flex-direction: row;
    overflow-x: auto;
    padding: 4px 0;
    width: 100%;
    scrollbar-width: none;
}

.ai-suggest > button {
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 15px;
    background-color: #1E88E5;
    color: #fff;
    display: inline-block;
    transition: 250ms;
}

.ai-suggest > button:hover {
    transform: translateY(-4px);
}

.ai-input input[type="text"] {
    width: 100%;
    border-radius: 10px;
    padding: 10px 5px;
    font-size: 14px;
    border: none;
    background-color: #fff;
}

.ai-input > button {
    width: 100%;
    border-radius: 10px;
    padding: 10px 5px;
    font-size: 14px;
    border: none;
    background-color: #1E88E5;
    color: #fff;
}

.ai-respone {
    margin-left: 0;
    margin-bottom: 20px;
    background-color: #fff;
    transform: translateY(50px);
    opacity: 0;    
    transition: 250ms;
}

.ai-respone > div {
    margin-top: 20px;
    font-size: inherit;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.ai-respone > div button {
    font-size: inherit;
}

.ai-user {
    margin-left: auto;
    margin-bottom: 5px;
    background-color: #1E88E5;
    color: #fff;
    transform: translateY(50px);
    opacity: 0;
    transition: 250ms;
}