/* General setup */

* {
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    color: #6f6f6f;
    font-family: 'Open-Sans', Arial, Helvetica, sans-serif;
    font-weight: 400;
}

h1, h2 {
    font-family: 'Cinzel'; 
}

.web-body {
    transition: visibility 0.2s linear,opacity 0.2s linear;
    visibility: visible;
    opacity: 1;
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.no-display, section {
    display: none;
}

.container {
    width: 90%;
    margin: auto;
}

/* Nav bar */

.header-wrapper {
    position: absolute;
    background-color: white;
    width: 100%;
    opacity: 1;
    z-index: 1;
}

header {
    position: relative;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation-mobile {
    flex-direction: column;
    align-items: start;
}

.title-flex {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.web-title {
    flex-shrink: 0;
}

.web-title div {
    font-family: 'Cinzel';
    text-align: center;
}

.web-title h2 {
    font-size: 1.15rem;
}

@media only screen and (max-width: 380px) {
    .web-title h1 {
        font-size: 1.5rem;
    }
    .web-title h2 { 
        font-size: 0.9rem; 
    }
}

.hidden-placeholder-header {
    width: 2rem;
}

nav {
    display: flex;
    height: auto;
}

.collapsible {
    transition: all 0.3s ease;
    transform-origin: top;
}

nav div a {
    display: inline-block;
    padding: 1rem;
    font-size: 0.85rem;
}

nav div {
    position: relative;
}

.flatten {
    transform: scaleY(0);
    transform-origin: top;
    height: 0px;
}

hr {
    border: 0.5px solid rgba(57,57,57, 0.2); 
}

.upper-line, .lower-line {
    position: absolute;
    width: 50%;
    transition: all 0.3s ease-in-out;
}

.upper-line {
    top: 0%;
    left: 25%;
}

.lower-line {
    margin-left: 2px;
    transform: translateX(-100%);
    top: 100%;
    left: 75%;
}

nav div:hover .upper-line, nav div:hover .lower-line {
    transform-origin: left;
    transform: rotate(90deg);
    width: 17px;
    top: 17px;
}

nav div:hover .upper-line {
    left: 0%;
}

nav div:hover .lower-line {
    left: 100%;
}

.hamburger, .cross {
    cursor: pointer;
    font-size: 2rem;
    width: 2rem;
    padding: 1rem;
}

/* Web pages */

.visible-section {
    display: block;
}

section h1 {
    font-size: 1.75rem;
}

section h2 {
    font-family: 'Open-Sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
}

.subtitle {
    padding: 3rem;
    text-align: center;
    font-size: 2rem;
}

.text-link {
    color: #2867B2;
    font-weight: 700;
}

.link-wrapper {
    position: relative;
    display: inline-block;
}

.text-link::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2867B2;
    opacity: 0;
    -webkit-transform: translate(0px, -5px);
    transform: translate(0px, -5px);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0.3s;
}

.text-link:hover:before {
    opacity: 1;
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
}

/* HOME PAGE */

.main-image, .subpage-image  {
    height: 100vh;
    width: 100%;
    background: fixed;
    background-size: cover;
}

.home-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/abstract-2178720_1920.jpg");
    background-position: center 30%;
    display: flex;
}

.subpage-image {
    height: 50vh;
}

.about-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/lorenzo-spoleti-489606-cropped-min.jpg");
    background-position: center 30%;
    display: flex;
}

.accompanying-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/piano-2924634_1920.jpg");
    background-position: center 70%;
    display: flex;
}

.teaching-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/piano-1655558_1920.jpg");
    background-position: center 70%;
    display: flex;
}

.performance-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/peter-lewicki-411599-min.jpg");
    background-position: center 80%;
    display: flex;
}

.testimonials-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/theatre-2601686_1920-cropped.jpg");
    background-position: center 30%;
    display: flex;
}

.gallery-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/violin-2946994_1920-min.jpg");
    background-position: center 30%;
    display: flex;
}

.recording-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/piano-in-concert-hall.jpg");
    background-position: center 100%;
    display: flex;
}

.contact-header-image {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("../images/jordan-mixson-372435-min-cropped.jpg");
    background-position: center 100%;
    display: flex;
}

