@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  display: none;
}
/* END SCROLLBAR */

body {
  overflow-x: hidden;
  background-color: #fff;
}

/* CURSOR */
.cursor {
  position: fixed;
  width: 0;
  height: 0;
  border-radius: 50%;
  background-color: #fff;
  transform: translate(-50%, -50%);
  transition: 0.1s;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 99999;
}

.cursor.active {
  width: 10px;
  height: 10px;
  transform: scale(7);
  /* border-radius: 0%; */
}

.cursor-inner {
  /* width: 30px; */
  /* height: 30px; */
  border-radius: 50%;
  transform: translate(-35%, -35%);
  border: 1px solid #fff;
  transition-delay: 0.1s;
  opacity: 0;
}

.cursor-inner.active {
  border: none;
  animation: fadeIn 1s ease-in-out;
  transform: scale(0);
}
/* END CURSOR */

/* HEADER */

header {
  background-color: #fff;
  width: 100%;
  height: 250px;
  color: #000;
}

.logo {
  cursor: pointer;
}

.logo img:nth-child(2){
  display: none;
}

.hero-text {
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
}

.hero-text h1 {
  font-size: 4em;
  font-weight: 900;
  line-height: 0.3;
  position: absolute;
  text-transform: uppercase;
}

.hero-text h1:nth-child(1) {
  z-index: 2;
}

.hero-text h1:nth-child(2) {
  color: #000;
  opacity: 0.05;
  font-size: 10rem;
}

.navbar {
  display: flex;
  background-color: #fff;
  justify-content: space-between;
  position: fixed;
  max-width: 100%;
  padding: 1rem 3rem 1rem 3rem;
  left: 0;
  right: 0;
  z-index: 999;
  transition: all 0.5s ease-in-out;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.navbar-text {
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-right: 4rem;
}

.navbar-text li {
  list-style: none;
  float: left;
  margin: 0 2rem;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: color 0.5s ease-in-out;
  cursor: pointer;
}

.navbar-text #blog {
  padding: 0 0;
  /* border-bottom: 3px solid #000; */
  text-decoration: underline;
  font-weight: bold;
  line-height: 1;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  color: #000;
  font-size: 16px;
  border: none;
  outline: none;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  transition: color ease-in-out 0.5s;
  cursor: pointer;
}

.dropbtn {
  display: flex;
  align-items: center;
}

.arrow-down {
  transition: all 0.5s ease-in-out;
  margin-left: 1rem;
  height: 15px;
  width: 15px;
}

.arrow-down.active {
  transform: rotate(180deg);
}

.dropdown-content {
  visibility: collapse;
  transform: translateY(25%);
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all 0.2s ease-in-out;
  opacity: 0.2;
  border-radius: 0.2rem;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown-content.active {
  transform: translateY(0);
  display: block;
  visibility: visible;
  opacity: 1;
}

.navbar-right {
  display: flex;
  align-items: center;
  position: relative;
}

.hamburger-logo {
  cursor: pointer;
  opacity: 0;
  margin-left: 1rem;
  transition: ease-in-out transform 0.2s;
  transform: scale(1);
}

.hamburger-logo.active {
  transform: scale(0);
  opacity: 0;
  padding: 1rem 1rem 0 0;
}

.search-logo {
  display: none;
}

.search-logo img {
  width: 20px;
  height: 20px;
  transition: all 0.5s ease-in-out;
}

.close-logo {
  cursor: pointer;
  opacity: 0;
  width: 0;
  height: 0;
  transform: scale(0);
  transition: transform 0.2s ease-in-out;
}

.navbar-text-mobile {
  display: none;
  height: 100vh;
  width: 100vw;
  background-color: #000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: white;
  z-index: -1;
  position: absolute;
  transform: translateY(-150%);
  transition: transform 0.8s ease-in-out;
}

/* END HEADER */

/* BLOG */

.blog {
  padding: 0 3rem;
  max-width: 1300px;
  margin: 100px auto;
  background-color: #fff;
}

.wrap-card {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
}

.card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 350px;
  height: 500px;
  /* padding: 2rem 2rem; */
  padding: 0 20px;
  border: solid 2px rgba(0, 0, 0, 0.3);
  box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  margin-bottom: 5rem;
  position: relative;
  overflow-y: hidden;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.25);
}

