/*
Theme Name: The tidy tribe
Author: J. Vijverberg
Version: 1.0
*/

:root {
    --green-color: #8e8f3d;
    --lila-color: #e3ccff;
    --dark-purple-color: #472e56;
    --pink-color: #e89fcb;
    --light-yellow-color: #f4f1da;
    --orange-color: #f8ad4f;

    --breakpoint-xl: 1536px;
    --breakpoint-lg: 1100px;
    --breakpoint-md: 900px;
    --breakpoint-sm: 600px;

    --menu-animation: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-family: "Open Sans", sans-serif;
}

p {
    overflow-wrap: break-word;
}

h1,
h2 {
    font-family: "Playfair Display", serif;
    font-weight: 100;
    line-height: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    text-wrap: balance;
}

input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block: 0;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
    display: block;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

button {
    text-transform: none;
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

a {
    outline: none;
    text-decoration: none;
}

figure {
    margin: 0;
}

/* Fonts */
@font-face {
    font-family: 'gliker-regular';
    src: url('fonts/gliker-regular-webfont.woff2') format('woff2'),
        url('fonts/gliker-regular-webfont.woff') format('woff');
}

.gliker-regular-font {
    font-family: 'gliker-regular', serif;
    font-size: 37px;
}

.page-section p {
    font-size: 17px;
}

.page-section h1 {
    font-size: 34px;
}

.page-section h2 {
    font-size: 40px;
}

@media (min-width: 576px) {
    .gliker-regular-font {
        font-size: 40px;
    }

    .page-section p {
        font-size: 20px;
    }

    .page-section h1 {
        font-size: 37px;
    }

    .page-section h2 {
        font-size: 45px;
    }
}

/* Page Header */
.page-header {
    background-color: var(--green-color);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.page-header-content {
    max-width: var(--breakpoint-xl);
    width: 100%;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    gap: 2rem;
}

.page-header__logo img {
    max-height: 80px;
    height: auto;
    width: auto;
}

.page-nav {
    display: none;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.page-nav li {
    list-style: none;
    position: relative;
}

.page-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    background-color: var(--green-color);
}

.page-header ul li {
    white-space: nowrap;
    display: flex;
    padding: 0;
}

.page-nav ul a {
    padding: .5rem 1rem;
}

.page-nav li:hover>ul {
    opacity: 1;
    visibility: visible;
}

.page-nav a {
    color: var(--light-yellow-color);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.page-nav a:hover {
    color: var(--lila-color);
}

.hamburger-menu {
    outline: none;
    border: none;
    display: flex;
    color: var(--light-yellow-color);
}

.hamburger-menu:hover {
    color: var(--lila-color);
}

.hamburger-menu__icon {
    width: 32px;
    height: 32px;
    position: relative;
}

.hamburger-menu__icon span {
    display: block;
    width: 24px;
    height: 4px;
    border-radius: 9999px;
    background-color: currentColor;
    transition: all var(--menu-animation);
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    margin-left: -12px;
    margin-top: -2px;
}

.hamburger-menu__icon span:nth-of-type(1) {
    top: 6px;
}

.hamburger-menu__icon span:nth-of-type(3) {
    top: calc(100% - 6px);
}

.hamburger-menu--open .hamburger-menu__icon span:nth-of-type(1) {
    top: 50%;
    transform: rotate(-45deg);
}

.hamburger-menu--open .hamburger-menu__icon span:nth-of-type(2) {
    transform: scale(0);
    opacity: 0;
}

.hamburger-menu--open .hamburger-menu__icon span:nth-of-type(3) {
    top: 50%;
    transform: rotate(45deg);
}

.hamburger-menu-items {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--menu-animation);
    width: 100%;
    text-align: end;
}

.hamburger-menu-items li,
.hamburger-menu-items li a {
    width: 100%;
}

.hamburger-menu-items li a {
    padding: .5rem 2rem;
}

.hamburger-menu-items li:last-child {
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .page-nav {
        gap: 4rem;
        display: flex;
    }

    .hamburger-menu {
        display: none;
    }
}

.active-page {
    color: var(--lila-color) !important;
}

/* Page Sections */
.page-section {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.grid-center-content {
    display: grid;
    justify-items: center;
}

.flex-center-content {
    display: flex;
    justify-content: center;
}

.flex-align-items-center {
    align-items: center;
}

.page-section-content {
    width: 100%;
    padding: 4rem 2rem;
}

.page-section-content-top-padding {
    width: 100%;
    padding-top: 4rem;
}

.page-section-content-bottom-padding {
    width: 100%;
    padding-bottom: 4rem;
}

.page-section-content-side-padding {
    width: 100%;
    padding-right: 2rem;
    padding-left: 2rem;
}

.page-section-content-side-padding-small {
    padding-right: 2rem;
    padding-left: 2rem;
}

.xl-content {
    max-width: var(--breakpoint-xl);
}

.lg-content {
    max-width: var(--breakpoint-lg);
}

.md-content {
    max-width: var(--breakpoint-md);
}

.full-width {
    width: 100%;
}

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

@media (min-width: 1024px) {
    .title-margin-top {
        margin-top: 2.2rem;
    }
}

.justify-self-start {
    justify-self: start;
}

.justify-self-center {
    justify-self: center;
    max-width: 15rem;
}

.text-gap {
    display: grid;
    gap: 1.5rem;
}

.gap-half {
    display: grid;
    gap: 0.5rem;
}

.gap-1 {
    display: grid;
    gap: 1rem;
}

.gap-1-half {
    display: grid;
    gap: 1.5rem;
}

.gap-2 {
    display: grid;
    gap: 2rem;
}

.gap-3-half {
    display: grid;
    gap: 3.5rem;
}

.gap-4 {
    display: grid;
    gap: 4rem;
}

.gap-4-half {
    display: grid;
    gap: 4.5rem;
}

.gap-6 {
    display: grid;
    gap: 6rem;
}

.page-section-content--1-column-auto {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.page-section-content--2-equal-columns {
    display: grid;
    gap: 4rem;
}

.page-section-content--2-equal-columns-gap-9 {
    display: grid;
    gap: 4rem;
}

.page-section-content--2-equal-columns-for-text {
    display: grid;
    gap: 1.5rem;
}

.page-section-content--3-equal-columns {
    display: grid;
    gap: 2.5rem;
    justify-content: center;
}

.page-section-content--2-columns-auto-left-gap-4 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "B"
        "A";
    gap: 5rem;
}

.page-section-content--2-columns-auto-left-gap-6 {
    display: grid;
    gap: 5rem;
}

.page-section-content--2-columns-auto-left-gap-10 {
    display: grid;
    gap: 5rem;
}

.page-section-content--2-columns-auto-right-gap-4 {
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr;
    grid-template-areas:
        "A"
        "B";
}

.page-section-content--2-columns-auto-right-gap-8 {
    display: grid;
    gap: 4rem;
    grid-template-columns: 1fr;
    grid-template-areas:
        "B"
        "A";
}

.page-section-content--2-rows-auto-bottom {
    display: grid;
    grid-template-rows: 1fr auto;
}

.page-section-content--4-rows-auto {
    display: grid;
    grid-template-rows: repeat(4, auto);
    justify-content: center;
    gap: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
}

.page-section-content--3-equal-blocks {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    justify-content: center;
}

.calendly-inline-widget {
    min-width: 320px;
    height: 45rem;
}

@media (min-width: 576px) {
    .page-section-content {
        padding: 6rem 2rem;
    }

    .page-section-content-top-padding {
        padding-top: 6rem;
    }

    .page-section-content-bottom-padding {
        padding-bottom: 6rem;
    }
}

@media (min-width: 800px) {
    .page-section-content--3-equal-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1410px) {
    .page-section-content {
        padding: 6rem 8rem;
    }

    .page-section-content-side-padding {
        padding-left: 8rem;
        padding-right: 8rem;
    }

    .page-section-content--3-equal-blocks {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-section-content--2-equal-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-section-content--2-equal-columns-gap-9 {
        grid-template-columns: repeat(2, 1fr);
        gap: 9rem;
    }

    .page-section-content--2-equal-columns-for-text {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }

    .page-section-content--3-equal-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-section-content--2-columns-auto-left-gap-10 {
        grid-template-columns: auto 1fr;
        gap: 10rem;
    }

    .page-section-content--2-columns-auto-left-gap-6 {
        grid-template-columns: auto 1fr;
        gap: 6rem;
    }

    .page-section-content--2-columns-auto-left-gap-4 {
        grid-template-columns: auto 1fr;
        gap: 4rem;
        grid-template-areas: "A B";
    }

    .page-section-content--2-columns-auto-right-gap-4 {
        grid-template-columns: 1fr auto;
        gap: 4rem;
        grid-template-areas: "A B";
    }

    .page-section-content--2-columns-auto-right-gap-8 {
        grid-template-columns: 1fr auto;
        gap: 8rem;
        grid-template-areas: "A B";
    }

    .page-section__summary-left {
        max-width: 33rem;
    }

    .calendly-inline-widget {
        height: 37.5rem;
    }
}

@media (max-width: 576px) {
    .page-section-content--2-columns-auto-right-gap-4 .page-section__image {

        /* Remove padding from outer container */
        margin-bottom: -4rem;
        margin-left: -2rem;
        margin-right: -2rem;
    }

    .page-section-content--2-columns-auto-right-gap-4 .page-section__image img {
        max-height: none;
        width: 100%;
    }

    .page-section-content--2-columns-auto-right-gap-8 .page-section__image {

        /* Remove padding from outer container */
        margin-top: -4rem;
        margin-left: -2rem;
        margin-right: -2rem;
    }

    .page-section-content--2-columns-auto-right-gap-8 .page-section__image-without-top-margin {
        margin-left: -2rem;
        margin-right: -2rem;
    }

    .page-section-content--2-columns-auto-right-gap-8 .page-section__image img {
        max-height: none;
        width: 100%;
    }
}

.text-link {
    text-decoration: underline;
    color: inherit;
}

.page-section__price-block {
    background-color: var(--light-yellow-color);
    padding: 2rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    max-width: 37rem;
}

.page-section__price-block p:last-child {
    margin-top: auto;
}

.page-section__information-block {
    background-color: var(--green-color);
    padding: 3rem 2rem;
    color: var(--light-yellow-color);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 30rem;
}

.page-section__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

.page-section__intro h1 {
    line-height: 1;
    text-align: center;
}

.page-section__intro p {
    max-width: 35rem;
}

.page-section__intro-container {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.page-section__intro-container p {
    font-size: 19px;
    text-align: center;
}

@media (min-width: 576px) {
    .page-section__intro p {
        text-align: start;
    }

    .page-section__intro-container p {
        font-size: 21px;
    }
}

.tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.page-section__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-section__form button {
    margin-top: 2rem;
    width: 15rem;
    align-self: center;
}

.page-section__form-item {
    border: none;
    outline: none;
    resize: none;

    border-bottom: 2px solid var(--dark-purple-color);
    background-color: transparent;
}

.page-section__summary {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1.5rem;
}

.page-section__summary-gap-2 {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 2rem;
}

.item-1 {
    grid-area: A;
}

.item-2 {
    grid-area: B;
}

.item-3 {
    grid-area: C;
}

.page-section__summary a {
    align-self: center;
    margin-top: 2rem;
}

.page-section__summary h1 {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-section-inner-block {
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
}

.page-section-inner-block h1 {
    margin-bottom: 0.5rem;
}

.page-section-inner-block ul {
    padding-left: 1.2rem;
}

@media (max-width: 576px) {
    .remove-padding-mobile {
        padding: 0;
    }
}

.page-section-steps {
    max-width: var(--breakpoint-md);
    width: 100%;
    display: grid;
    grid-template-rows: repeat(4, auto);
    gap: 1rem;
    padding-bottom: 4rem;
}

.page-section-steps__content {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.max-height-37 {
    max-height: 37rem;
}

.max-height-40 {
    max-height: 40rem;
}

.page-section__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-section__image-without-top-margin {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-section__image img {
    height: auto;
    width: auto;
}

.page-section__image-without-top-margin img {
    height: auto;
    width: auto;
}

.page-section__image-with-title {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
}

.page-section__image-with-title img {
    max-height: 40rem;
    height: auto;
    width: auto;
}

.page-section__image-with-title h1 {
    max-width: 29rem;
}

@media (max-width: 1024px) {
    .desktop-only {
        display: none;
    }
}

@media (min-width: 1024px) {
    .tablet-only {
        display: none;
    }

    .page-section__image-with-title {
        align-items: start;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .non-mobile {
        display: none;
    }
}


/* Footer */
.page-footer {
    background-color: var(--light-yellow-color);
    display: flex;
    justify-content: center;
}

.page-footer-content {
    max-width: var(--breakpoint-xl);
    width: 100%;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    color: var(--green-color);
    gap: 1rem;
}

@media (min-width: 750px) {
    .page-footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        font-size: 18px;
    }
}

@media (min-width: 1410px) {
    .page-footer-content {
        padding: 4rem 8rem;
    }
}

.page-footer-content a {
    text-decoration: none;
    color: var(--green-color);
}

.page-footer-content a:hover {
    text-decoration: underline;
}

.page-footer-content p {
    max-width: 16rem;
}

.page-footer__nav {
    display: flex;
    flex-direction: column;
}

.page-footer__contact {
    display: flex;
    flex-direction: column;
}

.page-footer__contact h4 {
    font-weight: 700;
}

.page-footer__info {
    display: flex;
    flex-direction: column;
}

.page-footer__info p:last-child {
    margin-top: auto;
}

.page-footer__instagram a {
    display: inline-block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* Buttons */
.btn {
    display: flex;
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 400;
    font-size: 17px;
    justify-content: center;
    min-width: 15rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 576px) {
    .btn {
        font-size: 20px;
    }
}

.btn-font-weight-500 {
    font-weight: 500;
}

.btn-orange-light-yellow {
    border: 2px solid var(--orange-color);
    color: var(--orange-color);
    background-color: transparent;
}

.btn-orange-light-yellow:hover {
    background-color: var(--orange-color);
    color: var(--light-yellow-color);
}

.btn-orange-dark-purple-full {
    border: 2px solid var(--orange-color);
    color: var(--dark-purple-color);
    background-color: var(--orange-color);
}

.btn-orange-dark-purple-full:hover {
    background-color: transparent;
    color: var(--orange-color);
}

.btn-lila-dark-purple {
    border: 2px solid var(--lila-color);
    color: var(--lila-color);
    background-color: transparent;
}

.btn-lila-dark-purple:hover {
    background-color: var(--lila-color);
    color: var(--dark-purple-color);
}

.btn-dark-purple-light-yellow {
    border: 2px solid var(--dark-purple-color);
    color: var(--light-yellow-color);
    background-color: var(--dark-purple-color);
}

.btn-dark-purple-light-yellow:hover {
    background-color: transparent;
    color: var(--dark-purple-color);
}

.btn-pink-light-yellow {
    border: 2px solid var(--pink-color);
    color: var(--dark-purple-color);
    background-color: var(--pink-color);
}

.btn-pink-light-yellow:hover {
    background-color: var(--light-yellow-color);
    color: var(--pink-color);
}

.btn-orange-lila {
    border: 2px solid var(--orange-color);
    color: var(--dark-purple-color);
    background-color: var(--orange-color);
}

.btn-orange-lila:hover {
    border: 2px solid var(--dark-purple-color);
    background-color: transparent;
}

.btn-green-light-yellow {
    border: 2px solid var(--green-color);
    color: var(--light-yellow-color);
    background-color: var(--green-color);
}

.btn-green-light-yellow:hover {
    background-color: transparent;
    color: var(--green-color);
}

/* Colors */
.light-yellow-background {
    background-color: var(--light-yellow-color);
}

.light-yellow-text {
    color: var(--light-yellow-color);
}

.lila-background {
    background-color: var(--lila-color);
}

.lila-text {
    color: var(--lila-color);
}

.green-text {
    color: var(--green-color);
}

.dark-purple-background {
    background-color: var(--dark-purple-color);
}

.dark-purple-text {
    color: var(--dark-purple-color);
}

.pink-background {
    background-color: var(--pink-color);
}

.green-background {
    background-color: var(--green-color);
}