@font-face { font-family: Hanyi Senty Yongle Encyclopedia Regular; src: url('../fonts/Hanyi Senty Yongle Encyclopedia Regular.ttf'); } 
@font-face { font-family: TW-Kai Regular; src: url('../fonts/TW-Kai Regular.ttf'); } 

html {
    font-family: TW-Kai Regular;
}

/* mobile styles - mobile first */

/* whole page styles */
body {
    font-size: 16px;
    line-height: 21px;
    font-family: TW-Kai Regular, serif;
}

body a {
    text-decoration: none;
    color: black;
}

img {
    max-width: 100%;
}

h1 {
    font-family: TW-Kai Regular;
}

/* header styles */
.my-header {
    border-bottom: 1px solid #FFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.49) 100%);    
    backdrop-filter: blur(12px);
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: top;
    position: fixed;
    z-index: 1;
}

.hbg-language select{
    border: 1px solid #3A3E38;
    background: none;
    border-radius: 2px;
}

.hbg-language {
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo img {
    min-width: 20px;
    max-width: 20px;
}

.my-header a {
    color: #242324;
    font-family: 'Cormorant Garamond', serif;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    
    padding: 9.5px 8px;
}

.new-text {
    font-family: 'Cormorant Garamond', serif;
}

body .content-card .body-text {
    font-size: 15px;
    line-height: 21px;
    text-align: left;
    color: #242324;

    /* max-height: 165px;
    overflow: scroll; */
}

body .content-card .card-sub-title {
    font-size: 22px;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
}

.my-header a:active, .my-header a:hover {
    color: #007DA5;
    padding: 8px 8px;
}

header select:hover {
    
    color: #007DA5;
    border: 1px solid #007DA5;
}

#hamburger img {
    width: 67%;
}

.my-hbg {
    display: none;
}

/* main content styles */
.container {
    max-width: 650px;
    margin: auto;

}

#moreText {
 
    /* Display nothing for the element */
    display: none;
}

#textButton {
    border: none;
    color: #007DA5;
    font-style: italic;
    background: transparent;
}

.scroller {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
  }
  
.scroller section {
    scroll-snap-align: start;
}

.background {
    text-align: center;
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover !important;
    scroll-snap-type: y mandatory;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

.hero-img {
    background: linear-gradient(
        rgba(57, 57, 57, 0.30), 
        rgba(57, 57, 57, 0.30)
      ), url(../images/mountain.jpg);
}

.sub-hero-img {
    background:  linear-gradient(
        rgba(57, 57, 57, 0.30), 
        rgba(57, 57, 57, 0.30)
      ), url(../images/snow_mountain.jpg);
}

.homepage .content-card , .museum-page .museum-card {
    border-radius: 12px;
    border: 1px solid #FFF;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.74) 0.01%, rgba(255, 255, 255, 0.30) 223.95%);
    backdrop-filter: blur(12px);
    display: flex;
    padding: 64px 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    position: relative;
    z-index: 0;
    margin: 32px 32px;
}

.content-card .subtext {
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    color: #2F3736;
    font-family: 'Cormorant Garamond', serif;
}

.content-card .card-title {
    color: #2F3736;
    text-align: center;
    font-size: 80px;
    font-weight: 400;
    font-family: Hanyi Senty Yongle Encyclopedia Regular;
    line-height: normal;
}

.general .content-card , .museum-page .museum-card, .contact-page .content-card {
    gap: 40px;
    padding: 65px 80px;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.80) 211.01%, rgba(255, 255, 255, 0.30) 223.95%);
}

.floating-title {
    font-family: Hanyi Senty Yongle Encyclopedia Regular, serif;
    font-size: 96px;
    text-shadow: 1px 6px 7px #FFF;
    position: absolute;
    z-index: 1;
    bottom: -12px;
}

.banner {
    clear: both;
}


/* bio page */

.bio-img {
    background: linear-gradient(
        rgb(87 87 87 / 10%), 
        rgb(87 87 87 / 10%)
      ), url(../images/flower.png);
      
}

