@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&display=swap");

:root {
  --main-color: #022988;
  --primary-color: #ef5068;
  --black: #13131a;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

* {
  font-family: "Playfair Display", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-transform: capitalize;
  text-decoration: none;
  list-style: none;
  transition: all 0.2s linear;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

html::-webkit-scrollbar {
  width: 0.6rem;
}

html::-webkit-scrollbar-track {
  background: #fff;
}

html::-webkit-scrollbar-thumb {
  background: var(--primary-color);
}

section {
  padding: 3rem 7%;
}

.bold {
  font-weight: bold;
}

.heading {
  font-size: 4rem;
  margin: 4rem 0;
  color: var(--primary-color);
  text-align: center;
}

.btn {
  margin-top: 1rem;
  background: var(--primary-color);
  color: #fff;
  display: inline-block;
  border-radius: 5rem;
  box-shadow: var(--box-shadow);
  padding: 1rem 4rem;
  font-size: 1.7rem;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 0%;
  background: #bd394c;
  z-index: -1;
  transition: 0.3s linear;
}

.btn::before {
  left: 0;
}

.btn::after {
  right: 0;
}

.btn:hover::before,
.btn:hover::after {
  width: 100%;
}

/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 9%;
  background: #f0f4ff;
  box-shadow: var(--box-shadow);
}

.header .logo {
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--black);
}

.header .logo i {
  color: var(--main-color);
  padding-right: 0.5rem;
}

.header .logo i {
  color: var(--main-color);
  padding-right: 0.5rem;
}

.header .logo img {
  width: 80px;
  padding-right: 0.5rem;
}

.header .navbar a {
  font-size: 2rem;
  color: var(--black);
  margin-left: 2rem;
}

.header .navbar a:hover {
  color: var(--primary-color);
}

#menu {
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--black);
  display: none;
}

/* end */

/* home */

.home {
  display: flex;
  align-items: center;
  background: url(./images/content/home.png) no-repeat;
  min-height: 110vh;
  background-size: cover;
  background-position: center;
}

.home .content {
  max-width: 60rem;
}

.home .content h3 {
  font-size: 4rem;
  color: #fff;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  padding-bottom: 2rem;
}

/* end */

/* about */

.about .row {
  display: flex;
  flex-wrap: wrap;
  /* align-items: center; */
  align-items: start;
  gap: 3rem;
}

.about .row .content {
  flex: 1 1 40rem;
}

.about .row .content h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  padding: 1rem 0;
}

.about .row .content p {
  font-size: 1.4rem;
  color: var(--black);
  padding: 1rem 0;
  line-height: 2;
}

.about ul li {
  font-size: 1.7rem;
  color: var(--main-color);
  padding-top: 1.5rem;
}

.about ul li i {
  font-size: 2rem;
  color: var(--primary-color);
  padding-right: 1rem;
}

.about .row .content .btn {
  margin: 3rem 0;
}

.about .row .image {
  flex: 1 1 30rem;
}

.about .row .image img {
  width: 100%;
  height: 100%;
}

/* end */

/* curator */

.curator {
  background: #f0f4ff;
}

.curator img {
  width: 100%;
  height: auto;
  transform: scale(1.2, 1.2);
}

.curator .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.curator .box-container .box .image {
  position: relative;
  overflow: hidden;
}

.curator .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.curator .box-container .box .image .share {
  width: 7rem;
  height: 38rem;
  position: absolute;
  left: -8rem;
  top: 0;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 1.7rem;
}

.curator .box-container .box .image:hover .share {
  left: 0;
}

.curator .box-container .box .image .share a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2.2rem;
  color: #fff;
  border: 0.1rem solid #fff;
  text-align: center;
}

.curator .box-container .box .image .share a:hover {
  background: #fff;
  color: var(--main-color);
}

.curator .box-container .box .content {
  padding-top: 1rem;
}

.curator .box-container .box .content h5 {
  color: var(--primary-color);
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.curator .box-container .box .content h3 {
  font-size: 2.5rem;
  color: var(--black);
}

/* end */

/* shop */

.shop .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 2rem;
}

