/*!
Theme Name: Kargo theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: kargo-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Kargo theme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

*,
*::after,
*::before{
    box-sizing: border-box;
}

body{
    color: #404040;
}
h1,h2,h3,h4,h5{
    color: #404040;
}

.block-2-forwhom{    
    width: 100%;
    height: 100vh;
    background: no-repeat center/80% url("/wp-content/uploads/2023/07/baner-4.jpg");
    background-size: cover;
    z-index: 999;
}





.block-fon-1{
    width: 100%;
    height: 100vh;
    background: no-repeat center/100% url("https://kargo.s2d.com.ua/wp-content/uploads/2023/07/baner-fon-1.jpg");

    background-size: cover;
    z-index: 999;
}
.block-fon-2{
    width: 100%;
    height: 100vh;
    background: no-repeat center/100% url("https://kargo.s2d.com.ua/wp-content/uploads/2023/07/baner-fon-2.jpg");
    background-size: cover;
    z-index: 999;
}

.block-fon-3{
    width: 100%;
    height: 100vh;
    background: url("https://kargo.s2d.com.ua/wp-content/uploads/2023/07/baner-5.jpg") no-repeat center/100% ;
    background-size: cover;
    z-index: 999;
}

.block-fon-4{
    width: 100%;
    height: 100vh;
    background: url("https://kargo.s2d.com.ua/wp-content/uploads/2023/07/baner-6.jpg") no-repeat center/100% ;
    background-size: cover;
    z-index: 999;
}

.block-fon-5{
    width: 100%;
    height: 100vh;
    background: url("https://kargo.s2d.com.ua/wp-content/uploads/2023/07/baner-7q.jpg") no-repeat center/50% ;
    background-size: cover;
    z-index: 999;
}

.block-fon-6{
    width: 100%;
    height: 100vh;
    background: url("https://kargo.s2d.com.ua/wp-content/uploads/2023/07/baner-7.jpg") no-repeat center/50% ;
    background-size: cover;
    z-index: 999;
}

.block-fon{
    width: 100%;
    height: 100vh;
    z-index: 999;
}




.block-3-forwhom{    
    width: 100%;
    height: 100vh;
    z-index: 999;
}

.block-fon-bg-secondary{
    background: #e8e8e8;
    top: 30%;

}

.block-text{    
    width: 100%;
    height: 100vh;
    z-index: 999;
    
}

.block-cta{    
    width: 100%;
    min-height: 450px;
    z-index: 999;
}



.baner-block{
    --bs-gutter-x:0!important;
}

.header{
    background: none;
    z-index: 10!important;
}

a{
    color: white;
    text-decoration: none!important;
    font-size: 1.2rem;
}

a:hover{
    opacity:.8;
}
#masthead-header{
    background: linear-gradient( 0deg, rgba(0, 0, 0, .0), rgba(0, 0, 0, 0.8) );
}
.text-block{
    margin: 0;
   position: absolute;               /* 2 */
   top: 50%;                         /* 3 */
   transform: translate(0, -50%)   /* 4 */
}

.col-vh{
    background: #404040;
}


/*   ------------------- media------------------- */
@media (min-width: 1200px) {

    h2  {
    padding: 80px 0;
    }

    ol > li{
        font-size: 1.3rem;
    }
    .col-vh{
        height: 100vh;
    }
   
    .text-block-for-center{
    top: 30%;
    position: relative;
    }

}

@media (min-width: 768px) {
  .header{
    padding: 3rem 5rem;
  }
  h2  {
    padding: 50px 0;
    }   

    .img-block{
    width: auto;
    height: 80px;
    }

    .text-main-block{
    padding-top: 80px;
    }
    .card-icon{
    min-height: 200px;
    }

    .col-with-icon{
        height: 300px;
    }

    #section{
    margin: 30px 0 0;
    }   
    .text-block-for-center{
    top: 20%;
    position: relative;
    }
    a.btn-kargo-menulink {
        padding: 20px;
    }
    a.bg-btn-kargo{
    margin: 20px 0 0;
    min-width: 250px;
    border-radius: 20px;
    padding: 20px;
    background: #6cd0ca;
    color: #404040;
    border: none;
    text-transform: uppercase;
    }
    ol > li{text-align: left!important;}
}


@media (max-width: 768px) {
    h2  {
    padding: 30px 0;
    }
    .img-block{
    width: auto;
    height: 48px;
    }
    .card-icon {
    min-height: 160px;
    }
    .col-with-icon{
        height: 220px;
    }
    #section{
    margin: 15px 0;
    }
    .block-text {
    height: auto;
    }
    .offcanvas{z-index: 999999!important; max-width: 75%!important;width: 75%}
    ol > li{text-align: left!important;}
    .block-fon-1, .block-fon-2, .block-fon-3, .block-fon-4, .block-fon-5, .block-fon-6, .block-fon{
        height: auto;
        padding: 30px ;
    }
    a.btn-kargo-menulink {
        padding: 10px;
        font-size: 1rem;
    }
    .logo-site > svg{height: 44px}
    a.bg-btn-kargo{
    margin: 10px 0 0;
    width: auto;
    border-radius: 10px;
    padding: 10px;
    background: #6cd0ca;
    color: #404040;
    border: none;
    text-transform: uppercase;
    }
    .loop-wrapper{bottom: -47px}
    ol > li{text-align: left!important;}
}


