/* MENU */
.menu
{
    width: 200px;
    height: 200px;
    right: 130px;
    bottom: 400px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
.menu li
{
    width: 40px;
    height: 40px;
    position: absolute;
    left: 0;
    list-style: none;
    transform-origin: 100px;
    transition: 0.5s;
    transition-delay: calc(0.1s * var(--i));
    transform: rotate(0deg) translateX(80px) translateY(-15px);
}
.menu.active li
{
    transform: rotate(calc(225deg / 5 * var(--i))); 
}

.green {
    background: linear-gradient(135deg, #a8d52d, #83ac29, #74a727, #83ac29, #a8d52d);
}

.blue {
    background: linear-gradient(135deg, #6fb9f6, #4ca3f9, #2587f8, #4ca3f9, #6fb9f6);
}

.purple {
    background: linear-gradient(135deg, #f09bfe, #cd5ffb, #a92bf7, #cd5ffb, #f09bfe);
}

.orange {
    background: linear-gradient(135deg, #f4cb8d, #fca44d, #fe8922, #fca44d, #f4cb8d);
}

.red {
    background: linear-gradient(135deg, #f79c95, #fc5353, #f70707, #fc5353, #f79c95);
}

.yellow {
    background: linear-gradient(135deg, #ffe96e, #f8d300, #dcbb01, #f8d300, #ffe96e);
}
.round-button::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 19%;
    right: 19%;
    height: 40%;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.4) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
}
li
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #ffffff; /*buttons color*/
    border-radius: 50%;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.15);
    color: #111; 
    transition: 0.5s;
}
ion-icon{
    transform: rotate(calc(225deg / -5 * var(--i)));
}
li:hover
{
    color: white;
    background-color: black;
}
.toggle
{
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0px 4px rgba(255, 255, 255, 0.15);
    font-size: 2em;
    transition: transform 1.25s;
}
.menu.active .toggle
{
    transform: rotate(360deg);
}
.menu.active .rotate
{
    transform: rotate(315deg);
}
/* /MENU */

body {
    font-family: "Audiowide", sans-serif;
    background-image: url('../img/cyber-glacier.webp');
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.container {
    background: rgba(0, 0, 0, 0.337);
    padding: 20px;
    border-radius: 10px;
    color: rgb(200, 200, 200);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ph{
    font-size:xx-large;
}

.audio-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #111522;
    border-radius: 8px;
}

.upload-area {
    border: 2px dashed #1e263e;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.upload-area:hover {
    border-color: #262f4d;
}

.upload-btn {
    background: linear-gradient(360deg, #1e263e 0%, #262f4d 100%);
    color: rgb(200, 200, 200);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Audiowide", sans-serif;
    position: relative;
}

.upload-btn::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 4%;
    right: 4%;
    height: 40%;
    background: linear-gradient(135deg, 
        rgba(152, 152, 152, 0.251) 5%, 
        rgba(95, 95, 95, 0.296) 50%, 
        rgba(255,255,255,0.05) 100%);
    border-radius: 5px;
    pointer-events: none;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.control-btn {
    background: #111522;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.control-btn:hover {
    background: #1c233877;
}

.control-btn:disabled {
    background: #1c233877;
    cursor: not-allowed;
}

.timeline {
    flex: 1;
    min-width: 200px;
}

.timeline input {
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.volume-control input {
    width: 80px;
}

.time-display {
    font-family: "Audiowide", sans-serif;
    font-size: 14px;
    color: #666;
}

.page-section {
    margin-top: 30px;
}

.page-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.page-btn {
    font-family: "Audiowide", sans-serif;
    background: linear-gradient(360deg, #1e263e 0%, #262f4d 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.page-btn::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 4%;
    right: 4%;
    height: 40%;
    background: linear-gradient(135deg, 
        rgba(152, 152, 152, 0.251) 5%, 
        rgba(95, 95, 95, 0.296) 50%, 
        rgba(255,255,255,0.05) 100%);
    border-radius: 5px;
    pointer-events: none;
}

.page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.page-btn.active {
    background: linear-gradient(360deg, #26304f 0%, #2e385c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.iframe-container {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.file-info {
    margin-top: 10px;
    padding: 10px;
    background: #1e263e;
    border-radius: 5px;
    font-size: 14px;
}