* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    height: 100vh;
    
    scroll-snap-type: y proximity;
}

body {
    margin: 0;
/*    font-family: system-ui;*/
    background-color:#222a25;
    width: 100%;
}

.container {
    width: 80%;
    min-width: 780px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ////////////////////nav bar style/////////////////////// */
/*
#hamburger {
    position:fixed;
    top: 15px;
    right: 20px;
    z-index: 100;
}

nav.open{
    opacity: 1;
}
*/
.my-button {
    background-image: url(../images/hamburgerMenu.png);
    background-color: transparent;
    border: 10px;
    color: black;
    cursor: pointer;
/*    margin-left: 32px;*/
/*    float: left;*/
    line-height: 70px;
    display: none;
    height: 30px;
    width: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    position:fixed;
    top: 28px;
    right: 20px;
}

.my-button:hover {
    
}

.my-button:focus {
    outline:none;
}

header h4 {
    display: flex;
    justify-content: center;
    align-items: center;
}


header {
    background: rgba(0,0,0, 0.9);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
/*    padding: 10px;*/
    z-index: 5;
    border-bottom: solid 2px rgba(255, 182, 193, 0.8);
    display: flex;
    justify-content: space-between;
    padding: 0 13%;
}

nav ul {
    list-style: none;
    margin: 0 auto;
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 60px;
    padding-top: 25px;
}

nav ul a {
    display: block;
    padding: 10px;
    text-decoration: none;
    margin: 10px 0;
    text-decoration: none;
    color: #bcb6a6;
     font-family: "Cinzel Decorative", serif;
    font-weight: 600;
    
}

nav li {
    margin: 0 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a:hover { color: #fff;}
nav a:active { color: darkseagreen; }

footer {
    background: black;
    color: #bcb6a6;
    padding: 25px;
    text-align: center;
    font-size: 12px;
    clear:both;
    font-family: "Cinzel Decorative", serif;
}


/* ////////////////////Section1 home/////////////////////// */

audio {
    position: fixed;
    z-index: 3;
    right: 0;
    bottom: 0px;
}


#section1 {
    text-align: center;
    position: relative;
/*    background: linear-gradient(#000, #222a25);*/
    Background-position: 30% top;
     background-image: url("../images/pinkheader.jpg");
    background-size: cover;
    max-height: 100vh;
}

#section1 h1{
    margin: 0;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-style: normal;
    font-size: 10em;
    margin-bottom: 0;
    letter-spacing: 2px;
/*    color: #e1c99b;*/
        color: rgba(0,0,0, 0.9);
    text-shadow: 3px 3px 5px #FFB6C1;
    line-height: 1.1em;
    padding-bottom: 0;
    padding-top: 50px;
    transition: all 0.2s ease-in-out;
    
    animation: fadeAndMove 2s ease-in-out;
}

@keyframes fadeAndMove {
        0% {opacity: 0; }
        100% {opacity: 1;}
        
    from {
        transform: translateY(30vh);
    }
    
    to {
        transform: translateY(0.1vh);
    }
}

#section1 p{
    font-size: 1.8em;
    font-family: "Cinzel Decorative", serif;
    margin: 0;
    color: white;
    width: 65%;
    text-align: center;
    padding: 0;
    text-shadow: 3px 3px 5px #FFB6C1;
    animation: fadeAndMove 3.5s ease-in-out;
}

#section1 span {
    display: block;
/*    text-align: left;*/
}

/*
#section1 img {
    position: absolute;
    width: 600px;
    top: 200px;
    right: 280px;
    z-index: 1; 
}
*/

/* ////////////////////sec2 Book/////////////////////// */
#section2{
    padding-top: 120px;
}

#intro p, #author p {
    font-family: Lato, sans-serif;
    font-size: 1.08em;
    color: 	#9f9f9f;
    font-weight: 100;
    letter-spacing: 0.7px;
    background: none;
    padding: 1px;
    text-align:justify;
    z-index: 1;
    margin: 0 0 10px 0;
}

.mainPage h3, #section2 .tag, #author h3 {
    color: #bcb6a6;
     font-family: "Cinzel Decorative", serif;
}

#intro, #author {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 30px 0 0 0;
    padding-top: 30px;
}

#intro h3, #author h3 {
    margin-top: 0;
}

#intro .homeimg {
    width: 350px;
    margin-left: 0;
    padding-left: 0;
    transition: all 0.15s ease-out;
}

#intro .mainPage, #author .mainpage {
    border-bottom: none;
    padding-right: 2rem;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

#intro .homeimg:hover {
    width: 365px;
    box-shadow: 0 0 15px #000;
}


.signed {
    background-color: #bcb6a6;
    border: none;
    color: black;
    padding: 13px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 18px;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size: 1em;
    margin: 0 auto;
    letter-spacing: 1px;
    transition: all 0.10s ease-out;
}

