@font-face {
  font-family: drib;
  src: url(WFVisualSans-RegularText-46461986901f80620e484e70aa8cbb90ede25a01351d464819a4e47a3f38ea43.woff2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: drib;

}

html,
body {
  height: 100%;
  width: 100%;
}

#main-container {
  padding: 12px 33px;
  width: 100%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 53px;
}
.nav-left .logo {
  height: 70px;
}
.nav-left a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}
.nav-right {
  padding: 5px 5px;
  display: flex;
  align-items: center;
}

.signup-btn {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  border: none;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}
.login-btn {
  background-color: #000000;
  color: #ffffff;
  border: none;
  padding: 15px 20px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

#hero-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 0px 40px;
  margin-bottom: 30px;
}
.hero-left {
  width: 57%;
}
.hero-left h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  color: #0d0c22;
}
.hero-left p {
  font-size: 16px;
  margin: 20px 0;
  color: #555;
}

.toggles {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}
.toggles button {
  padding: 10px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  background-color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all ease 0.3s;
}
.toggles button:hover{
  background-color: #373639;
  color: #fff;
  border-color: #373639;
}

.hero-search-box {
  width: 100%;
  position: relative;
}
.hero-search-box input {
  width: 100%;
  padding: 15px 20px;
  background-color: #f3f3f6;
  border: 2px solid transparent;
  border-radius: 50px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  cursor: pointer;
}
.hero-search-box:hover input {
  border-color: pink;
  background-color: white;
}
.hero-search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ea4c89;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

.popular-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #333;
}
.popular-tags span {
  font-weight: 600;
  font-size: 12px;
  padding-left: 20px;
}
.popular-tags a {
  text-decoration: none;
  color: #555;
  border: 1px solid #e0e0e0;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  transition: all ease 0.3s;
}
.popular-tags a:hover {
  color: #0d0c22;
  background-color: #e0e0e0;
}

.hero-right {
  width: 33%;
  position: relative;
  transition: transform 0.5s ease;
}

.hero-right video {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}
.designer-tag {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: rgba(255, 255, 255, 0.556);
  backdrop-filter: blur(1px);
  padding: 5px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0d0c22;
}
.designer-tag img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

#filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 20px;
  margin-left: 40px;
  margin-right: 40px;
}
.popular-btn, .filters-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #e7e7e9;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}
.filter-links {
  display: flex;
  gap: 50px;
  font-size: 13px;
}
.filter-links a {
  text-decoration: none;
  color: black;
  font-weight: 600;
}
.filter-links a:hover {
  color: rgb(155, 155, 155);
}

#cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 30px;
}
.card {
  flex: 1 1 380px;
  max-width: 420px;
}
.card-image {
  width: 100%;
  height: 300px; 
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}
.card-image img, .card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card-image:hover img, .card-image:hover video {
  transform: scale(1.1);
}

.card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.pro-tag, .team-tag {
  font-size: 10px;
  font-weight: 700;
  color: white;
  padding: 3px 6px;
  border-radius: 4px;
}
.pro-tag {
  background-color: #cac9cf;
  color: #0d0c22;
}
.team-tag {
  background-color: #0d0c22;
}

.stats-visible {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  font-weight: 600;
}
.stats-visible i {
  font-size: 16px;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, black);
  padding: 15px;
  display: flex;
  align-items: flex-end;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.card-image:hover .overlay {
  transform: translateY(0);
}
.overlay h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
}
