:root{
    --left-bgColor: rgba(237, 28, 36, 0.2);
    --left-button-hover: rgba(237, 28, 36, 0.7);
    --right-button-hover: rgba(233, 83, 33, 0.7);
    --right-bgColor: rgba(233, 83, 33, 0.2);
    --hover-width: 100%;
    --small-width: 0%;
    --animateSpeed: 1500ms;
}

html,
body{
    margin: 0;
    padding: 0;
    font-family: "Gill Sans", sans-serif;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

img{
  max-width: 350px;
  position: relative;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    transition: all .9s ease-in;
    -moz-transition: all .9s ease-in;
    -webkit-transition: all .9s ease-in;
    -ms-transition: all .9s ease-in;
}

h1{
    font-size: 3rem;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: "Gill Sans", sans-serif;
}

.container2{
    font-size: 3rem;
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: "Gill Sans", sans-serif;
}

.bas{
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    font-family: "Gill Sans", sans-serif;
    z-index: 9999;
}

.bas img{
    max-width: 500px;
}

.footer {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    font-family: "Gill Sans", sans-serif;
    z-index: 9999;
}

.button{
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 14px 40px;
    text-align: center;
    color: white;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    transform: translateX(-50%);
    transition: all .1s;
}

.button2{
    left: 50%;
    right: 50%;
    top: 50%;
    padding: 10px 50px;
    text-align: center;
    color: white;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    transform: translateX(-50%);
    transition: all .1s;
    background-color: #f70100;
}

.container{
    position: relative;
    width: 100%;
    height: 100%;
}

.screen{
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.left{
    left: 0;
    background: url("../images/rsgiris.jpg") center center no-repeat;
    background-size: cover;
    transition: var(--animateSpeed) all ease-in-out;
}

.left::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;;
    background: var(--left-bgColor);
}

.left .button:hover{
    background-color: var(--left-button-hover);
    border-color: #fff;
    transition: .1s all ease-in-out;
}

.right{
    right: 0;
    background: url("../images/ergiris.jpg") center center no-repeat;
    background-size: cover;
    transition: var(--animateSpeed) all ease-in-out;
}

.right::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--right-bgColor);
}

.right .button:hover{
    background-color: var(--right-button-hover);
    border-color: #fff;
    transition: .1s all ease-in-out;
}

.hover-left .left{
    width: var(--hover-width);
    transition: var(--animateSpeed) all ease-in-out;
}

.hover-left .left img{
  z-index:4;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2);
}

.hover-left .right{
    width: var(--small-width);
    transition: var(--animateSpeed) all ease-in-out;
}

.hover-left .right::before{
    z-index: 2;
}

.hover-right .right{
    width: var(--hover-width);
    transition: var(--animateSpeed) all ease-in-out;
}

.hover-right .right img{
  z-index:4;
    -webkit-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    transform: scale(1.5);
}

.hover-right .left{
    width: var(--small-width);
    transition: var(--animateSpeed) all ease-in-out;
}

.hover-right .left::before{
    z-index: 2;
}

@media (max-width: 800px){
    h1{
        font-size: 20px;
    }

    h1 img{
        max-width: 150px;
    }

    .bas{
        font-size: 25px;
    }

    .bas img{
        max-width: 300px;
    }

    .button{
      display: block;
      position: absolute;
      padding: 10px 15px;
      text-align: center;
      font-size: 10px;
    }

    .button2{
      padding: 10px 15px;
      text-align: center;
      font-size: 10px;
    }

    .container2{
      top: 50%;
    }

}

@media (max-width: 1080px){
  .button2{
    padding: 5px 5px;
    text-align: center;
    font-size: 8px;
  }

}
