@charset "UTF-8";

:root {
    --primary: #b83d2b;
    --primary-50: rgba(184, 61, 43, .15);
    --shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    --text-shadow: 2px 3px 4px rgba(0,0,0,.5);
}

html, body { scroll-behavior: smooth; }

body {
    max-width: 1920px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    background-color: #fff;
    color: #222; }

a {
    text-decoration: none;
    transition: all .15s ease; }

.btn:focus { box-shadow: none; }
button:focus:not(:focus-visible) { box-shadow: none; }
.text-primary { color: var(--primary) !important; }
.section { padding: 4rem 0; }

.top::before {
    content: "";
    display: block;
    height: 1rem;
    margin: 1rem 0 0; }
    
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center; }



/* ******************************************** Content ******************************************** */


/* Header & Nav */ 
header { 
    z-index: 1024;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow);
    background-color: var(--primary); }

header nav {
    padding: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center; }

.nav-link, .nav-link:active, .nav-link:focus { 
    text-transform: uppercase;
    color: #fff; }
    
.nav-link:hover { color: #ddd; }

header .bi { margin: -1px .25rem 0 0 }

#nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center; }


/* Landing */
#landing { 
    padding: 7rem 0 4rem 0; }
    
#landing p { color: var(--muted); }

#landing .h1-span1 { 
    color: var(--primary);
    text-transform: uppercase; }
    
#landing .aha { 
    display: inline-block;
    border-bottom: solid 7px var(--bs-warning); }
    
#landing .h1-span2 { text-transform: capitalize; }

#img-book {
    cursor: pointer;
    box-shadow: var(--shadow);
    border-radius: .5rem;
    width: 312px;
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; }

.img-book-front { background-image: url(../images/the-father-the-son-and-the-aha-moment-front.jpg); }
.img-book-back { background-image: url(../images/the-father-the-son-and-the-aha-moment-back.jpg) !important; }

ul { margin-bottom: 0; }

li { list-style-image: url("data:image/svg+xml,<svg width='1em' height='1em' viewBox='0 0 16 16' class='bi bi-check2-circle mr-1' fill='green' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M15.354 2.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3-3a.5.5 0 1 1 .708-.708L8 9.293l6.646-6.647a.5.5 0 0 1 .708 0z'/><path fill-rule='evenodd' d='M8 2.5A5.5 5.5 0 1 0 13.5 8a.5.5 0 0 1 1 0 6.5 6.5 0 1 1-3.25-5.63.5.5 0 1 1-.5.865A5.472 5.472 0 0 0 8 2.5z'/></svg>"); }

.authors  {
    margin-top: .5rem;
    color: var(--primary);
    font-size: 1rem; }

.social { 
    display: flex;
    text-align: center;
    margin-top: 1.5rem; }

.social span {
    margin-top: .35rem;
    display: block;
    font-size: 14px;
    font-family: var(--bs-font-monospace);
    color: #333; }
    

/* Read More */
details summary { 
    margin-bottom: 0.5rem;
    color: var(--bs-primary); }

details summary:hover, details summary:active, details summary:focus { 
    border: none;
    color: var(--bs-danger); }
    

/* Game of Ten */
#game-of-ten { border-top: solid 1px var(--primary-50); }

#game-of-ten img {
    margin-top: -.8rem;
    max-width: 100%;
    height: auto;
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem; }
    

/* Profile */
#profile { 
    border-top: solid 1px var(--primary-50);
    border-bottom: solid 1px var(--primary-50); }

.profile { padding: 4rem 1rem !important; }
.profile:nth-child(1) { padding: 1rem; }

.profile:nth-child(2) {
    border-left: solid 1px var(--primary-50); 
    padding: 1rem 1rem 1rem 2rem; }

.profile h1 small {
    display: block;
    color: #666;
    font-size: 1.25rem; }

.profile h1 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    text-transform: uppercase; }

.img-profile {
    border-radius: .5rem;
    box-shadow: var(--shadow);
    margin-right: 1rem;
    margin-bottom: .5rem;
    float: left; }

/* Digital Copy */
.img-book-thanks { 
    border-radius: .5rem;
    box-shadow: var(--shadow);
    margin-right: 1rem; }


/* Form */
.modal-title { 
    color: var(--primary);
    font-size: 20px;
    text-transform: uppercase; }


#mc_embed_signup {
    background: #fff; 
    clear: left;
    font: 14px Helvetica,Arial, sans-serif; }

