@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --primary-bg: #ebebeb;
    --secondary-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Red Hat Display', sans-serif;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;

}

a {
    text-decoration: none;
    font-weight: 500;
    color: rgb(33, 33, 33);
    transition: color 1s ease-in-out;
}

a:hover {
    color: #faabe2;
}

.bg {
    position: relative;
    height: 100vh;
    width: 100vw;
    z-index: -1;
}

.site-title {
    font-size: 46px;
}

.bg-img {
    background-image: url('../img/steinway.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    position: fixed;
    z-index: 0;
    top: 0px;
    bottom: 0px;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

/* MENU */
.top-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.8);
    color: #FFF;
    height: 80px;
    padding: 1em 1em;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 99;
    border: 0px;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu>li {
    margin: 0 1rem;
    overflow: hidden;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #fff;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

.active {
    color: #faabe2 !important;
}

.back {
    font-weight: 900 !important;
    background-color: #333;
    padding: 10px 20px;
    border-radius: 50px;
}


.logo {
    width: 70px;
}

.menu {
    display: flex;
}

.menu>li {
    list-style-type: none;
    color: white;
    padding: 20px;
}

.menu>li>a {
    color: white;
    text-transform: none;
    text-decoration: none;
    font-weight: 300;
}

section {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-color: white;
    z-index: 50;
    color: rgb(33, 33, 33);
}

h1 {
    font-size: 48px;
    font-weight: 400;
}

h2 {
    font-size: 36px;
    font-weight: 500;
}

.subtitle {
    font-size: 24px;
    font-weight: 100;
}

.pt-5 {
    padding-top: 150px;
}

.pt-4 {
    padding-top: 80px;
}

.mt-1 {
    margin-top: 20px;
}

.mt-2 {
    margin-top: 30px;
}

.mb-2 {
    margin-bottom: 30px;
}

.mt-4 {
    margin-top: 80px;
}

.w90 {
    width: 90% !important;
}

.text-center {
    text-align: center;
}

.section-primary {
    background-color: var(--primary-bg);
    height: 100vh;

}

.container {
    width: 95%;
}

.section-title {
    height: 30px;
    width: 100%;
}

h1::after {
    content: '';
    border: 0.5px solid #666;
    display: block;
    width: 50%;
    transform: translateX(50%);
}

.cv {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    flex-direction: row;
}

.cv-text {
    width: 60%;
    padding-top: 100px;
    font-size: 22px;
    font-weight: 300;
}

.simo {
    width: 40%;
    height: calc(100vh - 110px);
    position: relative;
}

.simo-img {
    width: 130%;
    min-width: 700px;
    position: absolute;
    bottom: 0px;
    left: -45%;
    transition: left 1s ease-in-out;
}

.simo-img:hover {
    left: -30%;
}

.text-left {
    text-align: left;
    width: 90%;
    line-height: 1.5em;
    font-size: 22px;
    font-weight: 300;
}

p {
    padding-top: 10px;
}

strong,
b {
    font-weight: 500;
}

.bg-img-section {
    height: calc(80vh);
    position: sticky;
    top: 0px;
    z-index: -1;
    background-image: url('../img/concerto.jpg');
    background-position: top;
    background-size: cover;
}

.section-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap-reverse;
}

.w-60 {
    width: 60%;
    padding: 10px;
}

.w-40 {
    width: 40%;
    padding: 10px;
}

.masterclass-img {
    height: 100%;
    display: flex;
    align-items: center;
}

.masterclass-img>img {
    width: 80%;
}

.section-secondary {
    box-shadow: 5px 5px 15px #999999;
    z-index: 1;
    height: 100%;
    padding-bottom: 80px;
    position: relative;
}

.section-third {
    background-color: var(--primary-bg);
    height: 100%;
    padding-bottom: 80px;
}

.icons-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 80px;
}

.icon {
    text-align: center;
    width: 33.33%;
    font-size: 18px;
    display: flex;
    justify-content: center;
}

