* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(212, 217, 211);
}

/* gdfgdfg */

.contact input[type="text"], .contact input[type="email"] {
    display: block;
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #dfe0e0;
    width: 100%;
}

.contact input[name="email"] {
    position: relative;
    display: block;
}

.contact label {
    position: relative;

}
.contact label i {
    position: absolute;
    color: #dfe2e5;
    top: 16px;
    left: 15px;
    z-index: 10;
}
.contact label i ~ input {
    padding-left: 45px !important;
}

/* gdfgdfg */

#contact-btn {
    display: none;
}
header {
    background-color: rgb(194, 18, 18);
    position: fixed;
    top:0;
    right:0;
    left:0;
    z-index: 1000;
}
nav img {
    height: 70px;
}
.navbar li {
    list-style: none;
}
a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    
}
.logo-container {
    display: flex;
    align-items:center;
    font-size: 1.2em;
    color:#fff;
    font-weight: 700;
}
.logo-container span{
    margin-left: 10px;
}
.navbar {
    
    top:0;
    min-height: 70px;
    display:flex;
    /* justify-content:flex-start;  - менюто отляво*/
    justify-content:space-between;
    align-items:center;
    padding: 0 24px;
    
}
.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
.nav-left {
    display: flex;
    width: 35%;
    justify-content: flex-start;
    }
.nav-link {
    transition: 0.7s ease;
}


a:hover:not(.active2) {
    color: rgb(238, 234, 5);
  }
  
  .active2 {
    color:rgb(238, 234, 5);
  }

.hamburger {
    display: none;
    cursor: pointer;
}
.bar {
    z-index: 100;
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgb(255, 255, 255);
}




/*Описание на съдържанието 

/* снимката на страницата за скутери */
.scooter
{
    width: 550px;
    float: left;
    margin:13px 15px 15px 0;
    
}
em {
    color:red;
    font-weight: 600;
    font-size: 18px;
    margin-top: 10px;
    display: block;
    clear: both;
}
.zebra-scooter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.helmet {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 400px;
}
.sign-container {
    margin: 20px 0;
    display: flex;
    justify-content:center;
    gap: 70px;
    align-items:flex-start;
   
}
.sign-container div 
 {
    width: 100%;
}
.sign-container div p
 {
   
    text-align: center;
}
.sign-container img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.el-scooter {
    float:right;
    margin-left: 15px;
}


/* видеото в страницата за пешеходци */
.video-pedestrian
{
    display: block;
    height: 500px;
    margin: 0 auto;
}

/*
Първи ред - снимката и текстът и бутона върху него
*/
.row1 {
    margin: 75px 0 10px 0;
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.intro {
  
    width: 100%;
    background-image: url("../images/main.png");
    min-height: 555px;
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    margin: -20px 0 -78px 0;
}

.main-btn 
{
    font-size: 15px;
    background-color:rgb(194, 18, 18);
    padding: 8px 10px;
    border: none;
    color: #fff;
    margin: 3rem 1rem 1rem 13rem;
    cursor:pointer;
    width: 200px;
    text-align: center;
    outline: none;
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 #f9e506;
    transition: ease-out 0.3s;
}
.main-btn:hover {
    box-shadow: inset 200px 0 0 0 #f9e506;
cursor: pointer;
color: #333;
}
.text-img 
{
    position: absolute;
    top: 10vw;
    right: 45vw;

}
.text-img h1
{
    color: rgb(194, 18, 18);
    font-size: 2.3rem;
    padding-bottom: 15px;
}
.text-img p 
{
    color: rgb(167, 12, 12);
    font-size: 22px;
    font-weight: 600;
}
/* втори ред - кутийките */
.row2 
{
    margin: 90px 50px 10px 50px;
    display:flex;
    justify-content: space-between;
    align-items:flex-start;
    gap: 10px 0; /* da go proverq */
    padding-top: 20px;
    
}

/* CSS за бутоните на учениците */
.btn-container {
    margin-top: 20px;
    display: flex;
     gap:20px;
     justify-content:center;
     flex-direction: row;
}
.btn {
    background-color: rgb(194, 18, 18);
    cursor: pointer;
   padding: 10px;
   color: #fff;
   font-weight: 700;
   border-radius: 15px;
   border:rgb(111, 13, 13) solid 2px;
   transition: all .35s;
   }
   .btn:hover {
    background-color: rgb(251, 115, 115);
    border: solid 2px rgb(166, 4, 4);
    
   }
   .btn:after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    border-radius: 4px;
    transition: all .35s;
    background: rgb(84, 171, 242);
   }
   .btn a {
    font-size: 14px;
   }
   .btn a:hover {
    cursor: pointer;
    color: #fff;

   }
   /* Бутони за шофьорите */
    .btn-container-2{
        margin-top: 20px;
    display: block;
    gap: 20px;
    justify-content: center;

   }
