html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html.stopScroll {
    max-height: 100vh;
    overflow: hidden;
}

body {
    margin: 0;
    font-family: dapifer, sans-serif;
    font-weight: 300;
}

p {
    margin-block-start: 0;
    margin-block-end: 0;
}

img {
    display: block;
    max-height: 100vh;
}

body {
    position: relative;
    background: #5e1a0b;
}

.text *,
h4,
h5,
p,
a.button {
    font-size: 19px;
    line-height: 25px;
    font-weight: 500;
    font-family: dapifer, sans-serif;
    margin-block-start: 0;
    margin-block-end: 0;
}

h3,
.text h3,
.title h3 {
    font-size: 28px;
    font-family: dapifer, sans-serif;
    font-weight: 500;
    margin-block-start: 0;
    letter-spacing: 3px;
    margin-block-end: 0;
}

.title *,
.text h1,
h1,
h2 {
    font-size: 40px;
    font-family: dapifer, sans-serif;
    font-weight: 500;
    margin-block-start: 0;
    margin-block-end: 0;
    letter-spacing: 3px;
}

strong *,
b *,
strong,
b {
    font-weight: bold !important;
}

.intro {
    width: 100vw;
    height: 100vh;
    background: #531909;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s linear;
}

.intro .textIntro {
    position: absolute;
    color: white;
    width: 60%;
    z-index: 10;
    text-align: center;
    overflow: hidden;
    transition: all 2.5s ease-in-out 2s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.intro .textIntro .larger {
    font-size: 30px;
    letter-spacing: 3px;
    font-family: dapifer, sans-serif;
    font-weight: 300;
    margin: 0 6px;
    position: relative;
    bottom: 60px;
}

.intro.hide {
    opacity: 0;
}

.intro.visible .textIntro .larger {
    bottom: 0;
}

.intro .textIntro .larger:nth-child(1) {
    transition: all 0.8s ease-in-out 0s;
}

.intro .textIntro .larger:nth-child(2) {
    transition: all 0.8s ease-in-out 0.15s;
}

.intro .textIntro .seperate {
    width: 100%;
}

.intro .textIntro .smaller {
    font-size: 20px;
    letter-spacing: 3px;
    font-family: dapifer, sans-serif;
    font-weight: 300;
    margin: 0 6px;
    top: 60px;
    position: relative;
}

.intro.visible .textIntro .smaller {
    top: 0;
}

.intro .textIntro .smaller:nth-child(4) {
    transition: all 0.8s ease-in-out 0.3s;
}

.intro .textIntro .smaller:nth-child(5) {
    transition: all 0.8s ease-in-out 0.45s;
}

.intro .textIntro .smaller:nth-child(6) {
    transition: all 0.8s ease-in-out 0.6s;
}

.intro .textIntro .smaller:nth-child(7) {
    transition: all 0.8s ease-in-out 0.75s;
}

.intro.visible .textIntro {
    opacity: 0;
    filter: blur(20px);
}

.intro video {
    width: 100vw;
    height: 100vh;
    position: absolute;
    object-fit: cover;
    object-position: 50% 50%;
    z-index: 2;
    pointer-events: none;
}

.intro video#bg {
    z-index: 1;
}

.safari .intro video#bg:not(.safari),
.safari .intro video#lastVideo {
    display: none;
}

.intro video#bg.safari {
    opacity: 0;
    display: none;
    transition: opacity 1s ease-in-out;
}

.safari .intro video#bg.safari {
    display: block;
}

.safari .intro video#bg.safari.load {
    opacity: 1;
}

.intro video#firstVideo {
    z-index: 3;
    opacity: 0;
}

.intro video#firstVideo.complete {
    display: none;
}

.intro video#lastVideo {
    opacity: 0;
    margin: 0 auto;
    width: 70vw;
    object-fit: contain;
    transition: opacity 2s ease-in-out 2s;
}

.intro.visible video#lastVideo {
    opacity: 1;
}

.textarea {
    width: 60%;
    padding: 250px 20%;
    position: relative;
    transition: all 1s ease-in-out;
    max-height: 100vh;
}

.textarea.visible {
    padding: 30vh 20%;
}

.textarea p,
.droppedHeader .tabs .single p {
    margin: 30px 0;
    font-weight: 100;
}

.textarea h3:first-child,
.droppedHeader .tabs .single h3:first-child {
    margin-bottom: 30px;
}

