@import url(./fonts/stylesheet.css);

:root {
    --white: #FFFFFF;
    --neutral: #FEEFEA;
    --salmon-40: #adc2bf;
    --salmon-60: #a6341b;
    --salmon: #adc2bf;
    --black-60: #666666;
    --black-opacity-60: rgba(0,0,0,.85);
	--black-opacity-90: rgba(0,0,0,.9);
    --black: #000000;
}

*, *::after, *::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Moderat', sans-serif;
    font-weight: 300;
}

/* header */

.header {
    position: absolute;
    z-index: 2001 !important;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0));
	background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0,0,0,0));
}

.header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity ease 300ms;
}

.header__logo-left {
    width: 85px;
    height: 16px;
    margin-top: -2px;
}

.header__logo .graphic-decoration {
    width: 10px;
    height: 10px;
    color: var(--white);
}

img, svg {
    display: block;
}

.graphic-decoration svg {
    width: 100%;
    height: 100%;
}

.welcome-overlay .graphic-decoration svg {
    width: 36px;
    height: 36px;
}

.header svg line {
    transition: transform ease-out .2s;
}

.header__logo-right {
    width: 100px;
    height: 23px;
}

.header .button {
    gap: 40px;
}

@media (max-width: 1023.98px) {
    .header .button-primary {
        width: 50px;
        padding: 7px;
        justify-content: center;
        background-color: var(--black);
        border-color: var(--black);
        color: var(--white);
    }

    .header .button-primary:hover {
        background-color: var(--salmon);
        border-color: var(--salmon);
        color: var(--black);
    }
}

@media (max-width: 639.98px) {
    .header .button-primary {
        width: 55px;
    }
}

@media (min-width: 640px) {
    .header {
        background: transparent;
		background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0,0,0,0));
    }

    .header__logo-left {
        width: 157px;
        height: 28px;
        margin-top: -4px;
    }

    .header__logo .graphic-decoration {
        width: 19px;
        height: 19px;
    }

    .header__logo-right {
        width: 156px;
        height: 35px;
    }

    .header nav {
        padding: 25px 40px;
        align-items: center;
    }

    .header__logo {
        flex-direction: row;
        gap: 12px;
    }
}

/* welcome overlay */

.welcome-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    z-index: 11;
    inset: 0;
    background: var(--salmon-60);
    opacity: 1;
    transition: opacity ease .3s;
    z-index: 2;
    overflow: hidden;
}

.welcome-overlay .video-container {
    position: absolute;
    inset: 0;
    z-index: -1;
    isolation: isolate;
}

.welcome-overlay video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    height: 110%;
    width: 180vh;
    min-width: 110%;
    min-height: 72.1875vw;
}

.welcome-overlay__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 26px;
}

.welcome-overlay .graphic-decoration {
    color: var(--black);
    margin-bottom: 14px;
}

/* main */

.main {
    position: absolute;
    inset: 0;
    background: var(--black-60);
}

/* menu */

.menu {
    position: absolute;
    inset: 0;
    z-index: 2000 !important;
    transition: opacity ease .3s;
    background-color: var(--black);
}

.menu__inner {
    display: flex;
    width: 100%;
    height: 100%;
    padding: 80px 0 40px;
}

.menu__inner > div, .menu__inner > nav {
    grid-column: span 1 / span 1;
    width: 100%;
    padding: 20px;
    align-items: center;
    overflow: auto;
}

.menu__inner > div {
    height: fit-content;
    margin-block: auto;
}

.menu__inner nav ul {
    width: 100%;
    gap: 20px;
    list-style-type: none;
}

.menu__inner nav a {
    display: block;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: .11em;
    color: var(--white);
    border-top: 1px solid var(--white);
    padding: 8px 0;
    text-decoration: none;
    margin-bottom: 2px;
    transition: color ease .2s, border-color ease .2s;
    position: relative;
}

.menu__inner nav a::after {
    content: '';
    display: block;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: 0;
    width: 16px;
    height: 16px;
    background-color: transparent;
    border-radius: 9999px;
    transition: background-color ease .2s;
}

.menu__inner nav a.active {
    color: var(--salmon);
    border-color: var(--salmon);
}

.menu__inner nav a.active::after {
    background-color: var(--salmon);
}

.menu__inner nav a:hover {
    color: var(--salmon);
    border-top: 1px solid var(--salmon);
}

@media (min-width: 640px) {
    .menu {
        background-color: var(--black-opacity-60);
    }
    
    .menu__inner div, .menu__inner nav {
        display: flex;
        justify-content: center;
    }
    .menu__inner nav a {
        padding: 12px 0;
        margin-bottom: 20px;
    }

    .menu__inner {
        inset: 24px 40px 80px;
    }

    .menu__inner, .menu__inner nav, .menu__inner nav ul {
        width: initial;
		width: 100%;
    }
}

