:root {
    --customblue: #7da7d9;
}

body {
    background: linear-gradient(180deg, #6195d4 50%, #776ef6 100%);
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

.Banner {
    width: 100%;
    background-color: var(--customblue);
    padding: 10px;
    margin-left: -10px;
    margin-top: -10px;

}



.title {
    font-size: 80px;
    font-weight: bold;
    color: white;
    text-align: center;
    background-color: var(--customblue);
    font-family: 'Arial', sans-serif;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-top: 5px solid lightblue;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(31, 38, 135, 0.18);
}

.navbar {
    display: flex;
    justify-content: space-evenly;
    background-color: var(--customblue);
    padding: 10px;
    border-top: 5px solid lightblue;
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    color: lightblue;
    margin-top: 0px;
    margin-bottom: 0px;
    box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.10);

}

.navbar a {
    text-decoration: none;
    color: white;
    padding: 5px 15px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.navbar a:hover {
    background-color: white;
    color: var(--customblue);
    border-radius: 5px;
}

.selected {
    font-weight: bold;
    color: var(--customblue);
    background-color: lightblue;
    border: 2px solid var(--customblue);
    border-radius: 5px;
    padding: 5px 15px;
    box-shadow: 0 2px 8px 0 rgba(31, 38, 135, 0.10);
}

.content {
    padding: 20px;
    background-color: var(--customblue);
    border-radius: 5px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 85%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    height: auto;
    overflow: unset;
}

.content::after {
    content: "";
    display: table;
    clear: both;
}

.content > *:not(.img-border):not(.gradient-border) {
    flex-shrink: 0;
    overflow: unset;
}

.img-border,
.gradient-border {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    overflow: unset;
}

.img-border.popping-out,
.gradient-border.popping-out {
    position: absolute;
    z-index: 100;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    transition: box-shadow 0.3s, transform 0.3s, z-index 0s;
}

.content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    transition:
        transform 0.3s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.3s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    box-shadow: 10px 10px 5px rgba(31, 38, 135, 0.25);
}

.content img:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
}

