*{
    box-sizing: border-box;
}
body{
    margin: 0;
    height: 100vh;
    overflow: hidden;
}
.container{
    position: relative;
    width: 100%;
    height: 100%;
    background: #333;
}
.split{
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
h1{
    font-size: 3.5rem;
    color: antiquewhite;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.btn{
    position: absolute;
    left: 50%;
    top: 40%;
    display: flex;
    text-align: center;
    justify-content: center;
    transform: translateX(-50%);
    text-decoration: none;
    color: antiquewhite;
    border: antiquewhite solid 2px;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    width: 150px;
    padding:18px;

}
.split.left{
    left: 0;
    background: url('/images/pexels-creative-hussain-12416757.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.split.right .btn:hover{
    background-color: rgba(87, 84, 236, 1);
    border-color: rgba(87, 84, 236, 1);
}
.split.left::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 43, 43, 0.8) ;
}
.split.right{
    right: 0;
    background: url('/images/pexels-motional-studio-1081685.jpg');
    background-repeat: no-repeat;
    background-size:  cover;
}
.split.left .btn:hover{
    background-color: rgba(43, 43, 43, 1);
    border-color: rgba(43, 43, 43, 1);
}
.split.right::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(87, 84, 236, 0.7) ;
}
.split.left, 
.split.right,
.split.left::before,
.split.right::before{
    transition: all 1000ms ease-in-out;
}
.hover-left .left{
    width: 75%;
}
.hover-left .right{
    width: 25%;
}
.hover-right .right{
    width: 75%;
}
.hover-right .left{
    width: 25%;
}
@media (max-width:800px) {
    h1{
        font-size: 2rem;
    }
}