/* ol на учениците */
.active-student {
    background-color: rgb(251, 115, 115);
    border: solid 2px rgb(166, 4, 4);
}
.col-1 
{
    flex-basis: 78%;
    background-color: #fff;
    border-radius: 10px;
}
.col-1f 
{
    flex-basis: 78%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
}
.col-1 h1 {

    text-align: center;
    padding-top: 15px;
}

.col-2 
{
    flex-basis: 21%;
}

.art11 {
    padding: 30px 50px;

}
.art11 ol {
    padding-left: 35px;
    line-height: 20px;
}
.art11 p {
    padding-top: 10px;
    text-align: justify;
}
.art11 h3 {
    padding: 10px 0;
}
.art1 ol {
    padding-left: 70px;
}
.art1 ol li {
    padding-bottom: 5px;
    font-weight: 400 !important;
}
.art1 
{
   
    display: flex;
    justify-content: space-between;
    align-content: flex-start; /* подравнява вертикално */
    gap:1%;
    
    padding: 25px;
  
}

.art1f 
{
   
    display: inline-block;
    justify-content: space-between;
    align-content: flex-start; /* подравнява вертикално */
    gap:1%;
    
    padding: 25px;
  
}
.art1 ul {
    list-style: none;
    display: inline-block;
}
.art1 ul li {
    font-weight: 600;
}

.art1 ul li i {
    padding-right: 10px;
    margin-left: 10px !important;
}
.art1 section 
{
  width: 50%;
    padding: 5px 13px 5px 13px;
    
    border-radius: 10px 0;
    background-color: #ffffff;
    margin-bottom: 10px;
}
.art1 ul p {
    margin: 10px;
    text-align: justify;
    padding-left: 30px;
}
.art1 section h2{
    color: rgb(18, 103, 194);
    font-size: 1.22rem;
    padding-bottom: 10px;
    text-align: center;
}


.main-btn2 {

    font-size: 13px;
    background-color: rgb(18, 103, 194);
    
    padding: 8px 10px;
    border: none;
    color: #fff;
    margin: auto 0;
    cursor:pointer;
  border: 1px solid #fff;
 
    outline: none;
    border-radius: 10px;
}

object {
    width: 100%;
    height: 100% !important;
}


aside {
    border: 1px solid rgb(238, 79, 5);
    border-radius: 0 10px;
    padding: 10px;
    background-color: #fff;
    margin: 0 10px;
}
aside h2 {
    color: rgb(238, 187, 5);
    padding-bottom: 10px;
}
aside p {
    padding: 5px;
    color: rgb(238, 79, 5);
    font-weight: 600;
}
aside h2 i{
padding-right: 10px;
}
.aside-icon {
    font-size:24px !important;
    color:rgb(238, 187, 5);
}
.row2:nth-of-type(1) {flex-grow: 4;} 
.row2:nth-of-type(2) {flex-grow: 1;} 
.sect {
  position: relative;
    width: 100%;
   background-image: url("../images/group.jpg");
    min-height: 500px;
    background-repeat: no-repeat;
    background-size:cover;
    margin: 10px 0 5px 0;
}
.dv-sect2 {
    position:absolute;
    top: 320px;
    right:360px;
}
.dv-sect2 h1 {
    color:rgb(18, 103, 194);
    font-weight: 900;
    font-size: 30px;
    
}
.dv-sect2 h3 {
    color:rgb(255, 255, 255);
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    margin-bottom: -15px;
}

/* CSS  за uslugi.html */

.img-uslugi {
    width: 100%;
}
.art1 .art1-sec1 {

    margin: 0;
    padding: 0;
    border: none;
}

.art1 .art1-sec2 {

    margin-top: 15px;
    margin-bottom: 0;
    padding: 0;
    border: none;
}
.col-1 h2 {
margin: 20px 0 0 10px;
    color:rgb(194, 18, 18);
    font-size: 1.42rem;
    padding-bottom: 10px;
    text-align: left;
    font-weight: 700;
}