.btn {
    background-color: white;
    border: 1px solid #999;
    padding: 10px 15px;
    cursor: pointer;
    min-width: 160px;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-container {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    display: none;
}

.audio-item {
    width: 33%;
    text-align: center;
    padding-top: 30px;
}

.title-audio {
    text-align: center;
    font-size: 24px;
    font-weight: 500;
}

.audio-bg {
    padding: 30px 30px;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.bg-white {
    background-color: white;
    padding-top: 30px;
    border: 1px solid #999999;
}

.audio-title {
    display: block;
    padding-bottom: 8px;
    font-size: 12px;
}



/* Video Gallery */

.video {
    position: relative;
    padding-top: 4.1%;
    padding-bottom: 51.95%;
    height: 0;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    min-height: 0;
}

.video-gallery {
    margin-top: 3em;
    position: relative;
    width: 100%;
}

.video-gallery .video {
    animation: 1200ms fadeOut ease;
    animation-fill-mode: both;
    grid-column-start: 1;
    grid-row-start: 1;
    grid-row-end: 7;
    max-height: 19.5em;
    opacity: 0;
    display: block;
    transition: all 300ms ease;
}

.video-gallery input[type=radio] {
    font-size: 0;
    height: 0;
    opacity: 0;
    padding: 0;
    position: fixed;
    width: 0;
}

.video-gallery input {
    grid-column-start: 1;
    grid-row-start: 1;
}

.video-gallery label {
    color: #000000;
    font-size: 1.25em;
    font-weight: 400;
    grid-column-start: 2;
    margin: 0 !important;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    border-bottom: 1px solid #CCCCCC;
}

.video-gallery label:last-of-type {
    border: 0 none;
}

.video-gallery input[type=radio]:checked+label {
    color: #faabe2 !important;
}

.video-gallery input[type=radio]:checked+label:before {
    content: "▶";
    left: 0;
    top: 16px;
    position: absolute;
}

.grid-row {
    display: block;
    height: 56vw;
    max-height: 19.5em;
    position: relative;
}

.grid-row label {
    left: calc(50% + 16px);
    position: relative;
    width: calc(50% - 16px);
}

.grid-row .video {
    padding: 0;
    position: absolute;
    top: 0;
    width: 0;
}

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

#video-1:checked~.video-1,
#video-2:checked~.video-2,
#video-3:checked~.video-3,
#video-4:checked~.video-4,
#video-5:checked~.video-5,
#video-6:checked~.video-6 {
    animation: 1200ms fadeIn ease;
    animation-fill-mode: both;
    opacity: 1;
    width: 50%;
}

@keyframes fadeOut {
    0% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 50%;
    }

    25% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 50%;
    }

    49% {
        display: block;
        height: 56vw;
        opacity: 0;
        width: 50%;
    }

    50% {
        display: none;
        height: 0;
        opacity: 0;
        width: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        width: 0;
    }

    49% {
        display: none;
        height: 0;
        opacity: 0;
        width: 0;
    }

    50% {
        display: block;
        height: 56vw;
        opacity: 0;
        width: 50%;
    }

    100% {
        display: block;
        height: 56vw;
        opacity: 1;
        width: 50%;
    }
}

@supports (display: grid) {
    .grid-row {
        align-items: start;
        display: grid;
        grid-column-gap: 16px;
        grid-row-gap: 0;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
        width: 100%;
    }

    .grid-row label {
        left: auto;
        width: 100%;
    }

    .grid-row .video {
        position: relative;
        width: 100%;
    }

    @keyframes fadeOut {
        0% {
            display: block;
            height: 56vw;
            opacity: 1;
            width: 100%;
        }

        25% {
            display: block;
            height: 56vw;
            opacity: 1;
            width: 100%;
        }

        49% {
            display: block;
            height: 56vw;
            opacity: 0;
            width: 100%;
        }

        50% {
            display: none;
            height: 0;
            opacity: 0;
            width: 0;
        }
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
            width: 0;
        }

        49% {
            display: none;
            height: 0;
            opacity: 0;
            width: 0;
        }

        50% {
            display: block;
            height: 56vw;
            opacity: 0;
            width: 100%;
        }

        100% {
            display: block;
            height: 56vw;
            opacity: 1;
            width: 100%;
        }
    }
}

@media (max-width: 767px) {
    .video-gallery {
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: none;
    }

    .video-gallery label {
        left: auto;
        order: 2;
        width: 100%;
    }

    .video-gallery .video {
        order: 1;
        padding-top: 4.1%;
        position: relative;
        top: auto;
        width: 100%;
    }

    #video-1:checked~.video-1,
    #video-2:checked~.video-2,
    #video-3:checked~.video-3,
    #video-4:checked~.video-4,
    #video-5:checked~.video-5,
    #video-6:checked~.video-6 {
        width: 100%;
    }

    @keyframes fadeOut {
        0% {
            display: block;
            height: 56vw;
            opacity: 1;
        }

        25% {
            display: block;
            height: 56vw;
            opacity: 1;
        }

        49% {
            display: block;
            height: 56vw;
            opacity: 0;
        }

        50% {
            display: none;
            height: 0;
            opacity: 0;
        }
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
        }

        49% {
            display: none;
            height: 0;
            opacity: 0;
        }

        50% {
            display: block;
            height: 56vw;
            opacity: 0;
        }

        100% {
            display: block;
            height: 56vw;
            opacity: 1;
        }
    }
}

.section-forth {
    height: 100%;
    padding-bottom: 80px;
    box-shadow: 5px 5px 15px #999999;
    position: relative;
}

.section-fifth {
    background-color: var(--primary-bg);
    height: 100%;
}

/* Contatti */
.contacts-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
}

.contact-info {
    width: 40%;
}

.map {
    width: 100%;
    min-height: 505px;
}

.iframe {
    min-height: 500px;
}

.line-2 {
    line-height: 2em;
}

.contacts-text {
    display: flex;
    flex-direction: row;
    padding-top: 15px;
}

.contacts-text>div {
    padding: 12px;
}

.icon {
    width: 30px;
}

.icon-container {
    padding-top: 10px;
}

.text-padding-left {
    padding-left: 20px;
}

