@font-face {
  font-family: 'Noto Sans';
  src: url('fonts/Noto_Sans/NotoSans-VariableFont.ttf') format('truetype');
  font-weight: 100 900; 
  font-style: normal;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('fonts/Noto_Sans/NotoSans-Italic-VariableFont.ttf') format('truetype');
  font-weight: 100 900; 
  font-style: italic;
}

/* Null */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

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

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img, svg {
	max-width: 100%;
	height: auto;
}

address {
  font-style: normal;
}

/* Form */

input, textarea, button, select {
	font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}




:root {
  --primary-color: #F4A261; /* Vibrant coral for accents */
  --secondary-color: #FFFFFF; /* White for text */
  --additional-color: #2A9D8F; /* Soft turquoise for highlights */
  --accent-color: #FFC857; /* Bright yellow for buttons and calls-to-action */
  --text-color: #fff; /* Dark gray for text on light backgrounds */
  --overlay-color: rgba(45, 52, 54, 0.8); /* Dark overlay for better contrast */
  --body-color: #1C2C39; /* Dark gray for the background */
  --font-body: "Noto sans", sans-serif; /* Modern, geometric sans-serif font */
  --font-headings: "Arial", sans-serif; /* Bold, impactful sans-serif font */
  --heading-color: #F4A261;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--secondary-color);
  background-color: var(--body-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  color: var(--secondary-color);
}

.welcome-section {
  max-height: 600px;
  position: relative;
  height: 100vh; /* На всю высоту экрана */
  background-image: url('img/img1.jpeg'); /* Путь к фоновой картинке */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--additional-color);
}

.welcome-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 600px;
  background-color: var(--overlay-color); /* Затемнение фона */
}

.welcome-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.welcome-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.welcome-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
}

.cta-button {
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-color);
}


.features-section {
  padding: 60px 20px;
  background-color: var(--secondary-color);
  text-align: center;
}

.features-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature {
  background-color: var(--body-color);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
}

.feature img {
  width: 60px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.feature p {
  font-size: 1rem;
  color: var(--text-color);
}

.cta-section {
  padding: 60px 20px;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: var(--text-color);
  position: relative;
  background-color: #fff;
}


.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.cta-section p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #000;
}

.cta-button {
  background-color: var(--accent-color);
  color: #000;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-color);
}

.centered-text-section {
  padding: 60px 0;
  text-align: center;
  background-color: #fff;
}

.centered-text-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.centered-text-section .subheading {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.centered-text-section p {
  font-size: 1.2rem;
  color: #000;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .centered-text-section h2 {
      font-size: 2rem;
  }

  .centered-text-section .subheading {
      font-size: 1.2rem;
  }

  .centered-text-section p {
      font-size: 1rem;
  }

  
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  p {
    font-size: 0.75rem;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden; /* Скрываем переполнение */
  padding: 20px;
  background: #fff;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* Ограничиваем ширину слайдера */
}

.slide {
  flex: 0 0 50%; /* Каждый слайд занимает 50% ширины контейнера */
  box-sizing: border-box;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.slide p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.slide span {
  font-size: 14px;
  color: #777;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 10;
}

.slider-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%; /* На мобильных устройствах показываем один слайд */
  }

  .slider-btn {
    padding: 8px;
    font-size: 16px;
  }
}
.blog-welcome {
  background-image: url('img/blog.jpeg');
}

.blog-article {
  padding: 40px 0;
}

.blog-gray {
  background-color: #222; /* Light gray background for alternate sections */
}

.blog-header {
  text-align: center;
  margin-bottom: 20px;
}

.blog-header img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.blog-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-content .preview {
  font-size: 1.2rem;
  color: var(--secondary-color);
  line-height: 1.6;
  margin-bottom: 10px;
}

.blog-content .full-text {
  font-size: 1.2rem;
  color: var(--secondary-color);
  line-height: 1.6;
  display: none; /* Initially hidden */
}

.blog-content .read-more {
  background-color: var(--accent-color);
  color: #000;
  padding: 10px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.blog-content .read-more:hover {
  background-color: var(--primary-color);
}

.blog-article.active .full-text {
  display: block; /* Show full text when active */
}

.blog-article.active .read-more {
  display: none; /* Hide "Read More" button when active */
}

.user-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
}


.image-text-section {
  padding: 60px 0;
}

