* {
  margin: 0;
  padding: 0;
}
:root {
  --section-gap: 3rem;
}


.main-vid {
  position: relative;
  overflow: hidden;
  height: 90vh;
  width: 100%;
}
.linear-gradient {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  height: 90vh;
  width: 100%;
  background: linear-gradient(transparent 75%, rgb(0 0 0));
}
.gradient-line {
  height: 100px;
  background: black;
}

.hp-heroContent {
  align-content: flex-end;
  display: flex;
  flex-wrap: wrap;
  height: 80vh;
  height: 80svh;
  justify-content: center;
  left: 0;
  padding-bottom: 1rem;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 3;
}

@media (min-width: 80em) {
  .hp-hero {
    flex-direction: row;
    font-size: 12vw;
    justify-content: center;
  }
  .marginleft {
    margin-left: 0;
  }
  .marginright {
    margin-right: 0;
  }
}
.marginleft {
  margin-left: 25%;
}
.marginright {
  margin-right: 25%;
}
.hp-hero {
  color: white;
  align-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  font-size: calc(70 / var(--font-size) * 1rem);
  font-size: 16vw;
  font-weight: 400;
  line-height: 0.9;
  margin: 0 0 1.5rem;
  width: 100%;
}

/* Second Section */
.parent1 {
  background-color: white;
  display: flex;
  width: 100%;
  margin-top: 10vh;
  /* height: 100vh; */
  justify-content: center;
  flex-direction: row;
}

.col1 {
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  /* height: 100vh; */
}

.col2 {
  margin-top: 10vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  /* height: 120vh */
}

.col3 {
  margin-top: 20vh;
  width: 100%;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  /* height: 100vh; */
}

.image1 {
  background-color: rgba(240, 240, 240, 0.471);
  margin-top: 2rem;
  height: 40vh;
  width: 90%;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.image2 {
  height: 40vh;
  width: 50%;
  background-position: center;
  background-size: cover;

  background-image: url("assets/kitchen11.jpeg");
}
.image2hide {
  opacity: 0;
  filter: blur(0.9);
  transition: all 1s;
  transform: translateY(100px) translateX(20px);
}
.image2show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(50px) translateX(20px);
}

.hidden {
  opacity: 0;
  transition: all 1s;
  filter: blur(5px);
}
.show {
  filter: blur(0);
  opacity: 1;
}
.show1 {
  filter: blur(0);
  opacity: 1;
  color: white;
}

/* Herro */
.hero_message {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  padding-top: 20px;
}
.hero_title {
  text-align: left;

  width: 90%;
  margin-right: 10px;
}

.messagehero {
  color: #bcb2b2;

  font-family: sans-serif;
  font-size: 20px;
  font-weight: 600;
  word-wrap: normal;
  word-spacing: 1.5px;
  line-height: 2px;
  margin: 0 0 1.5rem;
  width: 80%;
}

.highlighted {
  font-weight: 800;
  transition: all 1s;
  font-size: 30px;
  color: white;
}

.highlighted:nth-child(2) {
  transition-delay: 200ms;
}
.highlighted:nth-child(3) {
  transition-delay: 500ms;
}
.highlighted:nth-child(4) {
  transition-delay: 800ms;
}
.highlighted:nth-child(5) {
  transition-delay: 1000ms;
}
.highlighted:nth-child(6) {
  transition-delay: 1200ms;
}
.highlighted:nth-child(7) {
  transition-delay: 1600ms;
}

@media screen and (min-width: 700px) {
  .messagehero {
    width: 600px;
  }
}

/* services */
.remodeling {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin: 10px;
  height: 50vh;
}
.child-remodeling {
  width: 30%;
  position: relative;
  background-color: red;
  height: 40vh;
}
.image-remodeling {
  position: absolute;
  top: -30px;
  left: -10px;
  width: 100%;
  height: 36vh;
}
.text-remodeling {
  position: absolute;
  bottom: -80px;
  right: -65px;
  width: 100%;
  height: 200px;
  font-size: 7vw;
  color: black;
  margin-top: 80px;
}

