@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    display: flex;
    margin: 0;
    padding: 0;
}
.sidebar {
    width: 40%;
    height: 100vh;
    background-color: #9B7EBD;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    border-right: 2px solid #fff;
    box-shadow: 10px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}
#main {
    width: 60%;
    height: 100vh;
    background-color: #7A5DAE;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
.sidebar h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: "Space Mono", monospace;
    font-weight: bolder;
    border-bottom: 3px solid white;
    padding: 10px;
}

.sidebar nav ul {
    list-style-type: none;
    padding: 0;
}

.sidebar nav ul li {
    margin: 10px 0;
}

.sidebar nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    font-family: Verdana;
}
#changing-text-wrapper {
    color: #fff;
    font-family: "Space Mono", monospace;
    text-align: center;
    font-weight: bolder;
    font-weight: 2.5rem;
}
.highlight {
    color: #bac3f7;
    font-weight: bolder;
    text-shadow: 0 0 10px rgba(186, 195, 247, 0.7);
  }
.highlight-blue {
    color: #A020F0;
    font-weight: bolder;
    text-shadow: 0 0 10px rgba(160, 32, 240, 0.7);
}

.highlight-dark-blue {
    color: #7B68EE;
    font-weight: bolder;
    text-shadow: 0 0 10px rgba(123, 104, 238, 0.7);
}

.highlight-light-blue {
    color: #D8BFD8;
    font-weight: bolder;
    text-shadow: 0 0 10px rgba(216, 191, 216, 0.7);
}
.sidebar nav ul li a:hover {
    background-color: #7A5DAE;
    transform: scale(1.05);
}

#main-container {
    background-color: #3B1E54;
    width: 60%;
    display: flex;
    flex-direction: column;
}

#boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

#flight-information-wrapper,
#book-reader-wrapper,
#music-player-wrapper,
#games-wrapper {
    width: 40%;
    height: 250px;
    margin: 20px;
    padding: 10px;
    background-color: #7A5DAE;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#flight-information-wrapper h1,
#book-reader-wrapper h1,
#music-player-wrapper h1,
#games-wrapper h1 {
    color: #ffffff;
    font-weight: bolder;
    font-family: Verdana;
    font-size: 1.3rem;
}

#flight-information-wrapper p,
#book-reader-wrapper p {
    color: #ffffff;
    font-family: Verdana;
    font-weight: normal;
    font-size: 0.8rem;
}
.flight-bar { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 10px;
    position: relative;
}

.rounded-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.bar {
    flex-grow: 1;
    height: 10px;
    background-color: #ddd;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
}

.moving-img {
    width: 100px;
    height: 100px;
    position: absolute;
    z-index: 1;
    animation: moveRight 10s linear infinite;
}

@keyframes moveRight {
    0% {
        left: 30px;
    }
    100% {
        left: calc(100% - 125px);
    }
}

/* Music Player */
.music-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.control-button, .play-pause-button {
    background-color: #9370db;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    padding: 10px;
    margin: 5px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.control-button:hover, .play-pause-button:hover {
    transform: scale(1.1);
}

.sliders {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
}

.volume-slider, .progress-slider {
    width: 80%;
    margin: 0 10px;
    -webkit-appearance: none;
    appearance: none;
    background: #9370db;
    height: 5px;
    border-radius: 5px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb, .progress-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.timestamp {
    color: white;
    font-family: Verdana;
    font-size: 0.8rem;
    margin: 0 10px;
}
* {
    color: #fff;
    font-family: Verdana;
}