.textarea .buttons,
.droppedHeader .tabs .single .buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    align-items: center;
    margin-top: 40px;
}

.textarea .buttons a,
.textarea .buttons .button,
.droppedHeader .tabs .single .buttons a:not(.notbutton) {
    margin: 10px 10%;
}

.buttons a,
.buttons .button {
    text-align: center;
    font-family: dapifer, sans-serif;
    color: inherit;
    text-decoration: none;
    padding: 6px 25px 9px 25px;
    border: 1px solid #53190B;
    transition: all 0.1s linear;
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
    cursor: pointer;
}

.buttons a:hover,
.buttons .button:hover {
    background: #963A29;
    color: white;
}

.textarea .outro {
    position: absolute;
    bottom: 0px;
    left: 0px;
    top: unset !important;
    opacity: 1 !important;
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #963A29;
}

.textarea .outro img {
    width: 90px;
    margin: 0 auto;
}

.textarea>* {
    position: relative;
    top: 20px;
    opacity: 0;
}

.textarea>*:nth-child(1) {
    transition: all 0.5s ease-in-out 0s;
}

.textarea>*:nth-child(2) {
    transition: all 0.5s ease-in-out 0.15s;
}

.textarea>*:nth-child(3) {
    transition: all 0.5s ease-in-out 0.3s;
}

.textarea>*:nth-child(4) {
    transition: all 0.5s ease-in-out 0.45s;
}

.textarea>*:nth-child(5) {
    transition: all 0.5s ease-in-out 0.6s;
}

.textarea>*:nth-child(6) {
    transition: all 0.5s ease-in-out 0.75s;
}

.textarea>*:nth-child(7) {
    transition: all 0.5s ease-in-out 0.9s;
}

.textarea.visible>* {
    opacity: 1;
    top: 0px;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 15;
    width: 90%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease-in-out;
}


/*
.header:not(.top) {
    background: #53190a;
}
*/

.header .buttons a {
    color: white;
    border: 1px solid white;
    font-size: 20px;
    padding: 8px 15px;
    letter-spacing: 3px;
}

.header.hide .buttons a {
    opacity: 0;
    pointer-events: none;
}

.header .buttons a:hover {
    color: #531909;
    background: white;
}

.header .buttons a:last-child:hover {
    color: white;
    background: unset;
}

.header .burger {
    width: 100px;
}

.header .burger {
    cursor: pointer;
    height: 28px;
    width: 40px;
}

.header .burger.closed #one {
    animation-name: headerAnimOne2;
}

.header .burger.closed #two {
    animation-name: headerAnimTwo2;
}

.header .burger.closed #three {
    animation-name: headerAnimThree2;
}

.header .burger.begin #one {
    animation-name: headerAnimOne;
}

.header .burger.begin #two {
    animation-name: headerAnimTwo;
}

.header .burger.begin #three {
    animation-name: headerAnimThree;
}

@keyframes headerAnimOne {
    0% {
        top: 0;
    }

    50% {
        top: 15px;
        transform: rotate(0deg);
    }

    100% {
        top: 15px;
        transform: rotate(-45deg);
    }
}

@keyframes headerAnimOne2 {
    0% {
        top: 15px;
        transform: rotate(-45deg);
    }

    50% {
        top: 15px;
        transform: rotate(0deg);
    }

    100% {
        top: 0;
        transform: rotate(0deg);
    }
}

@keyframes headerAnimTwo {
    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-45deg);
    }
}

@keyframes headerAnimTwo2 {
    0% {
        transform: rotate(-45deg);
    }

    50% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

@keyframes headerAnimThree {
    0% {
        top: 0;
    }

    50% {
        top: -15px;
        transform: rotate(0deg);
    }

    100% {
        top: -15px;
        transform: rotate(45deg);
    }
}

@keyframes headerAnimThree2 {
    0% {
        top: -15px;
        transform: rotate(45deg);
    }

    50% {
        top: -15px;
        transform: rotate(0deg);
    }

    100% {
        top: 0;
    }
}

.header .burger>div {
    width: 100%;
    height: 1px;
    margin-bottom: 14px;
    background: white;
    position: relative;
    transition-delay: 1s;
    animation-fill-mode: forwards;
    animation-duration: 1s;
}

.droppedHeader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 14;
    width: 80%;
    height: 80vh;
    padding: 10vh 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    background: #53190ac9;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(5px);
    transition: all 0.8s ease-in-out;
}