/* CSS  за about.html */
.main {
    margin-top: 90px;
   
}
.art2 {
    background-color: #fff;
    padding-top: 15px;
    margin-bottom: 15px;
}
.about-pic {
    width: 100%;
    float: right;
}
.art2 {
    display: flex;
    justify-content:center;
 gap: 0 10px;
    align-content: flex-start; /* подравнява вертикално */
}
.art2 section {
    display:inline-block;
    width: 50%;
    padding: 5px 13px 5px 13px;
     
    margin-bottom: 10px;
}
.art2 section h2{
color: rgb(18, 103, 194);
text-align: center;
padding: 20px 0 10px 0;
font-weight: 800;
}
.art2 section p {
    text-align: justify;
    line-height: 25px;
    padding: 30px 30px;
    font-weight: 600;
    font-size: 18px;
}
.art2 section ul {
    list-style-type: square;
    padding: 30px 30px;
    line-height: 25px;
text-align: justify;
font-size: 18px;
}
/* CSS  за футъра */
.footer {
    background-color: rgb(74, 70, 70);
}
.footer ul {
    list-style-type: none;
}
.foot {
    display: flex;
    justify-content: center;
    align-items:flex-start;
    gap: 10px 20px;
    padding: 20px 50px;
   
    margin-top: 20px;
    
}
.foot div {
    width: 30%;
   
    
    color: #fff; 
}
.foot h2 {
    padding-bottom: 10px;
    font-size: 20px;
    
}
.foot a {
    font-size: 12px;
    padding-left: 10px;
    line-height: 24px;
}

.foot p {
    font-size: 12px;
    padding-left: 10px;
    line-height: 24px;
    font-weight: 700;
}
.foot h3 {
    font-size: 14px;
    padding-left: 10px;
    line-height: 24px;
    font-weight: 700;
}
.social ul li{
    display: inline-block;

}
.social img{
    height: 40px;
}
.copyright {
    color: #fff;
    text-align: center;
    padding: 20px 0;
    background-color: black;
font-size: 12px;
}
.fa-icon{
    font-size:20px !important; 
    color:rgb(194, 18, 18);
    text-align:center !important; 
    margin:auto !important; 
    display: inline-block;
}

.test-btn-container {
    display: flex;
    justify-content: center;
}

.test-button {
    padding: 10px;
    border: 2px solid rgb(166, 4, 4);
    width:120px;
    background-color: rgb(194, 18, 18);
    border-radius: 15px;
   margin-bottom: 20px;
   text-align: center;
}
.test-button a{
    color: #ffffff;
}
.test-button:hover{
    background-color: rgb(251, 115, 115);
}

iframe {

    width: 100%;
}

.sp-scroll-up
{
display:block;
position:fixed;
bottom:30px;
right:30px;
width:50px;
height:50px;
line-height:36px;
text-align:center;
font-size:16px;
color:#fff;
opacity: 0;
background:#333;
border-radius:50%;z-index:1000;
transition: all .4s;
line-height: 85px;
}
.fa-arrow {
font-size: 45px !important;

}
.sp-scroll-up.act {
    bottom: 30px;
    pointer-events: auto;
    opacity: 1;
}
.bike-img img{
    width: 80%;
    display: block;
    margin: 0 auto;
}

.video-trot {
    margin: 0 auto;
    display: block;
   padding-top: 10px;
   width:90%;
}

.driver-pic {
   height:500px;
   margin:0 auto;
   display: block;
}
.poligon-img2 {
    clear: both;
    float: left;
    width: 500px;
    padding: 0 10px 10px 0;
} 
.poligon-img {
    clear: both;
    float: left;
    height: 300px;
    padding: 0 10px 10px 0;
} 
.poligon-img-par {
    text-align: justify;
    font-size: 22px;
    text-indent: 40px;
    font-family:'Times New Roman', Times, serif
}


.test-container {
    background-color: #fff;
    border-radius: 10px;
    margin:100px 20px 0 20px;
    padding-top: 10px;
}
.test-row2, .test-row1 {
    display: flex;
    justify-content: space-around;
    margin: 10px 50px;
    gap:10px;
    
}
.center {
   display: flex;
   justify-content: center;
}
.test-row2-content img, .test-row1-content img {
    height: 17vw;
}
.test-row1-content, .test-row2-content {
    margin-bottom: 35px;
}
.test-btn {
    border: 2px solid rgb(166, 4, 4);
    padding: 10px;
    width:130px;
    text-align: center;
    background-color: rgb(194, 18, 18);
    border-radius: 10px;
    margin-top: 10px;
   
}
.test-btn:hover{
    background-color: rgb(251, 115, 115);
}
.test-row1 h1, .test-row2 h1 {
    text-align: center;
    color: red;
    padding-bottom: 10px;
}
.ciklons-img {
    display: flex;
    flex-direction: column;
    margin:10px;

}
.ciklons-img img{
width: 100%;
}

