/* ---------- Header ---------- */

.header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    min-height: 8rem;
    max-height: 12rem;
    padding: 0 2vw;
    background-color: #fafbfd;
    overflow: hidden;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    box-shadow: 0px 4px 8px 1px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid var(--main-color);

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 55;
}

.left__box,
.right__box
{
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.header__name__box
{
    position: relative;
    height: 100%;
    transform: translateY(-6%);
}

.header__logo
{
    height: 110%;
    width: auto;
    aspect-ratio: 2/1;
}

.header__name
{
    position: absolute;
    top: 50%;
    left: 32%;
    transform: translateY(-38%);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 0.845;
    margin-left: 1rem;
}

.header__title
{
    font-size: 2.4rem;
    color: var(--main-text-color);
}

.header__mail__link
{
    height: 100%;

    display: flex !important;
    align-items: center;
    justify-content: center;
}

.header__reach-me
{
    font-size: 1.8rem;
    font-weight: 500;
}

.header__mail__box
{
    margin-right: 1.2rem;
    background-color: var(--main-color);
    height: 55%;
    aspect-ratio: 1/1;
    border-radius: 1000px;

    display: none;
}

.header__mail__icon
{
    fill: #fff;
    stroke: #fff;
    width: 66%;

    display: block;
    block-size: auto;
}

.header__facebook__box
{
    background-color: var(--main-color);
    height: 55%;
    aspect-ratio: 1/1;
    border-radius: 1000px;

    display: grid;
    place-items: center;
    overflow: hidden;
}

.header__facebook__icon
{
    fill: #fff;
    height: 75%;

    display: block;
    block-size: auto;
}

.left__box .header__title__line
{
    font-size: 3rem;
    padding-left: 2rem;
    padding-right: 1rem;
}

.right__box .header__title__line
{
    font-size: 3rem;
    padding-left: 1rem;
    padding-right: 2rem;
}

.page__background
{
    position: fixed;
    min-width: 120vw;
    min-height: 100vh;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    fill: #fff;
    stroke:#111;
    stroke-width: 1px;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.14;
}

/* ---------- Hero ---------- */

.hero__section
{
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__top__margin
{
    height: 8vh;
    min-height: 8rem;
    max-height: 12rem;
}

.hero__title__box
{
    margin-top: 5vh;
    position: relative;
}

.hero__content__box
{
    padding: var(--section-margin) 14vw;
    width: 100%;

    display: flex;
    flex: 1 1.6;
    align-items: center;
    justify-content: center;
}

.hero__description__box
{
    position: relative;
    justify-self: center;
    transform: translateX(-10%);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 12;
}

.hero__card
{
    width: auto;
    aspect-ratio: 4/5.12;
    background: var(--secondary-color-light-light-light);
    border-radius: 8rem;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    z-index: 11;
}


.hero__image__box
{
    width: 72%;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
    border-radius: 6rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.14);
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__card__title
{
    padding-top: 0.4rem;
    font-size: 2.4rem;
}

.hero__card__text
{
    font-size: 2rem;
}

/* ---------- Skills ---------- */

.skills__section
{
    position: relative;
    background: var(--terciary-color);
    color: var(--main-text-color-light);
    padding: var(--section-margin) 0;
    box-shadow: 0 0 24px 0 rgba(0,0,0,0.12);

    display: grid;
    grid-template-columns: 1fr 1.34fr;
    align-items: center;
    justify-content: center;
}

.skills__image__box
{
    width: 100%;
    max-height: 100vh;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    border-bottom-right-radius: 6rem;
    border-top-right-radius: 6rem;
    align-self: center;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills__text__box
{
    height: 100%;
    padding: 0 8rem;

    display: flex;
    flex-direction: column;
    gap: 6%;
    align-items: center;
    justify-content: center;
}

.map__image__box
{
    position: relative;
    width: 90%;
    aspect-ratio: 3/2;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);

    z-index: 11;
}

.skills__list
{
    padding: 2vw 3.8vw;
    background-color: #f8f8f8;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    border-radius: 2rem;
    position: relative;
    z-index: 11;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 1.8vw 3.2vw;
}


.skills__item
{
    position: relative;
    opacity: 1;
}

.skills__item::marker
{
    content: "•  ";
}

/* ---------- Instrument ---------- */

.instrument__section
{
    position: relative;
    padding: calc(10.2rem + 7vh) 0 var(--section-margin) 0;
    min-height: 100vh;
}

.instrument__btn__trigger
{
    position: absolute;
    top: 5.6rem;
    height: 0;
}

.instrument__switch__button__box
{
    position: absolute;
    top: 5.6rem;
    left: 50%;
    transform: translateX(-50%);

    z-index: 33;
}

.instrument__switch__button__box.--fixed
{
    position: fixed;
    top: calc(5.6rem + 5.5vh);
}

.instrument__switch__button
{
    position: relative;
    height: 7vh;
    aspect-ratio: 11/5;
    border-radius: 50rem;
    background: var(--main-color-light-light);
    box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.instrument__switch__button__box.--fixed .instrument__switch__button
{
    transform: translate(36vw);
}

.instrument__switch__button__box.--bottom .instrument__switch__button
{
    transform: translate(36vw, -20vh);
}

.instrument__switch__selected
{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--main-color);
    transition: transform 1s ease;
}

.instrument__icon__box
{
    height: 100%;
    aspect-ratio: 1/1;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 12;
}

.instrument__icon
{
    height: 80%;
    aspect-ratio: 1/1;
    stroke: white;
}

.instrument__icon.--g
{
    fill: white;
}

.instrument__content__box.--guitar .instrument__switch__selected
{
    transform: translateX(120%);
}

.--instrument-dependent
{
    position: relative;
    height: 100%;
    width: 200%;
    transition: transform 1s ease;
    transform: translateX(-50%);

    display: flex;

    z-index: 12;
}

.--instrument-dependent-item
{
    width: 50%;

    display: flex;
}

.instrument__content__box.--guitar .--instrument-dependent
{
    transform: translateX(0);
}

.instrument__title__box
{
    position: relative;
    width: 68vh;
    justify-self: right;
    overflow: hidden;
    margin-bottom: 6rem;

    z-index: 12;
}

.instrument__title
{
    margin-left: auto;
    margin-right: 8vw;
    color: var(--main-color);
    font-size: 6.4rem;
}

.instrument__i1__box
{
    position: relative;
    width: 96%;
    aspect-ratio: 100/17;
    margin: 6rem auto;
    border-radius: 6rem;
}

.instrument__i1__box--individual
{
    height: 100%;
    aspect-ratio: 100/17;
    position: relative;
    overflow: hidden;
    justify-self: center;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.instrument__s1__box
{
    position: relative;
    width: 90%;
}

.instrument__s1
{
    padding: 0 7rem;
}

.instrument__t1__box
{
    position: relative;
    width: 60%;
    justify-self: start;
}

.instrument__t1
{
    padding: 0 7rem;
    margin-bottom: 2rem;
}

.instrument__s2__box
{
    position: relative;
    width: 80%;
    justify-self: right;
}

.instrument__s2
{
    margin-left: auto;
    padding: 0 7rem;
}

.instrument__t2__box
{
    position: relative;
    width: 65%;
    justify-self: right;
    margin-bottom: 6rem;
}

.instrument__t2
{
    margin-left: auto;
    padding: 0 6rem;
}

.instrument__s3__box
{
    position: relative;
    width: 60%;
    margin-right: auto;
    margin-left: 10%;
}

.instrument__s3
{
    margin-right: auto;
}

.instrument__t3__box
{
    position: relative;
    margin-bottom: 6rem;
}

.instrument__t3
{
    padding: 0 10%;
}

.instrument__s4__box
{
    position: relative;
    width: 80%;
    margin: 0 auto;
}

.instrument__s4
{
    margin-left: auto;
    padding-right: 4rem;
}

.instrument__t4__box
{
    position: relative;
    margin-bottom: 6rem;
}

.instrument__t4
{
    padding: 0 10%;
}

.instrument__cta__box
{
    position: relative;
    width: max-content;
    margin: 0 auto;
    padding: 1rem 2rem;
    background-color: var(--main-color-light-light-light);
    border-radius: 6rem;
    transition: 1s ease;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 12;
}

.instrument__cta__box:hover
{
    background-color: #d77;
}

.cta--guitar,
.cta--piano
{
    display: none;
}

.instrument__content__box.--guitar .cta--guitar
{
    display: inline-block;
}

.instrument__content__box.--piano .cta--piano
{
    display: inline-block;
}


/* ---------- Contact ---------- */

#contact {scroll-margin-top: 8vh;}

.contact__section
{
    position: relative;
    /* background: var(--main-color-light-light-light); */
    background: var(--terciary-color);
    color: var(--main-text-color-light);
    padding: var(--section-margin) 0;
    box-shadow: 0 0 24px 0 rgba(0,0,0,0.12);
}

.contact__box
{
    height: 100%;
    min-height: 60vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 6rem;
}

.contact__title
{
    color: var(--main-text-color-light);
    font-size: 4.2rem;
    margin-bottom: 0;

    z-index: 11;
}

.contact__form__box
{
    position: relative;
    z-index: 11;
}

.contact__form
{
    position: relative;
    width: 50vw;
    padding: 3rem 2rem;
    background: white;
    border-radius: 2rem;
    background-color: #f8f8f8;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__form__item
{
    font-size: 1.8rem;
    padding: 1.2rem 1.6rem;
    border: 1px solid var(--main-color-light);
    border-radius: 1rem;
    background: #fff;
    color: var(--main-text-color);
    transition: border-color 0.2s;
}

.contact__form__item:focus
{
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px var(--main-color-light);
}

.contact__form textarea.contact__form__item
{
    min-height: 8rem;
}

.contact__form__message
{
    min-height: 16rem;
    max-height: 44vh;
}

.contact__form__send
{
    font-size: 1.8rem;
    padding: 1.2rem 0;
    background: var(--main-color);
    color: var(--main-text-color-light);
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s;
}

.contact__form__send:hover,
.contact__form__send:focus
{
    background: var(--main-color-dark);
    color: var(--main-color-light-light);
}

.contact__text .short
{
    display: none;
}

/* ---------- Footer ---------- */

.footer
{
    height: 4vh;
    background-color: var(--secondary-color-light-light);
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 11;
}

.footer__text
{
    color: var(--main-text-color);
    padding-left: 2rem;
    font-size: 1.2rem;
}

/* ---------- Lines ---------- */

/* purple */

.purple__line.--start
{
    top: 50%;
    left: -12px;
}

.purple__line.--hero__image
{
    bottom: 0;
    left: -64px;
}

.purple__line.--skills__image
{
    top: 50%;
    right: 30%;
}

.purple__line.--skills__list
{
    top: 50%;
    right: 50%;
}

.purple__line.--instrument__top
{
    top: 0;
    left: 14%;
}

.purple__line.--instrument__t1
{
    top: 30%;
    right: -2rem;
}

.purple__line.--instrument__t2
{
    top: 50%;
    right: -10%;
}

.purple__line.--instrument__t3
{
    top: 50%;
    right: 30%;
}

.purple__line.--instrument__t4
{
    top: 50%;
    right: -5%;
}

.purple__line.--contact__form
{
    top: 80%;
    right: 50%;
}

/* orange */

.orange__line.--start
{
    top: 6rem;
    right: 18%;
}

.orange__line.--skills__list
{
    top: 0;
    right: -12%;
}

.orange__line.--skills__image
{
    bottom: 20%;
    right: 50%
}

.orange__line.--instrument__top
{
    top: 8rem;
    right: 20%;
}

.orange__line.--instrument__t1
{
    top: 50%;
    left: -30%;
}

.orange__line.--instrument__t2
{
    top: 80%;
    left: 20%;
}

.orange__line.--instrument__t3
{
    top: 50%;
    left: 30%;
}

.orange__line.--instrument__t4
{
    top: 50%;
    left: -10%;
}

.orange__line.--contact__form
{
    top: 80%;
    left: 50%;
}