.social {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.social-icons {
    height: 60px;
    padding: 30px;
    box-sizing: content-box;
}

.social-icons:first-child {
    padding-left: 0px;
}


footer {
    height: 90px;
    background-color: black;
}

.img-footer {
    height: 30px;
}

.container-footer {
    display: flex;
    justify-content: space-between;
    color: white;
    width: 100%;
    padding: 0px 30px;
    align-items: center;
    height: 100%;
}

label {
    display: block;
    padding-bottom: 10px;
}

.contact-form {
    width: 60%;
}

.form-input {
    height: 50px;
    width: 90%;
    padding: 0 20px;
    font-size: 20px;
}

.send-message-title {
    font-weight: 300;
    text-align: left;
}

.message {
    min-height: 120px;
}

textarea::placeholder {
    padding-top: 10px;
}

.form-input::placeholder {

    font-size: 20px;
    font-weight: 300;
}

.form-input:focus-visible {
    outline-color: #faabe2;
    box-shadow: 0px 0px 10px #faabe2;
}

.btn-form {
    background-color: #faabe2;
    color: white;
    padding: 10px 40px;
    border: 0;
    font-size: 20px;
    text-align: left;
}

.w50 {
    width: 50%;
}

.flex-box {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
}

.text-right {
    text-align: right;
}

/* Message handling */

.message-form {
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999999999999999999999;
    top: 0px;
    left: 0px;
    display: none;
}

.text-red {
    color: red;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 26px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    padding: 0px 15px;
}

.text-green {
    color: green;
    font-family: 'Red Hat Display', sans-serif;
    font-size: 26px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    padding: 0px 15px;
}

.absolute {
    position: absolute;
    height: 100%;
    width: 100%;
}


/* SPINNER LOADER */
.spinner-container {
    width: 100vw;
    height: 100vh;
    background-color:white;
    display: flex;
    justify-content:center;
    align-items:center;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index:99999999999999999999999999999999999999999999;
}

.spinner {
    position: relative;
    width: 24.6px;
    height: 24.6px;
 }
 
 .spinner div {
    width: 100%;
    height: 100%;
    background-color: #faabe2;
    border-radius: 50%;
    animation: spinner-4t3wzl 1.25s infinite backwards;
 }
 
 .spinner div:nth-child(1) {
    animation-delay: 0.15s;
    background-color: rgba(250,171,226,0.9);
 }
 
 .spinner div:nth-child(2) {
    animation-delay: 0.3s;
    background-color: rgba(250,171,226,0.8);
 }
 
 .spinner div:nth-child(3) {
    animation-delay: 0.45s;
    background-color: rgba(250,171,226,0.7);
 }
 
 .spinner div:nth-child(4) {
    animation-delay: 0.6s;
    background-color: rgba(250,171,226,0.6);
 }
 
 .spinner div:nth-child(5) {
    animation-delay: 0.75s;
    background-color: rgba(250,171,226,0.5);
 }

 /* SPINNER LOADER END */
 
 @keyframes spinner-4t3wzl {
    0% {
       transform: rotate(0deg) translateY(-200%);
    }
 
    60%, 100% {
       transform: rotate(360deg) translateY(-200%);
    }
 }

@media screen and (max-width: 1300px) {
    .cv {
        flex-direction: column-reverse;
    }

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

    .section-primary {
        height: 100%;
    }

    .text-center-mobile {
        text-align: justify;
        width: 90%;
    }

    .simo {
        width: 100%;
        display: flex;
        justify-content: center;
        height: 100%;
    }

    .simo:hover {
        left: auto;
    }

    .simo-img {
        width: 70%;
        left: auto;
        min-width: 320px;
        position: unset;
    }

    .simo-img:hover {
        left: auto;
    }

    .cv-text {
        padding-top: 70px;
    }
}


@media screen and (max-width:1000px) {
    .menu-button-container {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 80px;
        left: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle~.menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked~.menu li {
        border: 1px solid #333;
        height: 2.5em;
        padding: 0.5em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu>li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0.5em 0;
        width: 100%;
        color: white;
        background-color: #222;
    }

    .menu>li:not(:last-child) {
        border-bottom: 1px solid #444;
    }

    .back {
        font-weight: 900 !important;
        color: #9fd0ea !important;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
    }

    .audio-item {
        width: 100%;
    }

    .w-60 {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .w-40 {
        display: none;
    }

    .btn {
        height: 100px;
        min-width: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

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

    .map {
        min-height: 400px;
    }

    .contacts-container {
        flex-direction: column;
    }

    .pt-5 {
        padding-top: 50px;
    }

    .contact-form {
        width: 100% !important;
    }

    .send-message-title {
        font-weight: 300;
        text-align: center;
    }

    input {
        width: 100% !important;
    }

    .flex-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .text-mobile {
        text-align: center;
        margin-top: 20px;
        width: 100% !important;
    }


    textarea {
        width: 100% !important;
    }


    .recaptcha {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .bg-img-section {
        background-position-x: 20%;
    }

    .container-footer:first-child {
        font-size: 12px;
    }
}