/* parallax */
.compitionSection {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 1.5)),
    url("../Images/CompetitionLarge.jpg");
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top 70px center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* height: 100vh; */
  padding: 80px 0px 40px;
  position: relative;
}

.compitionSection-text {
  display: flex;
  width: 100%;
  position: relative;
}
.text {
  width: 50%;
  color: #fff;
  font-size: 20px;
  position: absolute;
  z-index: 400;
  top: 0;
  bottom: 0;
  margin: auto 0;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.compitition-inner{
  padding-right: 30px;
}

.compitionSection-text .dthrill {
  margin: 0 0 15px;
  text-transform: uppercase;
  font-size: 13px;
  color: rgb(196, 196, 196);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.4px;
}

/* .compitionSection-text .dthrill:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 2px solid #ec2029;
} */
.text h2.goAhead {
  font-size: 40px;
  font-weight: 400 !important;
  padding: 10px 0;
  letter-spacing: 0.2px;
}

.compitionSection-image {
  margin: 32px 0px;
}

.image {
  display: flex;
  justify-content: end;
  align-items: end;
  width: 100%;
  opacity: 0.9;
}

.reveal {
  transform: translateY(150px); /*150px*/
  opacity: 0;
  transition: 0.8s all ease;
}

.reveal.active {
  transform: translateY(0);
  opacity: 1;
}

/* skwed img */
.image::before {
  /* content: "";
    position: absolute;
    left: -6.1em;
    top: 50%; */
  /* transform: translateY(-50%) rotate(20deg); */
  /* background: #fff;
    width: 40%;
    height: 140%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7); */
}

.compition-para {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.2px;
  opacity: 0.9;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 991px) {
  .image {
    display: none;
  }

  .text {
    width: 100%;
  }
  .compitionSection {
    height: 500px;}
    .text h2.goAhead {
      font-size: 30px;
    }    
}

/* AK :- for Mobile and Tab view Animation of Competitionsection come from bottom to top.*/

@media (max-width: 768px),(max-width: 576px) {

    .compitionSection-text {
        display: flex;
        width: 100%;
        position: relative;
        top: -39px;
    }

    .compitionSection {
        height: 440px;
    }

    .reveal {
        transform: translateY(-30px); /*60px  <- 150px*/
        opacity: 0;
        transition: 0.8s all ease;
    }

        .reveal.active {
            transform: translateY(0);
            opacity: 1;
 
        }
}