.content h2 {
    font-size: 40px;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.content h3 {
    font-size: 30px;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

.content p {
    font-size: 20px;
    color: white;
    line-height: 1.2;
    text-align: justify;
    font-family: 'Arial', sans-serif;
    text-align: center;
}

.clearfix {
    overflow: hidden;
}

.drumkit-img {
    float: right;
    margin: 10px;
    width: 300px;
    height: auto;
    border-radius: 20px;
    border: 5px solid #665bfd;
}

.drumkit-img-left {
    float: left;
    margin: 10px;
    width: 300px;
    height: auto;
    border-radius: 20px;
    border: 5px solid #7da7d9;
}

.drumkit-img-bigger {
    float: right;
    margin: 10px;
    width: 400px;
    height: auto;
    border-radius: 20px;
    border: 5px solid #7da7d9;
}

.img-border {
    display: inline-block;
    overflow: hidden;
    box-sizing: border-box;
    border: 5px solid #665bfd;
    ;
    border-radius: 20px;
    padding: 0px;
    will-change: transform;
    perspective: 1000px;
    transform-style: preserve-3d;
    background-color: rgba(255, 0, 0, 0.1);
    /* visual aid */
    pointer-events: auto;
}

.img-border img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.eloy-casagrande img {
    float: right;
    margin: 10px;
    width: 400px;
    height: auto;
    border-radius: 20px;
}

.neal-Peart img {
    float: left;
    margin: 10px;
    width: 300px;
    height: auto;
    border-radius: 20px;
}

.Meinl-HCS img {
    float: left;
    margin: 10px;
    width: 290px;
    height: auto;
    border-radius: 20px;
    padding: 10px;
    background-color: white;
}

.recommendations h3 {
    font-size: 30px;
    color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    clear: both;
    width: 100%;
}

.Meinl-Byzance img {
    float: left;
    margin: 10px;
    width: 300px;
    height: auto;
    border-radius: 20px;
    background-color: white;
}

.index img {
    float: left;
    margin: 10px;
    width: 300px;
    height: auto;
    border-radius: 20px;
}

.index .drumkit-sidebox {
    float: left;
    margin: 30px 10px 30px 0;
    max-width: 420px;
    text-align: center;
    display: block;
}

.index .img-border {
    float: none;
    margin: 0;
    max-width: 100%;
    text-align: center;
    display: inline-block;
}

.index .img-border img,
.index img.drumkit-img-bigger {
    display: block;
    margin: 0 auto !important;
    float: none !important;
    max-width: 100%;
    width: 380px;
    height: auto;
    border-radius: 15px;
}

.index p {
    margin: 10px;
    padding: 10px;
    font-size: 25px;
    line-height: 1.18;
}

.github-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: transparent;
}

.github-button:hover {
    background-color: transparent;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
}

.github-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.github-button:hover img {
    transform: scale(1.1);
}

.stylish-videos {
    background: linear-gradient(135deg, #7da7d9 60%, #665bfd 100%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    padding: 40px 30px 30px 30px;
    border-radius: 24px;
    margin-top: 40px;
    overflow-x: auto;
}

.video-cards-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    margin: 20px auto;
}

.video-card {
    flex: 1 1 340px;
    max-width: 400px;
    min-width: 320px;
    margin: 0;
    background: #7da7d9;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.15);
    padding: 30px 40px 30px 40px;
    margin: 0;
    max-width: 400px;
    min-width: 320px;
    flex: 1 1 340px;
    transition:
        background-position 0.5s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.2s cubic-bezier(.4, 0, .2, 1),
        transform 0.2s cubic-bezier(.4, 0, .2, 1),
        filter 0.3s cubic-bezier(.4, 0, .2, 1),
        opacity 0.5s cubic-bezier(.4, 0, .2, 1);
    background-image: linear-gradient(135deg, #7da7d9 60%, #665bfd 100%);
    background-size: 200% 100%;
    background-position: 0% 0%;
    background-repeat: no-repeat;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
}

.video-card:hover {
    background-position: 100% 0%;
    filter: brightness(1.08) saturate(1.15);
    opacity: 1;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
}


.video-card h3 {
    font-size: 2.1rem;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: 1px;
    font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
    text-align: center;
    width: 100%;
}

.video-desc {
    color: #e3eaff;
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-family: 'Segoe UI', Arial, sans-serif;
    text-align: center;
    padding: 0 20px 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.video-container {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 315px;
    margin: 0 auto 24px auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #222;
    box-shadow: 0 2px 16px 0 rgba(31, 38, 135, 0.18);
    border: none;
    transition: box-shadow 0.2s;
}

.video-container:hover {
    box-shadow: 0 6px 32px 0 rgba(31, 38, 135, 0.25);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.drumkit-sidebox {
    float: right;
    width: 420px;
    margin: 10px 0 18px 30px;
    text-align: center;
}

.drumkit-sidebox img.drumkit-img-bigger {
    float: none;
    display: block;
    margin: 0 auto;
}

.drumkit-caption {
    background: #7da7d9;
    color: whitesmoke;
    font-size: 1rem;
    border-radius: 10px;
    padding: 8px 16px;
    margin: 10px auto 0 auto;
    max-width: 95%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(31, 38, 135, 0.10);
    font-family: 'Segoe UI', Arial, sans-serif;
    display: block;
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    background-image: linear-gradient(135deg, #7ea8e0 60%, #665bfd 100%);
    background-size: 200% 100%;
    background-position: left;
    transition:
        background-position 0.5s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.3s cubic-bezier(.4, 0, .2, 1),
        transform 0.3s cubic-bezier(.4, 0, .2, 1);
}


.drumkit-caption:hover {
    background-position: right;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
}


@media (max-width: 900px) {
    .drumkit-sidebox {
        float: none;
        width: 100%;
        margin: 0 0 18px 0;
    }

    .drumkit-sidebox img.drumkit-img-bigger {
        width: 90vw;
        max-width: 100%;
    }
}

@media (max-width: 1000px) {
    .video-cards-row {
        flex-direction: row;
        gap: 18px;
        align-items: center;
    }

    .video-card {
        max-width: 98%;
        min-width: unset;
        padding: 15px 5px;
    }

    .video-container {
        max-width: 100%;
        height: 200px;
    }
}

@media (max-width: 900px) {

    .stylish-videos,
    .content {
        padding: 10px;
        max-width: 98%;
    }

    .video-card {
        padding: 10px 2vw;
        max-width: 100%;
    }

    .video-container {
        width: 100%;
        max-width: 100%;
        height: 180px;
        margin: 0 auto 14px auto;
    }

    .video-card h3 {
        font-size: 1.3rem;
    }

    .video-desc {
        font-size: 1rem;
        padding: 0 2vw;
    }
}

.index audio {
    display: block;
    margin: 30px auto 0 auto;
    width: 90%;
    max-width: 420px;
}


/*
.content img:hover {
    transform: scale(1.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
*/


.tilt-hover {
    transition:
        transform 0.3s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.3s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.tilt-hover:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
}

#backToTopBtn {
    opacity: 0;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #89b1e2;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0 18px;
    height: 48px;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.18);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: auto;
    min-width: 48px;
}

#backToTopBtn:hover {
    background: #6ba4d9;
    transform: translateX(-50%) scale(1.1);
}

.content .videos {
    overflow-y: hidden !important;
    overflow-x: auto;
}

.content.videos.stylish-videos {
    overflow-y: hidden !important;
    overflow-x: auto;
}


/* unused class */
.shiny {
    background: #7da7d9;
    color: whitesmoke;
    font-size: 1rem;
    border-radius: 10px;
    padding: 8px 16px;
    margin: 10px auto 0 auto;
    max-width: 95%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(31, 38, 135, 0.10);
    font-family: 'Segoe UI', Arial, sans-serif;
    display: block;
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    background-image: linear-gradient(135deg, #7ea8e0 60%, #665bfd 100%);
    background-size: 200% 100%;
    background-position: left;
    transition:
        background-position 0.5s cubic-bezier(.4, 0, .2, 1),
        box-shadow 0.3s cubic-bezier(.4, 0, .2, 1),
        transform 0.3s cubic-bezier(.4, 0, .2, 1);
}


.shiny:hover {
    background-position: right;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.25);
}
/* unused class */


.eloy-casagrande,
.neal-Peart,
.Meinl-HCS,
.Meinl-Byzance {
    overflow: unset;
    position: relative;
}

.recommendations p,
.reviews p {
    font-size: 24px;
}

