﻿/* F O N T S */

@font-face {
    font-family: 'Fontin Sans Small Caps';
    src: url('/static/fonts/FontinSans_Cyrillic_SC_46b.otf') format('woff2'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fontin Sans';
    src: url('/static/fonts/FontinSans_Cyrillic_R_46b.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tahu!';
    src: url('/static/fonts/Tahu!.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Klein';
    src: url('/static/fonts/Klein-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KistyAC';
    src: url('/static/fonts/kistyac.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}




/* S T A N D A R D */
body {
    background-color: black;
    color: white;
    margin: 0;
    padding: 50px 0 0 0;
}

.content {
    width: 80%;
    max-width:1024px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}


h1, h2, h3, h4, h5, h6 {
    margin-bottom: 10px;
}

h1 {
    color: #ffe36c;
    font-family: 'Tahu!', sans-serif;
    text-align: center;
    font-size: 10vw;
    font-size: clamp(20px, 10vw, 120px);
}

    h1:lang(ru) {
        font-family: KistyAC;
    }

h2 {
    color: white;
    font-family: 'Fontin Sans Small Caps', sans-serif;
    text-align: center;
    font-size: 3vw;
    font-size: clamp(18px, 3vw, 30px);
}

    h2:lang(ru) {
        font-family: 'Klein', sans-serif;
    }

h3 {
    color: #ffe36c;
    font-family: 'Fontin Sans Small Caps', sans-serif;
    text-align: center;
    font-size: 6vw;
    font-size: clamp(30px, 6vw, 60px);
}

    h3:lang(ru) {
        font-family: 'Klein', sans-serif;
    }

h4 {
    color: #ffe36c;
    font-family: 'Fontin Sans Small Caps', sans-serif;
    text-align: center;
    font-size: 3vw;
    font-size: clamp(18px, 3vw, 30px);
}

p, ul {
    color: white;
    font-family: 'Fontin Sans', sans-serif;
    text-align: center;
    margin: 30px;
    line-height: 1.5;
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
}

    p:lang(ru), ul:lang(ru) {
        font-family: 'Klein', sans-serif;
    }



/* G R A P H I C S */
.decoration {
    width: 100vw;
    height: 400px; /* Adjust depending on your image size */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 1;
}

.top-decoration {
    background-image: 
        linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)),
        url('images/glittertop.png'); /* Replace with your top decoration image */
}

.overlay-section {
    position: relative;
    margin-top: -250px;
    padding-top: 120px;
}

.bottom-overlay-section {
    margin-bottom: -250px;
    z-index: 2;
    position: relative;
    padding-bottom: 120px;
}

.bottom-decoration {
    background-image: 
        linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0)), 
        url('images/glitterbottom.png'); /* Replace with your bottom decoration image */
}



table {
    color: white;
    font-family: 'Fontin Sans', sans-serif;
    margin: 0px auto;
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
}

    table:lang(ru) {
        font-family: 'Klein', sans-serif;
    }

td {
    padding: 5px 15px;
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
}

tr {
    border-bottom: 1px solid #ddd;
}

a:link, a:visited {
    color: #ffe36c;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #ccaf36;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: #8c7928;
    background-color: transparent;
    text-decoration: underline;
}

img {
    margin: 10px;
}

.container {
    position: relative;
    text-align: center;
}

button, a.button {
    margin: 10px;
    font-family: 'Fontin Sans', sans-serif;
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
    border-radius: 4px;
    background-color: #ffe36c;
    border: none;
    color: black;
    display: inline-flex; /* Allows icon + text layout */
    align-items: center; /* Vertical alignment */
    height: auto; /* important to avoid flex-stretch issues */
    max-height: 30px; /* optional safety cap */
    padding: 10px 15px 10px 5px;
}

    button:lang(ru), a.button:lang(ru) {
        font-family: 'Klein', sans-serif;
    }

button:hover, a.button:hover {
    background-color: #ccaf36;
    color: black;
    text-decoration: none;
}

a.button:active {
    background-color: #8c7928;
    color: black;
    text-decoration: none;
}

button > img,
button > span {
    vertical-align: middle;
}



.container {
    display:flex;
}

.one {
    width: 50%;
    float: left;
    color: white;
    font-family: 'Fontin Sans', sans-serif;
    text-align: center;
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
    flex: 1;
}

.two {
    width: 50%;
    float: right;
    color: white;
    font-family: 'Fontin Sans', sans-serif;
    text-align: center;
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
    flex: 1;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    z-index: 1000;
    box-sizing: border-box;
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
    font-family: 'Fontin Sans Small Caps', sans-serif;
}

    .one:lang(ru), .two:lang(ru), .navbar:lang(ru) {
        font-family: Klein, sans-serif;
    }

.nav-left {
    display: flex;
    gap: 15px;
}

    .nav-left a, .nav-right a {
        text-decoration: none;
        padding: 15px 20px;
    }

    .nav-left a:hover, .nav-right a:hover {
        background-color: #333;
    }

.nav-right {
    margin-right: 20px;
}

.nav-right select {
    padding: 5px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .nav-left .other {
        display: none;
    }
}


.inputbox {
    height: 40px; /* Set the desired height */
    padding: 0 10px; /* Optional: horizontal padding */
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
    width: 100%;
    box-sizing: border-box; /* Important! */
    font-family: 'Fontin Sans', sans-serif;
}

.inputbox_S {
    height: 30px; /* Set the desired height */
    padding: 0 10px; /* Optional: horizontal padding */
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
    font-family: 'Fontin Sans', sans-serif;
    margin: 3px 0 5px 0;
    width: 100%;
    box-sizing: border-box; /* Important! */
}

    .inputbox_S:lang(ru) {
        font-family: 'Klein', sans-serif;
    }

select {
    height: 30px;
    line-height: 40px; /* Match line-height to height */
    padding: 5; /* Remove extra padding */
    font-size: 2vw;
    font-size: clamp(15px, 2vw, 20px);
    width: 100%;
    box-sizing: border-box; /* Important! */
    font-family: 'Fontin Sans', sans-serif;
}

select:lang(ru) {
    font-family: 'Klein', sans-serif;
}

.sidebyside {
    display: flex;
    flex-direction: column;
    /*gap: 1rem; /* space between buttons */
    align-items: center;
}

/* For larger screens: display side-by-side */
@media (min-width: 1000px) {
    .sidebyside {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
}

/* Show map by default */
.map-wrapper {
    display: block;
}

/* Hide map on screens 768px or smaller */
@media (max-width: 768px) {
    .map-wrapper {
        display: none;
    }
}

.person-block {
    width: 100%;
    margin-bottom: 2rem;
    padding: 1rem;
    box-sizing: border-box;
}