@font-face {
  font-family: 'Grave Presse';
  src: url('../fonts/GravePresse-ExtraBold.woff2') format('woff2'),
       url('../fonts/GravePresse-ExtraBold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Grave Presse', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: none;
  transform: translateY(0);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}


.navbar .container {
  margin: 0 auto;
  height: 80px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}


.links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.burger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute; /* вихід з flex-потоку */
  right: 5%; /* або будь-яке інше значення, залежно від розмітки */
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  height: 2em;
}

.navbar.hide {
  transform: translateY(-100%);
}

.logoLink{
    font-family: 'Grave Presse', sans-serif;
    font-size: 32px;
    color: black;
    width: fit-content;
}

.links{
    display: flex;
    flex-direction: row;
    gap:20px;
    align-items: center;
}

.navbar.scrolled {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.container{
    width: 80%;
    max-width:1270px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* gap:50px; */
}

.header{
    display: flex;
    align-items: flex-start;
    padding:50px 0px;
    flex-direction: column;
    gap:80px;
    flex: none;
    padding-top: 80px;
}

.services{
    padding-top: 80px;
}

.headerTitle{
    font-size: 4.3rem;
    font-weight: normal;
    color: #333;
}

.btn_default{
    border: 1px solid black;
    background-color: rgb(2, 21, 36);
    border-radius: 64px;
    padding: 8px 16px;
    transition: .3s;
    cursor: pointer;
    transition: background 0.3s;
}

.btn_default:hover {
  background: #22325a;
  color: #fff;
}

.btn_default h4{
    color: rgb(254, 233, 210);
    font-size: 18px;
}

.aboutUs{
    gap:20px;
    padding-top: 80px;
}

.ourGames{
    gap:50px;
    padding-top: 80px;
}

.games{
    gap:20px;
    align-items: center;
    justify-content: center;
}

.ourGame{
    background: #fee9d2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    gap:20px;
    padding: 60px;
    aspect-ratio: 1/0.6;
    text-align: center;
}

.ourGame a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:20px;
}

.ourGame .gameLogo{
        width: 50%;
    border-radius: 20px;
}

.contentRow{
    display: flex;
    flex-direction: row;
}

.contentRow-reverse{
    display: flex;
    flex-direction: row-reverse;
}

.contentImg{
    display: flex;
    width: 100%;
    align-items: center;
    padding-top: 50px;
}

.contentColumn{
    display: flex;
    flex-direction: column;
}

.contentTextContainer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
}

.contentTextContainer div{
    display: flex;
    flex-direction: column;
}

.contentText{
    font-size: 22px;
}

.contentImgImg{
    display: flex;
    justify-content: center;
    align-items: center;
    flex:1;
    background-color: #f5f5f5;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
}

.contentImg img{
    width: 80%;
}

.footer{
    background: rgb(2, 21, 36);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 20px;
    text-align: center;
}

.color-grey{
    color: rgb(138, 138, 138);
}

.contactUs {
  max-width: 500px;
  margin: 0 auto;
  font-family: sans-serif;
  padding-top: 100px;
  display: flex;
  flex-direction: column;
  gap:20px;
  margin-bottom: 40px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full {
  width: 100%;
}

label {
  font-size: 12px;
  margin-bottom: 4px;
  color: #555;
}

input,
textarea {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #eee;
  font-size: 14px;
  resize: none;
}

input:focus,
textarea:focus {
  outline: 2px solid #0a0f1c;
  background: #fff;
}

.contactUs .contentTitle{
    text-align: center;
}

.language-switcher {
  appearance: none; /* прибирає стандартні стилі браузера */
  -webkit-appearance: none;
  -moz-appearance: none;

  padding: 6px 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid black;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;

  /* додаємо іконку ▼ */
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}

.language-switcher:hover {
  background-color: #e2e2e2;
}

.privacy-header {
  padding: 40px 0;
  text-align: start;
  margin-bottom: 20px;
}

.privacy-header h1 {
  font-size: 32px;
  margin: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.privacy-header p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-section {
  background-color: #f9f9f9;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 12px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.privacy-section h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 12px;
  font-weight: 600;
}

.privacy-section p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.prefooter{
  text-align: center;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .container{
    width: 95%;
  }

  .ourGame{
    width: 100%;
  }

  .header{
    align-items: center;
  }

  .headerTitle{
    font-size: 2rem;
  }

  .games{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .contentImg{
    flex-direction: column;
    gap:50px;
  }

  .burger {
    display: block;
    flex:1;
  }

  .links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    /* display: none; */
    gap: 12px;
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: hidden;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, visibility 0.3s, padding 0.3s;
  }

  .links.show {
    display: flex;
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    padding: 16px;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s, visibility 0.3s, padding 0.3s;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
  }

  .logoLink{
    flex:10;
    text-align: center;
  }
}