@font-face {
    font-family: 'Alliance';
    src: url("/font/Allience.woff") format("woff"), url("/font/Allience.ttf")  format("truetype");
}

@font-face {
    font-family: 'Nova Thin';
    src: url("/font/Nova-Thin.woff2") format("woff2"), 
    url("/font/Nova-Thin.woff") format("woff");
}

@font-face {
    font-family: 'Josefin Sans Light';
    src: url("/font/ol-round-gothic.woff2") format("woff2"), 
    url("/font/ol-round-gothic.woff") format("woff");
}

@font-face {
    font-family: 'Josefin Sans Light';
    src: url("/font/JosefinSans-Regular.woff2") format("woff2"), 
    url("/font/JosefinSans-Regular.woff") format("woff");
}

@font-face {
    font-family: 'Josefin Sans Light';
    src: url("/font/JosefinSans-Light.woff2") format("woff2"), 
    url("/font/JosefinSans-Light.woff") format("woff");
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:45% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:45% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:45% 50%}
    100%{background-position:0% 50%}
} */

html {
    scroll-behavior: smooth;
}
  

button {
    all: unset;
}

body {    
    margin: 0;
    background: #fff;
    background: rgb(0,0,0);
    font-size: 16px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 100;
    line-height: 1.7em;
    color: #fff;
}

.home {
    background: linear-gradient(270deg, #765b22, #000000);
    background-size: 400% 400%;
    background-position: 20% 50%;
}

#menu {
    transition: transform 0.4s ease-in-out;
    transform: translateX(100%);
    display: flex;
    position: fixed;
    right: 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.menu__list {
    margin-top: 40%;
}

.menu__list__item {
    list-style: none;
}

.menu__list__item__anchor {
    font-family: 'Josefin Sans Light';
    color: rgb(233, 219, 189);
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    text-decoration: none;
}

.menu__list__item__anchor:hover {
    filter: brightness(120%);
}

body.nav-open #menu {
    height: 100vh;
    width: 20vw;
    background-color: black;
    border-left: 1px solid #e9dbbd;
    position: fixed;
    right: 0;
    top: 0;
    transform: translate(0);
    z-index: 3500;
}
  
.menu-toggle {
    position: fixed;
    right: 40px;
    top: 20px;
    height: 26px;
    width: 29px;
    color: rgb(233, 219, 189);
    cursor: pointer;
    z-index: 4000;
}

.menu-toggle:hover {
    filter: brightness(120%);
}

.menu-toggle-bar {
    display: block;
    position: absolute;
    top: 50%;
    margin-top: -1px;
    right: 0;
    width: 100%;
    height: 4px;
    background-color: rgb(233, 219, 189);
    transition: all 0.3s ease;
}

.menu-toggle-bar.menu-toggle-bar--top {
    transform: translate(0, -8px);
}

.menu-toggle-bar.menu-toggle-bar--bottom {
    transform: translate(0, 8px);
}

.nav-open .menu-toggle-bar.menu-toggle-bar--top {
    transform: translate(0, 0) rotate(45deg);
}

.nav-open .menu-toggle-bar.menu-toggle-bar--middle {
    opacity: 0;
}

.nav-open .menu-toggle-bar.menu-toggle-bar--bottom {
    transform: translate(0, 0) rotate(-45deg);
}

.menu__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Josefin Sans Light';
    font-size: 90px;
    line-height: 1em;
    /* color: #806837; */
    color: rgb(233, 219, 189);
    text-transform: uppercase;
}

.services__title__header__inner h1 {
    font-size: 43px;
    line-height: 1.7em;
}

h3 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    color: rgb(233, 219, 189);
}

h4 {
    text-transform: capitalize;
    font-weight: 100;
    font-size: 12px;
    margin: 0 0 10px;
    padding: 0;

    color: rgb(233, 219, 189);
}

.paragraph--indent {
    text-indent: 1em;
}

#mesh {
    display: flex;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
}

.header {
    position: absolute;
    top: 20px;
    z-index: 3000;
}

.header__nav {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    position: relative;
}

.header__nav__logo {
    width: 100px;
}

.header__nav__list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header__nav__list__item {
    display: flex;
    gap: 40px;
    margin: 2em 0;
}

.header__nav__list__item__anchor {
    font-size: 14px;
    text-decoration: none;
    font-weight: 400;
}

.header__nav__list__item__anchor:hover {
    filter: brightness(120%);
}

section, footer {
    position: relative;
    display: flex;
    max-width: 1024px;
    margin: 0 auto;
    flex-direction: column;
}

footer {
    flex-direction: row;
}

header {
    width: 100%;
}

