﻿:root {
    --dark: #050505;
    --wine: #610C27;
    --brown: #AC9C8D;
    --beige: #E3C1B4;
    --velvet: #DDD9CE;
    --cream: #EFECE9;
}

.nav-link {
    color: var(--dark) !important;
}

.nav-link:hover {
    color: #A73B57 !important;
    transform: translateY(-1px);
    cursor: pointer;
}

.navbar-brand:hover {
    color: white !important;
    text-shadow: -1px -1px 0 #A73B57, 1px -1px 0 #A73B57, -1px 1px 0 #A73B57, 1px 1px 0 #A73B57;
    transform: translateY(-1px);
}

.title-h1 {
    color: var(--dark);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.title-p {
    color: var(--wine);
}

.custom-atag {
    color: var(--wine);
}

.text-carousel {
    position: relative;
    background-color: var(--wine);
    color: white;
    width: 100%;
    height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: sans-serif;
}

    .text-carousel.faded {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 60%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 40%, black 60%, transparent 100%);
        -webkit-mask-composite: intersect;
        mask-composite: intersect;
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
        mask-size: 100% 100%;
    }

.text-carousel-track {
    display: flex;
    width: fit-content;
    animation: slideHorizontal 16s infinite;
}

    .hide {
        display: none;
    }

.text-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    filter: drop-shadow(1px 1px 3px rgba(255,255,255,0.5));
}

.section-1-background {
    position: relative;
    background-color: var(--cream);
    height: auto;
    top: 0;
    left: 0;
    z-index: 0;
}

    .section-1-background p {
        transform: translateX(10vw);
        font-style: italic;
        font-size: 18px;
    }

.section-2-background {
    width: 100%;
    height: auto;
    background-color: var(--brown);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    box-sizing: border-box;
}

.section-3-background {
    background-color: var(--velvet);
    width: 100%;
    height: auto;
    top: 250vh;
    left: 0;
    padding: 3rem 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-band-background {
    position: relative;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--brown);
}

.picture-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

    .picture-wrapper img {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        filter: brightness(50%);
    }

.picture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.bandup-content {
    width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bandup-h1 {
    font-size: 3rem;
    font-weight: 700 !important;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #d8cfc4, #b7a999, #8c7b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.8px rgba(80, 80, 80, 0.65);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}

.bandup-h3 {
    font-size: 1rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(135deg, #d8cfc4, #b7a999, #8c7b6b);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}

.section-margin-background {
    height: 10vh;
    width: 100%;
    background-color: var(--velvet);
}

.section-4-background {
    position: relative;
    background-color: var(--beige);
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 4rem;
}

.section-5-background {
    background-color: var(--cream);
    width: 100%;
    height: auto;
    top: 480vh;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.section-6-background {
    background-color: var(--brown);
    width: 100%;
    height: auto;
    top: 480vh;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

    .video-wrapper video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%) scale(1.1);
        object-fit: cover;
        z-index: 0;
    }

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.motto-1,
.motto-2 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    margin-top: 3rem;
    color: var(--velvet);
    z-index: 50;
    font-size: 32px;
}

.index-description-p {
    text-align: justify;
    max-width: 90vw;
    font-size: 20px;
    width: 85%;
    box-sizing: border-box;
}

.motto-wrapper {
    max-width: 1100px;
    margin-top: 50px;
    margin-bottom: 150px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}


.motto-bg-image {
    width: 95%;
    max-width: 800px;
    height: auto;
    display: block;
    filter: hue-rotate(0deg);
    opacity: 0.5;
}

.motto-wrapper h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--velvet);
    font-size: 2.5rem;
    z-index: 10;
    width: 90%;
    line-height: 1.2;
}

.motto-subtitle {
    max-width: 90vw;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-align: left;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #ddd9ce, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.8px rgba(80, 80, 80, 0.35);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}

.motto-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem 3rem;
    padding: 0;
    margin: 0 auto;
}

.motto-bullet img {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-right: 0.7rem;
    vertical-align: middle;
}

.motto-list li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--velvet);
    text-align: left;
    overflow: hidden;
    margin-bottom: 1rem;
    isolation: isolate;
    -webkit-text-fill-color: white;
}

    .motto-list li::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( to right, rgba(255, 235, 200, 0.2),
        rgba(97, 12, 39, 0.2)
        );
        z-index: 0;
    }

    .motto-list li > .motto-bullet,
    .motto-list li > span,
    .motto-list li > img {
        position: relative;
        z-index: 10;
    }

