* {
  margin: 0;
  padding: 0;
  font-family: "Inknut Antiqua", serif;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

.upper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #493d3d;
  min-height: 100vh;
  width: 100%;
  color: #fff;
  padding-top: 100px;
}

#sec1-bg {
  width: 100%;
  height: 826px;
  position: absolute;
  filter: brightness(0.5);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  color: #fff;
  width: 100%;
  z-index: 2000;
  transition: 0.3s ease;
  padding-inline: 5rem;
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand img {
  width: 63px;
  height: 63px;
  transition: 0.3s ease;
}

.brand h2 {
  padding-left: 20px;
  font-size: 35px;
  bottom: 15px;
  font-weight: 400;
  transition: 0.3s ease;
}

nav ul {
  height: fit-content;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: white;
  padding-inline: 1rem;
  border-radius: 20px;
}

nav ul li a:hover {
  color: brown;
  background-color: #fff;
}

.hero {
  place-self: center;
  border: 1px solid red;
  position: relative;
  width: 1360px;
  height: 660px;
  z-index: 1000;
  user-select: none;
}

#main-tarp {
  width: 1360px;
  height: 660px;
  border-radius: 1%;
  border-style: solid;
  border-color: #a6432d;
  border-width: 5px;
}

.slideButton {
  position: absolute;
  width: 100px;
  height: 200px;
  opacity: 90%;
  top: 34%;
  cursor: pointer;
  display: none;
}

#slideLeft {
  left: 1%;
}

#slideRight {
  left: 91%;
}

.sec-2 {
  padding-top: 40px;
  width: 100%;
  height: 676px;
  background-color: #3b2929;
  align-items: center;
  justify-content: center;
  display: flex;
}

.sec-2 img {
  position: relative;
  width: 350px;
  height: 504px;
  margin-right: 60px;
  border-radius: 3%;
}

.vl {
  position: relative;
  border-left: 1px solid white;
  height: 506px;
}

.sec-2-texts {
  position: relative;
  margin-left: 60px;
  width: 27.5%;
  bottom: 15px;
}

.sec-2-texts h3 {
  position: relative;
  font-size: 45px;
  font-weight: 100;
  animation: SlideInRight 1s ease;
  animation-timeline: view();
  animation-range: 40px 680px;
}

.sec-2-texts p {
  position: relative;
  font-size: 16px;
  font-weight: 100;
  animation: SlideInRight 1s ease;
  animation-timeline: view();
  animation-range: 0px 580px;
}

@keyframes SlideInRight {
  from {
    transform: translateX(310px);
  }
  to {
    transform: translateX(0);
  }
}

.sec-3 {
  width: 100%;
  height: 1115px;
  background-color: #eae9ba;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.rows {
  display: grid;
  grid-template-rows: 330px 330px 330px;
  grid-template-columns: 400px 400px 400px;
  justify-content: space-around;
  position: relative;
  top: 3.5%;
  width: 96%;
}

.parent {
  height: 300px;
  width: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1s ease-in-out;
  animation-timeline: view();
  animation-range: 0px 700px;
}

.rows img {
  position: relative;
  right: 5.3%;
  width: 440px;
  height: 300px;
  transition: all 1s;
}

.rows img:hover {
  transform: scale(1.15);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.footer {
  width: 100%;
  height: 230px;
  background-color: #3b2929;
  padding: 40px 20px;
  position: relative;
}

.icons {
  display: inline-block;
  position: relative;
  width: 55%;
  height: 50px;
  left: 30px;
  margin-bottom: 20px;
}

.icons svg {
  width: 57px;
  height: 57px;
  margin: 0 10px;
}

.footer h5 {
  position: relative;
  left: 18px;
  top: 15px;
  color: white;
  letter-spacing: 2px;
}

.footer p {
  position: relative;
  left: 16px;
  top: 15px;
  color: rgb(152, 152, 152);
}

.footer-logo img {
  position: absolute;
  width: 80px;
  height: 80px;
  left: 89.8%;
  bottom: 28%;
}

.footer-logo p {
  position: absolute;
  left: 89%;
  top: 72%;
  color: white;
}