.splash {
    height: 100vh;
    justify-content: center;
    align-items: center;
    z-index: 500;
}

.splash h1 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services__title {
    display: flex;
    margin-top: 100px;
}

.services__title h1 {
    margin-bottom: 0;
    text-align: center;
}

.section__contact__info {
    margin: 20px 0 40px;
}

.section__contact__info h3 {
    text-transform: lowercase;
    font-size: 16px;
}

.home__why {
    display: flex;
    align-items: center;
    padding-bottom: 50vh;
    z-index: 500;
}

.home__why .hero {
    margin-left: 300px;
    color:#806837;
}

h2 {
    font-size: 40px;
    line-height: 1.2em;
    font-weight: 100;
    margin: 0;
}

.home__why__content__text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 34px;
    width: 495px;
}

.logo-in-text {
    height: 16px;
    margin-bottom: -1px;
    margin-right: 2px;
}

.services__title__header__inner h1 {
    padding: 0 40px;
    background: #000;
    z-index: 2000;
}

.services__title__content {
    width: 465px;
    margin: 0 auto 80px;
    width: 465px;
    padding: 0 40px;
    background-color: #000;
    position: relative;
    z-index: 2000;
    text-align: justify;
}

.services__title__content__text {
    width: 100%;
    text-align: justify;
}

.home__how {
    margin: 120px auto 61vh;
    z-index: 2000;
}

.home__what {
    margin: 120px auto 61vh;
    z-index: 2000;
}

.home__what__list {
    position: relative;
    height: auto;
    width: 100%;
    flex-direction: column;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.home__what__list li {
    position: relative;
    width: 100%;
    margin-bottom: 2em;
}

.home__what__list a {
    display: inline-block;
    width: auto;
    text-transform: uppercase;
    height: 100%;
    color: rgb(233, 219, 189);
    text-decoration: none;
    font-size: 4.5rem;
    line-height: 1.2em;
}

.home__what__intro {
    line-height: 1.4em;
    font-size: 17px;
    color: rgb(233, 219, 189);
    margin-bottom: 24px;
}

.home__what__list a:hover {
    filter: brightness(120%);
}

#home__what__anchor__info-pop-up {
    visibility: hidden;
    position: fixed;
    right: 2%;
    bottom: 10%;
    font-size: 17px;
    line-height: 1.7em;
    z-index: 4000;
    max-width: 300px;
    transform: translateY(50%);
    opacity: 0;
    transition: opacity 1s, transform 1s, visibility 1s;
}

#home__what__anchor__info-pop-up.js-is-displayed {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.home__footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
}

.hero {
    width: 365px;
}

.lead {
    font-family: 'Josefin Sans Light';
    font-size: 20px;
    letter-spacing: 1.5px;
    line-height: 2em;
    text-align: center;
}

.lead__img {
    height: 90px;
    margin-top: 40px;
}

