@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/******************GLOBAL****************/
html {
  scroll-behavior: smooth;
}
body {
  background-color: #161513;
  color: #fff;
}
* {
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: grey;
}
::selection {
  color: black;
  background: white;
}
#loader {
  width: 70px;
  height: 70px;
  font-size: 100px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
/************************NAVBAR*****************/

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  margin: 0;
  font-family: "Roboto Condensed";
  text-transform: capitalize;
  font-size: 19px;
  padding-right: 30px;
}
.dropbtn {
  font-weight: 200;
}
.fa-angle-down {
  font-size: 15px;
  padding-left: 7px;
}
.navbar a:hover,
.dropdown:hover .dropbtn {
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #1a1717;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  border: 1px solid #fffff017;
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #ffff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: "Roboto Condensed";
  text-transform: capitalize;
  font-size: 19px;
  padding-right: 30px;
  text-align: left;
}
.dropdown:hover .dropdown-content {
  display: block;
}
nav {
  justify-content: space-evenly;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main {
  text-decoration: none;
  color: #fff;
}
.nav-menu {
  list-style: none;
  display: flex;
}
nav h2 {
  font-size: 20px;
  color: white;
  font-family: "Raleway";
  font-weight: 300;
  margin-left: 20px;
}
.nav-link {
  text-decoration: none;
  color: white;
  font-family: "Roboto Condensed";
  text-transform: capitalize;
  font-size: 19px;
  height: 30px;
  padding-right: 30px;
}
.dropdown-content a {
  position: relative;
}
.dropdown-content a::before {
  content: "";
  position: absolute;
  width: 60%;
  height: 2px;
  border-radius: 4px;
  background-color: #ffff;
  bottom: 0;
  left: 0;
  right: 0;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}
.dropdown-content a:hover::before {
  transform-origin: center;
  transform: scaleX(1);
}

/*********************MENU-BAR*******************/
.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: white;
}
@media only screen and (max-width: 768px) {
  .nav-menu {
    z-index: 1;
    background-color: black;
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.8s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -ms-transition: 0.8s;
    -o-transition: 0.8s;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 2.5rem 0;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    float: right;
    margin-right: 30px;
    margin-top: 20px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(45deg);
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-45deg);
    transform: translateY(-8px) rotate(-45deg);
  }
}
/******************HEADER*****************/
.magic {
  margin-top: 100px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.header {
  font-family: "lato";
  font-size: 30px;
  letter-spacing: 8px;
}
.content-magic {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-family: "lato";
  margin-top: 80px;
}
.first-content {
  width: 70%;
}
.first-content h1 {
  letter-spacing: 7px;
}
.first-content p {
  color: grey;
  font-size: 17px;
  line-height: 30px;
}
.second-content h3 {
  font-size: 22px;
  letter-spacing: 2px;
}
.second-content span {
  color: grey;
  font-size: 17px;
}
.icons {
  margin-left: 0;
}
.icons > i {
  border: 1px solid #696969;
  border-radius: 50%;
  margin-left: 20px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  padding: 20px;
  transition: 0.5s all ease;
  -webkit-transition: 0.5s all ease;
  -moz-transition: 0.5s all ease;
  -ms-transition: 0.5s all ease;
  -o-transition: 0.5s all ease;
  cursor: pointer;
}
.icons > i:hover {
  color: white;
}
@media (max-width: 600px) {
  .header img {
    width: 70%;
  }
  .header .head {
    font-size: 35px;
  }
  .content-magic {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .first-content {
    padding-left: 30px;
  }
  .first-content h1 {
    width: 388px;
    font-size: 18px;
  }
  .first-content p {
    width: 300px;
  }
  .second-content {
    padding-left: 20px;
  }
}
/*******************SIMLIER**********************/
.box {
  margin: 200px auto;
  display: flex;
  justify-content: space-around;
}
.display {
  width: 70%;
  margin: 20px;
  transition: 0.8s all ease;
  -webkit-transition: 0.8s all ease;
  -moz-transition: 0.8s all ease;
  -ms-transition: 0.8s all ease;
  -o-transition: 0.8s all ease;
}
.display img {
  width: 90%;
  height: 100%;
}
.display:hover {
  filter: brightness(0.7);
  -webkit-filter: brightness(0.7);
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  filter: drop-shadow(2px 13px 8px black);
}
.text {
  display: block;
  margin-top: 50px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-style: italic;
  text-align: center;
}

@media (max-width: 600px) {
  .box {
    width: 100%;
    margin: 100px 0;
    flex-wrap: wrap;
  }
  .text {
    margin: 0;
    font-size: 10px;
    display: block;
  }
}

/****************NOTE*****************/
.quote {
  display: flex;
  justify-content: end;
  margin-top: 100px;
}
.quote p {
  text-transform: uppercase;
  font-size: 35px;
  font-weight: 700;
  font-family: "lato";
  letter-spacing: 2px;
  width: 50%;
}
.quote span::before {
  content: "—";
}
.grey {
  display: block;
  align-self: flex-end;
  margin-right: 40px;
  color: grey;
  font-size: 25px;
  font-weight: 700;
  font-family: "lato";
  letter-spacing: 2px;
  text-transform: capitalize;
}
@media (max-width: 500px) {
  .quote {
    width: 38%;
    flex-wrap: wrap;
  }
  .quote span {
    width: 53%;
  }
}
/**********************RECENT******************/
.recent {
  margin-top: 200px;
}
.recent h1 {
  text-transform: uppercase;
  font-family: "lato";
  letter-spacing: 7px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 5vw);
  grid-gap: 15px;
  margin-top: 50px;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item--1 {
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 9;
}
.gallery-item--3 {
  grid-column-start: 6;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 5;
}
.gallery-item--2 {
  grid-column-start: -4;
  grid-column-end: 9;
  grid-row-start: 5;
  grid-row-end: 9;
}
.gallery-item--4 {
  grid-column-start: 1;
  grid-column-end: 6;
  grid-row-start: 9;
  grid-row-end: 9;
}
.recent p {
  text-transform: uppercase;
  font-size: 35px;
  font-weight: 700;
  font-family: "lato";
  letter-spacing: 2px;
  width: 50%;
  margin-left: 10%;
  margin-top: 100px;
}
.recent span {
  margin-top: 20px;
}
.gallery-item {
  position: relative;
}
.beauty {
  position: absolute;
  bottom: 40px;
  right: 20px;
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 30px;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 750px) {
  .gallery {
    display: block;
  }
}
/*********************pages******************/
.pages {
  margin-top: 200px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "lato";
  text-transform: capitalize;
}
.prev {
  border: 1px solid #ffffff21;
  padding: 40px;
  width: 41%;
  text-align: center;
}
.fa-border-none {
  border: 1px solid #ffffff21;
  padding: 39px;
  width: 41%;
  text-align: center;
  font-size: 21px;
}
.next {
  border: 1px solid #ffffff21;
  padding: 40px;
  width: 41%;
  text-align: center;
  font-size: 16px;
}
.pages a {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
  font-family: "Raleway";
}
.fa-arrow-right,
.fa-arrow-left {
  transition: 1s all ease;
  -webkit-transition: 1s all ease;
  -moz-transition: 1s all ease;
  -ms-transition: 1s all ease;
  -o-transition: 1s all ease;
}
.pages a:hover .fa-arrow-left {
  transform: translateX(-20px);
  -webkit-transform: translateX(-20px);
  -moz-transform: translateX(-20px);
  -ms-transform: translateX(-20px);
  -o-transform: translateX(-20px);
}
.pages a:hover .fa-arrow-right {
  transform: translateX(20px);
  -webkit-transform: translateX(20px);
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -o-transform: translateX(20px);
}
/***********************FOOTER****************/
.cover-footer {
  margin-top: 100px;
  background-image: url(../images/footer.jpg);
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
}
.footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.footer-content {
  font-family: "raleway";
  margin-top: 40px;
  margin-bottom: 24px;
}
.footer-content > span {
  display: block;
  padding-top: 20px;
  transition: 0.2s all ease;
  -webkit-transition: 0.2s all ease;
  -moz-transition: 0.2s all ease;
  -ms-transition: 0.2s all ease;
  -o-transition: 0.2s all ease;
}
.footer-content:nth-child(2) {
  cursor: pointer;
}
.footer-content:nth-child(2) span:hover {
  color: grey;
}
.fa-brands {
  cursor: pointer;
  padding-left: 20px;
  padding-top: 10px;
  font-size: 20px;
}
.fa-brands:hover {
  color: grey;
}
/********************/
@media (max-width: 1010px) {
  .footer {
    width: 90%;
    flex-wrap: wrap;
  }
  .footer-content {
    padding: 20px;
  }
}