.main-image div {
    font-size: 1rem;
    color: #c9c9c9;
    text-align: center;
}

.subpage-image h2 {
    font-family: 'Cinzel';
    font-size: 3rem;
    color: #c9c9c9;
    text-align: center;
    padding-top: 8rem;
    text-transform: uppercase;
    font-weight: 400;
}

@media only screen and (max-width: 650px) {
    .subpage-image h2 {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 400px) {
    .subpage-image h2 {
        font-size: 1.5rem;
    }
}

.summary {
    width: 60%;
    margin: auto;
}

/* NEWS */

.news {
    background-color: rgb(218, 218, 218);
    padding-bottom: 3rem;
}

.news-container {
    width: 80%;
    margin: auto;
    display: flex;
    flex-flow: column wrap;
    align-content: space-between;
    height: auto;
}

.news-card-wrapper {
    width: 33%;
}

.news-card-wrapper:nth-child(3n+1) { order: 1 }
.news-card-wrapper:nth-child(3n+2) { order: 2 }
.news-card-wrapper:nth-child(3n) { order: 3 }

@media only screen and (max-width: 770px) {
    .news-container {
        width: 90%;
    }
}

@media only screen and (max-width: 600px) {
    .news-card-wrapper:nth-child(3n+1) { order: unset }
    .news-card-wrapper:nth-child(3n+2) { order: unset }
    .news-card-wrapper:nth-child(3n) { order: unset }
    .news-container {
        flex-flow: column;
    }
    .news-card-wrapper {
        width: 100%;
    }
}

#auto-news-container-height {
    height: auto;
}

.news-container::before, .news-container::after {
    content: "";
    flex-basis: 100%;
    width: 0;
    order: 2;
}

.news-card {
    margin: 0.5rem;
    background-color: white;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.75);
}

.news-image {
    width: 100%;
    border-radius: inherit;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
}

.news-title, .news-date, .news-body {
    padding: 0.5rem;
}

.news-title {
    font-weight: 700;
}

.news-date {
    text-align: end;
    font-style: italic;
}

/* TESTIMONIALS */

.carousel-gallery {
    height: 100px;
}

.gallery-cell {
  width: 100%;
  height: 100%;
  margin-right: 10px;
  background: #595959;
  border-radius: 5px;
}

.gallery-cell:before {
  display: block;
  text-align: center;
}

