:root {
    --color-yellow: #e4c278d9;
    --color-white: #e9e8e4;
    --color-gray: #cfcfcdb8;
    --color-gray-light: #ffffff1f;
    --color-gray-dark: #ffffff0d;
    --color-gray-dark-solid: #111111;

    --color-border: var(--color-gray-light);
    --color-border-accent: var(--color-yellow);
    --color-text-accent: var(--color-yellow);
    --color-text: var(--color-white);
    --color-text-gray: var(--color-gray);
    --color-surface-primary: var(--color-gray-dark);
    --color-surface-primary-solid: var(--color-gray-dark-solid);

    --gradinet-accent: linear-gradient(348deg, rgba(228, 194, 120, 0.45) 0%, rgba(48, 48, 48, 0.45) 70%);

    --font-family-inter: Inter, sans-serif;
    --font-family-montserrat: "Montserrat", sans-serif;
    --font-family-playfair: "Playfair Display", "Times New Roman", serif;
}

* {
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
	margin: 0;
	width: 100%;
    overscroll-behavior-y: none;
}

html{
    background-color: black;
}

body{
    background: radial-gradient(
        1200px 600px at 25% 10%, 
        rgba(216,177,90,.16), transparent 60%), 
        radial-gradient(900px 700px at 85% 45%, 
        rgba(100,200,160,.10), transparent 55%), 
        linear-gradient(180deg, #0b1411, #070b0a
    );
    min-height: 100vh;
    color: var(--color-text);
}

a.button{
    cursor: default;
    display: block;
    width: fit-content;
    height: fit-content;
    text-decoration: none;
    box-sizing: border-box;
}

p, a, li, span, summary {
    font-size: 14px;
    font-family: var(--font-family-inter);
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
}

a{
    color: default;
    text-decoration: none;
    color: var(--color-text);
}

p.accent, h1.accent, h2.accent,
h3.accent, h4.accent, h5.accent{
    color: var(--color-text-accent);
}

h1{
    
    font-family: var(--font-family-playfair);
    font-size: clamp(42px, 4.2vw, 50px);
    margin: 0;
    line-height: 1.35;
    font-weight: 900;
}

h2{
    font-family: var(--font-family-playfair);
    font-size: clamp(38px, 4.2vw, 42px);
    margin: 0;
    line-height: 1.29;
    font-weight: 800;
}

h3{
    font-family: var(--font-family-playfair);
    font-size: 32px;
    margin: 0;
    line-height: 1.25;
    font-weight: 600;
}

h4{
    font-family: var(--font-family-playfair);
    font-size: 28px;
    margin: 0;
    line-height: 1.20;
    font-weight: 600;
}

h5{
    font-family: var(--font-family-playfair);
    font-size: 22px;
    margin: 0;
    line-height: 1.16;
    font-weight: 600;
}

p.bold{
    font-weight: bold;
}

p.button{
    line-height: 1.3;
    font-size: 14px;
    font-family: var(--font-family-inter);
}

p.caption{
    line-height: 1.3;
    font-size: 13px;
    font-family: var(--font-family-inter);
}

p.subtitle{
    line-height: 1.35;
    font-size: 16px;
    font-family: var(--font-family-inter);
}

p.gray{
    color: var(--color-text-gray);
}

.panel{
    background: rgba(0,0,0,.22);
    border: 1px solid var(--color-border);
    box-shadow: 0 30px 90px rgba(0,0,0,.55);
    overflow: hidden;
    border-radius: 32px;
}

.panel.flex{
    flex: 1;
}

.panel-padding{
    padding: 22px 24px;
}

.panel-padding.small{
    padding: 20px;
}

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

.row{
    display: flex;
    flex-direction: row;
}

.gap-6{
    gap: 6px;
}

.gap-8{
    gap: 8px;
}

.gap-12{
    gap: 12px;
}

.gap-16{
    gap: 16px;
}

.gap-20{
    gap: 20px;
}

.gap-26{
    gap: 26px;
}

.gap-32{
    gap: 32px;
}

.border{
    max-height: 1px;
    min-height: 1px;
    height: 1px;
    width: 100%;
    background-color: var(--color-gray-light);
    margin: 16px 0px;
}

#noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#noevents{
    touch-action:none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.wrap{
    width: 1120px;
}

.wrap-to-row{
    display: flex;
    flex-direction: column;
}

.wrap-to-col{
    display: flex;
    flex-direction: row;
}

.anim-fade-in{
    animation: fadeIn 0.5s ease-in forwards;
}

.anim-fade-slide-in{
    animation: fadeSlideIn 1.0s ease-in-out forwards;
    will-change: transform;
}

.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(25px);  }
    to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 1120px){
    .wrap{
        width: 100%;
    }
}

@media screen and (max-width: 960px){
    .wrap{
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
        box-sizing: border-box;
    }
    .wrap-to-col{
        flex-direction: column;
    }
    .wrap-to-row{
        flex-direction: row;
    }
}

@media screen and (max-width: 640px){
    .panel-padding{
        padding: 20px 16px;
    }
}