#mc_embed_signup #mce-success-response {
    color: var(--bs-success);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    margin-top: -0.75rem; }

#mc_embed_signup #mce-error-response { 
    color: var(--bs-danger);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: -0.75rem; }
    
#mc_embed_signup div#mce-responses {
    float: none;
    top: 0px;
    padding: 0;
    overflow: hidden;
    width: 100%;
    margin: 0;
    clear: both; }



/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    background-color: #eee;
    color: #222; }

/* MSWD */
.mswd-links p {
    font-size: 13px;
    display: block;
    line-height: 1.25rem;
    text-align: center; }

.mswd-links a {
    transition: all .15s ease;
    text-decoration: underline;
    color: inherit;
    font-size: inherit; }

.mswd-links a:hover {
    opacity: .7;
    text-decoration: none; }


/* ******************************************** REPONSIVE ******************************************** */

@media (min-width: 768px) {
    #nav-btn { display: none; }
}

@media (min-width: 1200px) {
    .container { max-width: 1140px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    header nav { flex-direction: column; }
    #nav-right { margin-top: .5rem; }
    #nav-right .nav-link:first-of-type { padding-left: 0; }
    #landing { padding: 10rem 0 2rem 0; }
    #landing .row { align-items: flex-start; }
    
    #img-book {
        width: 200px;
        height: 321px; }
        
    .img-profile {
        float: none;
        margin-bottom: 1rem;
        margin-right: 0; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #img-book {
        width: 250px;
        height: 401px; }
}

@media (max-width: 767px) {
    .order1 { order: 1; }
    .order2 { order: 2; }
    .section { padding: 3rem 0; }
    
    /* Header */
    header { height: 40px; }
    header nav { padding: 0; }
    
    .navbar-toggler-icon {
        width: 30px;
        height: 30px;
        background-image: url("data:image/svg+xml,<svg class='bi' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' fill='%23fff' d='M2.5 11.5A.5.5 0 0 1 3 11h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm0-4A.5.5 0 0 1 3 3h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5z'></path></svg>"); }
    
    .navbar-toggler-icon-x {
        width: 30px;
        height: 30px;
        padding: 0;
        background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23fff' class='bi bi-x' viewBox='0 0 16 16'><path d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'/></svg>"); }
    
    .nav-link:not(.brand)  { 
        font-size: 18px;
        margin-top: 1rem;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column; }
    
    .nav-link:not(.brand) svg {
        width: 24px;
        height: 24px; }
    
    #nav-right {
        margin-top: 40px;
        transition: all .5s ease;
        position: absolute;
        top: 0;
        left: -1000px;}
    
    #nav-right.open {
        left: 0;
        width: 90%;
        flex-direction: column;
        justify-content: center;
        height: calc(100vh - 40px);
        border-top: solid 1px rgba(0,0,0,.15);
        background-color: var(--primary); }
    
    .brand { 
        font-size: 15.5px;
        padding-left: 0;
        padding-right: 0;
        text-transform: unset; }
    
    .brand svg { display: none; }
    
    #nav-btn { 
        padding-left: 0;
        padding-right: 0; }
    
    /* Landing */
    #landing { padding: 3rem 0 2rem 0; }
    #landing h1 { margin-top: 1.5rem; }
    
    #img-book { 
        margin-top: 1rem;
        width: 250px;
        height: 401px;
        box-shadow: none; }
        
    .title-mbl { 
        line-height: 1.75rem;
        font-size: 1.25rem !important; }
        
    .authors h1 { margin-top: 1.5rem; }
    
    #game-of-ten img { margin-bottom: .5rem; }
    
    /* Profile */
    .profile { 
        padding-top: 3.5rem !important;
        padding-bottom: 2rem !important;
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
        padding-left: calc(var(--bs-gutter-x) * .5) !important; }
    
    .img-profile { 
        float: none;
        margin-right: 0;
        margin-bottom: 1rem; }
    
    .profile:nth-child(2) {
        background-color: #f8f8f8;
        border-left: none; 
        border-top: solid 1px var(--primary-50);
        padding: 1rem; }

    /* Form */
    .template-outside { margin: 20px 0; }
    
    /* Thanks */
    .img-book-thanks { margin-right: 0; }
    body#digital-copy .btn:not(.navbar-toggler-icon) { margin-bottom: 2rem; }
    body#digital-copy .flex-center { flex-direction: column; }
    body#digital-copy .flex-center .order2 { margin-right: auto }
}