@media (max-width: 350px) {
    h2  {
    padding: 15px 0;
    }
    .card-icon {
    min-height: 130px;
    }
    .col-with-icon{
        height: auto;
    }
    .form-style{width: 90%}
    
}



.offcanvas{z-index: 999999!important;}

.loop-wrapper {
  margin: 0 auto;
  position: absolute;
  display: block;
  width: 100%;
  height: 75px;
  overflow: hidden;
  border-bottom: 3px solid #fff;
  color: #fff;
  bottom: 0;
  z-index: 9999;
}
.mountain {
  position: absolute;
  right: -900px;
  bottom: -20px;
  width: 2px;
  height: 2px;
  box-shadow: 
    0 0 0 50px #6cd0ca,
    60px 50px 0 70px #6cd0ca,
    90px 90px 0 50px #6cd0ca,
    250px 250px 0 50px #6cd0ca,
    290px 320px 0 50px #6cd0ca,
    320px 400px 0 50px #6cd0ca
    ;
  transform: rotate(130deg);
  animation: mtn 20s linear infinite;
}
.hill {
  position: absolute;
  right: -900px;
  bottom: -50px;
  width: 400px;
  border-radius: 50%;
  height: 20px;
  box-shadow: 
    0 0 0 50px #6cd0ca,
    -20px 0 0 20px #6cd0ca,
    -90px 0 0 50px #6cd0ca,
    250px 0 0 50px #6cd0ca,
    290px 0 0 50px #6cd0ca,
    620px 0 0 50px #6cd0ca;
  animation: hill 4s 2s linear infinite;
}
.tree, .tree:nth-child(2), .tree:nth-child(3) {
  position: absolute;
  height: 100px; 
  width: 35px;
  bottom: 0;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130015/tree.svg) no-repeat;
}
.rock {
  margin-top: -17%;
  height: 2%; 
  width: 2%;
  bottom: -2px;
  border-radius: 20px;
  position: absolute;
  background: #ddd;
}
.truck, .wheels {
  transition: all ease;
  width: 85px;
  margin-right: -60px;
  bottom: 0px;
  right: 50%;
  position: absolute;
  background: #eee;
}
.truck {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130015/truck.svg) no-repeat;
  background-size: contain;
  height: 60px;
}
.truck:before {
  content: " ";
  position: absolute;
  width: 25px;
  box-shadow:
    -30px 28px 0 1.5px #fff,
     -35px 18px 0 1.5px #fff;
}
.wheels {
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/130015/wheels.svg) no-repeat;
  height: 15px;
  margin-bottom: 0;
}

.tree  { animation: tree 3s 0.000s linear infinite; }
.tree:nth-child(2)  { animation: tree2 2s 0.150s linear infinite; }
.tree:nth-child(3)  { animation: tree3 8s 0.050s linear infinite; }
.rock  { animation: rock 4s   -0.530s linear infinite; }
.truck  { animation: truck 4s   0.080s ease infinite; }
.wheels  { animation: truck 4s   0.001s ease infinite; }
.truck:before { animation: wind 1.5s   0.000s ease infinite; }


@keyframes tree {
  0%   { transform: translate(1350px); }
  50% {}
  100% { transform: translate(-50px); }
}
@keyframes tree2 {
  0%   { transform: translate(650px); }
  50% {}
  100% { transform: translate(-50px); }
}
@keyframes tree3 {
  0%   { transform: translate(2750px); }
  50% {}
  100% { transform: translate(-50px); }
}

@keyframes rock {
  0%   { right: -200px; }
  100% { right: 2000px; }
}
@keyframes truck {
  0%   { }
  6%   { transform: translateY(0px); }
  7%   { transform: translateY(-6px); }
  9%   { transform: translateY(0px); }
  10%   { transform: translateY(-1px); }
  11%   { transform: translateY(0px); }
  100%   { }
}
@keyframes wind {
  0%   {  }
  50%   { transform: translateY(3px) }
  100%   { }
}
@keyframes mtn {
  100% {
    transform: translateX(-2000px) rotate(130deg);
  }
}
@keyframes hill {
  100% {
    transform: translateX(-2000px);
  }
}



input[type="submit"]{
    margin: 20px 0 0 60px;
    max-width: 150px;
    border-radius: 20px;
    padding: 20px;
    background: #6cd0ca;
    color: #404040;
    border: none;

}
input[type="submit"]:hover{
    opacity: .8;
}



a.btn-kargo-menulink{
    color: #404040;

}
a.btn-kargo-menulink:hover{
    color: #6cd0ca;
}

.form-style{
    border-radius: 20px;
    padding: 20px;
    border:1px solid #6cd0ca;

}

footer{
    background: #6cd0ca;
    padding: 1rem 0
}

textarea.wpcf7-textarea{height: 140px}