/* General */
@font-face {
    font-family: osw;
    src: url(../fonts/Oswald/Oswald-VariableFont_wght.ttf);
}

:root {
    font-family: osw, Lato;
    font-size: 18px;
    color: #41370e;
    --rounding: .75rem;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    align-items: center;
    background-blend-mode: color-burn;
    background-color: #F5EED2;
    background-image: url(../img/textures/denim_seamless_texture_6608_bw.jpg);
    background-size: 50rem;
    display: flex;
    flex-direction: column;
}

img:not(.logo) {
    border: .3rem solid white;
    transform: rotate(0.9deg);
}
img.alt-rotate {
    transform: rotate(-0.9deg);
}

img.small-image {
    height: 6rem;
}

img.slightly-larger-image {
    height: 7rem;
}

a, 
a:visited, 
a:active {
    color: #41370e;
}

.rss-link {
    font-size: .75rem;
}

/* Tutorial */

tutorial {
    display: block;
    max-width: 42rem;
    padding: 1rem;
}

/* Text */

highlight {
    font-weight: bold;
    text-decoration: underline;
}

/* Headline */

headline {
    background-color: #d71f27;
    background-image: var(--cloth-red);
    background-size: 35rem;
    border-radius: var(--rounding);
    box-shadow: 0.556rem 0.556rem rgba(0, 0, 0, .5);
    color: white;
    display: flex;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    padding: 1rem 3rem;
    padding-left: 4rem;
    position: relative;
}

edition {
    align-items: center;
    background-color: white;
    background-image: var(--cloth-white);
    background-size: 35rem;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: #747474;
    display: inline-flex;
    font-weight: normal;
    gap: .5rem;
    padding: .0rem 1.5rem 0 1.25rem;

}

edition filling-text {
    line-height: 2rem;
}

edition .logo {
    height: 2rem;
}

step-note {
    background-color: #4F999C;
    background-image: var(--cloth-light-blue);
    background-size: 35rem;
    clip-path: var(--cutout-1);
    font-weight: normal;
    font-size: 1.2rem;
    padding: .25rem .75rem;
    position: absolute;
    left: 0;
    transform: translate(-.75rem, -1.25rem) rotate(-15deg);
}

/* Step */

step {
    display: block;
    margin-bottom: 3rem;
}

step-title {
    background-color: #F2602D;
    background-image: var(--cloth-orange);
    background-size: 35rem;
    border-radius: var(--rounding);
    box-shadow: 0.556rem 0.556rem rgba(0, 0, 0, .5);
    color: white;
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding: .5rem;
    position: relative;
    text-align: center;
}

step-number {
    background-color: #4F999C;
    background-image: var(--cloth-light-blue);
    background-size: 35rem;
    clip-path: var(--cutout-1);
    font-weight: normal;
    left: 0;
    padding: .25rem .75rem;
    padding-top: 0;
    position: absolute;
    transform: translate(.5rem, -0rem) rotate(-15deg);
}

/* Fact, Think */