.testimonial {
    width: 70%;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review, .reviewer {
    color: #e6e6e6;
    align-self: center;
    margin: 2rem 0;   
}

.review {
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

/* TEXT */

.profile-image {
    max-height: 75vh;
    max-width: 80%;
    padding-top: 10vh;
}


.page-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
    margin: 50px auto;
}

.page-column-item {
    flex-basis: 50%;
    
}

.summary-item {
    flex-basis: 70%;
}

@media only screen and (max-width: 770px) {
    .page-column-item {
        flex-basis: auto;
    }

    .media-image {
        width: 100%;
    }

    .summary-item {
        flex-basis: 90%;
    }
}

.page-row h2, .table-header {
    margin: 2rem 0rem;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.page-row p, .page-row div, .news-body {
    line-height: 2rem;
}

.page-row p  {
    text-align: left;
}

.news-title {
    font-weight: 700;
}

.page-row .news-date {
    text-align: left;
    margin: 2rem 0 0 1rem;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
b {
    font-family: 'Open-Sans-Bold';
}

/* PERFORMANCES */

.table {
    display: flex;
}

@media only screen and (max-width: 770px) {
    .table {
        flex-direction: column;
    }
}

.table:nth-of-type(even), .recordings-row:nth-of-type(odd) {
    background-color: #f0f0f0;
}

.table-header, .table-item {
    flex-basis: 25%;
}

.table-item {
    text-align: center;
    padding: 2rem 0;
    align-self: center;

}

/* GALLERY */

.gallery-container {
    margin: 30px;
    display: flex;
    flex-wrap: wrap;
}

.gallery-image {
    width: 33%;
    height: 20vw;
    overflow: hidden;
    background-color: #000000;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .gallery-image {
        width: 100%;
        height: 40vw;
    }
}

.gallery-image img {
    opacity: 0.6;
    width: 100%;
    transform: scale(1.30);
    height: auto;
    transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
}

.gallery-image img:hover {
    opacity: 1;
    height: auto;
    transform: scale(1.20);
}

.focus-image-background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s linear,opacity 0.2s linear;
    cursor: pointer;
    z-index: 2;
}

.focus-image-background img {
    position: absolute;
    max-height: 100%;
    max-width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* RECORDINGS */

.video-item {
    flex-basis: 33%;
}

.video-item h2 {
    height: 5rem;
}

@media only screen and (max-width: 1000px) {
    .video-item {
        flex-basis: auto;
    }
}

.youtube {
    background-color: #000;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
    margin: 2rem;
}
.youtube img {
    width: 100%;
    top: -16.84%;
    left: 0;
    opacity: 0.7;
}
.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    box-shadow: 0 0 30px rgba( 0,0,0,0.6 );
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
    cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.recordings-row {
    padding-bottom: 3rem;
}

/* TESTIMONIAL */

.testimonial-review, .testimonial-reviewer {
    margin: 0rem 2rem;
}
.testimonial-review {
    font-style: italic;
}

.testimonial-reviewer {
    text-align: right;
    margin-bottom: 3rem;
}

/* CONTACT */

form {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 60%;
}

.form-input {
    width: 100%;
    position: relative;
}

input:focus ~ .floating-label,
input:not(:focus):valid ~ .floating-label,
textarea:focus ~ .floating-label,
textarea:not(:focus):valid ~ .floating-label {
  top: -15px;
  bottom: 10px;
  left: 20px;
  font-size: 0.75rem;
  opacity: 1;
  background-color: white;
  outline: none;
}

.inputText {
  font-size: 1rem;
}

.floating-label {
  position: absolute;
  pointer-events: none;
  left: 20px;
  top: 5px;
  transition: 0.2s ease all;
  height: 1.5rem;
  padding: 0px 3px;
}


@media only screen and (max-width: 770px) {
    form {
        width: 90%;
    }
}

input, textarea, .g-recaptcha {
    border-radius: 5px;
    margin-bottom: 20px;
}

input, textarea {
    border: solid 1px #f0f0f0;
    padding: 10px;
    width: 100%;
}

textarea:focus, .textInput:focus {
    outline: 0;
    border: solid 1px #2867B2;
}

.form-submit, .form-submit:after {
    width: 60%;
    margin: auto;
    color: #2867B2;
    border: 2px solid #2867B2;
    transition: all 0.3s linear;
}

.form-submit:hover {  
    background-color: #2867B2;
    border: 2px solid #2867B2;
    color: white;
}

.form-submit:active {
    transition: none;
    color: white;
    border: 2px solid #1e4a81;
    background-color: #1e4a81;
}

.feedback-section {
    position: relative;
    height: 2rem;
    transition: all 1s ease-in-out;
}

.alert {
    color: white;
    padding: 0.5rem;
    width: 90%;
    border-radius: 6px;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.alert-success {
    background-color: #4caf50;
}

.alert-fail {
    background-color: #f44336;
}

.alert-warn {
    background-color: #ffbf00;
}

.alert i {
    float: left;
    color: white;
}

.transparent {
    opacity: 0;
    transform: translateY(3rem);
}

/* FOOTER */

footer {
    /* margin-top: 3rem; */
    background-color: #222222;
    padding: 3rem 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (max-width: 600px) {
    footer .container {
        flex-direction: column;
    }
    .footer-central {
        margin-bottom: 1.5rem;
    }

    .text-body-container {
        width: 90%;
    }
}

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

.hidden-placeholder-footer {
    width: 80px;
}

footer div {
    color: #c0c0c0;
    font-size: 1rem;
}

.social-media-links {
    margin-bottom: 1rem;
}

.social-media-links i {
    font-size: 1.25rem;
    padding: 0 1rem;
    color: white;
    transition: color 0.3s linear;
}

.fa-facebook:hover {
    color: #3b5998 ;
}

.fa-instagram:hover {
    color: #fcaf45;
}

.fa-twitter:hover {
    color: #1DA1F2;
}

.fa-youtube:hover {
    color: #FF0000;
}

.fa-linkedin:hover {
    color: #2867B2;
}
