* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Asap", sans-serif;
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body a {
  text-decoration: none;
}

:root {
  --primary-color: #ffffff;
  --primary1-color: #d9d9d9;
  --primary2-color: #d7d7d5;
  --primary3-color: #e0e5ec;
  --secondary-color: #000;
  --secondary1-color: #292d33;
  --secondary2-color: #858e99;
  --secondary3-color: #262829;
  --secondary4-color: #1d1d1d;
  --danger-color: #990000;
}

#slider-container {
  position: relative;
  height: 700px;
}

/* navbar */

#navbar {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 30px;
  max-width: 1200px;
  font-size: 10px;
  font-weight: 500;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-content {
  margin-left: 10px;
  color: var(--primary-color);
  font-size: 22px;
  font-weight: 600;
  width: max-content;
}

.logo img {
  height: 70px;
}

#hamburger-icon {
  display: none;
}

#navbar ul {
  display: flex;
  width: 100%;
  justify-content: end;
  align-items: center;
  list-style-type: none;
}

.nav-li {
  font-size: 14px;
  color: var(--primary-color);
  padding: 5px 15px;
}

.nav-item {
  display: flex;
  flex-direction: column;
}

.bottom-line {
  display: inline-block;
  width: 0;
  height: 2px;
  background-color: var(--danger-color);
  transition: all 0.3s ease;
  margin-top: 2px;
}

.nav-item:hover .bottom-line {
  width: 100%;
}

/* hamburger ul */

#hamburger-navbar {
  display: none;
  position: absolute;
  top: 0;
  height: 100vh;
  background-color: var(--secondary1-color);
  width: 100%;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  flex-direction: column;
  text-align: center;
  animation: resizing 0.5s 1 ease-in-out;
  transition: all 1s;
}

@keyframes resizing {
  0% {
    height: 20vh;
  }
  100% {
    height: 100vh;
  }
}

.hamburger-nav-li {
  color: var(--primary-color);
  font-size: 18px;
  padding: 5px 15px;
  border-bottom: 3px solid var(--danger-color);
  animation: displaySwitch 1s 1 ease-in;
  transition: all 0.5s;
}

@keyframes displaySwitch {
  0%,
  50% {
    display: none;
  }
  51%,
  100% {
    display: inline;
  }
}

.hamburger-nav-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.hamburger-nav-item li {
  margin: 15px 0;
  list-style: none;
}

#close-image {
  position: fixed;
  right: 50px;
  top: 40px;
}

/* slider */

.banner-content {
  display: flex;
  flex-direction: column;
  max-width: 550px;
  margin: 100px auto;
}

.banner-white-content {
  color: var(--primary-color);
  font-size: 80px;
}

.banner-white-content2 {
  display: flex;
  justify-content: end;
}

.banner-red-content {
  display: flex;
  justify-content: center;
  color: var(--danger-color);
  font-size: 60px;
}

.wrapper-container {
  width: 100vw;
  overflow: hidden;
}

.wrapper {
  position: absolute;
  top: 0;
  z-index: -1;
  display: flex;
  width: 400vw;
  height: 100%;
  animation: slide 12s infinite;
}

.slide {
  position: relative;
  width: 100vw;
  height: 100%;
}

.slide1 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./assets/slide1-img.jpg) no-repeat center center/cover;
}

.slide2 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./assets/slide2-img.jpg) no-repeat center center/cover;
}

.slide3 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./assets/slide3-img.avif) no-repeat center center/cover;
}

.slide4 {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(./assets/slide1-img.jpg) no-repeat center center/cover;
}

@keyframes slide {
  0%,
  20% {
    transform: translateX(0);
  }
  25%,
  45% {
    transform: translateX(-100vw);
  }
  50%,
  70% {
    transform: translateX(-200vw);
  }
  75%,
  95% {
    transform: translateX(-300vw);
  }
  100% {
    transform: translateX(-300vw);
  }
}