.card .wrap-img-card {
  display: flex;
  justify-content: center;
  width: 200px;
  height: 200px;
  border: solid 1px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
}

.card .wrap-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s;
}

.card:hover img {
  transform: scale(1.1);
  cursor: pointer;
}

.card p:nth-child(2) {
  margin: 3rem 0;
  font-weight: 700;
  font-size: 1.125em;
  text-align: center;
}

.card .detail-blog,
.card .hover-detail-blog {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-weight: 700;
  font-size: 1.25em;
  width: 100%;
  padding: 2.25rem;
}

.card .hover-detail-blog {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: all 0.5s ease-in-out;
  backdrop-filter: blur(15px);
}

.card .hover-detail-blog img {
  margin: 0 1rem;
}

.card .hover-detail-blog:hover {
  transform: translateY(0);
}
.card .detail-blog:hover + .hover-detail-blog {
  transform: translateY(0);
}

.hover-detail-blog .icon-facebook {
  transition: .5s;
}

.hover-detail-blog .icon-facebook:hover {
  transform: scale(1.5);
}

.hover-detail-blog .icon-twitter {
  transition: .5s;
}

.hover-detail-blog .icon-twitter:hover {
  transform: scale(1.5);
}

.hover-detail-blog .icon-instagram {
  transition: .5s;
}

.hover-detail-blog .icon-instagram:hover {
  transform: scale(1.5);
}

.card .detail-blog div {
  display: flex;
}

.card .detail-blog div p {
  margin-right: 1.5rem;
  text-transform: uppercase;
}

/* BLOG END */

/* footer */

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 200px;
  background-color: #fff;
  color: #000;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.footer-text > img {
  margin-bottom: 20px;
}

.footer-text > p {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.6);
}

/* end footer */

@media (max-width: 768px) {
  /* RESPONSIVE HEADER */
  header {
    height: 150px;
  }

  .hero-text h1,
  .hero-text p {
    font-size: 2.5rem;
    text-align: center;
    width: 75%;
  }

  .hero-text h1:nth-child(2) {
    font-size: 6rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .navbar {
    padding: 0;
    z-index: 999;
  }

  .logo {
    padding: 1rem 0 0 1rem;
  }

  .logo img:nth-child(2).active {
    display: initial;
  }

  .logo img:nth-child(1).active {
    display: none;
  }

  .navbar-right {
    padding: 1rem 1rem 0 0;
  }

  .search-logo {
    opacity: 1;
    transform: scale(1);
    transition: all 0.2s ease-in-out;
  }

  .search-logo.active {
    position: absolute;
    opacity: 1;
    transform: scale(0);
  }

  .hamburger-logo {
    opacity: 1;
  }

  .close-logo.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    width: fit-content;
    height: fit-content;
  }

  .navbar-text {
    display: none;
  }

  .navbar-text-mobile{
    display: flex;
  }

  .navbar-text-mobile.active {
    transform: translateY(0);
  }

  .navbar-text-mobile li {
    list-style: none;
    margin: 0.5rem;
  }

  .navbar-text-mobile li a {
    color: white;
    text-decoration: none;
  }

  /* END RESPONSIVE HEADER */
  .blog h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .card {
    margin-bottom: 2rem;
    padding: 0;
  }

  .card .detail-blog p {
    font-size: 0.9em;
  }

  .card .detail-blog {
    padding: 0 1rem;
  }

  /* CUROSR MOBILE*/
  .cursor {
    display: none;
  }
  
  .cursor-inner {
    display: none;
  }
  
  /* END CURSOR MOBILE */

  /* RESPONSIVE FOOTER */

  footer {
    height: 100px;
  }

  .footer-text > img {
    margin-bottom: 5px;
    width: 80px;
  }

  /* END RESPONSIVE FOOTER */
}

/* responsive on tablet */
@media (min-width: 760px) and (max-width: 1450px) {
  .blog h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .card {
    margin-bottom: 2rem;
  }
}
