@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins: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");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* font-size: 66.5%; */
}

strong {
  font-weight: bold;
}
header {
  padding: 1em 2em;
  display: inline-flex;
  width: 100%;
  /* align-items: center; */
  justify-content: center;
  top: 0;
  position: sticky;
  background: white;
  z-index: 10;
}

header .logo {
  font-family: "Comfortaa", cursive;
  font-size: 1.5rem;
  user-select: none;
  font-weight: 700;
  text-decoration: none;
  color: black;
  white-space: nowrap;
  margin-top: 10px;
}

header .searchContainer {
  width: 100%;
  margin: auto 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

header .searchbox {
  background: #eee;
  width: 90%;
  height: 3rem;
  margin: auto 10px;
  border-radius: 10rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  /* transition: linear 0.3s; */
}

header .searchContainer #suggestionBox {
  width: 90%;
  background: #eee;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

header .searchContainer #suggestionBox .suggestion {
  width: 100%;
  padding: 0.8rem 2rem;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  user-select: none;
  line-break: anywhere;
}

header .searchContainer #suggestionBox .suggestion:hover {
  background: darkgray;
}

header .searchbox input {
  width: 100%;
  background: transparent;
  border: none !important;
  outline: none !important;
  font-family: "Poppins", sans-serif;
  padding: 1rem;
  font-size: 1rem;
}

header .searchbox i {
  font-size: 1rem;
  margin: auto 1rem;
  cursor: pointer;
}

.content {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  padding: 0 1rem;
}

.content .title {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
}
.content .text {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  text-align: center;
}

.content .imagebox {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  grid-row-gap: 2em;
}

.content .imagebox .card {
  width: 22em;
  height: auto;
  /* background: #eee; */
  /* border-radius: 10px; */
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  margin: auto;
  position: relative;
}

.content .imagebox .card a {
  text-decoration: none;
  display: contents;
}

.content .imagebox .card img {
  width: 100%;
  height: 12em;
  object-fit: cover;
  z-index: 2;
}

.content .imagebox .card .title {
  width: 100%;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  margin-top: 10px;
  text-decoration: none;
  color: black;
  text-align: center;
}

footer {
  background: #eee;
  padding: 1em;
  margin-top: 3em;
  display: flex;
  flex-direction: column;
}
footer .links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  grid-gap: 20px;
}
footer .links a {
  text-decoration: none;
  color: black;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  margin: 0 10px;
  font-weight: 500;
}

footer span {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  margin: 0 100px;
  text-align: center;
}

footer span.light {
  font-weight: 300;
  padding: 1em;
}

.blog {
  padding: 3rem;
}

.blog .title {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 500;
}

.blog .text {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 300;
}

.blog .promo {
  width: 100%;
  height: 100px;
  background: #eee;
  margin-top: 20px;
  position: relative;
}

.blog .promo img.promoimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.blog .promo .text {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  align-items: center;
  padding: 20px;
  justify-content: space-between;
  text-decoration: none;
}

.blog .promo .text span {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  user-select: none;
}

.blog .promo .text img {
  height: 100%;
  object-fit: contain;
}

.blog .imagesBox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin-top: 2em;
}
.blog .imagesBox a.card_link {
  text-decoration: none;
}

.blog .imagesBox .card {
  /* width: 100%; */
  position: relative;
  height: 18rem;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  overflow: hidden;
  padding: 10px;
  box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.25);
}

.blog .imagesBox .card img {
  object-fit: cover;
  width: 100%;
  border-radius: 20px;
  height: calc(100% - 40px);
  cursor: pointer;
  z-index: 2;
}

.blog .imagesBox .card::before,
.content .imagebox .card::before {
  position: absolute;
  content: "Wallpaperz Store \A Loading Image...";
  font-family: "Comfortaa", cursive;
  color: rgb(148, 148, 148);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  top: 0;
  bottom: 30%;
  margin-top: auto;
  font-size: 1.3rem;
  line-height: 3rem;
  white-space: break-spaces;
  animation-duration: 3s;
  animation-name: dissappear;
  opacity: 0;
}