@media(max-width:700px){

.ciklons-img {
    margin:10px;
}
    .ciklons-img img{
   
        width:100%;
        
        }
     
    .test-row1, .test-row2 {
        flex-direction: column;
        justify-content: center;
        
    }
    .test-row1 {
        margin:10px 10px 10px 10px;
    }
    .test-row2 {
        margin:0 10px;
    }
    .test-row1-content, .test-row2-content {
        margin-bottom: 20px;
    }

    .test-row1-content img, .test-row2-content img {
        width: 100%;
        height: 100%;
        margin:0px 0px;
    }
    .text-info li {
        margin-left: 15px;
    }
    .sign {
        width: 100%;
    }
    .art1 section 
    {
      width: 100%;
    }

    .poligon-img {
        width: 100%;
        height: 100%;
        padding: 0;
    } 

    .driver-pic {
        width:100%;
        height: 100%;
    }
    
    .video-trot {
        width: 100%;
    }
    .hamburger {
        display: block;

    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);

    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        
    }
/* Превръщане на знаците в 1 ред */
.sign-container {
    flex-direction: column;
    
}



.video-pedestrian {
    width: 100%;
}
    .art11 {
        padding: 10px 10px;
        margin-left: 15px;
    }
.art11 img {
    width: 100%;
display: block;
}


    .btn-container {
        flex-wrap: wrap;
    }
    .btn {
        font-size: 12px;
    }
    .nav-menu {
       
        position: fixed;
        left:-100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: #777171;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        z-index: 100;
    }
    .nav-item {
        margin: 16px 0;
    }
    .nav-menu.active {
       
        left: 0;
    }
}
    /*съдържанието */
    @media only screen and (max-width:700px)
    {
        .col-2 div img{
            width: 100%;
           
         }
         
        .bike-img img{
            width: 100%;
        }
    .row1, .row2 {
        flex-wrap: wrap;
   
    margin:90px 0 0 0;
    }
    .col-1 {
        width: 100%;
        flex-basis: 100%;
        margin: -30px 10px 10px 10px;
    }
    .col-2 {
        width: 100%;
        flex-basis: 100%;
        
    }
    .row1 {
        display: none;
    }
    .art1 {
        flex-direction: column;
        
    }
    .art1 section {
        width: 100%;
    }
    .foot {
        flex-direction: column;
    }
    #contact-btn {
        display: block;
        margin: 90px auto -120px auto;
    }
    .sect {
        display: none;
    }

    /* about.html */
    .art2 {
        flex-direction: column;
    }
    .art2 section {
        
        width: 100%;
      
    }
    .art2 section p {
        padding: 0;
    }
    .art2 section ul {
        padding: 15px 0 0 10px;
    }
    .art2 section h2 {
        padding: 0 0 10px 0;
        margin-top: -15px;
    }
    .art2 {
        
         margin-top: -16px;
    }
    
    .art1 .art1-sec1 
    {
        margin-top: 15px;
    }
    .main-btn2 {
        display: none;
    }
    .foot div {
        width: 100%;
       
        
        color: #fff; 
    }
    .video-trot {
        width: 100%;
    }
    .sign {
        width:100%
    }
}
@media only screen and (max-width:1024px)
   
{
    
.ciklons-img {
    margin:10px;
    text-align: center;
}
    .ciklons-img img{
        width: 100%;
    }
    .hamburger {
        display: block;

    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);

    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        
    }

.btn-container {
        flex-wrap: wrap;
    }
    .btn {
        font-size: 12px;
    }
    .nav-menu {
       
        position: fixed;
        left:-100%;
        top: 75px;
        gap: 0;
        flex-direction: column;
        background-color: #777171;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        z-index: 100;
    }
    .nav-item {
        margin: 16px 0;
    }
    .nav-menu.active {
       
        left: 0;
    }






    .test-row1, .test-row2 {
        flex-direction: column;
        justify-content: center;
        
    }
    .test-row1 {
        margin:10px 10px 10px 10px;
    }
    .test-row2 {
        margin:0 10px;
    }
    .test-row1-content, .test-row2-content {
        margin-bottom: 20px;
    }

    .test-row1-content img, .test-row2-content img {
        width: 100%;
        height: 100%;
        margin:0px 0px;
    }





    .col-2 div img{
        width: 100%;
       
     }
    .row2
    {    
        flex-wrap: wrap; 
        margin-right: 5px;
        margin-left: 5px;
       
        
    }
    .col-2 {
        flex-basis: 100%;
        justify-content:space-between;
       
    }
    .col-1 {
        flex-basis: 100%;
        justify-content:space-between;
    }
    .main-btn2 {
        display: none;
    }
   
    .nav-left {
        display: none;
    }
    
    .dv-sect2 {
        position:absolute;
        top: 1100px;
        right:160px;
    }
    .art1 section 
    {
      width: 100%;
        padding: 15px 13px 5px 13px;
        
        border-radius: 10px 0;
        background-color: #ffffff;
        margin-bottom: 10px;
    }
    .art1 {
        flex-wrap: wrap;
    }
    .text-img 
{
    position: absolute;
    top: 28vw;
    right: 11vw;
}
}
.test {
    margin:10px;
}
.zaglavie{
    text-align: center;
}