/* last section */
.callsection {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-image: url("https://gmcontractors.co.uk/wp-content/uploads/2019/11/drone_NEW.jpg");
  height: 60vh;
}
.callimage {
  position: relative;
  padding: 2.5rem 5vw;
  background-color: gray;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* .centersection {
} */
.call_button {
  color: #fefefe;
  background: #ab2b30;
}

/* section 3 */
.third {
  background-color: black;
}

.third-h {
  padding-top: 60px;
  padding-bottom: 20px;
  margin: 10px 50px;
  font-weight: bold;
  color: white;
  font-size: 4vw;
  font-family: sans-serif;
}
.third-mg {
  background-color: black;
  text-align: center;
}

.marginsiz10 {
  height: 40px;
}

.card1 {
  display: flex;
  flex-direction: column;
  height: 60vh;
}
.card-container {
  position: relative;
  color: white;
  margin-top: 10px;
}
.absoluteNum {
  position: absolute;
  top: -28px;
  right: 7px;
  font-weight: bold;
  font-size: 50px;
}
.cardText {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 2vw;
  text-align: center;
  margin-top: 20px;
}
.cardBody {
  margin-top: 10px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  width: 320px;
  text-align: center;
  color: grey;
}
.parentCard {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}

/* services */
.services {
  background-color: black;
  margin-top: var(--section-gap);
}

/* Card Layout */

.cards-layout {
  min-height: 90vh;
  margin-top: var(--section-gap);
  padding: 0 1rem;
  /* background-color: chocolate; */
}
.grid-col-span-2 {
  grid-column: span 2;
}
.grid {
  display: grid;
}
.cards-layout .main-container {
  /* width: 80vw; */
  height: 120vh;
  margin: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
}

.main-container .card {
  border-radius: 10px;
  box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.4s ease-in-out;
}
.main-container .card .card-lower-bottom-box {
  height: 30%;
  position: absolute;
  width: 100%;
  bottom: 0;
  background: transparent;
  background: rgba(0, 0, 0, 0.8);
}

.card-1 {
  background-image: url("assets/painting4.webp");
  background-size: cover;
}
.card-1:hover {
  transform: translate3D(0, -1px, 0) scale(1.03);
  cursor: pointer;
}

.card-2 {
  background-image: url("assets/kitchen8.webp");
  background-size: cover;
}
.card-2:hover {
  transform: translate3D(0, -1px, 0) scale(1.03);
  /* zoom in */
  cursor: pointer;
}
.card-3 {
  background-image: url("assets/hardwood4.webp");
  background-size: cover;
  background-position: center;
}
.card-3:hover {
  transform: translate3D(0, -1px, 0) scale(1.03);
  cursor: pointer;
}
.card-4 {
  background-image: url("assets/carpentry1.webp");
  background-size: cover;
}
.card-4:hover {
  transform: translate3D(0, -1px, 0) scale(1.03);
  /* zoom in */
  cursor: pointer;
}
.card .card-lower-bottom-box {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.card .card-lower-bottom-box > h4 {
  /* font-size: 1.5rem; */
}
.card-lower-bottom-box-grid {
  /* grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  padding-left: 1rem; */

  display: flex;
  justify-content: center;
  /* font-size: 20px; */
}
/* .card-lower-bottom-box-grid div > h5 {
  font-size: 1.1rem;
}
.card-lower-bottom-box-grid div > h6 {
  font-size: 0.8rem;
} */

h2 {
  padding-left: 10px;
  font-family: Arial, Helvetica, sans-serif;
}

.parabelow {
  opacity: 0;
  animation: fadein 2s ease-in forwards;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0 5px;
  text-align: center;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.HeaderList {
  height: 120px;
  background-image: linear-gradient(180deg, black, transparent);

  display: flex;
  align-items: center;
  /* background-color: #FF5700; */
  background-color: black;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  justify-content: space-between;

  padding: 0 1.25rem;
}

.logo {
  padding-left: 10px;
  display: flex;
  flex: 2 0 0;
}
.numbers {
  flex: 2 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 10ox;
  margin-right: 5px;
}

.navList {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 250px;
}

.navComponent {
  margin: 0 20px;
  z-index: 3;
}

a {
  text-decoration: none;
  color: white;
}



.content p{

  text-align: center;
}