@media (min-width: 1024px) {
    .menu__inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu__inner nav ul {
        -webkit-columns: 2; /* Chrome, Safari, Opera */
        -moz-columns: 2; /* Firefox */
        columns: 2;
        gap: 40px;
    }
}

@media (min-width: 1280px) {
    .menu__inner > div, .menu__inner > nav {
        padding: 40px 40px 40px 0;
    }

    .menu__inner nav ul {
        gap: 40px;
    }
}

[data-active="menu"] {
    overflow: visible;
}

[data-active="menu"].active {
    transform: rotate(180deg);
    transform-origin: center;
}

[data-active="menu"].active #Line_42 {
    transform: translate(3156.57px, 1475.229px) rotate(45deg);
    transform-origin: 2px 2px;
}

[data-active="menu"].active #Line_43 {
    transform: translate(3156.57px, 1480.479px) scale(0);
    transform-origin: center;
}

[data-active="menu"].active #Line_44 {
    transform: translate(3156.57px, 1485.728px) rotate(-45deg);
    transform-origin: 2px -2px;
}

/* button */

.button {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 55px;
    padding: 7px 22px;
    font-size: 16px;
    /* font-weight: 700; */
    line-height: 24px;
    letter-spacing: .03em;
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 9999px;
    text-align: center;
    text-decoration: none;
    transition: background-color ease 200ms, color ease 200ms, border-color ease 200ms, opacity ease 300ms;
}

.opacity-0 {
    opacity: 0;
    pointer-events: none;
}

@media (min-width: 640px) {
    .button {
        min-height: 50px;
        padding: 6px 20px;
        font-size: 16px;
        /* font-weight: 700; */
        line-height: 22px;
    }
}

@media (min-width: 1024px) {
    .button {
        padding: 6px 44px;
        /* min-width: 152px; */
		min-width: 250px;
    }
}

.button-primary {
    color: var(--black);
    background-color: var(--salmon);
    border: 1px solid var(--salmon);
}

.button-menu {
	background: #716959;
    border: 1px solid #716959;
    color: #fff;
}

.button-black {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--black);
}

.button-red {
	background: #a6341b;
	border-color: 1px solid #a6341b;
	min-width: inherit;
	color: #fff;
}

.button-share {
	background-color: var(--salmon);
    border: 1px solid var(--salmon);
    color: var(--black);
}

@media (hover:hover) {
    .button:hover {
        color: var(--salmon);
    }
	.button-menu:hover {
		background-color: #000;
		border: 1px solid #716959;
	}
    .button-black:hover {
        background-color: var(--salmon);
        border: 1px solid var(--salmon);
        color: var(--black);
    }
	.button-red:hover {
		background: #000;
		border-color: 1px solid #fff;
		min-width: inherit;
		color: #fff;
	}
	.button-share:hover {
		background-color: #000;
		border: 1px solid var(--salmon);
        color: var(--white);
	}
    .button-primary:hover {
        background-color: var(--black);
        border: 1px solid var(--black);
        color: var(--salmon);
    }
}

/* footer */

.footer {
    position: absolute;
    z-index: 12;
    width: 100%;
    bottom: 0;
    left: 0;
    right: 0;
}

.footer nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 24px;
}

@media (min-width: 640px) {
    .footer nav {
        padding: 25px 40px 25px;
        gap: 48px;
    }
}

/* common */

.hidden {
    display: none !important;
}

@media (min-width: 1024px) {
    .hidden-desktop {
        display: none !important;
    }
}

@media (max-width: 1023.98px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 640px) {
    .ml-auto {
        margin-left: auto;
    }
    
    .mr-auto {
        margin-right: auto;
    }
}

.opacity-0 {
    opacity: 0;
}

.pointer-events-none {
    pointer-events: none;
}

.popup-person-photo, .popup-product-photo, .popup-photo, .popup-person-bio, .popup-product-description, .popup-video, .popup-share {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    inset: 24px 20px;
    z-index: 2005;
    padding: 35px;
}

.mfp-close {
    display: none !important;
}

