
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Yanone+Kaffeesatz:wght@700&display=swap');

:root {
    --left-bg-color: rgba(64, 104, 130, 0.56);
    --right-bg-color: rgba(250, 236, 108, 0.600);
    --left-btn-hover-color: #6EBF8B;
    --right-btn-hover-color: #357C3C;
    --hover-width:75%;
    --other-width:25%;
    --speed: 450ms;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Permanent Marker", sans-serif;
    height: 100vh;
    overflow: hidden;
    margin: 0;
}

h1 {
    font-size: 3.5rem;
    position: absolute;
    left: 50%;
    top: 0%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.btn {
    font-family: "Yanone Kaffeesatz", sans-serif;
    font-size: 2.3rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #fff;
    border: rgba(255, 166, 0, 0.719);
    background-color: rgba(255, 166, 0, 0.595);
    position: absolute;
    left: 50%;
    top: 60%;
    border-radius: 40%;
    padding: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
    width: 12rem;
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2), 0 6px 16px 0 rgba(0,0,0,0.19);
}

.container { 
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(35deg, #CCFFFF, #FFCCCC);
}

.split {
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.split.left {
    color: bisque;
    left: 0;
    background: url(img001.jpg);
    background-repeat: norepeat;
    background-size: cover;
}    

.split.left::before{
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--left-bg-color);
}

.split.left .btn:hover{
    background-color: var(--left-btn-hover-color);
    box-shadow: 0 12px 20px 0 rgba(0,0,0,0.24), 0 20px 55px 0 rgba(0,0,0,0.19);
    animation-name: rainbow-btn-left;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes rainbow-btn-left {
    0% {background-color: #6EBF8B;}
    15% {background-color: #0E185F;}
    30% {background-color: #5463FF;}
    50% {background-color: #00FFDD;}
    75% {background-color: #008E89;}
    100% {background-color: #6EBF8B;}
}

.split.right {
    color: rgb(128, 28, 28);
    right: 0;
    background: url(img002.jpg);
    background-repeat: norepeat;
    background-size: cover;
}    

.split.right::before{
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--right-bg-color);
}

.split.right .btn:hover{
    background-color: var(--right-btn-hover-color);
    box-shadow: 0 12px 20px 0 rgba(0,0,0,0.24), 0 20px 55px 0 rgba(0,0,0,0.19);
    animation-name: rainbow-btn-right;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes rainbow-btn-right {
    0% {background-color: #357C3C;}
    15% {background-color: #ea412b;}
    30% {background-color: #FFC300;}
    50% {background-color: #FF7F3F;}
    75% {background-color: #95CD41;}
    100% {background-color: #357C3C;}
}

.hover-left .left{
    width: var(--hover-width);
}

.hover-left .right {
    width: var(--other-width);
}

.hover-right .right{
    width: var(--hover-width);
}

.hover-right .left {
    width: var(--other-width);
}

@media (max-width: 800px) {
    h1 {
        font-size: 1.7rem;
        top: 30%;
    }

.btn {
    padding: 1.2rem;
    font-size: 1.3rem;
    width: 8rem;
    }
}

.split.right, .split.left, .split.right::before, .split.left::before {
    transition: all var(--speed) ease-in;
}


 
