:root {
    --color-intro:     #1c5b6d;
    --color-quote:     #0f1923;
    --color-projects:  #e2eaf2;
    --color-bookshelf: #2e7d9e;
    --color-contact:   #162130;
    --color-footer:    #1d2b3a;
    --color-accent:    #a8c4d4;
}

.hide-text {
    font: a;
    color: transparent;
    text-shadow: none;
}
.no-border {
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.drift-hide-until-loaded {
    display: none;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url(/css/vendor/boxsizing.htc);
}

html {
  scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
}
body {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: .5px;
    margin-bottom: 100px;
    background: var(--color-intro);
    color: #3F404B;
}
p {
    margin: 5px 0 35px;
}
ul {
    list-style: none;
    margin: 0;
}

ul.square {list-style: square;}

ul li {
    margin-bottom: 15px;
}
img {
    max-width: none;
}

/*** FONTS ***/

h1, h3, h4, h5, .class-city {
    font-family: "Nexa-Bold", "TradeGothicPro-Bold", "Helvetica Neue", "Helvetica", Arial, sans-serif;
}


a.navbar-brand, a.navbar-brand .logo-text {
    font-size: 36px;
    text-transform: uppercase;
    text-decoration: none;
    color: #f9f9f9;
}

h2, h6, .big-quote {
    font-family: "AvenirLTStd-Light", "Nexa-Book", "Helvetica Neue", "Helvetica", sans-serif;
}



body, .big-quote-byline, .class-date, .testimonial-name, .testimonial-org {

    font-family: "AvenirLTStd-Light", "Nexa-Book", "Helvetica Neue", "Helvetica", sans-serif;

}


h1 {
    font-size: 64px;
    line-height: 1;
    color: #f9f9f9;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
    padding: 0 0 10px 0;
}
h2 {

    font-size: 14px;
    color: #f9f9f9;
    line-height: 2;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}
h3 {

    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0;
    margin: 0 0 15px;
}
h4 {
    font-size: 16px;
    line-height: 1;
    color: #f9f9f9;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding: 5px 0 10px;
    margin: 0px 10px 0px 0;

}
h5 {
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* font-weight: 600; */
    margin: 0;
    padding: 0;
    clear: both;
    margin-bottom: 10px;
    color: var(--color-accent);
}

h6 {
    font-size: 16px;
    line-height: 1.2;
    margin:0;
    padding: 0;
    margin-bottom: 5px;

}

ul li .workshop-title {
    font-weight: bold;
    text-transform: uppercase;
}


/*
.big-quote {
    font-size: 20px;
    line-height: 1.3;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    margin: 0;
}

.big-quote-byline {
    font-size: 14px;
    text-align: center;
}
*/

.big-quote {
    font-size: 24px;
    line-height: 1.3;
    /* text-transform: uppercase; */
    text-align: center;
    letter-spacing: 2px;
    margin: 0;
    padding-top: 100px;
}

.big-quote-byline {
    padding-top: 40px;
    text-align: center;
}


.class-city {
    text-transform: uppercase;
}

.class-reg-item {
    padding-bottom: 20px;
}

.class-date {
    display: inline;
    font-size: 14px;
}

.class-listing {
    margin-bottom: 40px;
}

.class-description {
    margin-top: 20px;
    margin-bottom: 20px;
}

.class-info {
    margin-bottom: 10px;
}

.class-reg-list {
    margin-bottom: 10px;
}

a, a:visited, a:active, a:focus {
    color: #f9f9f9;
    border-bottom: 1px solid var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--color-accent);
    border-bottom: none;
}


a.learn-more-button, a.learn-more-button:visited, a.learn-more-button:active {
    color: #f9f9f9;
    border-bottom:none;
}

a.learn-more-button:hover {
    color: var(--color-accent);
    border-bottom:none;
}


hr {
    width: 100px;
    height: 1px;
    border: 0;
    margin: 0 0 30px;
}

#loading {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 7;
}
#loading .loading-icon {
    display: none;
    position: absolute;
    top: 40%;
    left: 50%;
    margin: -50px 0 0 -50px;
    font-size: 38px;
    line-height: 100px;
    text-align: center;
    color: #0e466b;

}
#intro header {
/*  display: none; */
    zoom: 1;
    z-index: 5;
    position: absolute;
    margin-left: 40px;
    top: 50%;
    margin-top: -55px;
}
#intro header .logo h1 {
    display: block;
    margin: 0;
    padding: 0;
}
#intro header .logo .bullet {
    color: #f9f9f9;
}
#intro header .logo .accent {
   color: var(--color-accent);
}

