@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-moz-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-o-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
  
@-ms-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


html, body {
    height: 100%;
    margin: 0;
    padding:0;
    font-family: 'Segoe UI';
    background-size: cover;
    background-image: url(../img/background.mp4);

    animation: fadeIn 5s;
    -webkit-animation: fadeIn 5s;
    -moz-animation: fadeIn 5s;
    -o-animation: fadeIn 5s;
    -ms-animation: fadeIn 5s;

    color: white;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensures the video stays behind other content */
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: adds overlay for better contrast */
}

span {
    font-size: 0.75em;
    cursor: default;
}
ul {
    list-style-type: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

li {
    margin: 0;
    /*padding: 2px 0px 2px 15px;*/
    width: 100%;
}
ul ul li {
    padding: 3px 0px 3px 35px;
}

ul ul li:hover, .group:hover, td:hover {
    background: rgb(229, 243, 255);
}

#folder-tree ul ul li:hover, .group:hover {
    cursor: pointer;
}

ul ul li:active, .group:active, .current-folder {
    background: rgb(204, 232, 255);
}

td:active, td:visited {
    background: rgb(204, 232, 255);
    border: 1px solid rgb(153, 209, 255);
}

div>ul {
    height: 95%; 
    width: 75%;
    overflow:hidden;
    overflow-y:scroll;
}

div {
    cursor: default;
}

td {
    width: 20%;
    border: 1px solid white;
    text-align: center;
}
table, tr {
    width: 100%;
}

.small-icon {
    width: 18px;
    height: 100%;
}

.folder-name {
    width: 100%;
    font-size: 0.75em;
    text-align: center;
}

.group {
    font-size: 0.9em;
    padding: 4px 0px 4px 25px;
}

#titlebar {
    height: 30px;
    width: 100%;
    margin: 0;
    padding: 0;
}

#titlebar span {
    margin: 0;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4.5px;
    padding-bottom: 4.5px;
}

.max-min-close {
    float: right;
    width: 30px;
    padding: 10px;
    text-align: center;
}

#close, #min {
    font-size: 0.9em;
}
span#max {
    font-size: 1.4em;
    line-height: 0.7em;
    padding-bottom: 10px;
}

#max:hover, #min:hover {
    background-color: rgba(229, 229, 229, 0.39);
}

#close:hover {
    color:white;
    background-color: rgb(232,17,35);
}

#menubar {
    height: 22px;
    border-bottom: 1px solid rgb(218, 219, 220);
}

#menubar span {
    margin: 0.1px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 2.5px;
    padding-bottom: 2.5px;
    font-size: 0.7em;
}

#menubar span:not(#file) {
    border: 1px solid white;
    border-bottom: 0px;
}

#menubar span:not(#file):hover {
    border: 1px solid rgb(218, 219, 220);
    border-bottom: 0px;
}

#file {
    border-top: 1px solid #1979CA;
    border-right: 1px solid #1979CA;
    background-color: #1979CA;
    color: white;
}

#file:hover {
    background-color: rgb(41, 140, 255);
}

#addressbar {
    padding: 0px 4px 0px 4px;
}

#addressbar>input {
    padding: 1px 4px 1px 4px;
    margin: 6px;
    border: 1px solid rgb(218, 219, 220);
    float:right;
}

#searchbox {
    color: rgb(161, 161, 161);

    width: 110px;
}

#addressbox {
    color: black;
    width: 500px;
}

#content-block {
    height: 82%;
    width: 100%;
    position: absolute;
    bottom: 0;
}

#folder-tree {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 30%;
    height: 95%;
}

#folder-tree img {
    width: 20px;
    float: left;
}

#folder-tree span.grpup, #folder-tree li {
    font-size: 0.9em;
}

#main-content {
    position: absolute;
    top: 0px;
    left: 23.5%;
    width: 75%;
    height: 95%;
}

#main-content img {
    height: 80px;
    width: 80px;
}

#statusbar {
    position: absolute;
    top:95%;
    height: 5%;
    width: 100%;
}

#status {
    font-size: 0.7em;
    padding: 3px 10px 3px 10px;
    line-height: 0.5em;
}

#file-explorer {
    width: 920px;
    height: 580px;
    position: fixed;
    margin: auto;
    top: 10%;
    left: 25%;
    padding: 0;
    border: 1px solid rgb(10, 10, 10);
    background-color: rgb(10 10 10);
}

#taskbar-wrapper {
    position: absolute;
    padding: 0;
    margin: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#taskbar {
    height: 43px;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
}

#quickstart {
    float: left;
}

#quickstart img {
    width: 24px;
    height: 100%;
    padding-left: 12.5px;
    padding-right: 12.5px;
    padding-top: 7.8px;
    padding-bottom: 7.8px;
    margin: 0px;
}



#taskbar img:hover, #tray>span:hover {
    background-color: #191C1F;
}

#taskbar img:active, #tray>span:active {
    background-color: rgb(12, 16, 20);
}

#desktopicon img:hover, #tray>span:hover {
    background-color: #191C1F;
}

