/* 
    styles for Susan Eischeid's website
    Created on : July 24, 2023
    Author     : peterwooster
*/

@font-face {
    font-family: Phosphate;
    src: url("/assets/fonts/phosphatepro-solid.otf") format("opentype");
    src: url("/assets/fonts/phosphate-solid.ttf") format("truetype");
}

body {
    font-family: sans-serif;
    font-weight:400;
    color:#0f0e0b;
    background-color:white;
    font-size: 20px;
    margin:0;
}

h1, h2 {
    font-family: Phosphate;
    font-style:normal;
    font-weight:400;
    color:#e81c23;
    font-size: 32px;
    margin: .25em 0 .1em 0;
    text-align:center;
    letter-spacing: .125em;
}
h2{
    font-size:24px;
}



a {
    color:inherit;
}

.emphatic {
    color:#e81c23;
}

img {
    width:100%;
    height: auto;
    line-height: 0;
}

p.intro {
    font-weight:600;
    line-height: 1.2;
    font-style: italic;
    margin-top:0;
}

#home p {
    text-align:center;
    font-weight:400;
    line-height:1.4;
    font-style:normal;
    color:#121212;
    font-size: 1em;
}

.background{
    position: fixed;
    background-image: url(/assets/images/BackgroundMobile.jpg);
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: 50% 75%;
}

header {
    position:fixed;
    z-index:20;
    width:100%;
}

.main-header {
    display:flex;
    justify-content: space-between;
    font-size: 14px;
    color: #e0dfd1;
    color: #eeb945;
    text-transform: uppercase;
    background-color: rgba(17,36,8,.75);
    align-items:flex-end;
}

.main-header .navigation {
    padding: .5em 1em 0 0;
}

footer.colophon {
    position:fixed;
    background-color: transparent;
    z-index:20;
    width:100%;
    bottom:0;
}

footer.colophon .legal {
    color: #e0dfd1;
    background-color: rgba(17,36,8,.75);
    font-size: 11px;
    text-align: center;
    -webkit-text-size-adjust: none;
}

.social {
    text-align: right;
    margin-right:5px;
    margin-bottom: 5px;
}

.social a {
    padding:0 10px;
    display:inline-block;
}

.social a:last-of-type{
    padding-right: 5px;
}

.social img {
    width:40px;
}

.brand-info {
    display:block;
}

.logo {
    width:100%;
    max-width:250px;
    padding: 10px 10px;
}

nav#main-navigation {
    display: none;
}

nav#main-navigation.toggled-on {
    display:block;
    position:absolute;
}

nav#main-navigation ul {
    list-style: none;
    padding:0 .5em;
    margin-block-start:0;
    position:relative;
    right:98px;
    background-color: rgba(17,36,8,.75);
}

nav#main-navigation ul li{
    padding:.5em;
}

#burger {
    display: block;
    text-align:left;
    margin:0 0 10px auto;
    width:30px;
}

nav#main-navigation ul li{
    padding-right:.5em;
}

nav#main-navigation ul li:last-of-type{
    padding-right:0;
}

nav#main-navigation a {
    text-decoration: none;
}

.left, .right {
    width:90%;
    margin:0 auto;
}

#home .left,
#home .right{
    display:block;
    width:80%;
    margin: 1em 10%;
}

#home .right{
    overflow-y: hidden;
    background-color:rgba(255,255,255,.75);
}


section {
    padding-top:32px;
    position:relative;
}

section.tight .page {
    margin:0;
    display:flex;
}

#home .right p {
    text-align: center;
    margin:1em;
}

.left img {
    display:block;
}

.book {
    display:flex;
}

#home .mld-book {
    position: relative;
} 


#home .mld-book p.image-credit{
    font-size:11px;
    color: #e0dfd1;
    text-align:left;
    line-height: 1;
    margin-top:1px;
}

#home .mld-book p.image-credit .not-mobile{
    display:none;
}

.to-order {
    width:75%;
    margin:1em auto 0;
    display: flex;
    justify-content: space-between;
    align-items:center;
}

.to-order .book-seller{
    width:38%;
}
.to-order .barnesnoble{
    width:42%;
}

.to-order .kensington {
    width:10%;
}

.to-order .amazon {
    width:30%;
    margin-bottom: -5%;
}

.page.wide {
    width:100%;
    max-width:100%;
    background-color: rgba(255,255,255,.75);
}



.columns {
    display:flex;
}

.column {
    margin-right:1.5em;
}

#contact .page {
    margin-bottom: 4em;
}

#contact .content {
    display:block;
    max-width:566px;
    margin:0 auto 0 0;
}

#contact h1{
    margin:0;
}
#contact h2 {
    max-width: 500px;
}

form.dvd-form label {
    display:block;
    font-size:20px;
    margin-bottom:.25em;
}

form.dvd-form .field {
    margin-top:.75em;
    margin-bottom: 1em;
    max-width:400px;
}

#contact p {
    color: white;
    text-shadow: 0 0 2px black; 
}

form.dvd-form input,
form.dvd-form textarea {
    font-size: 18px;
    font-family: inherit;
    background-color: rgba(243,239,205, .85);
    color: #0f0e0b;
    display: block;
    width:100%;
    max-width: 500px;
    height:2em;
    border:none;
}

form.dvd-form textarea {
    height:200px;
}

form.dvd-form .send {
    width: auto;
    background-color:white;
    font-size: 18px;
    padding: 3px 20px;
    line-height: 1;
    border:none;
    border-radius: 0;
    color:#0f0e0b;
}