#intro header .logo .nobreak {
    display:inline-block;
}

#intro .logo {
    opacity: 0;
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.profile-pic {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
    flex-shrink: 0;
}

ul.navbar-nav {
    display: none;
    margin-left: 50px;
}

ul.navbar-nav li a {
    text-decoration: none;
}

.navbar-default .navbar-nav>li>a {
    color: #f9f9f9;
}


#spacer {
    height: 2000px;
    width: 100%;
    background: #3F404B;
}

#intro {
    display: block;
    position: relative;
    height: 100vh;
    width: 100%;
    background: var(--color-intro);
    z-index: 1;
    overflow: hidden;
}

hr {
    background: #f9f9f9;
    float: right;
}

#testimonials hr {
    background: #2c3e50;
}

.project {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
}
.project .desc {
    text-align: right;
    margin-top: 100px;
}

.project .right-side {
    margin-top: 100px;
}

#quote {
    background: var(--color-quote);
    color: #f9f9f9;
    height: auto;
}

#quote .row {
    padding-left: 80px;
    padding-right: 80px;
}


#approach {
    height: auto;
    background: var(--color-bookshelf);
    color: #f9f9f9;
}

#workshops {
    background: #5e5f61;
    color: #f9f9f9;
}

#classes {
    background: #FB565D;
    color: #f9f9f9;
    height: auto;
}

#testimonials {
    background: var(--color-projects);
    color: #2c3e50;

}

.testimonial-caption, .testimonial-quote {
    margin-bottom: 25px;
}

.workshop {
    margin-bottom: 70px;
}

.upper {
    text-transform:uppercase;
}

#contact {
        background: var(--color-contact);
        color: #f9f9f9;

}

#footer {
    position: fixed;
    z-index: -9;
    height: 100px;
    width: 100%;
    bottom: 0;
    left: 0;
    background: var(--color-footer);
    color: #f9f9f9
}
#footer .back, #footer .copy {
    line-height: 100px;
    display: block;
}
#footer .back {
    text-align: right;
}

#footer #copy-year {
    display: inline;
}

#footer img {
    margin: 0 auto;
    position: relative;
    display: block;
}

/*** STUFF ****/

p.section-intro {
    font-size: 24px;
}


.learn-more-button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: var(--color-accent);
    opacity: 1;
    border-bottom: none;
    z-index: 10;
}



#testimonials {
    height: auto;
}

.testimonial-row {
    margin-bottom: 25px;
}

.circle-testimonial {
    width: 80px;
    border-radius: 20%;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 14px;
    background: transparent;
    border: 2px solid;
    border-radius: 10px;
    font-size: 12px;
    font-family: "Nexa-Bold", "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s;
}

.app-store-btn,
.app-store-btn:visited,
.app-store-btn:active,
.app-store-btn:focus {
    color: var(--color-bookshelf);
    border-color: var(--color-bookshelf);
    border-bottom: 2px solid var(--color-bookshelf);
}

.app-store-btn:hover {
    background: var(--color-bookshelf);
    color: #ffffff;
    border-bottom: 2px solid var(--color-bookshelf);
}

.testimonial-caption {
    margin-top: 3px;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
}

.testimonial-name {
    text-transform: capitalize;
    display:block;
}

.testimonial-org {
    text-transform: uppercase;
    display:block;
}

.testimonial-quote {
    line-height: 1.4;

}

.testimonial-title {
    display: block;
}

.testimonial-logo {
    height: 25px;
}

.right-side p.big {
    font-size: 36px;
    line-height: 1.4;
}

p.small {
    font-size: 12px;
}

.list p {
    margin-bottom: 0px;
    line-height: 1.4;
}

.list {
    margin-bottom: 40px;
    margin-left: 20px;
}

.contact-row {
    margin-bottom: 25px;
}

.p-bio {
    margin-bottom:10px;
}

.project {
    padding-bottom: 100px;
    height: auto;
}


