:root {
    --container-bg-color: #333;
    --left-bg-color:  #232425ad;
    
    --left-button-hover-color: #11528b;
    --right-bg-color: #232425ad;
    --right-button-hover-color: #e67a10;
    --hover-width: 60%;
    --other-width: 40%;
    --speed: 900ms;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

h2 {
    font-size: 3rem;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 34%;
    transform: translateX(-50%);
    white-space: nowrap;

    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    background: none;
    line-height: 1.6em;


}

.button-right {
    position: absolute;
    width: 160px;
    left: 50%;
    top: 56%;
    text-align: center;
    color: #ffffff;
    line-height: 30px;
    background-color: #faa61a;
    border-color: #faa61a;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 35px;
    transform: translateX(-50%);
    padding: 12px 52px;
    letter-spacing: 1.3px;
    transition: all 0.8s;
  
}
.button-left:hover{
    width: 170px;
}

.button-left {
    position: absolute;
    width: 160px;
    left: 50%;
    top: 56%;
    text-align: center;
    color: #ffffff;
    line-height: 30px;
    background-color: #145b9b;
    border-color: #145b9b;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 35px;
    transform: translateX(-50%);
    padding: 12px 52px;
    letter-spacing: 1.3px;
    transition: all 0.8s;
}

.button-right:hover{
    width: 170px;
}

.btn-tel-down{
    position: absolute;
    width: 180px;
    left: 50%;
    top: 60%;
    text-align: center;
    color: #ffffff;
    line-height: 30px;
   
    background-color: #faa61a;
    border-color: #faa61a; 
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 35px;
    transform: translateX(-50%);
    padding: 10px 30px;
    letter-spacing: 1.3px;
    transition: all 0.8s;
}
.btn-tel-down:hover{
    width: 190px;
}

.btn-tel-up{
    position: absolute;
    width: 180px;
    left: 50%;
    top: 60%;
    text-align: center;
    color: #ffffff;
    line-height: 30px;
    background-color: #145b9b;
    border-color: #145b9b;
    
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 35px;
    transform: translateX(-50%);
    padding: 10px 30px;
    letter-spacing: 1.3px;
    transition: all 0.8s;
}
.btn-tel-up:hover{
    width: 190px;
}




.up-img{
    position: absolute;
    height: 50%;
    width: 100%;
    background: url(../images/split/capture.jpg) center center no-repeat;
    background-size: cover;
}

.up-img:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--left-bg-color);
}

.down-img{
    position: absolute;
    height: 50%;
    width: 100%;
    background: url(../images/split/clio.jpg) center center no-repeat;
    background-size: cover;
    bottom: 0
}

.down-img:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--right-bg-color);
}



h1{
    font-size: 25px;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    background: none;
    line-height: 1.6em;
}

.p-left {
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translateX(-50%);
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    background: none;
    line-height: 1.6em;
    width: 620px;
    text-align: center
}


.p-right {
    font-size: 14px;
    color: #ffffff;
    position: absolute;
    right: 50%;
    top: 44%;
    transform: translateX(50%);
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    background: none;
    line-height: 1.6em;
    width: 620px;
    text-align: center
}








.button-right:hover{
    background-color: var(--right-button-hover-color);
    border-color: var(--right-button-hover-color);
}

.button-left:hover{
    background-color: var(--left-button-hover-color);
    border-color: var(--left-button-hover-color);
}


.split.left .button:hover {
    background-color: var(--left-button-hover-color);
    border-color: var(--left-button-hover-color);
}

.split.right .button:hover {
    background-color: var(--right-button-hover-color);
    border-color: var(--right-button-hover-color);
}

.container1 {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--container-bg-color);
    
    
}

.split {
    position: absolute;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.split.left {
    left: 0;
    background: url('../images/split/capture.jpg') center center no-repeat;
    background-size: cover;
}

.split.left:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--left-bg-color);
}

.split.right {
    right: 0;
    background: url('../images/split/clio.jpg') center center no-repeat;
    background-size: cover;
}

.split.right:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--right-bg-color);
}

.split.left,
.split.right,
.split.right:before,
.split.left:before {
    transition: var(--speed) all ease-in-out;
}

.hover-left .left {
    width: var(--hover-width);
}