.droppedHeader.headOpened {
    opacity: 1;
    pointer-events: all;
}

.droppedHeader.tabsOpen .options,
.droppedHeader.hideAnimation .options {
    opacity: 0;
    pointer-events: none;
}

.droppedHeader a.notbutton {
    color: white;
    text-decoration: none;
}

.droppedHeader a:not(.notbutton),
.droppedHeader .options>div {
    font-family: dapifer, sans-serif;
    display: block;
    width: fit-content;
    text-decoration: none;
    text-align: center;
    margin: 40px auto;
    font-size: 25px;
    line-height: 30px;
    color: white;
    letter-spacing: 3px;
    cursor: pointer;
    position: relative;
    opacity: 0;
    top: 20px;
}

.droppedHeader a:hover .underline,
.droppedHeader .options>div:hover .underline {
    width: 100%;
}

.droppedHeader a .underline,
.droppedHeader .options>div .underline {
    width: 0px;
    height: 1px;
    background: white;
    transition: all 0.3s ease-in-out;
}

.droppedHeader.headOpened a,
.droppedHeader.headOpened .options>div {
    opacity: 1;
    top: 0px;
}

.droppedHeader .options>a:nth-child(1),
.droppedHeader .options>div:nth-child(1) {
    transition: opacity 0.8s ease-in-out 0.4s, top 0.8s ease-in-out 0.4s;
}

.droppedHeader .options>a:nth-child(2),
.droppedHeader .options>div:nth-child(2) {
    transition: opacity 0.8s ease-in-out 0.5s, top 0.8s ease-in-out 0.5s;
}

.droppedHeader .options>a:nth-child(3),
.droppedHeader .options>div:nth-child(3) {
    transition: opacity 0.8s ease-in-out 0.6s, top 0.8s ease-in-out 0.6s;
}

.droppedHeader .options>a:nth-child(4),
.droppedHeader .options>div:nth-child(4) {
    transition: opacity 0.8s ease-in-out 0.7s, top 0.8s ease-in-out 0.7s;
}

.droppedHeader .options>a:nth-child(5),
.droppedHeader .options>div:nth-child(5) {
    transition: opacity 0.8s ease-in-out 0.8s, top 0.8s ease-in-out 0.8s;
}

.droppedHeader .options>a:nth-child(6),
.droppedHeader .options>div:nth-child(6) {
    transition: opacity 0.8s ease-in-out 0.9s, top 0.8s ease-in-out 0.9s;
}

.droppedHeader .options>a:nth-child(7),
.droppedHeader .options>div:nth-child(7) {
    transition: opacity 0.8s ease-in-out 1s, top 0.8s ease-in-out 1s;
}

.droppedHeader .options>a:nth-child(8),
.droppedHeader .options>div:nth-child(8) {
    transition: opacity 0.8s ease-in-out 1.1s, top 0.8s ease-in-out 1.1s;
}

.droppedHeader .options>a:nth-child(9),
.droppedHeader .options>div:nth-child(9) {
    transition: opacity 0.8s ease-in-out 1.2s, top 0.8s ease-in-out 1.2s;
}

.droppedHeader .options>a:nth-child(10),
.droppedHeader .options>div:nth-child(10) {
    transition: opacity 0.8s ease-in-out 1.3s, top 0.8s ease-in-out 1.3s;
}

.droppedHeader .options {
    transition: all 0.4s ease-in-out;
}

.droppedHeader .tabs {
    position: absolute;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    height: 80%;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: all 0.4s ease-in-out;
}

.droppedHeader .tabs .single {
    position: absolute;
    text-align: center;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: all 0.8s ease-in-out;
}

.droppedHeader .tabs .single.selected {
    opacity: 1;
    pointer-events: all;
}

.droppedHeader .tabs .single p.disclaimer {
    font-size: 13px;
    margin: 0px;
}

.droppedHeader .tabs .single a:not(.notbutton) {
    font-family: dapifer, sans-serif;
    color: inherit;
    text-decoration: none;
    padding: 4px 25px 7px 25px;
    border: 1px solid white;
    transition: all 0.1s linear;
    display: block;
    width: fit-content;
    margin: 10px auto;
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.1s linear;
}