.artist-pic {

    background: url(../images/artist_picture.png);
    position: absolute;
    z-index: 1;
    top: -116px;
    width: 100%;
    height: 166px;
    background-repeat: no-repeat;
    background-position: center;
}

/* artist styles page */

.style-img-1 {
    background: linear-gradient(
        rgb(87 87 87 / 10%), 
        rgb(87 87 87 / 10%)
      ), url(../images/Valley_simple.jpg);
}

.style-img-2 {
    background: linear-gradient(
        rgb(87 87 87 / 10%), 
        rgb(87 87 87 / 10%)
      ), url(../images/bird.jpg);
}

.style-img-3 {
    background: url(../images/lychee.jpg);
}

/* museum page */ 

.museum-page {
    background: url(../images/museum.jpg);
    gap: 15%;
    height: auto;
}

.museum-page .card-title {
    color: white;
    font-family: Hanyi Senty Yongle Encyclopedia Regular;
    font-size: 91px;
}

.museum-page .section-title {
    display: none;
    align-items: flex-end;
    color: white;
    margin-left: 8%;
    gap: 16px;
}

.museum-page .content-card .subtitle {
    color: white;
    margin-bottom: 80px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
}

.museum-page .museum-card {
    border-radius: 0;
    height: -webkit-fill-available;
    margin: 0;
    
    font-family: 'Cormorant Garamond', serif;
}

