h1,
h2,
h3,
h4{
    font-weight: normal;
}

/* Main block styles */

.is-style-fact-box{
    background-color: var(--theme-palette-color-8);
    padding:0rem 1rem 1rem 1rem;
    border-radius:25px;
    box-shadow: 0 0 35px var(--theme-palette-color-1);
    transform: rotate(2deg);
}

.is-style-fact-box ul{
    width:100% !important;
    padding-inline-start: 1rem;
}

.is-style-questions{
    background-color: var(--theme-palette-color-8);
    padding:0 1rem 1rem 1rem;
    position:relative;
    border-radius: 25px;
}

.is-style-tableofcontent{
    background-color: var(--theme-palette-color-8);
    border-radius: 25px;
    padding:0;
    overflow: hidden;
    text-shadow: none;
}

.is-style-tableofcontent ul,
.is-style-tableofcontent ul li{
    padding:0;
    margin:0;
    margin-left:0 !important;
    margin-right:0 !important;
    list-style: none;
    font-size: 20px;
    width:100% !important;
    max-width: 100% !important;
}
.is-style-tableofcontent ul li a:after{
    content:"\1f449";
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
    left:0;
}
.is-style-tableofcontent ul li a:hover:after{
    opacity:1;
    left:1rem;
}

.is-style-tableofcontent ul li a:link,
.is-style-tableofcontent ul li a:visited{
    display: block;
    padding:0.5rem;
    border-bottom:1px solid var(--theme-palette-color-7);
}
.is-style-tableofcontent ul li a:hover{
    background-color: var(--theme-palette-color-7);
}

.is-style-pagination{
    background-color: var(--theme-palette-color-4);
}

.wp-block-pullquote.is-style-pullquote-think{
    padding:35px;
    border-width: 0;
    border-radius: 25px;
    box-shadow:0 0 25px var(--theme-palette-color-1);
    background: linear-gradient(-25deg, var(--theme-palette-color-2), var(--theme-palette-color-3) 65%);
    color:var(--theme-palette-color-8);
    transform: rotate(2deg);
    background-size:150%;  
    transition: all 0.3s ease;
}

.wp-block-pullquote.is-style-pullquote-think a:link,
.wp-block-pullquote.is-style-pullquote-think a:visited{
    color:white;
    text-decoration: underline;
}

.wp-block-pullquote.is-style-pullquote-think a:hover{
    color:var(--theme-palette-color-3);
    background-color: rgba(255,255,255,0.8);
    text-decoration: none;
}


.wp-block-pullquote.is-style-pullquote-think:hover{
    background-position:100%;
}

.wp-block-pullquote.is-style-pullquote-think:after{
   border-width:0 !important;
}

.wp-block-pullquote.is-style-pullquote-think blockquote:before{
    content: "\1F914";
    transform: none;
    opacity: 1;
}

/* Heading style */
.is-style-fact-box h2{
    font-size:1.6rem;
    background:var(--theme-palette-color-4);
    color:white;
    padding:0.5rem 1rem;
    margin:-1px -1.05rem 1rem -1.05rem !important;
    width:calc(100% + 2.1rem) !important;
    border-radius:25px 25px 0 0;
}

.is-style-questions h2{
    font-size:1.6rem;
    background: linear-gradient(-7.5deg, var(--theme-palette-color-1), var(--theme-palette-color-3));
    color:white;
    padding:0.5rem 1rem;
    margin:0 -1rem 2rem -1rem !important;
    width:calc(100% + 2rem) !important;
    border-radius: 25px 25px 0 0;
}

.is-style-tableofcontent h2{
    font-size:1.6rem;
    background:var(--theme-palette-color-1);
    color:white;
    padding:0.5rem 1rem;
    margin:0 !important;
    width:calc(100% + 0rem) !important;
}

/* Emojis */

.is-style-fact-box h2:after{
    content: "\1F393";
    font-size: var(--emojiSize);
    position: absolute;
    top:-35px;
    right:0;
    text-shadow: 0 2px 5px white;
}

.is-style-questions:before{
    content: "\1F9E0";
    font-size: var(--emojiSize);
    position: absolute;
    right: 2rem;
    top: -60px;
    text-align: center;
    text-shadow: 0 0 50px pink;
    z-index: -1;
    transition: all 0.3s ease;
}

.is-style-tableofcontent h2:before{
    content: "\1F440";
    margin-right:0.5rem;
    transform: scaleX(-1);
    display:inline-block;
}

.is-style-questions:focus-within:before,
.is-style-questions:hover:before{
    top:-100px;
}

.wp-block-pullquote.is-style-pullquote-think blockquote:before{
    top:-35px;
    left:auto;
    right:-40px;
    font-size:var(--emojiSize);
    line-height: 48px;
    transition: all 0.3s ease;
}

.wp-block-pullquote.is-style-pullquote-think:hover blockquote:before{
    top:-60px;
}


@media (min-width:690px){
    .wp-block-pullquote.is-style-pullquote-think blockquote:before{
        top:-50px;
        right:-60px;
    }
}


/* Shadows and effects */

.is-style-questions:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 0 25px var(--theme-palette-color-3);
    width: 100%;
    z-index: -5;
    height: 100%;
    border-radius: 25px;
    transform: rotate(-2.5deg);
    background: var(--theme-palette-color-3);
    transition: all 0.3s ease;
}

.is-style-questions:hover:after{
    width:calc(100% + 0.5rem);
    height:calc(100% + 0.5rem);
    top:-0.2rem;
    left:-0.2rem;
    transform: rotate(-1.5deg);
}

.wp-block-columns.is-style-chapter-select{

}

.wp-block-columns.is-style-chapter-select .wp-block-column{
    border-radius:25px;
    padding:1rem;
    text-align: center;
    background: var(--theme-palette-color-8);
    box-shadow: 0 0 35px var(--theme-palette-color-3);
    color:var(--theme-palette-color-3);
    text-shadow: none;
}

.wp-block-columns.is-style-chapter-select .wp-block-column:nth-child(1){
    transform: rotate(1deg);
}

.wp-block-columns.is-style-chapter-select .wp-block-column:nth-child(2){
    transform: rotate(-1.5deg);
}

.wp-block-columns.is-style-chapter-select .wp-block-column:nth-child(3){
    transform: rotate(1deg);
}

.wp-block-columns.is-style-chapter-select .wp-block-column h2{
    font-size:1.6rem;
}

.wp-block-columns.is-style-chapter-select .wp-block-column a,
.wp-block-columns.is-style-chapter-select .wp-block-column a:link,
.wp-block-columns.is-style-chapter-select .wp-block-column a:visited{
    font-size:1.2rem;
    display: block;
    margin:1rem 0;
    text-decoration: none;
}

.wp-block-columns.is-style-chapter-select .wp-block-column a:before{
    content: "\1F449";
    margin-right:0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wp-block-columns.is-style-chapter-select .wp-block-column a:hover:before{
    margin-right:0.1rem;
    margin-left:0.4rem;
}


/* Variables */

:root{
    --emojiSize: 64px;
}