.droppedHeader .tabs .single a:not(.notbutton):hover {
    border: 1px solid #551a0a;
    background: white;
    color: #551a0a;
}

.droppedHeader .tabs .single a.notbutton {
    text-decoration: underline;
}

.gallery {
    position: absolute;
    left: 0;
    top: 0;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f0e9;
    padding: 10vh 10vw;
    min-height: 80vh;
    max-height: 0px;
    overflow: hidden;
    pointer-events: none;
    opacity: 0 !important;
    transition: all 3s ease-in-out;
    z-index: 3;
}

.gallery.open {
    opacity: 1 !important;
    max-height: 1000vh;
    overflow: scroll;
    pointer-events: all;
}

.textarea.galleried {
    padding: 0px 20%;
    max-height: 0px;
    overflow: hidden;
}

.gallery .left,
.gallery .right {
    width: 49%;
}

.gallery .left img {
    width: 100%;
    height: calc(25vh - 10px);
    height: 50vh;
    object-fit: cover;
    margin-bottom: 20px;
}

.gallery .right img {
    width: 100%;
    height: 50vh;
    margin-bottom: 20px;
    object-fit: cover;
}

.textarea>.introLine {
    position: absolute;
    top: 0;
    width: 2px;
    left: calc(50% - 1px);
    height: 100%;
    max-height: 0px;
    transition: all 0.8s ease-in-out;
    background: #51160C;
}

.textarea.visible>.introLine {
    max-height: 25vh;
}

.footer {
    width: 80%;
    padding: 50px 10% 10px 10%;
    background: #F8F7F4;
    display: flex;
    transition: all 0.8s ease-in-out;
    justify-content: space-between;
}

.footerOutro {
    width: 80%;
    padding: 10px 10%;
    background: #f8f7f4;
}

.footerOutro a {
    color: black;
    text-decoration: none;
    font-size: 16px;
}

.footerOutro a:hover {
    text-decoration: underline;
}

.footer.galleried {
    max-height: 0px;
    padding: 0px 10%;
}

.footer>a {
    width: 40%;
}

.footer>a img {
    width: 150px;
    max-width: 100%;
}

.footer .info {
    width: 20%;
    margin-top: 28px;
}

.footer .info p {
    margin: 5px 0;
    font-size: 16px;
    line-height: 20px;
    font-weight: 100;
}

.footer .info a {
    display: block;
    color: black;
    text-decoration: none;
    font-size: 16px;
    line-height: 20px;
    font-weight: 100;
}

