@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
.container {
  max-width: 1200px;
  margin: 0px auto;
}
ul {
  list-style: none;
}
body {
  overflow-x: hidden;
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0px;
}
nav .container ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
nav .container .bars {
  display: none;
}
nav .container h1 {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
nav .container h1 .sp1 {
  animation: kosi 0.7s linear infinite;
}
@keyframes kosi {
  0% {
    color: black;
  }
  25% {
    color: #d59e6db9;
  }
  50% {
    color: #d59d6d;
  }
  75% {
    color: #463323;
  }
  100% {
    color: black;
  }
}
nav .container h1 .sp2 {
  animation: kosi 0.6s linear infinite;
}
nav .container h1 .sp3 {
  animation: kosi 0.5s linear infinite;
}
nav .container h1 .sp4 {
  animation: kosi 0.7s linear infinite;
}

nav .container ul li {
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}
nav .container ul li:hover {
  color: #d59d6d;
}
nav .container ul li::after {
  content: "";
  position: absolute;
  transition: all 0.3s ease;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  transform: translate(-50%);
  background-color: #d59d6d;
}
nav .container ul li:hover::after {
  width: 100%;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hero .container .card {
  transition: all 0.3s ease;
  cursor: pointer;
}
.hero .container .card:hover {
  transform: scale(1.04);
}
.hero .container .card .img {
  width: 578px;
  height: 450px;
}
.hero .container .card .img img {
  width: 100%;
}
.hero .container .card h1,
.hero .container .card p {
  padding: 0px 70px;
}
.hero .container .card p {
  text-decoration: underline;
}
.s1 .container .s1_title {
  margin-top: 150px;
  text-align: center;
  line-height: 40px;
  margin-bottom: 50px;
}
.s1 .container .s1_title h1 {
  font-weight: 800;
  font-size: 34px;
}
.s1 .container .box {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.s1 .container .box .card {
  width: 251px;
  border: 1px solid #e8e8e8;
  padding: 15px;
  text-align: left;
  line-height: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}
.s1 .container .card:hover {
  transform: scale(1.05);
}
.s1 .container .box .card img {
  width: 100%;
}
.s1 .container .card p {
  color: #767676;
}
.s1 .container .narx {
  transition: all 0.3s ease;
  transform: translateY(-500px);
  width: 100%;
  position: absolute;
  left: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0px;
}
.s1 .container .card:hover .narx {
  transform: translate(0px);
  background-color: #52aa1b2d;
  backdrop-filter: blur(4px);
  text-align: center;
  padding: 150px;
  padding-bottom: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.s1 .container .box .card span:nth-of-type(1) {
  color: red;
  font-size: 20px;
}
.s1 .container .box .card span:nth-of-type(2) {
  color: #0e2aca;
  font-size: 20px;
  text-decoration: line-through;
}
.s1 .container .star {
  color: #f9bf00;
  display: flex;
}
.s1 .container .box .card .narx button {
  position: absolute;
  right: 130px;
  bottom: 100px;
  padding: 10px;
  border: 2px solid #51aa1b;
  color: #51aa1b;
  background-color: transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.s1 .container button:hover {
  transform: scale(1.2);
}
.s1 .container button:active {
  transform: scale(0.9);
}
.s1 .container .btn {
  position: absolute;
  background-color: #4fbf59;
  width: 50px;
  height: 30px;
  color: white;
  padding: 0px 5px;
  right: 20px;
}
.s1 .container .card .btn p {
  color: white;
}
.s1 .container .bottom {
  text-align: center;
  padding: 50px 0px;
}
.s1 .container .bottom button {
  transition: all 0.3s ease;
  background-color: #2b303a;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
}
.s2 .container {
  display: flex;
  align-items: center;
  gap: 140px;
  padding: 20px 20px;
  background-color: #faf4f1;
  margin-bottom: 57px;
}
.s2 .container .card {
  line-height: 50px;
}
.s2 .container .card:nth-of-type(2) {
  width: 200px;
}
.s2 .container .card:nth-of-type(2) button {
  padding: 15px 25px;
  border-radius: 10px;
  border: 1px solid #2b303a;
  background-color: transparent;
  transition: all 0.3s ease;
}
.s2 .container button:hover {
  transform: scale(1.2);
}
.s2 .container button:active {
  transform: scale(0.9);
}
.s3 .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  margin-bottom: 50px;
}
.s3 .container .card {
  width: 209px;
  text-align: center;
  line-height: 25px;
  border-right: none;
  padding: 30px 20px;
  transition: all 0.3s ease;
  border-right: 1px solid #cdcdcd;
}
.s3 .container .card:hover {
  border-left: 1px solid #cdcdcd;
}

.s3 .container .card p {
  color: #4e4b66;
  padding-top: 10px;
}

.s4 .container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: 100px;
}
.s4 .container .card {
  width: 140px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.s4 .container .card:hover {
  transform: translateY(-40px);
}
.s4 .container .card img {
  width: 100%;
}
footer .container .box {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 50px;
}

footer .container .box .card:nth-of-type(1) {
  width: 200px;
  line-height: 30px;
}
footer .container .box .card p {
  color: #4e4b66;
  padding-top: 30px;
  padding-bottom: 30px;
}
footer .container .box .card span {
  color: #2b303a;
  cursor: pointer;
}
footer .container .box .card ul {
  line-height: 40px;
  color: #2b303abf;
}
footer .container .card ul li {
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}
footer .container .card ul li::after {
  content: "";
  position: absolute;
  transition: all 0.3s ease;
  width: 0;
  height: 2px;
  left: 50%;
  transform: translate(-50%);
  bottom: -5px;
  background-color: #2b303a;
}
footer .container .card ul li:hover::after {
  width: 100%;
}
footer .container .footer_bottom {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 50px;
  color: #2b303abf;
  margin-bottom: 50px;
}
footer .container .footer_bottom ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 700px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  nav .container ul {
    display: none;
  }
  nav .container .bars {
    display: block;
    font-size: 30px;
    border: 1px solid;
    background-color: #2b303a;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }
  nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .hero .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
  }
  .hero .container .card {
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    margin-bottom: 100px;
  }
  .hero .container .card:nth-of-type(1) {
    background-color: #e9f1f4;
  }
  .hero .container .card:nth-of-type(2) {
    background-color: #fbf6f2;
  }

  .hero .container .card .img {
    width: 100%;
  }
  .hero .container .card .img img {
    width: 100%;
  }
  .hero .container .card p {
    padding: 0px 70px;
  }
  .hero .container .card p {
    text-decoration: underline;
  }

  .s1 .container .box {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .s2 .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 140px;
    padding: 20px 20px;
    background-color: #faf4f1;
    margin-bottom: 57px;
    flex-direction: column-reverse;
  }
  .s2 .container .card {
    line-height: 50px;
    text-align: center;
  }
  .s2 .container .card img {
    width: 100%;
  }
  .s2 .container .card:nth-of-type(2) {
    width: 200px;
  }
  .s2 .container .card:nth-of-type(2) button {
    padding: 15px 25px;
    border-radius: 10px;
    border: 1px solid #2b303a;
    background-color: transparent;
    transition: all 0.3s ease;
  }
  .s2 .container button:hover {
    transform: scale(1.2);
  }
  .s2 .container button:active {
    transform: scale(0.9);
  }

  .s3 .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 70px;
    margin-bottom: 50px;
  }
  .s3 .container .card {
    width: 209px;
    text-align: center;
    line-height: 25px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border-right: none;
  }
  .s3 .container .card:hover {
    border: 1px solid #cdcdcd;
  }

  .s3 .container .card p {
    color: #4e4b66;
    padding-top: 10px;
  }

  .s4 .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 100px;
    margin-bottom: 100px;
  }
  .s4 .container .card {
    width: 140px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .s4 .container .card:hover {
    transform: translateX(40px);
  }
  .s4 .container .card img {
    width: 100%;
  }

  footer .container .box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
  }

  footer .container .box .card:nth-of-type(1) {
    width: 200px;
    line-height: 30px;
  }
  footer .container .box .card p {
    color: #4e4b66;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  footer .container .box .card span {
    color: #2b303a;
    cursor: pointer;
  }
  footer .container .box .card ul {
    line-height: 40px;
    color: #2b303abf;
  }
  footer .container .card ul li {
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
  }
  footer .container .card ul li::after {
    content: "";
    position: absolute;
    transition: all 0.3s ease;
    width: 0;
    height: 2px;
    left: 50%;
    transform: translate(-50%);
    bottom: -5px;
    background-color: #2b303a;
  }
  footer .container .card ul li:hover::after {
    width: 100%;
  }
  footer .container .footer_bottom {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    color: #2b303abf;
    margin-bottom: 50px;
    flex-direction: column;
    gap: 20px;
  }
  footer .container .footer_bottom ul {
    display: flex;
    align-items: center;
    gap: 20px;
  }
}
