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

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Ubuntu Mono', monospace;
    background-color: white;
    overflow: hidden;
}

#terminal {
    position: relative;
    border-radius: 6px;
    color: #FFFFFF;
    box-shadow: 0 0 20px #000000;
    margin: 5% auto;
    width: 80%;
    max-width: 810px;
}

header {
    background-color: #222222;
    padding: 12px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    display: grid;
    justify-content: space-between;
    align-items: center;
    border-color: #111111;
    border-width: 20px;
    grid-template-columns: 1fr auto 1fr;

}


#terminal-prompt {
    font-weight: bold;
}

#terminal-window {
    background-color: #300a24;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    min-height: 200px; /* Adjust height as needed */
    overflow-y: auto;
    height: 61vh;
}

#terminal-output {
    white-space: pre-wrap; /* Maintains text formatting */
}

#terminal-input {
    display: flex;
    align-items: center;
    width: 100%;
}

.prompt {
    margin-right: 5px;
}

.welcome-message {
    color: #FFFFFF;
    font-weight: bold;
}

#command-input {
    border: none;
    background: none;
    color: white;
    outline: none;
    padding: 10px;
    flex-grow: 1;
}

#dynamic-content div {
    margin: 0;
    padding-left: 0;
}

#ascii-art {
    margin: 0;
    padding: 0;
}

#minimize-button,
#maximize-button,
#close-button {
    width: 20px;
    height: 20px;
    background-color: #373737;
    border: none;
    border-radius: 50%;
    margin-right: 3px;
    cursor: pointer;
    color: #FFFFFF;
    margin-left: 14px;

}

#minimize-button:hover,
#maximize-button:hover,
#close-button:hover {
    background-color: #424242;
}

.button-group {
    grid-column: 5;
    justify-content: flex-end
}


.header-text {
    text-align: center;
    grid-column: 1/5;
}

.minimized {
    display: none;
}

/*
Animation from here: https://codepen.io/kocsten/pen/rggjXp
 */

.social-button {
    width: 100px;
    height: 40px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    margin-top: 10px;
    margin-right: 10px;
}

.social-button:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.social-button:active {
    color: #000
}

.social-button:active:after {
    background: transparent;
}

.social-button:hover:before {
    opacity: 1;
}

.social-button:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}


.highlight-command {
    color: #850ea4; /* Change this to the color you want */
    font-weight: bold;
}


.ubuntu-app-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 56px;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
    z-index: 1000;
    justify-content: center;
    border-radius: 12px;
    border-color: #222222;
    border-width: 20px;
    margin-bottom: 5px;
}

.ubuntu-app-bar .app-icon {
    width: 42px;
    height: 42px;
    margin: 5px;


    background-size: cover;
    display: inline-block;
}


.app-icon.active::after {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    background: #e95420;
    position: absolute;
    bottom: 4px;
    left: 76%;
    border-radius: 50%;
}

.app-icon.open::before {
    content: "";
    display: block;
    width: 52px;
    height: 50px;
    background: #b0aeae;
    position: absolute;
    bottom: 3px;
    left: 69.91%;
    border-radius: 20%;
    opacity: .2;
}


/* icons are found here: /usr/share/icons/Yaru */
.ubuntu-app-bar .app-icon.files-icon {
    background-image: url('/images/folder/filemanager-app.png');
}

.ubuntu-app-bar .app-icon.terminal-icon {
    background-image: url('/images/terminal-app.png');
}

.ubuntu-app-bar .app-icon.trash-icon {
    background-image: url('/images/user-trash.png');
}

.ubuntu-app-bar .app-icon.software-icon {
    background-image: url('/images/software-store.png');
}

.ubuntu-app-bar .app-icon.calculator-icon {
    background-image: url('/images/calculator-app.png');
}

.ubuntu-app-bar .app-icon.video-icon {
    background-image: url('/images/applications-multimedia.png');
}

.ubuntu-app-bar .app-icon.firefox-icon {
    background-image: url('/images/firefox-icon.png');
    max-width: 38px;
    max-height: 38px;
}