fact, think {
    display: block;
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

fact-title, think-title {
    align-items: center;
    background-color: #6C3F18;
    background-image: var(--cloth-brown);
    background-size: 35rem;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: white;
    display: flex;
    font-size: 1.6rem;
    padding: .5rem 1.5rem;
}

fact-title .logo {
    height: 1.6rem;
    background-color: white;
    padding: .2rem;
    border-radius: .25rem;
    transform: translateY(.4rem);
}

fact-content,
think-content {
    align-items: center;
    align-items: stretch;
    display: flex;
    flex-direction: column;
    font-size: 1.4rem;
    gap: .5rem;
}

fact-title filling-text,
follow-up-content filling-text,
think-title filling-text {
    padding: .5rem;
}


follow-up {
    align-items: stretch;
    display: flex;
    gap: .5rem;
    margin-left: 2rem;
}

follow-up-arrow {
    background-image: url(./../img/arrow1.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    width: 5rem;
}

follow-up-content {
    align-items: center;
    background-color: #35687D;
    background-image: var(--cloth-blue);
    background-size: 35rem;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: white;
    display: flex;
    flex: 1;
    font-size: 1.4rem;
    gap: .5rem;
    padding: .5rem 1.5rem;
}

follow-up-content .logo {
    height: 1.6rem;
    background-color: white;
    padding: .2rem;
    border-radius: .25rem;
    transform: translateY(.4rem);
}

things-happening {
    background-color: #4F999C;
    background-image: var(--cloth-light-blue);
    background-size: 35rem;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: white;
    display: inline-flex;
    flex-direction: column;
    font-size: 1.4rem;
    padding: .5rem 1.5rem;
    text-align: center;
}

things-happening.gallery {
    padding-bottom: 1rem;
}

what-happens {
    display: block;
    margin-bottom: .5rem;
}

/* Fact */

fact-number {
    background-color: #FF9933;
    background-image: var(--cloth-yellow);
    background-size: 35rem;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: white;
    display: inline-block;
    font-size: 1.6rem;
    padding: .5rem 1rem;
    position: relative;
    transform: translateY(1rem);
    z-index: 1;
}

fact-title {
    margin-bottom: .5rem;
}

quote {
    background-color: #4F999C;
    background-image: var(--cloth-light-blue);
    background-size: 35rem;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: white;
    display: inline-flex;
    font-size: 1.4rem;
    margin-bottom: .5rem;
    padding: 1rem 1.5rem;
    text-align: center;
}

quote-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-around;
    padding-left: .75rem;
    padding-right: .75rem;
}

who {
    display: block;
}

quote-text {
    background: white;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: black;
    display: inline-block;
    padding: .5rem;
    background-image: var(--cloth-white);
    background-size: 35rem;
}

/* Think */

think {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

think-content {
    align-items: flex-start;
}

think-title {
    background-color: #FF9933;
    background-image: var(--cloth-yellow);
}

pictures {
    display: flex;
    gap: .5rem;
    justify-content: space-around;
}

/* Sources */

sources {
    color: #75631B;
    font-size: 1rem;
    /* font-style: italic; */
    padding: .5rem;
    text-align: center;
}

source-item {
    display: block;
}

sources a, 
sources a:visited, 
sources a:active {
    color: #75631B;
}

/* Act */

.act-diagram {
    margin-bottom: 1rem;
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    table-layout: fixed;
    width: 100%;
}

act-arrow-annotation {
    background-color: white;
    background-image: var(--cloth-white);
    background-size: 35rem;
    clip-path: var(--cutout-1);
    display: inline-block;
    font-size: 1.25rem;
    line-height: 1.25rem;
    padding: .5rem 1rem;
    transform: translateX(calc(-1 * (.75rem + 50%)));
}

.annotation-adjusted {
    transform: translateX(calc(-1 * (-.75rem + 50%)));
}

act-question,
act-good-result,
act-bad-result,
act-bad-realization {
    align-items: center;
    background-color: #35687D;
    background-image: var(--cloth-blue);
    background-size: 35rem;
    border-radius: var(--rounding);
    clip-path: var(--cutout-1);
    color: white;
    display: block;
    font-size: 1.4rem;
    padding: .5rem;
    text-align: center;
    position: relative;
}

act-question {
    background-color: #35687D;
    background-image: var(--cloth-blue);
    background-size: 35rem;
}

act-question .logo {
    height: 1.4rem;
    background-color: white;
    padding: .2rem;
    border-radius: .25rem;
    transform: translateY(.2rem);
}

act-good-result {
    background-color: #FF9933;
    background-image: var(--cloth-yellow);
    background-size: 35rem;
}

act-bad-result {
    background-color: #35687D;
    background-image: var(--cloth-blue);
    background-size: 35rem;
}

act-bad-realization {
    background-color: #4F999C;
    background-image: var(--cloth-light-blue);
    background-size: 35rem;
}

.arrow-down-tiny,
.arrow-down-small,
.arrow-down-long,
.arrow-down-superlong,
.arrow-return {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    vertical-align: top;
    text-align: center;
    padding: .5rem;
}

.arrow-down-long {
    background-position: calc(50% + 1.75rem) center;
}

.arrow-down-tiny {
    background-image: url(./../img/arrow-down-tiny.png);
    height: 2.5rem;
}

.arrow-down-small {
    background-image: url(./../img/arrow-down-small.png);
    height: 5rem;
}

.arrow-down-long {
    background-image: url(./../img/arrow-down-long.png);
    height: 10rem;
}

.arrow-down-superlong {
    background-image: url(./../img/arrow-down-superlong.png);
}

.arrow-return {
    background-image: url(./../img/arrow-return.png);
    background-size: 100% 100%;
    width: 3rem;
}

/*
act-question:before {
    content: "?";
    display: inline-block;
    background-color: red;
    background-color: #F2602D;
    background-image: var(--cloth-yellow);
    background-size: 35rem;
    clip-path: var(--cutout-1);
    font-weight: bold;
    left: 0;
    padding: .25rem .75rem;
    padding-top: 0;
    position: absolute;
    transform: translate(.5rem, -0rem) rotate(-10deg);
}
*/

act-icon {
    background-color: #F2602D;
    background-image: var(--cloth-yellow);
    background-size: 35rem;
    clip-path: var(--cutout-1);
    font-weight: bold;
    left: 0;
    padding: .25rem .75rem;
    padding-top: 0;
    position: relative;
    display: inline-block;
    transform: rotate(5deg);
    margin-right: .5rem;
    margin-left: .5rem;
}

td {
    position: relative;
}

act-bad-realization act-icon {
    background-image: var(--cloth-orange);
}

/* Further notes */

further-notes {
    color: #41370e;
}

further-notes a, 
further-notes a:visited, 
further-notes a:active {
    color: #41370e;
}

/* Sources */

further-notes further-section {
    display: block;
    margin-top: 3rem;
}

further-notes source-entry {
    display: block;
    margin-bottom: 2rem;
}

further-notes source-entry h2 {
    font-size: 1.1rem;
}

further-notes source-entry source-details {
    display: block;
    padding-left: 1rem;
}

further-notes source-entry li {
    font-style: normal;
}

further-notes ul {
    margin-top: 0;
}

/* Footer */

page-footer {
    display: block;
    width: 100%;
    padding: 1rem;
    border-top: 1px solid #41370e;
    text-align: center;
    font-size: 1rem; 
    color: #75631B;
}


/* Misc */

filling-text {
    flex: 1;
}

.padded-text {
    padding-left: .5rem;
    padding-right: .5rem;
}