.hover-left .right {
    width: var(--other-width);
}

.hover-left .right:before {
    z-index: 2;
}


.hover-right .right {
    width: var(--hover-width);
}

.hover-right .left {
    width: var(--other-width);
}

.hover-right .left:before {
    z-index: 2;
}

@media(max-width: 1200px) {
    h2 {
        font-size: 2rem;
    }

    .button {
        width: 12rem;
    }

    .p-right {
        width: 420px;
    }
    .p-left {
        width: 420px;
    }
   
}


/* height  medija*/

@media (max-height: 912px) and (min-height: 800px) {
    
    h2 {
        top: 30%;
    }
    .p-left {
        top: 41%;
    }
    .p-right {
        top: 41%;
    }
    .button-right {
        top: 51%; 
    }
    .button-left {
        top: 51%;
    } 
}

@media (max-height: 800px) and (min-height: 750px) {
    
    h2 {
        top: 32%;
    }
    .p-left {
        top: 45%;
    }
    .p-right {
        top: 45%;
    }
    .button-right {
        top: 58%; 
    }
    .button-left {
        top: 58%;
    } 
}


@media (max-height: 750px) and (min-height: 550px) {
    
    h2 {
        top: 32%;
    }
    .p-left {
        top: 48%;
    }
    .p-right {
        top: 48%;
    }
    .button-right {
        top: 63%; 
    }
    .button-left {
        top: 63%;
    } 
}


@media (max-height: 550px) and (min-height: 400px) {
    
    h2 {
        top: 22%;
    }
    .p-left {
        top: 43%;
    }
    .p-right {
        top: 43%;
    }
    .button-right {
        top: 63%; 
    }
    .button-left {
        top: 63%;
    } 
}

@media (max-height: 400px) and (min-height: 0px) {
    
    h2 {
        top: 18;
    }
    .p-left {
        top: 43%;
    }
    .p-right {
        top: 43%;
    }
    .button-right {
        top: 63%; 
    }
    .button-left {
        top: 63%;
    } 
}








@media (max-width: 768px) { 
    .container1{
        display: none
        
    }
    .container2{
        display: block
    }
 }
 
/* pojavljivanje c2 */
 @media (min-width: 768px) { 
  
    .container2{
        display: none
    }
 }




 


 .linear-wipe-h1-left {
    text-align: center;
    background: linear-gradient(to right, #ffffff 20%, #f2dd9e 40%, #faa61a 60%, #ffffff 80%);      
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: shine 3s linear infinite;
            animation: shine 3s linear infinite;
            font-weight: 500;
  }
  @-webkit-keyframes shine {
    to {
      background-position: 200% center;
    }
  }
  @keyframes shine {
    to {
      background-position: 200% center;
    }
  }


  .linear-wipe-h1-right {
    text-align: center;
    background: linear-gradient(to right, #145b9b 20%, #2e94f0 40%, #03539b 60%, #145b9b 80%);
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: shine 3s linear infinite;
            animation: shine 3s linear infinite;
            font-weight: 500;
  }
  @-webkit-keyframes shine {
    to {
      background-position: 200% center;
    }
  }
  @keyframes shine {
    to {
      background-position: 200% center;
    }
  }




.linear-wipe1 {
    text-align: center;
    background: linear-gradient(to right, #ffffff 20%, #c1c0c0f5 40%, #b1b0b0f5 60%, #ffffff 80%);        
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: shine 3s linear infinite;
            animation: shine 3s linear infinite;
            font-weight: 500;
  }
  @-webkit-keyframes shine {
    to {
      background-position: 200% center;
    }
  }
  @keyframes shine {
    to {
      background-position: 200% center;
    }
  }

  .linear-wipe2 {
    text-align: center;
    background: linear-gradient(to right, #ffffff 20%, #d8d8d8f5 40%, #e0e0e0f5 60%, #ffffff 80%);              
    background-size: 200% auto;
    color: #000;
    background-clip: text;
    
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: shine 3s linear infinite;
            animation: shine 3s linear infinite;
            font-weight: 500;
  }
  @-webkit-keyframes shine {
    to {
      background-position: 200% center;
    }
  }
  @keyframes shine {
    to {
      background-position: 200% center;
    }
  }




 










 




 

 