@media (min-width: 768px) {
    .popup-person-photo, .popup-product-photo, .popup-photo, .popup-person-bio, .popup-product-description {
        position: fixed;
        inset: initial;
        top: 50%;
		width: 50%;
        max-height: calc(100% - 100px);
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 42px 35px;
    }

    .popup-person-photo, .popup-product-photo, .popup-photo {
        /* width: min(50%, 70vh); */
		width: min(50%, 80vh);
    }

    .popup-share {
        position: fixed;
        inset: initial;
        top: max(calc(50% - 120px), 100px);
        bottom: max(calc(50% - 120px), 100px);
        height: min(240px, calc(100% - 200px));
        width: 50%;
        background-color: var(--white);
        left: 50%;
        transform: translateX(-50%);
        padding: 42px 35px;
    }

    .popup-video {
        position: fixed;
        inset: initial;
        /* top: 100px;
        bottom: 100px; */
		top: 50%;
        left: 50%;
        /* width: 80%; */
		width: 65%;
        min-width: 300px;
        /* transform: translateX(-50%); */
		transform: translate(-50%,-50%);
        padding: 42px 35px;
    }
}

.popup-share .addthis_inline_share_toolbox {
    height: 100%;
}

.addthis-animated {
    height: 100%;
}

.popup-share .at-share-btn-elements {
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (min-width: 768px) {
    .popup-share .addthis_inline_share_toolbox {
        background-color: var(--white);
    }

    .popup-share .at-share-btn-elements {
        flex-flow: row;
    }
}

.popup__nav { 
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    color: var(--white);
    letter-spacing: .07em;
    cursor: pointer;
}

.popup-person-photo .popup__nav, .popup-product-photo .popup__nav, .popup-person-bio .popup__nav, .popup-product-description .popup__nav {
    top: 2px;
    transform: translateX(-10px);
    padding: 10px;
    z-index: 999;
}

@media (min-width: 768px) {
    .popup-person-photo .popup__nav, .popup-product-photo .popup__nav {
        top: 50%;
        right: -25px;
        transform: translate(100%, -50%);
    }
    
    .popup-person-bio .popup__nav, .popup-product-description .popup__nav {
        top: 50%;
        left: -25px;
        transform: translate(-100%, -50%);
    }
}

.popup__inner::after {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--white);
    z-index: -1;
}

.popup__inner::before {
    display: block;
    content: "";
    position: absolute;
    width: 200vw;
    height: 200vh;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    background-color: var(--black-opacity-90);
}

.popup > .popup__nav {
    position: absolute;
}

.popup__inner {
    width: 100%;
    /* height: 100%; */
    max-height: 100%;
    /* overflow-y: scroll; */
	overflow: hidden;
}

.popup-video > .popup__inner {
	width: 100%;
	/* height: 100%; */
	max-height: 100%;
	overflow: hidden;
}

.popup-video__container {
	position: relative !important;
	padding-bottom: 56.25% !important;
	height: 0 !important;
	overflow: hidden !important;
	max-width: 100% !important;
}

.popup-video__container iframe, .popup-video__container object, .popup-video__container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.popup-share .popup__inner {
    overflow-y: auto;
    height: 100%;
}

.popup__inner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.popup__close {
    display: flex;
    align-items: center;
    gap: 10px;
    position: absolute;
    top: 2px;
    right: 25px;
    color: var(--white);
    letter-spacing: .07em;
    cursor: pointer;
    padding: 10px;
    z-index: 99;
}

.popup-person-bio__inner, .popup-product-description__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background: var(--salmon-60); */
	background: var(--white);
    padding: 80px 32px 38px;
    min-height: 100%;
}

.popup header {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--black);
    margin-bottom: 26px;
    letter-spacing: 0.09em;
}

.popup-product-description__title, .popup-person-bio__title {
    font-weight: 700;
    /* font-size: 16px; */
	font-size: 28px;
    /* line-height: 16px; */
	line-height: 20px;
}

.popup-product-description__sub-title, .popup-person-bio__sub-title {
    /* font-size: 12px;
    line-height: 16px; */
	font-size: 18px;
	line-height: 36px;
}

.popup-product-description__inner p, .popup-person-bio__inner p {
    /* font-size: 14px; */
	font-size: 18px;
    letter-spacing: 0.02em;
    margin-bottom: 60px;
}

.popup-product-description__inner .button, .popup-person-bio__inner .button {
    width: fit-content;
}

.popup-video__container {
    height: 100%;
    position: relative;
    z-index: 3;
}

.popup-video__container iframe {
    width: 100%;
    height: 100%;
}

.menu__map-container {
    position: relative;
}

.menu__map-links {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: calc(5% + 20px);
    width: calc(90% - 40px);
    height: calc(100% - 40px);
}

@media (min-width: 1280px) {
    .menu__map-links {
        top: 40px;
        bottom: 40px;
        left: 5%;
        width: calc(90% - 40px);
        height: calc(100% - 80px);
    }
}

.menu__map-links a {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: var(--salmon-60);
    color: transparent;
    border-radius: 9999px;
    transition: background-color ease .2s;
    transform: translate(-50%, -50%);
}

.menu__map-links a.active {
    background-color: var(--salmon);
	border: 1px solid rgba(0,0,0,0.4);
}