#desktopicon img:active, #tray>span:active {
    background-color: rgb(12, 16, 20);
}

#volume-popup {
    display: none;
    position: absolute;
    bottom: 46px;
    right: 0px;
    background: rgb(53, 53, 53);
    color: white;
    padding: 10px;
    border-radius: 0px;
    width: 275px;
    text-align: center;
}

#volume-slider {
    width: 200px;
    border-radius: 4px; 
    background: #ddd;
    -webkit-appearance: none;
    appearance: none;
    opacity: 0.7;
    transition: opacity .2s;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0; 
    height: 0;
}

#volume-slider::-moz-range-thumb {
    width: 0;
    height: 0;
}

.play-pause-button {
    background-color: transparent; 
    border: none;
    box-shadow: none; 
    padding: 0;
    margin-bottom: 1px; 
    margin-left: 20px; 
    font-size: 18px; 
    color: white;
    cursor: pointer; 
    outline: none;
}

.play-pause-button:hover {
    background-color: transparent; 
}

#tray img {
    cursor: pointer;
}

#tray {
    height: 100%;
    width: 120px;
    margin: 0;
    padding: 0;
    float: right;
}

#tray span {
    margin: 0;
    font-size: 0.75em;
    padding-left: 0px;
    padding-right: 8px;
    padding-top: 5.5px;
    padding-bottom: 5.5px;
    float: right;
    color: white;
    text-align: center;
}

#tray img {
    width: 24px;
    padding-left: 12.5px;
    padding-right: 12.5px;
    padding-top: 7.8px;
    padding-bottom: 7.8px;
    margin: 0px;
}

#taskbar {
    height: 43px;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
}

#language {
    line-height: 270%;
}

.ui-widget-content {
	border: 1px solid #aaaaaa;
	color: #b9b9b9;
}

a {
    color: #b9b9b9;         
    font-weight: bold;     
    font-style: italic;       
    text-decoration: none;   
    transition: color 0.2s ease-in; 
  }
  
  a:hover {
    color: purple;          
  }
  
  #ascii-container {
    white-space: pre;
    text-align: center;
    font-size: 1rem;
}

  /* customizable snowflake styling */
  .snowflake {
    color: #fff;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px #000;
}

@-webkit-keyframes snowflakes-fall {
    0% {
        top: -10%
    }

    100% {
        top: -10%
    }
}

@-webkit-keyframes snowflakes-shake {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0)
    }

    50% {
        -webkit-transform: translateX(80px);
        transform: translateX(80px)
    }
}

@keyframes snowflakes-fall {
    0% {
        top: -10%
    }

    100% {
        top: -10%
    }
}

@keyframes snowflakes-shake {

    0%,
    100% {
        transform: translateX(0)
    }

    50% {
        transform: translateX(80px)
    }
}

.snowflake {
    position: fixed;
    top: -10%;
    z-index: 9999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    -webkit-animation-name: snowflakes-fall, snowflakes-shake;
    -webkit-animation-duration: 10s, 30s;
    -webkit-animation-timing-function: linear, ease-in-out;
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-play-state: running, running;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 10s, 30s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running
}

.snowflake:nth-of-type(0) {
    left: 1%;
    -webkit-animation-delay: 0s, 0s;
    animation-delay: 0s, 0s
}

.snowflake:nth-of-type(1) {
    left: 10%;
    -webkit-animation-delay: 1s, 1s;
    animation-delay: 1s, 1s
}

.snowflake:nth-of-type(2) {
    left: 20%;
    -webkit-animation-delay: 6s, .5s;
    animation-delay: 6s, .5s
}

.snowflake:nth-of-type(3) {
    left: 30%;
    -webkit-animation-delay: 4s, 2s;
    animation-delay: 4s, 2s
}

.snowflake:nth-of-type(4) {
    left: 40%;
    -webkit-animation-delay: 2s, 2s;
    animation-delay: 2s, 2s
}

.snowflake:nth-of-type(5) {
    left: 50%;
    -webkit-animation-delay: 8s, 3s;
    animation-delay: 8s, 3s
}

.snowflake:nth-of-type(6) {
    left: 60%;
    -webkit-animation-delay: 6s, 2s;
    animation-delay: 6s, 2s
}

.snowflake:nth-of-type(7) {
    left: 70%;
    -webkit-animation-delay: 2.5s, 1s;
    animation-delay: 2.5s, 1s
}

.snowflake:nth-of-type(8) {
    left: 80%;
    -webkit-animation-delay: 1s, 0s;
    animation-delay: 1s, 0s
}

.snowflake:nth-of-type(9) {
    left: 90%;
    -webkit-animation-delay: 3s, 1.5s;
    animation-delay: 3s, 1.5s
}

.snowflake:nth-of-type(10) {
    left: 25%;
    -webkit-animation-delay: 2s, 0s;
    animation-delay: 2s, 0s
}

.snowflake:nth-of-type(11) {
    left: 65%;
    -webkit-animation-delay: 4s, 2.5s;
    animation-delay: 4s, 2.5s
}