.motto-bullet svg {
    flex-shrink: 0;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.bandup-description-p {
    text-align: justify;
    max-width: 90vw;
    font-size: 20px;
    width: 85%;
    box-sizing: border-box;
}

.bandup-motto-wrapper {
    max-width: 1100px;
    margin-top: 3rem;
    margin-bottom: 1rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.bandup-motto-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem 12rem;
    padding: 0;
    margin: 0 auto;
}

.bandup-motto-bullet img {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin-right: 0.7rem;
    vertical-align: middle;
}

.bandup-motto-list li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--velvet);
    text-align: left;
    overflow: hidden;
    margin-bottom: 1rem;
    isolation: isolate;
    -webkit-text-fill-color: white;
}

    .bandup-motto-list li::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient( to right, rgba(255, 235, 200, 0.2),
        rgba(97, 12, 39, 0.2)
        );
        z-index: 0;
    }

    .bandup-motto-list li > .bandup-motto-bullet,
    .bandup-motto-list li > span,
    .bandup-motto-list li > img {
        position: relative;
        z-index: 10;
    }

.part-one-container,
.part-two-container {
    margin-top: 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    width: 80vw;
    position: relative;
}

.part-two-container {
    flex-direction: row-reverse;
}

.paragraph-one-wrapper,
.paragraph-two-wrapper {
    position: relative;
    flex-grow: 1;
    width: 60vw;
    margin-bottom: 5rem;
}

.paragraph-one-shadow,
.paragraph-two-shadow {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 60%;
    height: 100%;
    background-color: rgba(97, 12, 39, 0.75);
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
}

.paragraph-two-shadow {
    clip-path: polygon(0% 0, 100% 0, 100% 100%, 6% 100%);
    right: 0;
    left: auto;
    background-color: var(--cream);
    transform: translateX(5px);
    transform: translateY(15px);
}

.paragraph-part-one,
.paragraph-part-two {
    width: 60vw;
    min-height: 330px;
    margin-right: -3rem;
    padding-right: 4rem !important;
    font-size: 18px;
    text-align: justify;
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    position: relative;
    z-index: 20;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0% 100%);
    box-sizing: border-box;
    flex-grow: 1;
}

.paragraph-part-two {
    width: 65vw;
    margin-left: -5rem;
    margin-right: 3rem;
    padding-left: 4rem !important;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 100%);
    transform: translateY(20px);
    background: rgba(227, 193, 180, 0.8);
}


.image-part-one,
.image-part-two {
    height: auto;
    max-width: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    margin-left: -50px;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
    transform: translateY(-20px);
}

.image-part-two {
    clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%);
    transform: translateX(10px);
}

.image-one-shadow,
.image-two-shadow {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
    clip-path: inherit;
}

.image-one-shadow {
    transform: translate(13px, -5px) scale(0.5);
    right: 20px;
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
    transform-origin: bottom right;
    background: rgba(227, 193, 180, 0.8);
}

.image-two-shadow {
    transform: translate(10px, 15px) scale(0.5);
    left: -45px;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%);
    transform-origin: bottom left;
    background-color: rgba(97, 12, 39, 0.75);
}

.list-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    z-index: 2;
}

.left-ul,
.right-ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 100;
    color: var(--wine);
    text-align: left;
}

    .left-ul li,
    .right-ul li {
        position: relative;
        margin-bottom: 3rem;
        min-height: 120px;
        display: flex;
        align-items: center;
        padding: 3rem 5rem;
        overflow: hidden;
        height: 20vh;
        width: 46vw;
    }

