@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root{
    --blue-night:#17263B;
    --blue:#243B5A;
    --gold:#D7B77A;
    --ivory:#F7F3EA;
    --text:#455367;
}

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Inter",sans-serif;
    background:var(--ivory);
    color:var(--text);
    line-height:1.9;
}

img{
    display:block;
    width:100%;
}

.container{
    width:min(1062px,92%);
    margin:auto;
}

/* PAGE */

#musiciens-page{
    padding:126px 0 45px;
}

/* HEADER */

.page-header{
    text-align:center;
    margin-bottom:90px;
}

.page-header h1{
    margin:19.8px 0;
    font-family:"Cormorant Garamond",serif;
    font-size:clamp(2.52rem,5vw,4.05rem);
    font-weight:600;
    color:var(--blue-night);
    line-height:1.1;
}

.title-divider{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16.2px;
}

.title-divider span:first-child,
.title-divider span:last-child{
    width:90px;
    height:0.9px;
    background:rgba(215,183,122,.55);
}

.ornament{
    color:var(--gold);
    font-size:0.81rem;
    opacity:.9;
}

/* SECTION TITLE */

.section-title{
    text-align:center;
    margin-bottom:81px;
}

.separator{
    display:block;
    width:54px;
    height:1.8px;
    background:var(--gold);
    margin:0 auto 21.6px;
}

.section-title h2{
    font-family:"Cormorant Garamond",serif;
    font-size:2.52rem;
    font-weight:600;
    color:var(--blue-night);
}

/* MUSICIAN */

.musician{
    display:grid;
    grid-template-columns:378px 1fr;
    gap:72px;
    align-items:center;
    margin-bottom:108px;
}

.musician:last-child{
    margin-bottom:0;
}

.musician.reverse{
    grid-template-columns:1fr 378px;
}

.musician.reverse .musician-image{
    order:2;
}

.musician.reverse .musician-content{
    order:1;
}

/* IMAGE */

.musician-image{
    position:relative;
}

.musician-image::before{
    content:"";
    position:absolute;
    top:16.2px;
    left:16.2px;
    width:100%;
    height:100%;
    border:0.9px solid rgba(215,183,122,.55);
    border-radius:16.2px;
    z-index:0;
}

.musician-image img{
    position:relative;
    z-index:1;
    height:504px;
    object-fit:cover;
    border-radius:16.2px;
    box-shadow:0 22.5px 49.5px rgba(0,0,0,.14);
    transition:.45s;
}

/* CONTENT */

.musician-content{
    position:relative;
}

.musician-content::before{
    content:"";
    position:absolute;
    left:-31.5px;
    top:7.2px;
    width:1.8px;
    height:100%;
    background:linear-gradient(
        to bottom,
        var(--gold),
        transparent
    );
}

.musician-content h3{
    font-family:"Cormorant Garamond",serif;
    font-size:2.43rem;
    font-weight:600;
    color:var(--blue-night);
    margin-bottom:34.2px;
    line-height:1.1;
}

.musician-content h3::after{
    content:"";
    display:block;
    width:54px;
    height:1.8px;
    background:var(--gold);
    margin-top:16.2px;
}

.musician-content p{
    font-size:0.945rem;
    color:var(--text);
    margin-bottom:21.6px;
    text-align:justify;
}

.musician-content p:last-child{
    margin-bottom:0;
}

/* SEPARATION */

.musician + .musician{
    padding-top:90px;
    border-top:0.9px solid rgba(23,38,59,.08);
}

/* ANIMATIONS */

.page-header,
.section-title,
.musician{
    animation:fadeUp .8s ease both;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(31.5px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

/* RESPONSIVE */

@media(max-width:900px){

    #musiciens-page{
        padding:108px 0 81px;
    }

    .section-title{
        margin-bottom:63px;
    }

    .musician,
    .musician.reverse{

        grid-template-columns:1fr;
        gap:54px;
    }

    .musician.reverse .musician-image,
    .musician.reverse .musician-content{
        order:initial;
    }

    .musician-image{
        max-width:540px;
        margin:auto;
    }

    .musician-image img{
        height:432px;
    }

    .musician-content::before{
        display:none;
    }

    .musician + .musician{
        padding-top:72px;
    }

}

@media(max-width:630px){

    .page-header{
        margin-bottom:63px;
    }

    .page-header h1{
        font-size:2.25rem;
    }

    .section-title h2{
        font-size:1.89rem;
    }

    .musician{
        margin-bottom:81px;
    }

    .musician-content h3{
        font-size:1.98rem;
    }

    .musician-image img{
        height:324px;
    }

}

@media(max-width:405px){

    #musiciens-page{
        padding:99px 0 63px;
    }

    .page-header h1{
        font-size:1.8rem;
    }

    .section-title h2{
        font-size:1.62rem;
    }

    .musician{
        margin-bottom:63px;
    }

    .musician + .musician{
        padding-top:54px;
    }

    .musician-content h3{
        font-size:1.62rem;
    }

    .musician-image img{
        height:270px;
    }

    .musician-image::before{
        top:10.8px;
        left:10.8px;
    }

}