.shop .box-container .box {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.shop .box-container .box .image {
  position: relative;
  overflow: hidden;
}

.shop .box-container .box .image img {
  width: 100%;
}

.shop .box-container .box:hover .image .share {
  bottom: 0;
}

.shop .box-container .box .image .share {
  position: absolute;
  bottom: -10rem;
  left: 0;
  right: 0;
  padding: 2rem;
  background: rgba(242, 242, 242, 0.6);
}

.shop .box-container .box .image .share a {
  height: 4rem;
  width: 4rem;
  line-height: 4rem;
  font-size: 2rem;
  margin: 0 1rem;
  color: #fff;
  background: var(--primary-color);
  border-radius: 0.5rem;
}

.shop .box-container .box .image .share a:hover {
  color: var(--primary-color);
  background: #fff;
}

.shop .box-container .box .content {
  padding: 2rem;
  padding-top: 1rem;
  align-items: center;
}

.shop .box-container .box .content h3 {
  font-size: 2rem;
  color: var(--black);
}

.shop .box-container .box .content h5 {
  font-size: 1.7rem;
  line-height: 2;
  color: #777;
}

/* end */

/* gallery */

.gallery {
  /* background: #f0f4ff; */
  background: #fff;
}

.gallery .controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.gallery .controls .button {
  height: 4rem;
  width: 16rem;
  background: #fff;
  color: var(--primary-color);
  font-size: 2rem;
  line-height: 4rem;
  cursor: pointer;
  margin: 1rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.gallery .controls .button.active {
  background: var(--main-color);
  color: #fff;
}

.gallery .box-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.gallery .box-container .image {
  height: 25rem;
  width: 35rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.gallery .box-container .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.gallery .box-container .image:hover img {
  transform: scale(1.1);
}

/* end */

/* projects */

.projects {
  background: #f0f4ff;
  /* background: #fff; */
}

.projects .controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.projects .controls .button {
  height: 4rem;
  width: 16rem;
  background: #fff;
  color: var(--primary-color);
  font-size: 2rem;
  line-height: 4rem;
  cursor: pointer;
  margin: 1rem;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.projects .controls .button.active {
  background: var(--main-color);
  color: #fff;
}

.projects .box-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.projects .box-container .image {
  height: 250px;
  width: 250px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.projects .box-container .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.projects .box-container .image:hover img {
  transform: scale(1.1);
}

/* end */

/* news */

.news .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.news .box-container .box {
  box-shadow: var(--box-shadow);
}

.news .box-container .box .image {
  height: 30rem;
  width: 100%;
  overflow: hidden;
}

.news .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news .box-container .box:hover .image img {
  transform: scale(1.2);
}

.news .box-container .box .content {
  padding: 3rem 3.5rem;
}

.news .box-container .box .content h3 {
  font-size: 2.2rem;
  color: var(--black);
}

.news .box-container .box .content .icons {
  padding-top: 1.7rem;
}

.news .box-container .box .content .icons a {
  font-size: 1.4rem;
  color: #444;
}

.news .box-container .box .content .icons a:hover {
  color: var(--primary-color);
}

.news .box-container .box .content .icons a i {
  color: var(--primary-color);
  padding-right: 0.5rem;
}

.news .box-container .box .content p {
  font-size: 1.4rem;
  color: var(--black);
  line-height: 2;
  padding: 1rem 0;
}

/* end */

/* contact */

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact .row .image {
  flex: 1 1 30rem;
}

.contact .row .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact .row form {
  flex: 1 1 50rem;
  padding: 5rem;
}

.contact .row form .inputBox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.contact .row form .inputBox input,
.contact .row form textarea {
  padding: 1rem;
  margin: 1rem 0;
  font-size: 1.7rem;
  color: #333;
  text-transform: none;
  border: 0.1rem solid rgba(0, 0, 0, 0.3);
  border-radius: 0.5rem;
  width: 49%;
}

.contact .row form textarea {
  width: 100%;
  height: 15rem;
  resize: none;
}

/* end */

/* subscribe */

.subscribe {
  background: #f0f4ff;
}

.subscribe .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.subscribe .row .content {
  flex: 1 1 30rem;
}

.subscribe .row .content p {
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.subscribe .row .inputBox {
  flex: 1 1 50rem;
}

.subscribe .row .inputBox .email {
  padding: 1.2rem;
  width: 60%;
  border-radius: 5rem;
  font-size: 1.4rem;
  background: none;
  color: var(--black);
  text-transform: none;
  border: 0.1rem solid var(--primary-color);
}

.subscribe .row .inputBox .btn {
  margin-left: 2rem;
  cursor: pointer;
}

/* end */

/* footer */

.footer {
  background: #eee5e6;
  text-align: center;
}

.footer .share {
  padding: 1rem 0;
}

.footer .share a {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  color: var(--primary-color);
  border: 0.1rem solid var(--primary-color);
  margin: 0.3rem;
  border-radius: 50%;
}

.footer .share a:hover {
  color: #fff;
  background: var(--primary-color);
}

.footer .credit {
  font-size: 1.5rem;
  color: var(--black);
  padding: 1.5rem;
  font-weight: lighter;
  display: flex;
  justify-content: space-between;
}

.footer .credit span {
  color: var(--primary-color);
}

/* end */

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 2rem 3rem;
  }

  section {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  #menu {
    display: inline-block;
  }

  .header .navbar {
    position: absolute;
    top: 110%;
    right: -110%;
    width: 30rem;
    box-shadow: var(--box-shadow);
    border-radius: 0.5rem;
    background: #fff;
  }

  .header .navbar.active {
    right: 2rem;
    transition: 0.4s linear;
  }

  .header .navbar a {
    font-size: 2rem;
    margin: 2rem 2.5rem;
    display: block;
  }

  .home .content h3 {
    font-size: 5rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
}
