@import url("https://fonts.googleapis.com/css2?family=Alkatra:wght@400..700&display=swap");
/* 
:root {
  --blue: #0d2d62;
  --red: #b80924;
  --lighter-gray: #888888;
  --black: #2d2e2e;
  --white: #ffffff;
  --bg: #f5f7fa;
} */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: "Alkatra", system-ui;
  overflow-x: hidden;
}

h1 {
  font-size: 5rem;
}
h2 {
  font-size: 4rem;
}
h3 {
  font-size: 2.8rem;
}
h4 {
  font-size: 2rem;
}
h5 {
  font-size: 1.5rem;
}
h6 {
  font-size: 1.4rem;
}
p {
  font-size: 1.6rem;
  color: var(--lighter-gray);
}
a {
  display: block;
  text-decoration: none;
  font-size: 1.6rem;
}
li {
  list-style: none;
}

/* ============= */
.wrapper-heading {
  max-width: 132rem;
  margin: auto;
  padding: 5rem 2.8rem 0rem 2.8rem;
}
.wrapper {
  max-width: 170rem;
  margin: auto;
  padding: 5rem 2.8rem;
}
.grid {
  display: grid;
  gap: 5rem;
}
.grid-two-cols {
  grid-template-columns: 1fr 1fr;
}
.grid-three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}
.grid-four-cols {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.grid-five-cols {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
/* ==========three-main=========== */
/* ==========three-main=========== */
/* ==========three-main=========== */
/* ==========three-main=========== */
/* ==========three-main=========== */
/* ==========three-main=========== */
/* ==========three-main=========== */
/* ==========three-main=========== */
.three-main {
  width: 100%;
  height: 100dvh;
  background-color: #a8968a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-box {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}
.main-box .wrapper-heading h1 {
  color: white;
  text-transform: uppercase;
  /* background-color: #8d7a6d; */
  padding: 1rem;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}
.three-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}
.three-box img {
  width: 100%;
  height: auto;
  background-position: center;
  background-size: cover;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  z-index: 9;
  transition: all 5s linear;
  -webkit-transition: all 5s linear;
  -moz-transition: all 5s linear;
  -ms-transition: all 5s linear;
  -o-transition: all 5s linear;
}
.three-box img:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.three-box h1 {
  width: 100%;
  text-align: center;
  text-transform: capitalize;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  color: #ffffff;
}
@media (min-width: 320px) and (max-width: 767px) {
  .grid-three-cols {
    grid-template-columns: 1fr;
  }
  .main-box .grid {
    gap: 2rem;
  }
  .three-box {
    text-align: center;
  }
  .three-box img {
    width: 100%;
  }
  .main-box .wrapper-heading h1 {
    font-size: 3rem;
  }
  .three-main {
    height: auto;
  }
}
