body {
    background-color: #000;
    display: flex;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-bottom: 100px;
}

.guide-container {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    height: 100%;
    width: 1000px;
    gap: 50px;
}

.title-section {
    width: 100%;
    height: auto;
}

.title-section h1 {
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 3rem;
    margin: 0;
}

.title-section h4 {
    text-align: center;
    color: #777;
    margin: 10px;
    font-weight: 300;
    font-size: 1.5rem;
}

.section {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section h1 {
    color: #fff;
    width: 100%;
    text-align: left;
    font-size: 2rem;
    font-weight: 500;
    margin: 0;
}

.section p {
    color: #777;
    width: 100%;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    margin-top: 10px;
}

.image-grid {
    margin-top: 40px;
    display: grid;
    gap: 10px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;

    grid-auto-rows: 1fr;

    grid-template-columns: 1fr 1fr;
}

.image-caption {
    color: #555;
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 10px;
    width: 100%;
    text-align: left;
}

.image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1.75 / 1;
    border-radius: 5px;
}

.image-grid:has(img:only-child) {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
}

.image-grid:has(img:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
}

.image-grid:has(img:nth-child(3):last-child) {
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: repeat(2, auto);
}

.image-grid:has(img:nth-child(3):last-child) img:first-child {
    grid-row: span 2;
}

.image-grid:has(img:nth-child(4):last-child) {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
}

.floating-btn {
    position: fixed;
    z-index: 10000;

    padding: 10px 14px;
    border-radius: 32px;

    background: rgba(39,39,39, 0.73);
    backdrop-filter: blur(10px);

    color: white;
    font-size: 0.8rem;
    font-weight: 200;

    border: none;
    cursor: pointer;
    text-decoration: none;

    transition: background 0.2s ease, transform 0.15s ease;
}

.floating-btn:hover {
    background: rgba(60,60,60,0.8);
    transform: scale(1.05);
}

.top-btn {
    top: 20px;
    left: 20px;
}

.bottom-btn {
    bottom: 20px;
    right: 20px;
}

.button {
    position: fixed;
    z-index: 10000;

    bottom: 20px;

    display: inline-block;

    padding: 10px 14px;
    border-radius: 100px;

    background-image: 
    linear-gradient(rgb(8,106,251), rgb(8,106,251)),
    linear-gradient(-40deg, #0041CD 0%, #3194F2 100%);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);

    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 4px solid transparent;

    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;

    margin-top: 15px;
    padding: 15px 0;

    cursor: pointer;
    text-decoration: none;

    width: 250px;

    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-0.5px) scale(1.01);

    box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.7);
}

.code-section {
    margin-top: 30px;
    width: 100%;
    height: auto;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    transition: transform 0.15s ease;
}

.control-btn svg {
    fill: rgb(132, 132, 132);
    transition: fill 0.2s ease;
    transform: scale(1.1);
}

.control-btn:hover svg {
    fill: white;
}

.playPause {
    position: relative;
    width: 25px;
    height: 25px;
}

.playPause .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    fill: white;

    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.playPause .icon.active {
    opacity: 1;
    transform: scale(1);
}

.audio-player {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    gap: 20px;
    background-color: #272822;
    border-radius: 0.3em;
}

.audio-player p {
    font-size: 1.2rem;
    font-weight: 500;
    width: auto;
    height: auto;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}

.progress-container {
    position: relative;
    width: 80%;
    height: 3px;
    background: rgb(132, 132, 132);
    border-radius: 5px;
    cursor: pointer;
}

.progress-bar {
    position: absolute;
    height: 100%;
    width: 0%;
    background: white;
    border-radius: 5px;
}

.progress-knob {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

#return {
    display: flex;
    align-items: center;
    gap: 6px;
}

#return .icon {
    display: flex;
}