.museum-page .museum-intro {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.museum-page .intro-title {
    font-size: 26px;
    font-style: italic;
    font-weight: 700;
    color: #3A3E38;
}

.museum-page .book-title {
    color: #3A3E38;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; 
}

.museum-page .book-img {
    width: 120px;
    height: 160px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
} 

.museum-page .book-list {
    display: flex;
    justify-content: space-evenly;
    text-align: left;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.museum-page .book-item {
    width: 31%;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.museum-page .book1 {
    background: url(../images/A-tranquil-heart-in-art.png);
}

.museum-page .book2 {
    background: url(../images/Golden-Wedding-Anniversary-Commemoration.png);
}

.museum-page .book3 {
    background: url(../images/Landscape.png);
}

/* contact page */

.contact-img {
    background:  linear-gradient(
        rgba(57, 57, 57, 0.30), 
        rgba(57, 57, 57, 0.30)
      ), url(../images/bird.jpg);
}

.contact-page .content-card {
    width: 100%;
    height: 35%;
    min-height: 500px;
    margin: 0;
    border-radius: 0;
    bottom: 0;
    padding: 0 40px;
}

.contact-page .contact-title {
    font-size: 26px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 24px;
}

.container .contact-page {
    align-items: end;
}

.contact-page fieldset {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.contact-page .contact-form {
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
}

.contact-page .form-info, .contact-page .column {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.contact-page .column {
    align-items: center;
}

.contact-page .column {
    gap: 24px;
}

.contact-page .form-dropdown, 
.contact-page .form-textarea, 
.contact-page .form-textbox, 
.contact-page .signature-pad-passive, 
.contact-page .signature-wrapper {
    border: none !important;
    border-radius: 6px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.35) !important;
    background-color: transparent;
    width: 300px;
    outline:none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    padding: 5px;
    padding-top: 0;
}

.contact-page .form-textarea:focus, 
.contact-page .form-textbox:focus,
.contact-page .form-textarea:hover, 
.contact-page .form-textbox:hover {
    border: none !important;
    border-radius: 6px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.35) !important;
    background-color: transparent;
    width: 300px;
    outline:none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    padding: 5px;
    padding-top: 0;
    box-shadow: none !important;
}


.contact-page .form-info input:active, 
.contact-page .form-info input:focus, 
.contact-page .form-info textarea:active,
.contact-page .form-info textarea:focus {
    border: none;
    border-radius: 6px;
    border-bottom: 2px solid #007DA5;
    background-color: transparent;
    width: 300px;
    outline:none;
    
}

.contact-page .form-info input:active + label, 
.contact-page .form-info input:focus + label, 
.contact-page .form-info textarea:active + label,
.contact-page .form-info textarea:focus + label {
    color: #007DA5;
    
}

#submit-btn {
    border-radius: 3px;
    border: 1px solid #3A3E38;
    padding: 4px 15px;
    color: #3A3E38;
}

#submit-btn:hover {
    border-radius: 3px;
    border: 1px solid #3A3E38;
    padding: 4px 15px;
    color: white;
    background: #3A3E38;
}

.form-section .form-sub-label {
    display: none ;
}

.form-section .form-line {
    margin-top: 0 ;
    margin-bottom: 0;
    padding: 8px 0;
}

.form-section .form-all {
    margin: 0;
}

.form-section .form-label {
    text-align: left;
    margin-left: 0;
}

.contact-form .form-all {
    box-shadow: none;
    background-color: transparent;
    max-width: 420px;
}

.contact-form  .form-buttons-wrapper, .contact-form  .form-submit-clear-wrapper {
    padding: 0;
    margin: 0;
    margin-top: 16px;
}

.formFooter {
    display: none !important;
}

.contact-form .form-label-top {
    margin-bottom: 0px;
}

.contact-form .form-textbox {
    height: 32px;
}

.contact-form .jf-form-buttons {
    height: 32px;
    min-width: 80px;
}

.scroll-down {
    display: none;
    align-items: flex-end;
    height: 100vh;
    padding-bottom: 95px;
}


/* footer styles */

body .my-footer {
    bottom: 0;
    border-bottom: none;
    border-top: 1px solid #FFF;
}


.homepage .sub-card {
    min-width: 160px;
    position: relative;
    gap: 40px;
  }

/* desktop styles */
@media only screen and (min-width: 650px) {

    .hbg-language {
        position: absolute;
        top: 0;
        right: 10px;
        width: max-content;
    }
    .container {
        max-width: 100%;
    }

    /* header styles */
    .my-header {
        display: flex;
        flex-direction: row;
        position: fixed;
        height: 40px;
        align-content: space-evenly;
        align-items: center;
    }

    header .list {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .my-header a:active, .my-header a:hover {
        border-top: 3px solid #007DA5;
    }
    

    /* navigation bar */


    .list ul{
        display: flex;
        justify-content: space-around;
    }

    .scroll-down {
        display: flex;
    }


    /* main content styles */
    main {
        text-align: center;
    }

    .homepage .first {
        max-width: 44%;
        left: 4%;
    }
    
    .homepage .second {
        max-width: 44%;
        left: 9%;
    }

    #hamburger img{
        display: none;
    }

    .background {
        justify-content: normal;
    }

    .container .style-img-2 {
        justify-content: right;
    }

    .container .style-img-3 {
        align-items: start;
    }

    .artist-pic {
        width: 305px;
        height: 166px;
        top: -24%;
        left: -12%;
    }

    .floating-title {
        writing-mode: vertical-lr;
        bottom: -25%;
        right: -2%;
    }

    .museum-page .section-title {
        display: flex;
    }
    
    .museum-page {
        height: 100vh;
    }

    .museum-page .book-list {
        flex-direction: row;
        align-items: start;
        gap: 24px;
    }
    
    .homepage .sub-card {
        width: 400px;
    }

    .style-img-1 .first {
        left: 0;
        margin: 0;
        border-radius: 0 12px 12px 0;
        width: 380px;
        padding: 60px 85px;
    }

    
    .style-img-1 .floating-title {
        bottom: -42%;
        right: -1%;
    }

    .style-img-2 .second {
        left: 0;
        margin: 0;
        border-radius: 12px 0 0 12px ;
        width: 380px;
        padding: 60px 85px;
    }

    .style-img-2 .floating-title {
        left: -2%;    
        bottom: -45%;
    }

    .style-img-3 .third {
        left: 0;
        margin: 0;
        top: 0;
        border-radius: 0 12px 12px 0;
        width: 380px;
        padding: 60px 85px;
    }

    .style-img-3 .floating-title {
        bottom: -53%;
        right: -1%;
    }


    /* footer styles */
    .footer-info {
        text-align: left;
    }

    #back-to-top {
        display: none;
    }
}