/* Styles for Unofficial Harry Potter Companion */

/********** GLOBALS **********/
body {
    font-family: alegreya, serif;
    font-style: normal;
    font-weight: 400;
    color: #111111;
    margin: 0;
    background-color: #f4f2ed;
}

a {
    text-decoration: none;
}

h1 {
    font-family: nelson, sans-serif;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    margin: 0;
    /* font-size: calc(16px +1vw); */
    /* font-size: clamp( 30px, 36px, 2.8vw); */
}

#title {
    font-size: 34pt;
}

h2 {
    font-family: nelson-rugged, sans-serif;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

/********** FLEXBOX COLUMNS **********/
.container {
    display: flex;
    flex-direction: row;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    margin: 0 auto;
}

.blurb-container {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    padding: 0 80px 90px 80px;
}

.col {
    flex: 1;
    padding: 16px;
    justify-content: center;
    align-items: center;
}

.col-left {
    padding: 16px 8px 16px 16px;
}

.col-right {
    padding: 16px 16px 16px 8px;
}

/********** BOOK COVER **********/
.image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image img {
    box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 10px 0px;
    width: 100%;
    max-width: 300px;
    transition: 2s ease;
}

.image img:hover {
    width: 101%;
    webkit-transform: scale(1.03);
    -ms-transform: scale(1.03);
    transform: scale(1.03);
    transition: 1s ease;
}

/********** BOOK SUMMARY **********/
.info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-w {
    width: 75%;
}

.summary {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 120%;
    color: #fffffe;
    /* padding: 50px; */
    border-radius: 10px;
    /* border: 4px double #ca9b52; */
    /* box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px; */
}

.alohomora {
    color: #ca9b52;
}

.alohomora:hover {
    text-decoration: underline;
}

.cta {
    background-color: #ca9b52;
    text-align: center;
    width: 75%;
    padding: 15px;
    margin: 50px auto;
    font-size: 20px;
    line-height: 22px;
    border-radius: 4px;
}

.purchase {
    margin: 20px 0 0 0;
    text-align: center;
}

.purchase button {
    width: 100%;
    max-width: 200px;
    height: 40px;
    margin-bottom: 10px;
    border: none;
    background-color: #65428A;
    color: #fffffe;
    border: 3px #ca9b52 double;
    font-family: alegreya, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    transition: all 0.5s ease, visibility 0s;
}

.purchase .v2, .gr .v2 {
    background-color: #621d22;
    color: #ffffff;
}

.purchase button:hover {
    background-color: transparent;
    color: #000000;
}

.purchase .v2:hover, .gr .v2:hover {
    background-color: transparent;
    color: #000000;
}

.purchase button#sams {
    max-width: 300px;
}

.purchase a:nth-child(odd) {
    margin-right: 10px;
}

.gr {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.gr button {
    width: 100%;
    max-width: 300px;
    height: 40px;
    margin-bottom: 10px;
    border: none;
    background-color: #65428A;
    color: #fffffe;
    font-family: alegreya, serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    text-transform: uppercase;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    transition: all 0.5s ease, visibility 0s;
    border: 3px #ca9b52 double;
}

.gr button:hover {
    background-color: transparent;
    color: #000000;
}

/********** FOOTER **********/

.footer {
    padding-bottom: 10px;
    margin: 0 auto;
    text-align: center;
    font-size: 18px;
}

.hash {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.hash p {
    display: inline-block;
}

.hash p:first-of-type {
    padding-right: 30px;
}

.bc-resources a {
    color: #000000;
}

.bc-resources a:hover {
    color: #ca9b52;
}

.social-link {
    padding: 0;
    margin-top: 0;
}

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

.social-link li:last-of-type {
    padding-right: 0;
}

.social-link a {
    text-decoration: none;
    color: #000000;
    padding: 0;
}

.legal p {
    padding-right: 0 !important;
}

.legal a{
    color: #000000;
}

.social-link a:hover, .legal a:hover {
    color: #ca9b52;
}

.disclaimer {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
    font-size: 12px;
    text-align: left;
}

@media only screen and (max-width:1181px) {
    .info-w {
        width: 85%;
    }
}

@media only screen and (max-width:1053px) {
    .info-w {
        width: 95%;
    }
}

@media only screen and (max-width:949px) {
    .info-w {
        width: 100%;
    }
}

@media only screen and (max-width:917px) {
    .purchase a:nth-child(odd) {
        margin-right: 0;
    }

    .purchase button {
        font-weight: 300;
        font-size: 15px;
        line-height: 15px;
        max-width: 250px !important;
    }

    .gr button {
        font-weight: 300;
        font-size: 15px;
        line-height: 15px;
        max-width: 250px;
    }

    .col-right-purchase {
        margin-bottom: 110px;
    }
}

@media only screen and (max-width: 883px) {
    .cta {
        font-size: 18px;
        line-height: 20px;
    }
}

@media only screen and (max-width:762px) {
    .container {
        flex-direction: column-reverse;
    }

    .col-left {
        padding: 8px 16px 16px 16px;
    }
    
    .col-right {
        padding: 16px 16px 8px 16px ;
    }

    .info-w {
        width: 75%;
    }

    .col-right-purchase {
        margin-bottom: 0;
    }

    .bttns {
        display: block;
    }

      .footer p {
          display: block;
      }

      .footer p:first-of-type {
          padding-right: 0;
      }

      .hash {
          font-size: 16px;
      }
}

@media only screen and (max-width: 700px) {
    .title-TU {
        font-size: 20px;
        display: block;
    }

    .title-HP, .title-comp {
        line-height: 45px;
        display: block;
    }

    .blurb-container {
        padding: 0 40px 50px 40px;
    }
}

