// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.science-gothic-<uniquifier> {
  font-family: "Science Gothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "CTRS" 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: #f4ebd9;
	font-family: "Science Gothic", sans-serif;
	font-weight: 300;
    overflow-x: hidden;
}

p::first-letter {
    font-size: 2em;
    color: #f49a1d;
    font-weight: bold;
}
.container {
    width: 100%;
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: #3b3a4b;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-logo {
    vertical-align: top;
    width: 200px;
    min-width: .5cm;
    object-fit: contain;
}

.lang-wrapper {
    position: relative;
    top: -20px;
}

.lang-btn {
    width: 32px;
    height: 40px;
    border: none;
    background: #f49a1d;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

.lang-menu {
    position: absolute;
    top: 52px;
    right: 0;
    width: 60px;
    background: #3b3a4b;
    border: 1px solid rgba(255, 255, 255, .2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.lang-menu.active {
    display: flex;
}

.lang-menu a {
    color: white;
    text-decoration: none;
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

#page {
    padding-top: 80px;
    padding-bottom: 80px;
    background: #3b3a4b;
	font-size: 14px;
	line-height: 14pt;
	color: #B7B0B7;
}
.hreff{
	position: relative;
    top: -80px;
}

.cap {
	font-size: 125%;
	display: inline-block;
}
.intro {
    padding:18px 18px;
}
.intro h2 {
    font-size: 30px;
    margin-bottom: 24px;
    font-weight: 700;
}

.intro p {
    width: 100%;
    color: #B7B0B7;
    text-align: justify;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
}

.overlay_2 {
	position: relative;
    width: 240px;
    height: 260px;
    bottom: 250px;
}

.hero-text {
    position: absolute;
    bottom: 150px;
    right: 18px;
    width: 100%;
    text-align: right;
    letter-spacing: 1px;
    font-size: 10px;
	font-weight: bold;
	color: #3b3a4b;
}

.rules-section {
    width: 100%;
    padding: 20px 20px;
}

.rules-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.rules-content h2 {
    font-size: 30px;
    margin-bottom: 24px;
    /* color: white; */
    font-weight: 700;
}

.rules-text {
    width: 100%;
}

.rules-text p {
    text-align: justify;
}




    .rules-video {
    float: right;
    width: 50%;
    aspect-ratio: 1 / 1; /* делаем контейнер квадратным */
    margin: 20px 0 20px 20px;
    overflow: hidden; /* обрезаем всё, что выходит за пределы */
    border-radius: 12px; /* по желанию — скругление */
    }

.rules-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* заполняет контейнер, обрезая лишнее, сохраняя пропорции */
    display: block;
}
/* .footer{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:#3b3a4b;
  backdrop-filter:blur(10px);
  z-index:1000;
}
 */

.contacts-section {
    width: 100%;
    padding: 20px 20px;
}

.contacts-section h2 {
    font-size: 30px;
    margin-bottom: 40px;
    /* color: white; */
}

.contacts-grid {
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 40px; */
}

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

.contact-photo {
    width: 80px;
    aspect-ratio: 1/1;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    background: #222;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    /* color: white; */
}

.contact-card p {
    /* font-size: 16px; */
    /* color: rgba(255, 255, 255, .75); */
    /* line-height: 1.7; */
}

.contact-text p {
    /* font-size: 14px;
    line-height: 1.4; */
    /* color: rgba(255, 255, 255, .82); */
    text-align: justify;
}
.contact-text a {
    color: #f49a1d;
}

.mentions_legales{
	padding:20px;
}
.legal-section {
	font-size: 14px;
	text-align:justify;
	color: #938677;
}
.legal-section a {
	color: #f49a1d;
}
.legal-section ul {
	padding:20px 0 20px 20px;
}
.legal-section p::first-letter {
    font-size: 1em;
    color: #f49a1d;
    font-weight: bold;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* на всю ширину экрана */
    display: flex;
    justify-content: center;
    /* центрируем содержимое */
    background: #3b3a4b;
    backdrop-filter: blur(10px);
    z-index: 1000;
	height:80px;
}

.footer-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    background-image: url('../img/fb.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
	font-size: 12px;
	max-height: 54px;
}

.footer a {
    text-decoration: none;
    color: #B7B0B7;
    text-align: center;
	padding: 16px 5px;
    transition: .3s;
}

.footer-legale{
		position: fixed;
        top: 55px;
		color: #938677;
		font-size: 9px;
	}
	
.footer-legale a{
	padding: 0;
	}

.slider-container {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    transition: all 0.2s;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}


.slides-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}


.slide {
    flex: 0 0 100%;
    background-color: #2c3e4e;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.click-zone {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    cursor: pointer;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0);
    transition: background 0.2s;
}

.click-zone.left {
    left: 0;
}

.click-zone.right {
    right: 0;
}

.dots-panel {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.dot {
    width: 28px;
    height: 5px;
    border-radius: 20px;
    background-color: #cbd5e1;
    cursor: pointer;
    transition: all 0.25s ease;
    opacity: 0.7;
}

.dot.active {
    background-color: #1e3a5f;
    width: 40px;
    opacity: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ============================================ */
/* DESCKTOP ( 768px & UP) */
/* ============================================ */
@media(min-width:768px) {
    .header {
        height: 120px;
        left: 50%;
        transform: translateX(-50%);
        width: 560px;
    }

    .header_cont {
        width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .logo {
        width: 300px;
    }

    .nav-logo {
        vertical-align: top;
        width: 300px;
        min-width: 100px;
        object-fit: contain;
    }

    .lang-wrapper {
        position: relative;
        top: -35px;
    }

    .lang-btn {
        width: 40px;
        height: 50px;
    }

    .lang-menu {
        width: 80px;
    }

    #page {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 110px;
        padding-bottom: 90px;
		font-size: 16px;
		line-height: 20pt;
		color: #B7B0B7;
    }

    .intro {
        padding: 40px 20px;
    }

    .intro h2 {
        margin-bottom: 40px;
    }

    .hero-video {
        object-fit: fill;
        aspect-ratio: 1/1;
    }

    .hero-text {
        bottom: 200px;
        font-size: 15px;
        right: 40px;
        color: #3b3a4b;
		
    }
    .rules-section {
        padding: 40px 20px;
    }

    .rules-content h2 {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .rules-text p {
        text-align: justify;
    }

    .rules-video {
        float: right;
        width: 240px;
        aspect-ratio: 1/1;
        shape-outside: inset(0);
        margin: 20px 0 20px 20px;
    }

    .contacts-section {
        padding: 40px 20px;
    }

    .contacts-section h2 {
        font-size: 30px;
    }

    .contacts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }

    .contact-photo {
        width: 120px;
    }

    .contact-card h3 {
        font-size: 30px;
    }

    .contact-card p {
        font-size: 16px;
    }


    .footer {
        left: 50%;
        transform: translateX(-50%);
        width: 560px;
		height: 100px;
    }

    .footer-content {
        padding: 0 20px;
        background-size: 100% 100%;
        max-height: 75px;
		font-size: 16px;
    }

    .footer a {
        padding: 24px 0;
		font-size: 16px;
    }
	.footer-legale{
		position: fixed;
        top: 70px;
		color: #938677;
		font-size:14px;
	}
	
	.footer-legale a{
	padding: 0;
	color:#938677;
	font-size:14px;
	}

    /* главный контейнер-карточка — десктоп */
/*     .slider-container {
        border-radius: 2.5rem;
        padding: 1.8rem 1.8rem 2rem 1.8rem;
    } */

    /* обёртка слайдера — десктоп */
    /*     .slider-wrapper {
        border-radius: 1.8rem;
    }
    
    .click-zone.left {
        border-radius: 1.8rem 0 0 1.8rem;
    }
    
    .click-zone.right {
        border-radius: 0 1.8rem 1.8rem 0;
    } */
    /* зоны клика — эффект при наведении на десктопе */
    .click-zone.left:hover {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 80%);
    }

    .click-zone.right:hover {
        background: linear-gradient(270deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 80%);
    }

    /* панель точек — десктоп */
    .dots-panel {
        gap: 0.75rem;
        margin-top: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .dot {
        width: 44px;
        height: 6px;
        cursor: pointer;
    }

    .dot.active {
        width: 56px;
    }

    .dot:hover {
        background-color: #5f7f9e;
        opacity: 0.9;
        transform: scaleY(1.2);
    }
	
.mentions_legales{
	line-height: 14pt;
}
.legal-section {
	font-size: 16px;
}
}

}