@keyframes dissappear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.blog .imagesBox .card .btnsarea,
.viewWallpaperBox .options .btnsarea {
  width: 100%;
  height: 40px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.viewWallpaperBox .options .btnsarea {
  height: auto;
}

.viewWallpaperBox .options .btnsarea {
  /* flex-direction: column; */
  align-items: start;
  justify-content: start;
}

.blog .imagesBox .card .btnsarea .btn,
.viewWallpaperBox .options .btnsarea .btn {
  width: 30px;
  height: 30px;
  background: red;
  margin: auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  width: auto !important;
  padding: 10px;
  cursor: pointer;
}

.viewWallpaperBox .options .btnsarea .btn {
  padding: 20px;
}

.blog .imagesBox .card .btnsarea .btn .option,
.viewWallpaperBox .options .btnsarea .btn .option {
  margin-left: 10px;
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
}

.blog .imagesBox .card .btnsarea .btn.share,
.viewWallpaperBox .options .btnsarea .btn.share {
  background: rgb(3, 155, 71);
}
.blog .imagesBox .card .btnsarea .btn.download,
.viewWallpaperBox .options .btnsarea .btn.download {
  background: rgb(100, 46, 226);
}
.blog .imagesBox .card .btnsarea .btn.fitwallpaper {
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 10px;
  right: 0px;
  width: 30px !important;
  height: 30px;
}

.blog .imagesBox .card .btnsarea .btn i,
.viewWallpaperBox .options .btnsarea .btn i {
  color: white;
}

.viewWallpaperBox {
  width: 80%;
  /* background: #eee; */
  display: flex;
  /* align-items: center; */
  /* grid-template-columns: repeat(2, 1fr); */
  margin: auto;
  box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 10px 10px 26px 0px rgba(0, 0, 0, 0.25);
}

.viewWallpaperBox .imgBox img {
  /* height: 400px; */
  /* height: 100%; */
  width: 80%;
  object-fit: contain;
  position: sticky;
  top: 0;
}
.viewWallpaperBox .imgBox {
  position: relative;
  /* height: 400px; */
  width: 100%;
  align-items: center;
  display: flex;
  justify-content: center;
}

.viewWallpaperBox .options {
  /* height: 100%; */
  padding: 20px;
}
.viewWallpaperBox .options h2 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.viewWallpaperBox .options .text {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}
.viewWallpaperBox .options div.info {
  display: flex;
  flex-direction: column;
  grid-gap: 10px;
}
.viewWallpaperBox .options span.info {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #484848;
}
.viewWallpaperBox .options a.info.download {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: black;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  width: max-content;
}
.viewWallpaperBox .options a.info.report {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #850000;
  display: inline-flex;
  text-decoration: none;
  width: max-content;
  align-items: center;
  justify-content: center;
}
.viewWallpaperBox .options a.info.report i {
  color: #850000;
  margin-right: 10px;
}
.viewWallpaperBox .options a.info.download span {
  width: min-content;
}
.viewWallpaperBox .options a.info.download img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.sharebx {
  background: linear-gradient(45deg, #c0fba1, #66ffc0);
  padding: 20px;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: none;
  box-shadow: 0px -9px 30px -4px rgba(0, 0, 0, 0.32);
  -webkit-box-shadow: 0px -9px 30px -4px rgba(0, 0, 0, 0.32);
  -moz-box-shadow: 0px -9px 30px -4px rgba(0, 0, 0, 0.32);
  z-index: 10;
  padding-bottom: 30px;
}

.sharebx .closeBtn {
  position: absolute;
  right: 10px;
  top: 10px;
}

.sharebx .closeBtn i {
  color: #006f32;
  font-size: 2rem;
  cursor: pointer;
}

.sharebx .options a {
  text-decoration: none;
  color: black;
}

.sharebx .options a img:hover {
  filter: drop-shadow(2px 4px 6px black);
}
.sharebx h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.sharebx .options {
  display: flex;
  flex-wrap: wrap;
  grid-gap: 10px;
  align-items: center;
  justify-content: center;
}

.blog .tags .title {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  margin-top: 30px;
  font-weight: 500;
}

.blog .tags .tagsBox {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  grid-gap: 10px;
}

.blog .tags .tagsBox a.tag {
  text-decoration: none;
  color: black;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  background: #eee;
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

#goToTop {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  height: 3rem;
  width: 3rem;
  background: #838383;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 1rem;
  border-radius: 50px;
  color: white;
  z-index: 9;
  text-decoration: none;
  display: none;
}

@media screen and (max-width: 900px) {
  header {
    flex-direction: column;
  }

  header .logo {
    margin-bottom: 1rem;
    text-align: center;
  }

  .content .title {
    font-size: 1.5rem;
  }

  .content .text {
    font-size: 0.8rem;
  }

  .blog .imagesBox {
    grid-template-columns: repeat(1, 1fr);
  }
  .blog .imagesBox .card .btnsarea .btn .option {
    display: none;
  }

  /* .blog .imagesBox .card .btnsarea .btn.fitwallpaper {
    display: none;
  } */

  .blog {
    padding: 1rem;
  }

  .blog .promo .text img {
    height: 70%;
  }
  .blog .promo .text span {
    font-size: 0.8rem;
  }
  .viewWallpaperBox {
    display: flex;
    flex-direction: column;
  }

  footer span {
    margin: 0;
  }
}
