body {
  font-family: "Lexend", sans-serif;
  font-optical-sizing: auto;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: #f18643;
  color: #f9f9f9;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #f9f9f9;
  font-weight: bold;
}

#hero {
  text-align: center;
  padding: 100px 20px;
  background-color: #f18643;
  color: #f9f9f9;
}

#hero h1 {
  font-size: 68px;
  margin-bottom: 20px;
  font-family: "Atma", system-ui;
  font-weight: 700;
}

#hero p {
  font-size: 18px;
}

.cta {
  display: inline-block;
  padding: 15px 30px;
  background-color: #333333;
  color: #f9f9f9;
  text-decoration: none;
  font-size: 16px;
  border-radius: 8px;
}

#project {
  padding: 50px 20px;
  color: #333333;
  text-align: center;
  width: 50%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  display: flex;
  flex-direction: column;
}

#contact {
  padding: 50px 20px;
  color: #333333;
  text-align: center;
  width: 75%;
  max-width: 720px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

#project p {
  font-size: 18px;
  color: #a9a9a9;
  margin-bottom: 50px;
  width: 100%;
  word-break: break-all;
}

footer {
  background-color: #363839;
  color: #f9f9f9;
  text-align: left;
  padding: 20px;
  position: relative;
  bottom: 0;
}

footer a {
  color: #f18643;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
}

form input[type="submit"] {
  background-color: #f18643;
  color: #f9f9f9;
  border: none;
  cursor: pointer;
  padding: 15px 30px;
  border-radius: 8px;
  min-width: 400px;
  margin-top: 20px;
}

form input[type="submit"]:hover {
  background-color: #f18643;
}

.slider-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200%;
  height: fit-content;
  position: relative;
  margin-bottom: 60px;
}

.slider-container {
  width: 100%;
  height: 400px; /* 슬라이드가 세로로 배치되므로 높이 설정 */
  overflow: hidden;
  display: flex;
  flex-direction: column; /* 세로로 슬라이드를 보이도록 설정 */
}

.slide {
  height: calc(100% / 3); /* 세 개씩 보이도록 슬라이드 높이 설정 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 3s ease-in-out;
}

.slide-content {
  padding: 20px;
}

.slide-content h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #363839;
}

.slide-content p {
  font-size: 14px;
  color: #a9a9a9;
}

.contact-label {
  display: flex;
  margin-bottom: 20px;
  width: 100%;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 28px;
}

.product {
  display: flex;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  align-items: center;
  flex-direction: column;
  width: 300px;
}

.product img {
  width: 100%;
  object-fit: scale-down;
}

.product-content {
  padding: 10px;
  width: 100%;
  flex: 1;
  position: relative;
}

.product-content h2 {
  padding: 10px;
  font-size: 22px;
  margin-bottom: 15px;
  color: #363839;
}

.product-content p {
  padding: 10px;
  font-size: 16px;
  color: #a9a9a9;
  margin-bottom: 50px;
}

.product-content a {
  display: inline-block;
  position: absolute;
  bottom: 10px;
  left: 20px;
  padding: 10px 20px;
  border: 2px solid #f18643;
  color: #f18643;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.product-content a:hover {
  background-color: #f18643;
  color: white;
}
