* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  overflow-x: hidden;
  line-height: normal;
}

.container {
  padding: 0 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER AND NAVBAR */

header {
  padding: 25px 0;
}

header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

header .logo span {
  display: block;
}

header .logo span:last-of-type {
  margin-top: -6px;
  margin-left: 10px;
}

header .navbar nav {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: white;
  box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 25%);
  padding: 6px 8px;
  border-radius: 99999px;
}

header a:not(a.logo) {
  text-decoration: none;
  color: #000;
  text-transform: uppercase;
  font-size: 14px;
}

header nav a {
  display: block;
  padding: 10px 20px;
  border-radius: 99999px;
  transition: 0.2s;
}

header nav a:hover {
  background-color: #000;
  color: white;
}

header nav a.active {
  background-color: #000;
  color: white;
}

header .navbar > div {
  display: flex;
  align-items: center;
  gap: 30px;
}

header a.lang {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

header .lang img {
  flex-shrink: 0;
  display: block;
  width: 22px;
}

.menu-toggle {
  display: none;
  font-size: 25px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* HERO SECTION */

.hero {
  color: #000;
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero .address {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero .address img {
  display: block;
  width: 24px;
  filter: drop-shadow(0px 0px 0px black);
}

.hero p {
  color: #333;
  font-weight: 600;
}

.hero h1 {
  max-width: 1060px;
  margin: 0 auto 0;
  font-size: 58px;
  line-height: 1.25;
}

.hero .main-img-container {
  display: flex;
  align-items: center;
}

.hero .main-img {
  display: block;
  width: calc(100% / 4);
  flex: 1;
}

.hero .main-img:first-of-type {
  aspect-ratio: 2 / 3.15;
}

.hero .main-img:nth-child(4) {
  aspect-ratio: 2 / 3.15;
}

/* ARTISTIC SECTION */

.artistic {
  text-align: center;
  color: #000;
}

.artistic p {
  font-weight: 600;
  color: #333;
  margin-bottom: 2.5rem;
}

.artistic h2 {
  font-size: 39px;
  line-height: 1.4;
  margin-bottom: 4rem;
}
.artistic h2 span {
  color: #979797;
}

.artistic h2 img {
  width: 32px;
}

.artistic .img-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.artistic .img-container img {
  display: block;
  object-fit: cover;
  border-radius: 1px;
  /* filter: grayscale(1); */
}

.artistic .img-container > img:first-of-type {
  width: 13%;
  aspect-ratio: 1 / 1.8;
}

.artistic .img-container div {
  width: 20%;
}

.artistic .img-container div img:first-of-type {
  margin-bottom: 20px;
}

.artistic .img-container div img {
  width: 100%;
}

.artistic .img-container img:nth-child(3) {
  width: 20%;
  aspect-ratio: 1 / 1.25;
}

.artistic .img-container img:nth-child(4) {
  box-shadow: 0px 0px 50px 12px rgb(0 0 0 / 30%);
  filter: brightness(0.8);
  width: 28%;
  aspect-ratio: 1 / 1.1;
}

.artistic .img-container img:nth-child(5) {
  width: 13%;
  aspect-ratio: 1 / 1.8;
}

.artistic .more-about {
  text-align: initial;
  display: flex;
  flex-wrap: wrap;
  margin-top: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.artistic .more-about p {
  margin: 0;
  max-width: 580px;
  line-height: 1.5;
  font-weight: 400;
  color: #111;
}

.artistic .more-about a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background-color: black;
  color: rgb(221 221 221);
  padding: 15px 30px;
  border-radius: 99999px;
  border: 1px solid black;
  transition: 0.3s;
  font-size: 14px;
}

.artistic .more-about a i {
  font-size: 13px;
}

.artistic .more-about a:hover {
  background-color: white;
  color: #333;
}

/* NEW ARTWORK SECTION */

.new-artwork {
  margin-top: 6rem;
  padding: 6rem 0;
  background-color: #1e1e1e;
  overflow: hidden;
}

.new-artwork .inner-container {
  position: relative;
}

.new-artwork .inner-container::before {
  content: "";
  position: absolute;
  width: 515px;
  max-width: 100%;
  height: 430px;
  background-color: #713471;
  filter: blur(115px);
  right: -15%;
  top: -11%;
}

.new-artwork .inner-container * {
  position: relative;
  z-index: 1;
}

.new-artwork .head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.new-artwork .head div p {
  color: #d9d9d9;
  font-size: 15px;
}

.new-artwork .head h2 {
  color: #e5e5e5;
  font-size: 46px;
  max-width: 520px;
  margin-top: 2.5rem;
  line-height: 1.3;
}

.new-artwork .head h2 .globe-icon {
  width: 40px;
}

.new-artwork .head > p {
  max-width: 450px;
  line-height: 1.5;
  color: #bfbfbf;
}

.new-artwork .art-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: flex-end;
  gap: 50px 22px;
  margin-top: 3rem;
}

.new-artwork .art-boxes span {
  display: block;
  padding: 8px 20px;
  border-radius: 99999px;
  background-color: #ffffff1c;
  color: #d9d9d9;
  width: fit-content;
  font-size: 14px;
  margin-bottom: 20px;
}

.new-artwork .art-boxes img {
  display: block;
  width: 100%;
  border-radius: 3px;
  object-fit: cover;
  height: 350px;
}

.new-artwork .art-boxes .art-box:first-of-type img {
  height: 430px;
}

.new-artwork .art-boxes h3 {
  color: rgb(225, 225, 225);
  font-size: 20px;
  margin: 20px 0 10px;
  text-transform: uppercase;
}

.new-artwork .art-boxes P {
  color: #aaaaaa;
  line-height: 1.5;
  margin-bottom: 20px;
  font-size: 14px;
}

.new-artwork .art-boxes a {
  text-decoration: none;
  padding: 12px 20px;
  text-align: center;
  border-radius: 99999px;
  border: 2.5px solid rgb(76 76 76);
  color: rgb(223 223 223);
  font-size: 14px;
  background-color: #262626;
  box-shadow: 0px 0px 5px 0px #141414 inset;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.new-artwork .art-boxes a i {
  font-size: 13px;
  transition: 0.3s;
}

.new-artwork .art-boxes a:hover i {
  transform: translateX(15px);
}

/* CATEGORIES SECTION */

.categories {
  padding-top: 5em;
}

.category-container {
  display: flex;
  justify-content: center;
  height: 100vh;
  max-height: 100vh !important;
}

.category-container article {
  width: calc(100% / 3);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: width 0.6s;
}

.category-container article:hover {
  width: 65%;
}

.category-container article:first-of-type {
  background-image: url("./assets/art-7.jpg");
}

.category-container article:nth-child(2) {
  background-image: url("./assets/art-2.jpg");
}

.category-container article:nth-child(3) {
  background-image: url("./assets/art-4.jpg");
}

.category-container article a {
  text-decoration: none;
  color: white;
  font-size: 50px;
  display: block;
}

.category-container article small {
  display: block;
  color: white;
  margin-top: 20px;
  font-size: 14px;
}

.category-container article * {
  transition: opacity 0.6s;
}

.category-container article:hover * {
  opacity: 1;
}

.category-container:hover article:not(:hover) * {
  opacity: 0;
}

/* MEDIA QUERY FOR RESPONSIVE DESIGN */

@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }

  nav {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    width: 100%;
    max-width: 300px;
    position: absolute;
    top: 80px;
    right: 15px;
    padding: 20px !important;
    z-index: 10;
    border-radius: 10px !important;
    max-height: 100%;
    opacity: 0;
    transform: scale(0);
    transition: 0.2s;
    transform-origin: top;
  }

  .navbar.open nav {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .artistic h2 {
    font-size: 28px;
  }

  .artistic .img-container {
    flex-direction: column;
    gap: 20px;
  }

  .artistic .img-container img,
  .artistic .img-container div {
    width: 100% !important;
    aspect-ratio: auto !important;
    height: auto !important;
  }

  .category-container article a {
    font-size: 30px;
  }

  .category-container article:hover {
    width: 70%;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 27px;
  }

  .artistic h2 {
    font-size: 22px;
  }

  .hero p,
  .artistic p {
    font-size: 14px;
  }

  .new-artwork .head h2 {
    font-size: 30px;
  }

  .artistic h2 img {
    width: 22px;
  }

  .category-container article {
    width: calc(100% / 2);
  }

  .category-container article:last-of-type {
    display: none;
  }

  .category-container article:hover {
    width: 100%;
  }
}
