@font-face {
    font-family: "FinalFantasy";
    src: url("../assets/OPTIEngeEtienne.otf");
}

@font-face {
    font-family: "Orbitron";
    src: url('../assets/Orbitron/Orbitron-SemiBold.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
#taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    z-index: 1000;
    border-style: solid;
    border-width: 2px 0 0 0;
    font-family: Arial, Helvetica, sans-serif;
    transition: all 0.3s ease;
    padding: 0;
    backdrop-filter: blur(10px);
}

body.light-mode #taskbar {
    background: linear-gradient(135deg, 
        rgba(252, 149, 164, 0.95) 0%, 
        rgba(255, 179, 193, 0.95) 50%, 
        rgba(252, 228, 236, 0.95) 100%);
    border-color: #f06292;
    color: #880e4f;
    box-shadow: 0 -2px 20px rgba(255, 182, 193, 0.3);
}

body.dark-mode #taskbar {
    background: linear-gradient(135deg, 
        rgba(26, 35, 126, 0.95) 0%, 
        rgba(20, 57, 100, 0.95) 50%, 
        rgba(10, 125, 116, 0.95) 100%);
    border-color: #3f51b5;
    color: #e8eaf6;
    box-shadow: 0 -2px 20px rgba(26, 35, 126, 0.4);
}

#theme-toggle {
    cursor: pointer;
    padding: 0.5em 1.2em;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

body.dark-mode #theme-toggle {
    background: linear-gradient(135deg, 
        rgb(140, 20, 20) 0%, 
        rgb(80, 8, 8)  100%);
    color:  #ffb6c1e6;
    border: 1px solid rgba(240, 98, 146, 0.3);
}

body.light-mode #theme-toggle {
    background: linear-gradient(135deg, 
        rgba(63, 81, 181, 1) 0%, 
        rgba(26, 35, 126, 1) 100%);
    color: #e2e4f4;
    border: 1px solid rgba(63, 81, 181, 0.3);
}

#theme-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

body.light-mode #theme-toggle:hover {
    background: linear-gradient(135deg,         
        rgba(63, 81, 181, 1) 0%, 
        rgba(26, 35, 126, 1) 100%);
    color: white;
}

body.dark-mode #theme-toggle:hover {
    background: linear-gradient(135deg, 
        rgb(140, 20, 20) 0%, 
        rgb(80, 8, 8)  100%);
    color: #ffffff;
}

#desktopbutton {
    cursor: pointer;
    height: 50px;
    width: 15px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
    outline: none;
}

body.light-mode #desktopbutton {
    background: linear-gradient(180deg, 
        rgba(255, 182, 193, 0.9) 0%, 
        rgba(240, 98, 146, 0.8) 100%);
}

body.dark-mode #desktopbutton {
    background: linear-gradient(180deg, 
        rgba(63, 81, 181, 0.9) 0%, 
        rgba(26, 35, 126, 0.8) 100%);
}

#desktopbutton:hover {
    transform: scaleX(1.3);
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
}

span#name {
    font-family: "FinalFantasy";
    font-size: 40px;
    margin-left: 4px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}

body.light-mode span#name {
    color: #8c1414;
}

body.dark-mode span#name {
    color: #e8eaf6;
}

#clock {
    margin-right: 15px;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}