body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: transparent;
    font-family: Arial, sans-serif;
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    outline: none;
    box-sizing: border-box;
    color: black;
    overflow-y: hidden;
}

.audiostatus {
    margin: 0 auto 25px;
    align-items: center;
    width: 400px;
    background-color: rgba(0, 0, 0, 0.5);
    height: 25px;
    position: relative;
    cursor: pointer;
}

.audiostatus_range {
    width: 0;
    background-color: whitesmoke;
    height: 100%;
}

.time_indicator {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 5px;
    line-height: 25px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 12px;
}


a:link {
    color: white;
    background-color: transparent;
    text-decoration: underline;
  }
  
  a:visited {
    color: white;
    background-color: transparent;
    text-decoration: underline;
  }
  
  a:hover {
    color: red;
    background-color: transparent;
    text-decoration: underline;
  }
  
  a:active {
    color: yellow;
    background-color: transparent;
    text-decoration: underline;
  }

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    flex-direction: column;
}

#controls button {
    width: 80px;
    padding: 10px 10px;
    margin: 0 5px;
    width: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: white;
    border: none;
}

#buttonpause {
    width: 50px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: white;
    border: none;
}

#controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#controls button:hover {
    background-color: #000000;
}

#controls button.active {
    background-color: goldenrod;
}

p, h1 {
    text-align: center;
}

#content {
    display: none;
}

#volume-slider {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
    max-width: 80%;
    overflow-x: auto;
}

#timestamps-container {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    text-align: left;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    width: 300px;
    height: 500px;
    overflow-y: auto;
}

#scrollBtns {
    display: flex;
    text-align: left;
    align-self: center;
}

#timestamps-container #scrollBtns .scroll-button {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #6a0dad;
    color: white;
    border: none;
    margin: 5px 0;
    border-radius: 5px;
    align-self: center;
}


#timestamps-container #timestamps {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#timestamps-container #timestamps div {
    padding: 5px 0;
}

.timestamp {
    margin: 0 10px;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
}
.timestamp:hover {
    color: #43B581;
}
.timestamp.selected {
    font-weight: bold;
    color: #43B581;
}

#search-container {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
}

#search-input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
}

img {
    display: block;
    margin: auto;
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    #buttonpause, #volume-slider, #search-container {
        width: 90%;
    }
    #buttonpause {
        bottom: -150px;
    }
    #volume-slider {
        bottom: -175px;
    }
    #search-container {
        bottom: 10px;
    }
    .timestamp {
        font-size: 16px;
    }
    #timestamps-container {
        bottom: 100px;
    }
}