#contact {
    color: #e0dfd1;
}

article {
    padding:0 1.5em;
}

.media {
    display: none;
}

.page {
    position:relative;
    max-width:90%;
    z-index:10;
    margin: 1em auto 2em auto;
    overflow:hidden;
}

.content {
    display:block;
    overflow:hidden;
}

#home .content {
    overflow: visible;
}



#music .content,
#about .content {
    display:block;
    background-color:rgba(255,255,255,.75);
    margin:1em 0;
    width:100%;
}


#about p {
    margin:1em;
}


img.pre-order {
    width:75%;
    display:block;
    margin:0 auto;
}

#publications h2 {
    text-align:left;
}

#publications .mobile{
    display:block;
}

#publications .desktop{
    display:none;
}

#publications .content{
    margin: 0 1em;
}

#music .mystic-chords {
    display:table;
    padding:0 .5em .5em 0;
    margin-left: .5em;
    line-height: 0;
}

#music p {
    padding: 0 .5em;
    text-align: center;
}
    
 
.link-to-music {
    color:#e81c23;
    font-weight:600;
}

.hide {
    display:none;
}

#testimonials .more-button {
    border:none;
    border-radius: 0;
}

#music .susan {
    line-height: 0;
    width:90%;
    max-width:150px;
    margin:1em auto;
}

form .hp.form-field {
    background-color:#ccccff;
    color:red;
    position:absolute;
    left:-1000px;
    width:10px;
}

form .error,
.banner.error{
    background-color: red;
    color:white;
}
.banner.info {
    background-color: #00c000;
    color:white;
}
.banner {
    width:100%;
    padding:3px 0;
    margin:0;
    text-align: center;
    color: white;
    display:flex;
    justify-content: space-between;
    align-items:center;
}

.banner span {
    padding: 0 10px;
}
.banner .close {
    width: 20px;
    margin:0 20px;
}

/* large mobile, tablet and desktop */
@media screen and (min-width: 640px ){
    #music .susan {
        float:left;
        line-height: 0;
        width:33%;
        max-width:200px;
        margin:1em;
    }

    #about .susan {
        width:50%;
        float:left;
        line-height: 0;
        margin-right:1em;
    }

    #publications .content{
        width:90%;
        margin:1em auto;
        display:block;
    }
    
    #publications .right-cover {
        width:50%;
        max-width:400px;
        float:right;
        line-height:0;
        margin-left:1em;
        margin-top:1em;
    }
    #publications .mobile{
        display:none;
    }

    #publications .desktop{
        display:block;
    }
    
    #music .content{
        display:block;
    }
   
    #music p:first-child{
        margin-top:5px;
    }
}

@media screen and (min-width: 768px ){
    #home .mld-book p.image-credit{
        position: absolute;
        bottom:-44px;
        left:-28px;
        transform:rotate(-90deg);
        transform-origin: 0 0;
        width:150%;
        text-shadow: 0 0 2px black; 
        font-size:.6em;
        color: #e0dfd1;
        text-align:left;
        line-height: 1;
        padding-bottom: 8px;
    }
    #home .mld-book p.image-credit .not-mobile{
        display:inline;
    }

    
    
    
    .background {
        background-image: url(/assets/images/BackgroundDesktop.jpg);
    }
    
    img.pre-order{
        width:75%;
    }

    .content {
        width:90%;
        max-width: 1200px;
        margin: 1em auto;
        display:flex;
        align-items: stretch;
        justify-content: center;
    }

    #music .content {
        width:90%;
        max-width: 1200px;
        margin: 1em auto;
        display:block;
    }
    
    #music .mystic-chords {
        width:45%;
        margin:.5em;
    }
    
    
    #testimonials .right {
       display:block;
       margin-left:0;
    }
    
    
    .left, .right {
        width:50%;
    }
    
    .left {
        padding-right:10px;
    } 

    .right {
        padding-left:10px;
    } 
    
    
    
    .right hr:first-child {
        display:none;
    }
    
    #home .left{
        width:60%;
        margin: 1em 0;
        padding-right:0;
    }
    #home .right{
        width:40%;
        margin:1em 0 1em 0;
        padding:0 1em 
    }
    #home p {
        font-size:.9em;
    }

    #about .content{
        width:100%;
    }
    

    
    footer.colophon .legal {
        display:flex;
        justify-content: space-between;
        color: #e0dfd1;
        text-transform: uppercase;
        background-color: rgba(17,36,8,.75);
        bottom:0;
        padding:5px 0;
    }

    footer.colophon .legal>div {
        padding: .5em 1em;
    }
}

@media screen and (min-width: 820px ){
    #home p {
        font-size:.95em;
    }
}
@media screen and (min-width: 1024px ){
    nav#main-navigation.toggled-on,
    nav#main-navigation {
        display:block;
        position:relative;
    }

    nav#main-navigation ul {
        display:flex;
        padding: 0 .5em;
        margin-bottom:.25em;
        right:0;
        background-color: transparent;
    }
    nav#main-navigation ul li{
        padding-right:1em;
    }

    #burger {
        display:none;
    }

    .main-header .navigation {
        padding: .25em 1em .1em 1em;
        font-size:16px;
    }

    nav#main-navigation ul li{
        padding-right:2.5em;
    }

    #home p {
        font-size:1.15em;
    }
    #home .left{
        width:50%;
    }
    #home .right{
        width:50%;
    }
    
    #about .susan {
        width:44%;
        max-width:600px;
    }
}

@media screen and (min-width: 1200px ){
    #about .susan {
        width:33%;
   }
}