.section__services {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.section__services__item {
    flex: 1 1 calc(50% - 20px);
}

footer {
    position: relative;
    z-index: 2000;
    color: #C0C0C0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    max-width: 1024px;
    margin: 0 auto 40px;
}

.contact {
    font-size: 12px;
    color: #e9dbbd;
    font-weight: 400;
}

.contact a:active {
    color: inherit;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icon {
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-right: 10px;
}

.social-icon__img:before {
    position: absolute;
    left: 0;
    top: -1px;
    content: "";
    height: 100%;
    width: 100%;
    background-size: 100%;
    filter: invert(96%) sepia(7%) saturate(1274%) hue-rotate(331deg) brightness(99%) contrast(84%);
}

.social-icon__img--instagram:before {
    background: url("img/icon__instagram.svg");
}

.social-icon__img--facebook:before {
    background: url("img/icon__facebook.svg");
}

.social-icon__img--youtube:before {
    background: url("img/icon__youtube.svg");
}

.social-icon__img--linkedin:before {
    background: url("img/icon__linkedin.svg");
}

.social-icon__img--spotify:before {
    background: url("img/icon__spotify.svg");
}

.social-icon__img--instagram:before,
.social-icon__img--facebook:before,
.social-icon__img--youtube:before,
.social-icon__img--linkedin:before,
.social-icon__img--spotify:before {
    background-size: 100%;
}

.cta {
    text-decoration: none;
}

/*
 * Services
 */

.services__title__header__inner {
    max-width: 750px;
    justify-content: center;
    margin: 0 auto;
    display: flex;
    position: relative;
}

.services__title__header__inner {
    position: relative;
    background: #000;
    z-index: 500;
}

.services__title__header__inner__graphic {
    position: absolute;
    border: 1px solid #e9dbbd;
    width: 100%;
    height: 120px;
    top: 70%;
}

section.services {
    display: flex;
    align-items: center;
    margin-top: 50px;
}

#filter__filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 20px;
}

.filter-button {
    padding: 0;
    padding-bottom: 10px;
    font-family: 'Josefin Sans Light';
    background: none;
    color: rgb(233, 219, 189);
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
}

.filter-button:hover {
    border-bottom: 1px solid rgb(233, 219, 189);
    filter: brightness(120%);
}

.filter-button.active {
    border-bottom: 1px solid rgb(233, 219, 189);
    filter: brightness(120%);
}

.filter__items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

.filter__description__body {
    width: 465px; 
    margin: 0 auto 40px;
}

.square {
    flex: 0 1 calc(25% - 40px);
    margin: 0 0 40px;
    display: flex;
    aspect-ratio: 4/5;
    flex-direction: column;
    justify-content: space-between;

    font-size: 14px;
    line-height: 23px;

    opacity: 0; /* Start hidden */
    transition: opacity 1s ease; /* Smooth fade */

    padding: 20px;
    border: 1px solid rgb(233, 219, 189);

    color: rgb(233, 219, 189);
    text-decoration: none;
    cursor: pointer;
}


.bars-3 {
    max-width: 750px;
    justify-content: center;
    gap: 42px;
    margin: 0 auto;
}

.bar {
    flex: none;
    position: relative;
    margin-bottom: 100px;
    width: 180px;
    border: 1px solid rgb(233, 219, 189);
    background: radial-gradient(circle, rgba(60,53,37,1) 0%, rgba(0,0,0,1) 100%);
}

.bar__title {
    position: absolute;
    font-size: 15px;
}

.bar__inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: calc(100% - 2px);
    width: calc(100% - 2px);
    clip-path: polygon(76% 0%, 100% 19%, 100% 100%, 0% 100%, 0% 0%);
    background: rgb(60,53,37);
    background: radial-gradient(circle, rgba(60,53,37,1) 0%, rgba(0,0,0,1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 4 per row */

.bars-4 {
    gap: 45px;
    margin: 0 auto;
}

/* .bars-4 .bar:nth-child(even) {
    transform: translateY(37px);
} */

.bars-4 .bar {
    margin-top: 60px;
}

.bars-4 .bar .bar__title {
    top: -50px;
    left: 0;
}

/* .bars-4 .bar:nth-child(4n-3) .bar__title {
    right: 0;
    bottom: -60px;
}

.bars-4 .bar:nth-child(4n-2) .bar__title {
    top: -60px;
    left: 0;
}

.bars-4 .bar:nth-child(4n-1) .bar__title {
    bottom: -60px;
    left: 0;
}

.bars-4 .bar:nth-child(4n) .bar__title {
    top: -60px;
    left: 0;
} */

/* 3 per row */

/* .bars-3 .bar:nth-child(3n-1) {
    transform: translateY(37px);
} */


.bars-3 .bar {
    margin-top: 60px;
}

.bars-3 .bar .bar__title {
    top: -50px;
    left: 0;
}

/* .bars-3 .bar:nth-child(3n-2)::after {
    border-right: none;
    border-left: 51px solid black;
    border-top: 51px solid transparent;
    top: auto;
    left: 0;
    bottom: 0;
}

.bars-3 .bar:nth-child(3n)::after {
    border-right: 51px solid black;
    border-top: 51px solid transparent;
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
} */

/* .bars-3 .bar:nth-child(3n-2) .bar__inner {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 24% 100%, 0 81%);
}

.bars-3 .bar:nth-child(3n) .bar__inner {
    clip-path: polygon(0 0, 100% 0, 100% 81%, 76% 100%, 0 100%);
} */

/* .bars-3 .bar:nth-child(3n-2) .bar__title {
    right: 0;
    bottom: -60px;
}

.bars-3 .bar:nth-child(3n-1) .bar__title {
    top: -60px;
    left: 0;
}

.bars-3 .bar:nth-child(3n) .bar__title {
    bottom: -60px;
    left: 0;
} */

.bar__inner .square__content, .bar__inner .filter__items__cta {
    width: 80%;
    margin: 0 auto 0;
}

.bar__inner .filter__items__cta {
    margin: 20px auto 55px;
}

.square__content {
    display: flex;
    flex-direction: column;
}

.services__calendar {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 80px;
}

.services__calendar__item {
    flex: 0 1 calc(25% - 40px);
    margin: 0 20px 40px;
    display: flex;
    flex-direction: column;
}

.services__calendar__date {
    text-transform: uppercase;
}

.services__calendar__location {
    font-weight: 400;
    font-size: 14px;
    color: rgb(233, 219, 189);
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
  
/* Active animation styling */
.square.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.square img {
    width: 40%;
    margin: 0 auto;
}

.filter__items__cta:hover {
    filter: brightness(120%);
}

.hidden {
    display: none;
}

.section__contact {
    margin-top: 100px;
}

form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 550px;
}

label {
    flex: 1;
    font-weight: 400;
    font-size: 14px;
    color: rgb(233, 219, 189);
}

.button {
    text-transform: uppercase;
    font-size: 10px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(233, 219, 189);
    font-weight: 400;
    color:rgb(233, 219, 189);
    width: 100%;
    padding: 4px;
    margin: 20px 0;
    cursor: pointer;
    text-decoration: none;
}

button:hover {
    filter: brightness(120%);
}

input, textarea {
    width: 100%;
    padding: 4px;
    color: rgb(233, 219, 189);
    border: 1px solid rgb(233, 219, 189);
    background: transparent;
    font-family: 'Josefin Sans Light';
    font-size: 14px;
}

input, textarea {
    border-radius: 20px;
    margin: 1em 0;
    padding: 10px 10px;
}

textarea {
    border-radius: 20px 20px 0 20px;
}

.typewriter-container {
    white-space: wrap;
    overflow: hidden;
    max-width: 600px;
    min-height: 200px;
}

.cursor {
    display: inline-block;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/*
 * Responsive
 */

.show-on-small-screen { 
    display: none;
}

@media (max-width: 1200px) {
    .header__nav, section, footer {
        padding: 0 5%;
        max-width: none;
    }
    .show-on-small-screen {
        display: block;
    }
    .home__what__anchor-info, .home__why__content__text {
        width: 60%;
    }
    .home__what__list a {
        font-size: 3rem;
    }
    body.nav-open #menu {
        width: 30vw;
    }
}

@media (max-width: 1080px) {
    .services__calendar__item {
        flex: 0 1 calc(33% - 40px);
    }
    .bars-4 {
        max-width: 90%;
        justify-content: center;
        gap: 5%;
    }
}

@media (max-width: 980px) {
    .bars-3 {
        max-width: 90%;
        justify-content: center;
        gap: 5%;
    }
}


@media (max-width: 768px) {
    .splash {
        z-index: 1200;
        align-items: flex-start;
    }
    .services__item {
        flex: 1 1 100%;
    }
    .splash h1 {
        width: auto;
        font-size: 80px;
    }
    .home__what__anchor-info, .home__why__content__text {
        width: 80%;
    }
    body.nav-open #menu {
        width: 40vw;
    }
    .services__calendar__item {
        flex: 0 1 calc(50% - 40px);
    }
    .services__title__header__inner h1 {
        font-size: 40px;
    }
    body {
        font-size: 14px;
    }
    .services__title__content {
        width: 90%;
    }
    .services__title__header__inner {
        max-width: 90%;
    }
    .services__title__header__inner__graphic {
      display: none;
    }
    .services__title__content {
        padding: 0;
    }
    .services__title h1 {
        font-size: 52px;
    }
    footer {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .bars-3 .bar:nth-child(3n-1) {
        transform: translateY(0);
    }
    .bars-3 .bar:nth-child(3n-2) .bar__title {
        left: 0;
        top: -50px;
        bottom: auto;
    }
    .bars-3 .bar:nth-child(3n) .bar__title {
        bottom: auto;
        top: -50px;
    }
    .bars-4 .bar:nth-child(4n-3) .bar__title {
        right: auto;
        bottom: auto;
        top: -50px;
        left: 0;
    }
    .bars-4 .bar:nth-child(4n-2) .bar__title {
        top: -50px;
    }
    .bars-4 .bar:nth-child(4n-1) .bar__title {
        bottom: auto;
        top: -50px;
    }
    .bar {
        margin: 40px 0 30px;
    }
    .bars-4 .bar:nth-child(even) {
        transform: translate(0);
    }
}


@media (max-width: 540px) {
    body.nav-open #menu {
        width: 100vw;
    }
    .menu__list {
        text-align: center;
        padding: 0;
    }
    .filter-button {
        font-size: 10px;
    }
    .services__title__content__text {
        text-align: justify;
    }
    .services__title__content {
        padding: 0;
    }
}

@media (max-width: 470px) {
    .splash h1 {
        font-size:50px;
    }
    .home__what__anchor-info, .home__why__content__text {
        width: 90%;
    }
    .services__calendar__item {
        flex: 0 1 100%;
    }
    .services__title h1 {
        font-size: 25px;
    }
}