.cards {
  max-width: max-content;
  padding: 100px 30px;
  margin: auto;
  display: grid;
  grid-gap: 40px;
  grid-template-columns: 1fr 1fr 1fr;
}

.card {
  margin: 10px 5px;
  transition: all 0.3s;
  width: 100%;
}

.card-section {
  background-color: var(--secondary1-color);
}

.card-section1 {
  overflow: hidden;
  height: 370px;
}

.card-section1-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 1s;
}

.card-section2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--primary3-color);
  height: 130px;
  width: 100%;
  padding: 10px 15px 15px 15px;
}

.card-section2-content1 {
  color: var(--secondary-color);
  font-size: 15px;
}

.card-section2-content3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
}

.card-section2-btn {
  background-color: var(--danger-color);
  color: var(--primary-color);
  text-align: center;
  padding: 5px;
  border-radius: 2px;
  transition: all 0.3s;
}

.card-section2-btn:hover {
  box-shadow: 0 0 5px var(--danger-color);
}

/* footer */

.footer-container {
  background-color: var(--secondary4-color);
}

#footer-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: 0 auto;
  color: var(--primary-color);
  padding: 70px 30px;
  font-size: 10px;
}

#footer-section h1 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 22px;
}

.footer-section-box1-content1 {
  padding: 0 50px 50px 0;
  font-size: 16px;
  line-height: 24px;
}

.footer-section-box1-content2 {
  display: flex;
  padding: 0 7px;
}

.footer-section-box1-content2-facebook-icon {
  height: 38px;
}

.second-image-anchor-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  margin-left: 12px;
  background-color: var(--danger-color);
  border-radius: 100px;
}

.footer-section-box1-content2-instagram-icon {
  height: 21px;
}

.footer-section-box2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.footer-section-box2 ul {
  font-size: 14px;
  margin: 0 0 0 10px;
  line-height: 27px;
}

.footer-section-box2 ul li {
  margin: 10px 0;
}

.footer-section-box3 {
  padding: 0 15px 0 70px;
  margin-top: 20px;
}

.footer-section-box4-content2 {
  background: url(../assets/footer-box.png) no-repeat center center/cover;
}

.footer-section-box4-content2-text1 {
  display: flex;
  padding: 12px;
}

.footer-section-box4-content2-text1 img {
  height: 55px;
  margin-right: 5px;
}

.footer-section-box4-content2-text1 h2 {
  font-size: 15px;
  font-weight: 600;
  text-shadow: 1px 1px 5px var(--secondary-color);
}

.footer-section-box4-content2-text1 p {
  font-size: 16px;
  text-shadow: 1px 1px 5px var(--secondary-color);
}

.footer-section-box-content-heading {
  display: flex;
  font-size: 16px;
  align-items: center;
}

.footer-section-box-content-heading img {
  height: 12px;
  margin-right: 6px;
}

.footer-section-box-content-text {
  margin: 10px 0 10px 18px;
  font-size: 14px;
  line-height: 26px;
}

.footer-section-box3-content5 img {
  margin-left: 18px;
  height: 12px;
}

#footer-section a {
  color: var(--primary-color);
}

#footer-section .footer-section-box1-content1 p a,
.footer-section-box1-content1-text {
  color: var(--primary1-color);
  transition: all 0.5s;
}

#footer-section .footer-section-box1-content1 p a:hover {
  color: var(--primary-color);
}

