.content {
  width: 70%;
  text-align: center;
  margin: 50px auto;
}

.content h3 {
  width: 100%;
}

.container {
  margin: 80px 0;
}

h1 {
  font-size: 60px;
  font-weight: 400;
  letter-spacing: 1.3px;
  margin-bottom: 5px;
  padding: 30px 0px;
}

p {
  font-size: 40px;
  font-size: 20px;
  padding: 10px 0;
  margin: 10px 0;
  line-height: 40px;
  text-align: center;
}

.guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  padding: 20px;
}

.btn-primary {
  border: 1px solid #000;
  min-width: 100px;
  text-align: center;
  border-radius: 5px;
  padding: 15px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary {
  border: 1px solid #000;
  margin: 30px;
  display: inline-block;
  min-width: 100px;
  text-align: center;
  border-radius: 5px;
  padding: 15px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary:hover, .btn-secondary:hover{
  border: 1px solid #000;
  background: #000;
  color: #fff;
}

.justified-content {
  text-align: justify;
}

.header-text {
  text-align: justify;
  display: inline-block;
  /* background: #000; */
  position: relative;
  line-height: 30px;
  overflow: hidden;
}

.header-text-center {
  text-align: center;
  display: inline-block;
  position: relative;
  line-height: 30px;
  overflow: hidden;
}

.text,
.justified-content {
  text-align: justify;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: 0.8s;
  margin: 50px 0px;
}

.text.reveal,
.justified-content.reveal {
  animation: revealTextAnimation 0.64s ease forwards;
}
.text:before,
.justified-content:before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  /*   z-index: 1; */
}
.text.reveal:before,
.justified-content.reveal:before {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(27, 27, 138, 1) 0%,
    rgba(91, 91, 170, 1) 50%,
    rgba(147, 22, 22, 1) 100%,
    rgba(252, 176, 69, 1) 100%
  );
  animation: blockRevealAnimation 0.8s ease forwards;
}

.img {
  position: relative;
  display: block;
  overflow: hidden;
  height: fit-content;
}

.img img {
  width: 100%;
  max-height: 100%;
  opacity: 0;
  background-size: cover;
  object-fit: cover;
  background-position: center;
}

.img:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.img.reveal:before {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(27, 27, 138, 1) 0%,
    rgba(91, 91, 170, 1) 50%,
    rgba(147, 22, 22, 1) 100%,
    rgba(252, 176, 69, 1) 100%
  );
  animation: blockRevealAnimation 0.8s ease forwards;
}

.img.reveal img {
  animation: revealImgAnimation 0.8s ease forwards;
}

@keyframes blockRevealAnimation {
  0% {
    left: -100%;
  }
  40% {
    left: 0;
  }
  60% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}
@keyframes revealTextAnimation {
  0% {
    color: transparent;
  }
  40% {
    color: transparent;
  }
  60% {
    color: #333;
  }
}
@keyframes revealImgAnimation {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media only screen and (max-width: 414px) {
  .guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
  }

  .guide > h2{
    font-size: 20px;
    text-align: center;
    margin: 20px 0;
  }
  
  .btn-primary {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .content {
    width: 100%;
    /* margin: 50px 50px; */
    padding: 20px;
  }

  .header-section h2 {
    padding: 5px;
  }

  .text {
    text-align: justify;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: 0.8s;
    /* margin: 50px 0px; */
    font-size: 40px;
  }
  .img {
    position: relative;
    display: block;
    overflow: hidden;
    height: 200px;
  }

  .justified-content {
    text-align: justify;
    font-size: 10px;
    line-height: 30px;
  }
}

@media only screen and (max-width: 639px) and (min-width: 415px){
  .guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
  }

  .guide > h2{
    font-size: 20px;
    text-align: center;
    margin: 20px 0;
  }
  
  .btn-primary {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
}

@media only screen and (max-width: 834px) and (min-width: 639px){
  .guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
  }

  .guide > h2{
    font-size: 20px;
    text-align: center;
    margin: 20px 0;
  }
  
  .btn-primary {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
}

@media only screen and (max-width: 1220px) and (min-width: 835px)  {
  .guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 20px;
  }

  .guide > h2{
    font-size: 20px;
    text-align: center;
    margin: 20px 0;
  }
  
  .btn-primary {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 15px 10px;
    cursor: pointer;
    transition: all 0.25s ease;
  }
}