a.btn-register, a.btn-register:visited {
    display: inline;
    text-transform: uppercase;
    background-color: var(--color-bookshelf);
    color: #f9f9f9;
    border:none;
}


a.btn-waitlist, a.btn-waitlist:visited {
    display: inline;
    text-transform: uppercase;
    background-color: #a29b82;
    color: var(--color-intro);
    border:none;
}

a.btn-register:hover, a.btn-waitlist:hover {
    background-color: var(--color-intro);
    color: #f9f9f9;
    border:none;
}


.city-rotterdam { color: var(--color-bookshelf); }

/* RESPONSIVE */

@media(max-height:545px) {
    .logo {
    top: 0;
}
}

@media(max-width:767px) {

h1 {
    font-size: 38px;
}
h2 {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 0;
}
h4 {
    border: 0;
    margin: 55px 0 10px 0;
}
hr {
    float: none;
    margin: 0 auto 30px;
}
.profile-pic {
    width: 100px;
    height: 100px;
}
#intro {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}
#intro header {
    float: none;
    margin: 0 !important;
    text-align: center;
    position: relative;
    top: auto;
    width: 100%;
}

#intro header .bullet {
    display:none;
}

#intro .logo {
    display: flex !important;
    justify-content: center;
    align-items: center !important;
    gap: 16px;
}

#intro .logo .profile-pic {
    align-self: center !important;
    margin-top: 0;
    flex-shrink: 0;
}

#intro .logo .logo-text {
    align-self: center !important;
    margin-top: 0;
    padding-top: 0;
    text-align: left;
}

#intro header .logo,
#intro header.container .logo {
    align-items: center !important;
}

#intro header .logo h1 .nobreak {
    display: inline-block;
}

#intro header .logo h1 {
    line-height: 1.1;
    margin-bottom: 8px;
}

#intro header .logo h2 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#intro header .logo h2 .nobreak {
    display: block;
    margin-top: 10px;
    padding-top: 0;
    line-height: 1;
}

.project .desc {
    text-align: center;
}

.project .right-side {
    margin-top: 50px;
    margin-bottom: 40px;
    height: auto;
    padding: 0 70px;
}

#contact .contact-row {
    text-align: center;
}

#footer {
    position: relative;
    height: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
}
#footer .back, #footer .copy {
    text-align: center;
    line-height: 40px;
}

.testimonial-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}

#quote .row {
    padding-left: 24px;
    padding-right: 24px;
}

.accent {
    padding-top: 40px;
}

}@media(max-width:610px) {


}@media(max-width:480px) {
    h1 {
    font-size: 26px;
    line-height: 1.2;
}
.profile-pic {
    width: 64px;
    height: 64px;
}

#intro {
    padding: 0 20px 100px;
}

#intro .logo h2 .bullet {
    display: none;
}
#intro .logo h2 .accent {
    display: block;
    margin-top: 10px;
    padding-top: 0;
}

.project .desc {
    padding: 0 30px;
}

.project .right-side {
    padding: 0 20px;
}
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.book-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.book-cover {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.book-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.book-title {
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.3;
    color: #f9f9f9;
}

.book-author {
    font-size: 11px;
    color: var(--color-accent);
    margin-top: 4px;
}

.loading-books {
    text-align: center;
    color: #f9f9f9;
    padding: 40px 0;
}

#bookshelf {
    background: var(--color-bookshelf);
    color: #f9f9f9;
}

@media(max-width:767px) {
    .books-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 15px;
    }
}

.book-rating {
    font-size: 12px;
    color: var(--color-accent);
    margin-top: 6px;
}

#bookshelf h3 {
    color: #f9f9f9;
}

.gr_grid_container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.gr_grid_book_container {
    text-align: center;
}

.gr_grid_book_container a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #f9f9f9;
    border: none !important;
    border-bottom: none !important;
}

.gr_grid_book_container img {
    width: 120px;
    height: 170px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.book-title-text {
    font-size: 12px;
    line-height: 1.4;
    max-width: 120px;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gr_grid_book_container a:hover,
.gr_grid_book_container a:hover .book-title-text {
    color: var(--color-accent);
    border-bottom: none !important;
}

@media(max-width: 1200px) {
    .gr_grid_container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 768px) {
    .gr_grid_container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
