* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  background-color: #fffefc;
  padding: 0;
}

/* navbar */
#navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  background-color: white;
  align-items: center;
}
#nav-icon {
  display: flex;
  margin-left: 7%;
  align-items: center;
}

#nav-icon > img {
  height: 35px;
  margin-right: 10px;
  border-radius: 4px;
  margin-top: 5px;
}

#nav-icon > h1 {
  color: #e34432;
  font-size: 22px;
}

#nav-right {
  padding: 14px;
  margin-right: 80px;
  display: flex;
  align-items: center;
}

#nav-right > a {
  margin-right: 35px;
  text-decoration: none;
  color: #26231f;
  font-weight: 500;
  position: relative;
  padding: 8px;
}

/* Dropdown Styling */
.dropdown {
  position: relative;
}
.dropdown > a {
  text-decoration: none;
  color: #26231f;
}
.dropdown1 > a {
  text-decoration: none;
  color: #26231f;
}
.dropdown1 {
  position: relative;
  margin-left: 30px;
  margin-right: 30px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 0;
  width: 220px;
  top: 100%;
  left: 0;
  z-index: 100;
}

.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown1:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #26231f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
}

/* Vertical Line */
.vl {
  border-left: 2px solid rgb(85, 156, 85);
  height: 30px;
  margin: 0 10px;
}

/* Navbar Button */
#nav-right > button {
  background-color: #e34432;
  color: white;
  font-weight: bold;
  font-size: large;
  border-radius: 10px;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#nav-right > button:hover {
  background-color: #c72e21;
}

.header {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-top: 65px;
  margin-bottom: 95px;
}

.h1 {
  width: 500px;
  text-align: center;
  margin-bottom: 18px;
}

@font-face {
  font-family: graphik;
  src: url(./graphik/GraphikSemibold.otf);
}

.hh1 {
  font-size: 38px;
  letter-spacing: -0.19px;
  font-family: graphik;
  line-height: 48.64px;
  margin-bottom: 0px;
  color: rgb(37, 34, 30);
}

.hp1 {
  color: rgba(37, 34, 30, 0.66);
  font-weight: 475;
  font-size: 18px;
  margin-top: 12px;
}

.h-search {
  background-color: rgba(37, 34, 30, 0.07);
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 9px 15px;
  margin-top: 35px;
}

.src-icon {
  display: flex;
  align-items: center;
  margin-right: 7px;
}

.src-png {
  width: 20px;
}

.src-input {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 350;
  letter-spacing: 0.09px;
  line-height: 31.5px;
  text-align: start;
  width: 350px;
  padding-right: 8px;
  background-color: rgba(0, 0, 0, 0);
  display: block;
  border: none;
  cursor: text;
}

.src-input:focus {
  outline: none;
}

.src-btn {
  border: none;
  padding-top: 2px;
  padding-bottom: 0px;
  border-radius: 25%;
  background-color: rgba(0, 0, 0, 0.04);
  height: 36px;
  width: 36px;
}

.arrow-png {
  opacity: 0.35;
  height: 18px;
  width: 18px;
}

.container {
  display: flex;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.sidebar {
  width: 250px;
  margin-left: 40px;
}

.categories h3 {
  margin-bottom: 16px;
  color: #444;
}

.categories ul {
  list-style: none;
}

.categories li {
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 8px;
  cursor: pointer;
}

.categories li:hover {
  background: #eee;
}

.main-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.template-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.template-image {
  background: rgb(238, 252, 248);
  height: 150px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.temp-img {
  border-radius: 50%;
  width: 130px;
  margin-left: 70px;
  margin-top: 10px;
}

.temp-h {
  margin-bottom: 10px;
}

.temp-p {
  margin-bottom: 15px;
}

.template-meta {
  display: flex;
  gap: 16px;
  color: #666;
  font-size: 14.4px;
}

.badge {
  background: #eee;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12.8px;
}

.main-content-wrapper {
  flex: 1;
  max-width: calc(100% - 250px - 32px);
  margin-bottom: 45px;
  margin-right: 40px;
}

.section-title {
  margin: 0 0 32px 0;
  font-size: 24px;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* footer start */
#footer {
  padding: 50px;
  background-color: #fff6f0;
}
#foot {
  text-align: center;
}
#foot > h1 {
  font-size: 50px;
}
#foot > p {
  color: #706d6b;
}
#footer-icon {
  display: flex;
  margin-left: 7%;
}
#footer-icon > img {
  height: 35px;
  margin-right: 10px;
  border-radius: 4px;
  margin-top: 20px;
}
#footer-icon > h1 {
  color: black;
}
#footer1 {
  display: flex;
  padding: 30px;
  justify-content: space-between;
}
#footer1a > a {
  display: block;
  margin-top: 30px;
}
#footer1 > div a {
  text-decoration: none;
}
#foot-right {
  display: flex;
}
#foot-right > div {
  margin-right: 80px;
}
#foot-right > div a {
  color: #26231f;
}
#foot1a {
  margin-left: 10px;
}
a > i {
  font-size: 30px;
}