.footer .socals {
    margin-top: 28px;
    width: 20%;
    max-width: 105px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer .socals img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* snap scrolling feature */

body {
    scroll-snap-align: start;
    scroll-snap-type: y mandatory;
    scroll-padding: 0px;
    max-height: 100vh;
    overflow: scroll;
}

body>* {
    scroll-snap-align: start;
}


/* ------- */

::-webkit-scrollbar {
    /* they asked to disable the scrollbar */
    display: none !important;
}

.singlePost {
    padding: 100px 0;
    width: 100%;
    background: #F4F0E9;
    color: #53190B;
    border-bottom: 1px solid #53190b;
}

.singlePost .inner {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.singlePost .inner .left {
    width: 30%;
}

.singlePost .inner .left img {
    width: 100%;
}

.singlePost .inner .right {
    width: 65%;
}

.singlePost .inner .right img {
    display: block;
    width: 100%;
    max-height: 50vh;
    max-width: 500px;
    object-fit: contain;
    object-position: 0 50%;
}

.singlePost .inner .left img:first-child {
    object-fit: contain;
    max-width: 150px;
    margin-bottom: 50px;
}

.singlePost .inner .left img:last-child {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 2px solid #53190b;
}

.singlePost .inner .right>.upper {
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #53190b;
}

.singlePost .inner .right .upper p,
.journal .inner .single .content p {
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 100;
    margin-top: 15px;
    font-style: italic;
}

.singlePost .inner .right>* {
    margin: 15px 0;
    font-weight: 100;
}

.singlePost .inner .right li {
    font-size: 18px;
    line-height: 20px;
    margin: 5px 0;
}

.singlePost .inner .right h2 {
    font-size: 25px;
    letter-spacing: 0px;
    font-weight: 400;
    margin: 20px 0;
}

.singlePost .inner .right a:not(.button) {
    color: inherit;
}

.singlePost .inner .right .button,
.journal .inner .single .content .button {
    text-align: center;
    font-family: dapifer, sans-serif;
    color: inherit;
    text-decoration: none;
    padding: 6px 25px 9px 25px;
    border: 1px solid #53190B;
    transition: all 0.1s linear;
    display: block;
    width: fit-content;
    margin: 50px 0 0 0;
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
    cursor: pointer;
}

.singlePost .inner .right .button:hover,
.journal .inner .single .content .button:hover {
    background: #53190B;
    color: #F4F0E9;
}

.header.miniHeader {
    position: relative;
}

.single-post .footer,
.footerOutro {
    background: #f4f0e9;
}

.journal {
    width: 100%;
    padding: 100px 0;
    background: #F4F0E9;
    color: #5e1a0b;
}

.journal>.inner {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}

.journal .upper {
    text-align: center;
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #5e1a0b;
}

.journal .upper>* {
    width: 80%;
    margin: 15px auto;
}

.journal>.inner .inner {
    width: 100%;
}

.journal .upper img {
    width: 100%;
    max-width: 150px;
    margin: 30px auto 0 auto;
}

.journal .inner .single {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    color: #5e1a0b;
    text-decoration: none;
}

.journal .inner .single:last-child {
    margin-bottom: 0px;
}

.journal .inner .single img {
    width: 30%;
    height: 250px;
    object-fit: cover;
    border: 2px solid #5e1a0b;
}

.journal .inner .single .content {
    width: 65%;
}

.journal .inner .single .content .button {
    margin-top: 15px;
}

body.single-post {
    scroll-snap-align: unset;
    scroll-snap-type: unset;
    scroll-padding: unset;
}

@media(max-height: 1000px) {
    .droppedHeader .tabs {
        align-items: flex-start;
        height: 90vh;
    }

    .droppedHeader {
        align-items: flex-start;
        overflow-y: hidden;
        height: 90vh;
        padding: 10vh 10% 0 10%;
    }

    .droppedHeader .tabs .single {
        overflow-y: scroll;
        height: 80vh;
    }

    .droppedHeader .options {
        height: 80%;
        overflow: scroll;
    }
}

@media(max-width: 1000px) {
    .singlePost .inner {
        flex-wrap: wrap;
    }

    .singlePost .inner .left,
    .singlePost .inner .right {
        width: 100%;
    }

    .singlePost .inner .left img:last-child {
        height: 40vh;
        min-height: 200px;
    }

    .header {
        align-items: flex-start;
    }

    .gallery {
        flex-wrap: wrap;
    }

    .gallery .left,
    .gallery .right {
        width: 100%;
    }

    .intro video#lastVideo {
        width: 100vw;
    }

    .footer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footerOutro {
        text-align: center;
    }

    .footer .info {
        width: 100%;
        text-align: center;
        margin: 30px auto;
    }

    .footer>a img {
        margin: 0 auto;
    }

    .footer .socals {
        width: 100%;
    }
}

@media(max-width: 600px) {
    .journal .inner .single {
        flex-wrap: wrap;
    }

    .journal .inner .single img {
        width: 100%;
        height: 30vh;
        min-height: 200px;
        margin-bottom: 20px;
    }

    .journal .inner .single .content {
        width: 100%;
    }

    .droppedHeader .tabs .single .buttons {
        flex-wrap: wrap;
    }

    .droppedHeader .tabs .single .buttons a {
        margin: 15px;
    }

    body {
        width: 100vw;
        overflow-x: hidden;
    }

    .header .buttons a {
        font-size: 16px;
    }

    .mobilehide {
        display: none;
    }

    .textarea .buttons {
        flex-wrap: wrap;
    }

    .textarea .buttons a {
        margin: 15px;
    }

    .textarea.visible>.introLine {
        max-height: 150px;
    }

    .textarea {
        width: 80%;
        padding: 165px 10% !important;
    }

    .intro .textIntro {
        width: 90%;
    }

    .droppedHeader .tabs {
        align-items: flex-start;
    }

    .intro video#lastVideo {
        width: 180vw;
    }

    .text *,
    h4,
    h5,
    p,
    a.button {
        font-size: 17px;
        line-height: 23px;
    }

    h3,
    .text h3,
    .title h3 {
        font-size: 18px;
        letter-spacing: 2px;
    }
}