:root {
    --button-color1: #fff;
    --button-color2: #d5d5d5;
    --text: #020000;
    --link: #006f9b;
    --bg-color: rgb(255, 255, 255);
    --file: #fff;
    --file: #ffffff;
    --primary-color: #2b2b2b;
}

.darkmode {
    --button-color1: #2a2a2a;
    --button-color2: #000000;
    --text: #fff;
    --link: #006f9b;
    --bg-color: black;
    --file: #fff;
    --file2: #9a9a9a;
    --primary-color: #e6e6e6;
}

* {
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: var(--bg-color);
}

button {
    border: 2px solid #424242;
    background: linear-gradient(180deg, var(--button-color1), var(--button-color2));
}

#play-button, #stop-button {
    border-radius: 5px;
    height: 25px;
    width: 29px;
    border: 2px solid #424242;
    margin-top: 10px;
    margin-left: 10px;
    color: white;
    font-size: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

#play-button {
    border: 2px solid #0c5d00;
    background: linear-gradient(180deg, #11ff00, #16a500);
}

#stop-button {
    border: 2px solid #5d0000;
    background: linear-gradient(180deg, #ff0000, #a50000);
}

input::file-selector-button {
    color: black;
    display: flex;
    border-radius: 3px;
    border: 2px solid #434343;
    background: linear-gradient(180deg, #fff, #d5d5d5);
    margin-bottom: 15px;
    
}

input::file-selector-button:hover{
    background: linear-gradient(180deg, #d5d5d5, #fff);
}

input {
    background: linear-gradient(180deg, var(--file), var(--file2));
    border-radius: 2px;
}

button:hover {
    background: linear-gradient(180deg, var(--button-color2), var(--button-color1));
}

.github {
    color: var(--text);
    padding: 5px;
    border-radius: 3px;
    display: flex;
}

.developer {
    margin-top: 100px;
    display: flex;
    color: var(--text);
}

h5 {
    color: var(--text);
}

.developer a {
    color: var(--link);
    text-decoration: none;
}

.developer a:hover {
    text-decoration: underline;
}

#bottom {
    border-radius: 7px;
    margin-top: 15px;
    background-image: linear-gradient(to bottom, #cbcbcb, #7a7a7a);
    border: 2px solid #000000;
}

#stop-button:hover {
    filter: brightness(0.9);
}

#play-button:hover {
    filter: brightness(0.9);
}

#waveform {
    border-radius: 7px;
    margin-top: 15px;
    background-color: white;
}

.theme-switch {
    height: 50px;
    width: 50px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--button-color1), var(--button-color2));
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 18px;
    right: 20px;
    cursor: pointer;
}

.theme-swtich button:hover {
    background: linear-gradient(180deg, var(--button-color2), var(--button-color1));
}

.theme-switch svg {
    fill: var(--primary-color);
}

.theme-switch svg:last-child {
    display: none;
}

.darkmode .theme-switch svg:first-child {
    display: none;
}

.darkmode .theme-switch svg:last-child {
    display: block;
}