.li-bg {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/PNG/wine_brush.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.li-text {
    position: relative;
    z-index: 1;
    color: white;
    font-weight: bold;
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
    -webkit-text-stroke: 0.5px black;
}

.list-container li {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .list-container li:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }



.team-h1 {
    font-size: 3.5rem;
    font-weight: 700 !important;
    text-transform: uppercase;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #d8cfc4, #b7a999, #8c7b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.8px rgba(80, 80, 80, 0.65);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));
}

.bio-card {
    position: relative;
    width: 80%;
    max-width: 1200px;
    background-color: rgba(97, 12, 38, 0.8);
    margin: 2rem auto;
    border-radius: 90px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;
}

.bio-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    z-index: 5;
}

    .bio-header::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 180px;
        width: calc(100% - 5rem);
        background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent);
        z-index: 0;
        pointer-events: none;
        border-top-left-radius: 100px;
        border-bottom-left-radius: 100px;
    }

.bio-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.3);
    z-index: 2;
}

    .bio-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.music-overlay {
    position: absolute;
    top: 50%;
    left: -40px;
    width: 250px;
    height: 250px;
    background: url('/images/PNG/round_music_notes.png') no-repeat center center;
    background-size: contain;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
    opacity: 0.75;
}

.Madalina-image img {
    object-position: 0 30%;
}

.Mircea-image img {
    transform: scale(1.5);
    object-position: -30%;
}

.bio-name {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-transform: uppercase;
}

    .bio-name h2 {
        font-family: 'Inter', sans-serif;
        font-size: clamp(2rem, 3.5vw, 40px);
        font-weight: 400;
        margin: 0;
        transform: translateX(-2vw);
        /*background: linear-gradient(to right, #ffffff, #aaaaaa);*/
        background: linear-gradient(135deg, #d8cfc4, #b7a999, #8c7b6b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        /*-webkit-text-stroke: 0.8px rgba(80, 80, 80, 0.65);*/
        background-clip: text;
        color: transparent;
        filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.5));

    }


.bio-text {
    font-family: "Satoshi", sans-serif;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.6;
    text-align: justify;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.bio-quote {
    font-style: italic;
    color: #f5f5f5;
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    margin: 1rem auto;
    max-width: 900px;
}


.Madalina-quote,
.Mircea-quote {
    width: 70%;
    font-size: 3vw;
    font-style: italic;
}

.Madalina-quote {
    margin-bottom: 5rem;
    text-align: right;
}

.Mircea-quote {
    text-align: left;
}

.online-courses-container {
    position: relative;
    z-index: 50;
    width: 75%;
    padding: 0 5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    margin-left: 5rem;
    margin-right: 5rem;
    padding-top: 1rem;
    border-radius: 50px;
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.5);
}

    .online-courses-container p {
        font-family: 'Inter', serif;
        font-size: 26px;
        text-align: center;
        color: var(--cream);
    }

        .online-courses-container p span {
            font-family: 'Satoshi', sans-serif;
            font-size: 20px;
        }

.bandup-courses-container {
    position: relative;
    z-index: 50;
    width: 75%;
    padding: 0 5rem;
    margin: 1rem 5rem;
    padding-top: 1rem;
    border-radius: 50px;
    box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.5);
}

    .bandup-courses-container p {
        font-family: 'Inter', serif;
        font-size: 26px;
        text-align: center;
        color: var(--cream);
    }

        .bandup-courses-container p span {
            font-family: 'Satoshi', sans-serif;
            font-size: 20px;
        }

.pages-buttons-container {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    z-index: 20;
    margin-top: 3rem;
}

.page-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5rem;
    width: 18rem;
    padding: 1rem 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 20rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 10px 5px rgba(172, 156, 141, 0.5);
}

.prices-button {
    background-color: rgba(227, 193, 180, 0.5);
    color: var(--cream);
    text-shadow: -1px -1px 0 var(--wine), 1px -1px 0 black, -1px 1px 0 var(--wine), 1px 1px 0 var(--wine);
}

.signup-button {
    background-color: rgba(227, 193, 180, 0.5);
    color: #EFECE9;
    text-shadow: -1px -1px 0 var(--wine), 1px -1px 0 black, -1px 1px 0 var(--wine), 1px 1px 0 var(--wine);
}