.image-text-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.image-container {
  flex: 1;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-container {
  flex: 1;
}

.text-container h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.text-container p {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.cta-button {
  background-color: var(--accent-color);
  color: #000;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-color);
}



.section-reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .image-text-content {
      flex-direction: column;
  }
  .section-reverse {
    flex-direction: column;
}

  .text-container h2 {
      font-size: 2rem;
  }

  .text-container p {
      font-size: 1rem;
  }
}

.blog-section {
  padding: 60px 0;
  background-color: #f9f9f9; /* Light background for contrast */
}

.blog-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-post {
  background-color: var(--text-color); /* White background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-10px);
}

.blog-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-content p {
  font-size: 1rem;
  color: #000;
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  background-color: var(--accent-color);
  color: #000;
  padding: 10px 20px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .blog-section h2 {
      font-size: 2rem;
  }

  .blog-content h3 {
      font-size: 1.25rem;
  }

  .blog-content p {
      font-size: 0.9rem;
  }
}

.img-section {
  background-color: #fff;
}


.items-wrap {
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 20px;
}
.items-wrap:before,
.items-wrap:after {
  content: "";
  height: 100%;
  top: 0;
  width: 10%;
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.items-wrap:before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}
.items-wrap:after {
  right: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}
.items {
  flex-shrink: 0;
  display: flex;
  gap: 20px;
  counter-reset: item;
  justify-content: space-around;
  min-width: 100%;
}
.item {
  background: #ccc;
  flex: 0 0 auto;
  width: 300px;
  height: 300px;
  counter-increment: item;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  font-weight: bold;
  color: #fff;
  margin: 10px 0;
  transition: all 0.1s ease-in-out;
}

@media (max-width: 1199px) {

  .item {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 700px) {

  .item {
    width: 100px;
    height: 100px;
  }
}

.item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.item:before {
  content: counter(item);
}

.marquee {
  animation: scroll 20s linear infinite;
}
.reverce {
  animation-direction: reverse;
}
.items-wrap:hover .marquee {
  animation-play-state: paused;
}

.perfscan {
  margin: 20px 0;
  text-align: center;
  bottom: 0;
  background: #fff;
  padding: 5px;
}
.perfscan hr {
  border: solid #999;
  border-width: 1px 0 0 0;
  max-width: 50%;
  margin: 0 auto 20px;
}
.perfscan a {
  color: #000;
  font-weight: bold;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 20px));
  }
}


.about-welcome {
  background-image: url('img/about.jpeg');
}

.form-section {
  padding: 60px 0;
  text-align: center;
}

.subscription-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background-color: var(--text-color); /* White background */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 1rem;
  color: #000;
  margin-bottom: 5px;
}

.form-group input[type="email"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  color: #000;
}

.form-group input[type="email"]:focus {
  border-color: var(--primary-color);
}

.form-group input[type="checkbox"] {
  margin-right: 10px;
}

.form-group a {
  color: var(--primary-color);
  text-decoration: none;
}

.form-group a:hover {
  text-decoration: underline;
}

.submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  background-color: var(--accent-color);
  color:#000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--primary-color);
}

@media (max-width: 768px) {
  .subscription-form {
      padding: 15px;
  }

  .form-group label {
      font-size: 0.9rem;
  }

  .form-group input[type="email"] {
      font-size: 0.9rem;
  }

  .submit-button {
      font-size: 0.9rem;
      padding: 12px;
  }
}

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



.form-section h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.form-section .subheading {
  font-size: 1.2rem;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .form-section h2 {
      font-size: 2rem;
  }

  .form-section .subheading {
      font-size: 1rem;
  }
}


/* Start */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1199px) {
  .wrapper {
    margin: 0 16px;
  }
}

/* Footer */
.footer {
  background-color: var(--body-color);
  padding: 20px 0;
}

.footer__copy {
  text-align: center;
  margin-top: 20px;
  color: #ffffff;
}

.footer__title {
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer__content {
  display: flex;
  justify-content: space-between;
}

.footer__element {
  color: #fff;
  width: auto;
  transition: all 0.2s ease-in;
}

.footer__element:hover {
  color: gray;
  font-size: 1.2em;
}

.footer__element + .footer__element {
  margin-top: 10px;
}

.footer__column {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  min-width: 200px;
}

.footer__gamble {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.img__age {
  max-width: 50px;
  height: auto;
}

@media (max-width: 700px) {
  .footer__content {
    flex-direction: column;
    align-items: center !important;
    gap: 15px;
  }

  .footer__gamble {
    flex-direction: column;
    gap: 15px;
  }

  .footer__column {
    align-items: center !important;
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 10;
}

.header {
  background-color: #1C2C39;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo {
  width: auto;
  height: 40px;
}

.header__logo-text {
  margin-left: 10px;
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
}

.nav {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #1C2C39;
  width: 100%;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

.nav.nav--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav__link {
  color: #fff;
  transition: all 0.2s ease-in;
  border-radius: 5px;
  padding: 5px;
}

.nav__link:hover {
  cursor: pointer;
  font-size: 1.1em;
}

.nav__item {
  list-style: none;
}

.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger__line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.burger--active .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.burger--active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.burger--active .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    width: auto;
    padding: 0;
    box-shadow: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 30px;
  }

  .nav__item {
    list-style: none;
  }
}

html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  flex-shrink: 0; 
}

main {
  flex: 1; 
  padding-top: 60px; 
}

footer {
  flex-shrink: 0;
  padding: 10px;
  text-align: center;
}

.term h2 {
  margin-bottom: 10px;
}

.term h1{
  margin: 30px 0;
}

.term p {
  margin-bottom: 30px;
  color: #000;
}

.term li {
  color: #000;
}


@media (max-width: 768px) {
  .centered-text-section h2 {
      font-size: 2rem;
  }

  .centered-text-section .subheading {
      font-size: 1.2rem;
  }

  .centered-text-section p {
      font-size: 1rem;
  }

  
  h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  
  p {
    font-size: 0.75rem;
  }
}