*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

img {
    user-select: none !important;
}

body {
    background-color: rgba(35, 33, 31);
    color: rgb(255, 227, 238);
    margin: 0px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

a:link,
a:visited {
    text-decoration: none;
    color: rgb(255, 227, 238) !important;
}

main {
    position: relative;
}

section {
    position: relative;
    padding: 2rem;
    text-align: center;
}

section img {
    max-width: 20dvw;
    max-height: 20dvw;
    object-fit: contain;
}

section h1 {
    font-size: 3rem;
    text-align: center;
    color: palevioletred;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

section h2 {
    font-size: 2rem;
    text-align: center;
    color: palevioletred;
}

section p {
    font-size: 1.5rem;
}

section:nth-of-type(even) {
    background-color: rgb(95, 59, 71);
    color: rgb(255, 228, 238);
}

section:nth-of-type(even) h1,
section:nth-of-type(even) h2 {
    color: rgb(255, 199, 221);
}


section:nth-of-type(even) a:link,
a:visited {
    text-decoration: none;
    color: rgb(66, 33, 46);
}

header {
    background-color: rgba(0, 0, 0, 0.473);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100lvh;
    gap: 2rem;
}

#bg_music_btn {
    padding: 1rem;
    background-color: rgb(255, 227, 238);
    color: black;
    font-weight: 700;
    border-radius: 20px;
    user-select: none;
    cursor: pointer;
    transition: 200ms;
}

#bg_music_btn:hover {
    background-color: rgb(253, 201, 222);
}

#hero_bg_image {
    position: absolute;
    z-index: 0;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-image: url("../assets/sing1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(32px) opacity(0.4);
}

header img {
    width: 90dvw;
    height: 90dvw;
    max-width: 512px;
    max-height: 512px;
}

.section-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    max-width: 800px;
    width: 100%;
    margin: auto;
}

.section-row:nth-of-type(even) {
    flex-direction: row-reverse;
}

.section-row p {
    flex-grow: 2;
}

.section-row img {
    flex-grow: 0;
}


#about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /*
        background-image: url("../assets/bg_image.jpg");
    background-repeat: no-repeat;
    background-position: bottom right;*/
}

#about p {
    text-align: justify;
}

.section-title {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    color: palevioletred;
    font-weight: bold;
    margin: 2rem 0;
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 1rem;
}

.section-spacer {
    display: flex;
    align-items: center;
    margin: 0;
}

.section-spacer::before,
.section-spacer::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0;
}

#embeds {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.ytplayer {
    width: 600px;
    height: 450px;
    max-width: 100%;
    max-height: 50lvh;
    margin-left: auto;
    margin-right: auto;
}

.video-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
    background-color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    color: white !important;
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    gap: 1rem;
    transition: transform 0.2s ease;
    font-weight: 700;
}

.video-item img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumb {
    position: relative;
    display: inline-block;
}

.thumb img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 200ms;
}

.play-button::before {
    content: "";
    display: block;
    margin-left: 4px;
    width: 0;
    height: 0;
    border-left: 18px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.thumb:hover .play-button {
    background: rgba(255, 0, 0, 0.8);
}

#contact {
    background-image: url("../assets/bg_image.png");
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-bottom: 200px;
}

#contact-card {
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    width: 400px;
    max-width: 100%;
    margin: auto;
    gap: 1rem;
    padding-top: 2rem;
}

#contact-card a {
    background-color: rgb(70, 70, 70);
    height: 5rem;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 20px;
    transition: 200ms;
}

#contact-card a:hover {
    background-color: rgb(94, 94, 94);
}

#contact-card a i {
    font-size: 2rem;
}

footer {
    height: 8rem;
    padding-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@keyframes bounce {
    0% {
        transform: translate(0%, 0%);
    }

    50% {
        transform: translate(0%, 50%);
    }

    100% {
        transform: translate(0%, 0%);
    }
}

.mobileonly {
    display: none !important;
}

@media screen and (max-width: 764px) {
    .ytplayer {
    max-width: 100%;
    max-height: 200px;
}


    section img {
        max-width: 80dvw;
        max-height: 30lvh;
        object-fit: contain;
        margin: auto;
    }

    .mobileonly {
        display: flex !important;
    }

    .section-row {
        flex-direction: column !important;
        text-align: center;
        width: 80%;
        gap: 0px;
    }
}

@media screen and (max-width: 430px) {
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem !important;
    }

    #contact-card a {
        font-size: 1.2rem !important;
    }
}

@media screen and (max-height: 680px) {
    header a {
        display: none;
    }
}