/* Reset & base */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
}

/* Centering wrapper */
.wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

/* Header */
.BG_header {
  width: 100%;
  height: 150px;
  background-color: #030303;
  position: relative;
}

.header {
  width: 1440px;
  height: 150px;
  margin: 0 auto;
  position: relative;
}

.logo {
  position: absolute;
  top: 59px;
  display: flex;
  gap: 25px;
  height: 33px;
}

.frame {
  width: 49px;
  height: 26px;
}

.loure {
  width: 125px;
  height: 31px;
  position: relative;
  top: 2px;
}

.nav {
  position: relative;
  top: 62px;
  left: 665px;
  width: 775px;
  height: 26px;
}

.navigation {
  display: flex;
  justify-content: space-between;
  gap: 55px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation li a {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navigation li a:hover {
  color: #CCCCCC;
}

/* Main */
.main {
  width: 1440px;
  height: auto;
  margin: 0;
}

.BG_main {
  width: 1920px;
  max-width: 1920px;
  height: 842px;
  background-color: #030303;
}

.welcom {
  width: 100%;
  max-width: 1440px;
  height: 810px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.welcom_text {
  position: relative;
  top: 150px;
  width: 598px;
  height: 388px;
}

.welcom_louvre {
  position: absolute;
  width: 593px;
  height: 180px;
  top: 0px;
  z-index: 1;
}

.welcom_castle {
  position: absolute;
  top: 205px;
  width: 445px;
  height: 33px;
  z-index: 1;
}

.welcom_button {
  position: absolute;
  top: 313px;
  width: 360px;
  height: 75px;
  z-index: 1;
}

.welcom_painting {
  width: 1000px;
  height: 810px;
}

.welcom_painting img {
  width: 1000px;
  height: 750px;
  object-fit: cover;
}

/* Адаптация для планшетов 1024px */
@media screen and (max-width: 1024px) {
  .header, .main, .welcom {
    width: 100%;
  }

  .nav {
    left: auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .navigation {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .welcom {
    flex-direction: column;
    height: auto;
    align-items: center;
  }

  .welcom_text {
    width: 90%;
    top: 80px;
  }

  .welcom_painting img {
    width: 90%;
    height: auto;
  }
}

/* Адаптация для маленьких планшетов 768px */
@media screen and (max-width: 768px) {
  .BG_header, .header {
    height: auto;
    padding: 20px 0;
  }

  .logo {
    position: static;
    justify-content: center;
    margin-bottom: 20px;
  }

  .nav {
    position: static;
    width: 100%;
    margin-bottom: 20px;
  }

  .welcom_text {
    top: 0;
    margin-top: 20px;
  }

  .welcom_castle, .welcom_button {
    position: static;
    margin-top: 15px;
  }

  .welcom_painting {
    height: auto;
    margin-top: 20px;
  }

  .welcom_painting img {
    width: 100%;
    height: auto;
  }
}

/* Адаптация для мобильных устройств 420px */
@media screen and (max-width: 420px) {
  .navigation li a {
    font-size: 14px;
  }

  .welcom_text, .welcom_castle, .welcom_button {
    width: 100%;
    text-align: center;
  }

  .welcom_painting img {
    width: 100%;
    height: auto;
  }

  .BG_main {
    height: auto;
    padding: 20px 0;
  }
}