.signed:hover {
    background-image: linear-gradient(to bottom right, lightgray, #FFB6C1);
/*    font-size: 1.1em;*/
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.butContainer {
    width: 100%;
    padding-top: 3em;
    margin-bottom: 0;
    padding-bottom: 0;
}

/*
#section4 img{
    height: 100px;
    width: 200px;
    border-radius: 150px 150px 0 0;
}
*/


/* ////////////////////sec3 Author/////////////////////// */
.placeContainer {
    height: 12vh;
/*    background: linear-gradient(to bottom right, #333, #FFB6C1);*/
    background: rgba(0,0,0, 0.3);
    width: 98vw;
    justify-content: space-evenly;
    align-items: center;
    display: flex;
    overflow-y: hidden;
    padding: 0 5em;
    margin-top: 0;
    overflow-x: hidden;
    margin: 0;
}

.kindle {
    height: 32px;
}

.walmart {
    height: 35px;
}

.target {
    height: 22px;
}

.barnes {
    height: 30px;
}

.google {
    height: 28px;
}

h2 {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    color: #bcb6a6;
    font-size: 2.5em;
    padding-bottom: 20px;
}

#section3 {
     transition: all 0.15s ease-out;
}

.cardsRow:hover {
    /**move up animation w shadow**/
}

.card img {
    border-radius: 50%;
    background-color: black;
    width: 100px;
    height: 100px;
    position: absolute;
    top: -50px;
    left: 33%;
}

.cardColumn {
    float: left;
    width: 33.33%;
    padding: 0 15px;
    
}

/* Remove extra left and right margins, due to padding in columns */
.cardsRow {
    margin: 0 -5px;
    width: 100%;
}

.card p:first-child {
    color: #bcb6a6;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size: 1.2em;
    
}

/* Clear floats after the columns */
.quote {
    padding-top: 30px;
    padding-bottom: 0;
    font-family: Lato, sans-serif;
    font-size: 1.08em;
    color: 	#9f9f9f;
    font-weight: 100;
}

.quotation {
    font-size: 100px;
    margin: 0 auto;
    padding-bottom: 0;
    color: #e1c99b;
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    position: absolute;
    top: 28%;
    left: 43%;
}

.card p:last-child {
    padding-top: 50px;
    padding-bottom: 20px;
    margin-top: 0;
/*    border-bottom: solid 1px #e1c99b;*/
    width: 80%;
    margin: 0 auto;
    color: #9f9f9f;
}

.cardsRow:after {
    content: '';
    display: table;
    clear: both;
}

/* Style the counter cards */
.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
  padding: 16px;
  text-align: center;
    background-image: linear-gradient(to bottom right, #222a30 10%, #000 70%, #C68D93);
    box-shadow: 1px 1px 10px rgba(0,0,0, 0.5);
    height: 50vh;
    position: relative;
    border-radius: 5%;
}

/* Remove extra left and right margins, due to padding in columns */
#contactContainer p{
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    padding-top: 30px;
    color: #e1c99b;
    padding-bottom: 20px;
}

#contactContainer img {
    height: 18px;
    padding-right: 20px;
}

.mainPage span {
    color: #fff;
}

.mainPage span:hover {
    cursor: pointer;
    color: #e1c99b;
}

.homeimg2 {
    width: 300px;
}

section {
    min-height: 100vh;
    background-size: cover;
    padding: 6vw 3vw;
/*    padding-top: calc(8vw + 60px);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    scroll-snap-align: center;
}


h1 {
    font-size: 4vw;
    margin: 0 0 3vw 0;
}

@media screen and (max-width: 960px){
    #section1 h1{
    font-size: 7em;
    }

    #section1 p{
        font-size: 1.5em;
    }

    #section1 span {
        display: block;
    /*    text-align: left;*/
    }
    
    .container {
    width: 100%;
    min-width: 780px;
    max-width: 1280px;
    margin: 0 auto;
}
}

/* Responsive columns - one column layout (vertical) on small screens */
@media screen and (max-width: 660px) {
        #section1 h1{
        font-size: 5em;
        letter-spacing: 1px;
        line-height: 1.1em;
    }

    #section1 p{
        font-size: 1.4em;
    }
    
    #section1, #section2, #section4, #section3 {
        width: 100vw;
    }
    
  .cardColumn {
        width: 100%;
        display: block;
        margin-bottom: 20px;
  }
    
    .card {
        text-align: center;
        width: 80vw;
        margin-bottom: 50px;
    }
    .card img {
        position: absolute;
        top: -50px;
        left: 35%;
    }
    
    audio {
    bottom: 2px;
        width: 100px;
}
    
    .placeContainer {
    height: 22vh;
/*    background: linear-gradient(to bottom right, #333, #FFB6C1);*/
    background: rgba(0,0,0, 0.3);
    width: 98vw;
    justify-content: space-evenly;
    align-items;
    display: block;
    overflow-y: hidden;
    padding: 0 5em;
    margin-top: 0;
    overflow-x: hidden;
    margin: 0;
        
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
   
}
    .placeContainer img:last-of-type, .placeContainer img:nth-child(4){
        float: left;
        position: relative;
        left: 40%;
        padding-bottom: 0px;
    }

    
}

@media screen and (max-width: 776px) {
    #intro, #author {
    width: 100%;
    display: flex;
    flex-direction: column;
}
    
    #intro .homeimg, #author .homeimg2 {
    max-width: 300px;
    margin: 0 auto;
}

    #intro .mainPage, #author .mainpage {
    width: 100%;
    display: flex;
    flex-direction: column;
}
   #intro p, #author p {
    letter-spacing: 0.1px;
    padding: 1px;
    text-align:justify;
    width: 90vw;
} 
    
    #contactContainer p{
    text-align: center;
        padding-top: 25px;
}

    #contactContainer div:last-of-type{
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    #intro h3, #author h3, #section3 h2 {
    text-align: center;
}
}


@media screen and (min-width: 661px) and (max-width: 1290px) {
    .cardColumn {
    float: left;
    width: 50%;
    padding: 0 35px 80px 0;
    
}
    
    .cardsRow .lastCard {
        float: left;
        position: relative;
        left: 25%;
        padding-bottom: 0px;
    }
    
}

@media (max-width: 800px) {
  nav ul {
    display: none;
    flex-direction: column;
  }
  
  nav ul.show {
    display: flex;
    background-color: #000;
      position: fixed;
      top: 86px;
      right: 20px;
      width: 100px;
      height: 180px;
      margin: 0;
      padding: 10px;
      border-radius: 0 0 10% 10%;
  }
  
  .my-button {
    display: block;
  }
}