

body{

  overflow-x: hidden;
}

.section{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.image-box{
  height: 667px;
  overflow: hidden;
}

.img{
  width: 100%;
  height: 100%;
  
}

.content-box{
  padding-inline: 5em;
}

.title{
  font-size: 3em;
  max-width: max-content;
  margin-block-end: 0.25em;
}

.text{
  opacity: 0.7;
  line-height: 1.67;
}

[data-reveal="left"]{
  clip-path: inset(0 100% 0 0);
}

[data-reveal="left"].revealed{
  animation: reveal-left 1.2s cubic-bezier(0.17, 0.97, 0.38, 1) forwards 700ms;
}

@keyframes reveal-left{
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

[data-reveal="right"]{
  clip-path: inset(0 0 0 100%);
}

[data-reveal="right"].revealed{
  animation: reveal-right 1.2s cubic-bezier(0.17, 0.97, 0.38, 1) forwards 700ms;
}

@keyframes reveal-right{
  0% {
    clip-path: inset(0 0 0 100%);_
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}

.image-box .img{
  transform: scale(1.5);
  transition: 1.2s cubic-bezier(0.17, 0.97, 0.38, 1);
}

.image-box.revealed .img{
  transform: scale(1.5);
}

@media only screen and (max-width: 768px) {
.section {
grid-template-columns: 1fr;
text-align: left;
}
	.image-box{height: auto;}
.title {
font-size:2em;
}
.content-box {
padding: 2em;
}
}

@media only screen and (max-width: 480px) {
.title {
font-size: 2em;
}
	.image-box{height: auto;}
.text {
font-size: 0.8em;
}
}