.page-button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    color: #EFECE9;
    text-shadow: none;
}

.contact-background-container {
    position: relative;
    width: 100vw;
    padding: 4rem 0;
    background-image: url('/images/music-sheet.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.contact-row {
    position: relative;
    z-index: 1;
    width: 95%;
    max-width: 1200px;
    height: auto;
    background-color: rgba(227, 193, 180, 0.75);
    padding: 2rem;
    padding-top: 2.5rem;
    border-radius: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 200px;
    max-width: 300px;
}

    .contact-item:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
        cursor: pointer;
    }

.contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    fill: var(--velvet);
    stroke: var(--dark);
    stroke-width: 1px;
}

.contact-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--velvet);
    text-shadow: -1px -1px 0 var(--dark), 1px -1px 0 black, -1px 1px 0 var(--dark), 1px 1px 0 var(--dark);
}

.map-container {
    width: 100%;
    max-width: 100%;
    background-color: var(--beige);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 2rem;
}

    .map-container iframe {
        display: block;
        width: 100%;
        height: 22rem;
        border: 0;
        border-radius: 30px;
    }

.footer-info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 3rem;
    background-color: #f4f4f4;
    border-top: 2px solid #ccc;
    border-radius: 0 0 12px 12px;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    gap: 1.5rem;
}

.social-icon img {
    width: 64px;
    height: 64px;
    transition: transform 0.2s;
}

.social-tiktok {
    transform: scale(1.2);
}

.social-icon:hover img {
    transform: scale(1.2);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.footer-logo {
    width: 64px;
    height: auto;
}

.business-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.school-name {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-details {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .list-container li {
        padding: 1rem;
        font-size: 5vw;
    }

    .text-carousel {
        font-size: 1.2rem;
    }

    .paragraph-part-one,
    .paragraph-part-two {
        font-size: 14px;
        padding: 2rem !important;
    }

    .bio-card {
        width: 80vw;
        max-width: 1200px;
        background-color: rgba(97, 12, 38, 0.8);
        margin: 2rem auto;
        border-radius: 90px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        color: white;
        margin-bottom: 2rem;
        overflow: hidden;
        box-shadow: 0 0 0 10px rgba(97, 12, 38, 0.8);
    }

    .bio-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

        .bio-header::before {
            display: none;
        }

    .bio-image {
        width: 100%;
        aspect-ratio: 1/1;
        border-radius: 1rem;
        box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.3);
        z-index: 1;
    }

        .bio-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .music-overlay {
            background: none;
        }

    .Madalina-image img {
        object-position: 0vw -12vh !important;
    }

    .Mircea-image img {
        transform: scale(2.1) !important;
        object-position: 20vw -3vh !important;
    }

    .online-courses-container {
        padding: 2rem;
    }

        .online-courses-container p {
            font-size: 24px;
        }

            .online-courses-container p span {
                font-size: 20px;
            }

    /*@supports (-webkit-touch-callout: none) {
        .bio-card {
            overflow: visible !important;
        }

        .bio-image {
            overflow: hidden;
        }
    }*/
}

@media (max-width: 480px) {
    .Madalina-image img {
        object-position: 0vw -5vh !important;
    }

    .Mircea-image img {
        object-position: 20vw 0vh !important;
    }

    .motto-subtitle {
        font-size: 2rem;
        transform: translateY(30px);
    }
}

@media (max-width: 661px) {
    .footer-info-container {
        flex-direction: column;
        gap: 1rem;
    }
}

.section-3-background .bio-card {
    /*overflow: hidden;*/
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

/*.section-3-background .bio-header,
.section-3-background .bio-header::before,
.section-3-background .music-overlay,
.section-3-background .bio-image,
.section-3-background .bio-image img {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}*/

@media (max-width: 640px) {
    .section-3-background .Mircea-image img,
    .section-3-background .Madalina-image img {
        will-change: auto !important;
    }

    .section-3-background .bio-image {
        overflow: hidden;
        border-radius: 12px;
        position: relative;
    }
}