@media only screen and (max-width: 600px) {
  .logo img {
    height: 50px;
  }

  #navbar ul {
    display: none;
  }

  .logo-content {
    font-size: 18px;
  }

  .hamburger-container {
    display: flex;
    align-items: center;
  }

  #hamburger-icon {
    display: block;
    height: 20px;
  }

  #navbar ul {
    display: none;
    flex-direction: column;
    text-align: center;
  }

  #navbar ul li {
    padding: 9px 0;
  }

  #slider-container {
    height: 500px;
  }

  .banner-content {
    max-width: 250px;
  }

  .banner-content h1 {
    font-size: 40px;
  }

  .cards {
    padding: 60px 30px;
    margin: auto;
    grid-template-columns: 1fr;
  }

  .card {
    margin: 10px 0;
  }

  .card-section2 {
    padding: 5px 10px 10px 10px;
    justify-content: space-evenly;
  }

  #card-section2-content1 {
    font-size: 12.6px;
    line-height: 17px;
  }

  .card-section2-content2 {
    font-size: 11.97px;
    line-height: 17px;
  }

  #footer-section {
    grid-template-columns: repeat(1, 1fr);
    padding: 70px 80px 110px;
  }

  #footer-section h1 {
    font-size: 16px;
  }

  .footer-section-box1-content1,
  .footer-section-box2 ul,
  .footer-section-box-content-text,
  .footer-section-box-content-heading {
    font-size: 14px;
  }

  .footer-section-box1,
  .footer-section-box2,
  .footer-section-box3 {
    margin-bottom: 50px;
  }

  .footer-section-box2 {
    align-items: start;
  }

  .footer-section-box3 {
    padding: 0 15px 0 0;
  }

  .footer-section-box1-content1 {
    padding: 60px 0 60px 0;
    line-height: 19.5px;
  }
}

@media only screen and (min-width: 601px) and (max-width: 900px) {
  #navbar {
    max-width: 500px;
  }

  #navbar ul {
    display: none;
  }

  .hamburger-container {
    display: flex;
    align-items: center;
  }

  #hamburger-icon {
    display: block;
    height: 25px;
  }

  #navbar ul li {
    padding: 9px 0;
  }

  #slider-container {
    height: 600px;
  }

  .banner-content {
    max-width: 350px;
  }

  .banner-content h1 {
    font-size: 50px;
  }

  .cards {
    padding: 70px 0;
    margin: auto;
    grid-template-columns: 1fr;
  }

  .card {
    margin: 10px 0;
  }

  .card-section2 {
    padding: 5px 10px 10px 10px;
    height: 110px;
  }

  .card-section1-hover-button {
    padding: 12px 30px;
    font-size: 17px;
  }

  #footer-section {
    grid-template-columns: repeat(1, 1fr);
    max-width: 500px;
    padding: 70px 30px 110px 30px;
  }

  #footer-section h1 {
    font-size: 16px;
  }

  .footer-section-box1-content1,
  .footer-section-box2 ul,
  .footer-section-box-content-text,
  .footer-section-box-content-heading {
    font-size: 14px;
  }

  .footer-section-box1,
  .footer-section-box2,
  .footer-section-box3 {
    margin-bottom: 50px;
  }

  .footer-section-box2 {
    align-items: start;
  }

  .footer-section-box3 {
    padding: 0 15px 0 0;
  }

  .footer-section-box1-content1 {
    padding: 60px 0 60px 0;
    line-height: 19.5px;
  }
}

@media only screen and (min-width: 901px) and (max-width: 1200px) {
  #navbar {
    max-width: 800px;
  }

  .nav-li {
    padding: 14px 16px;
  }

  #slider-container {
    height: 600px;
  }

  .cards {
    padding: 80px 0;
    grid-template-columns: 1fr 1fr;
  }

  #footer-section {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
    padding: 70px 0 145px 0;
  }

  #footer-section h1 {
    font-size: 16px;
  }

  .footer-section-box1-content1,
  .footer-section-box2 ul,
  .footer-section-box-content-text,
  .footer-section-box-content-heading {
    font-size: 14px;
  }

  #footer-section .footer-section-box1-content1 p {
    line-height: 19.5px;
  }
}

@media only screen and (min-width: 1201px) and (max-width: 1536px) {
  #footer-section {
    max-width: 800px;
  }

  .footer-section-box1-content1,
  .footer-section-box2 ul,
  .footer-section-box-content-text,
  .footer-section-box-content-heading {
    font-size: 14px;
  }

  #footer-section .footer-section-box1-content1 p {
    line-height: 21px;
  }
}
