:root {
    --dark-blue: #01244A;
    --medium-blue: #006fad;
    --light-blue: #1492f8;
    --grey-blue: #609dc0;
    --navbar-text: "Łączymy przyszłość";
    --navbar-text-2:"Łączymy\Aprzyszłość";
}



* { 
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
}

/* icons */
.bi{
    font-size: 1.4em;

}

/* line */
.line-1{
    width: 15px;
    height: 15px;
    background: #484646;
    background-color: var(--medium-blue);
    display: inline-block;

}

.line-2{
    width: 80px;
    height: 1px;
    background: #484646;
    background-color: var(--medium-blue);

    display: inline-block;

}

.line-3{
    width: 60px;
    height: 1px;
    background: #484646;
    background-color: var(--medium-blue);
    display: inline-block;

}
.line{
    line-height: 8px;
}



/* NavBar */
#nav-bar
{   
    z-index: 1; 
    background-color: white;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: 100%;
    position: fixed;
    /* top:2em; */
    background-color: rgb(251, 249, 249);
    box-sizing: border-box;
    /* margin-bottom: 5em; */
}
.navbar{
    padding: 100em;

}

.navbar-brand img{
    display: flex;
    align-items: center;
    height: 70px;
    width: auto;
    padding-left: 30px;
}
.navbar-brand::after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0.05em; 
    height: 3em; 
    background-color: black; 
    
    margin-left: 10px; 
    top:0.9em;
    left:5.5em;
}
.navbar-brand::before {
    position: absolute;

    /* content: "Łączymy przyszłość" */
    content: var(--navbar-text);

    max-width: 3px;
    width: 0.05em; 
    margin-left: 10px; 
    top:1.8em;
    left: 7em;
    font-size: 0.9em;
}

.navbar-nav li{
    padding: 0 10px;
    box-sizing: border-box;
}
.navbar nav li a{
    float: right;
    text-align: left;
}
#nav-bar ul li:hover{
    background: #007bff!important;
    background: rgb(1, 36, 75)!important;
    a{
        color: white!important;
    } 
}
#nav-bar ul li a{
    color: rgb(45, 42, 42)!important;
}

/* header */

header{
    background-color: var(--dark-blue);
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center; 
    margin-bottom: 5vh;
    padding-bottom: 2vh;
    box-shadow: 0px 0.55em 9px 0px rgba(0, 0, 0, 0.3);
  
}

.header-content{

    padding-top: 5em;
    display: flex;
    flex-direction: column;
    align-items: center

}


.video-container video{
    max-width: 100%;
    padding: 0% 10%;
    margin-bottom: 1em;
    width: 100%;
}
.header-text{
    max-width: 75%;
    padding-left: 3em;

}

.header-text h1{
    font-size: 3em;
    margin-bottom: 0.2em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
    max-width: 80%;
}

.header-text h2{
    margin-bottom: 0.6em;
    max-width: 65%;
}
.header-text h3{
    margin-bottom: 2em;
    max-width: 60%;
   
}
/* About */

#about{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.about-left-col{
    flex-basis: 50%;
    padding-bottom: 10em;
}

.about-left-col img{
    width: 100%;
}

.about-right-col{
    /* flex-basis: 50%; */
    text-align: left;
}

.about-text{
    max-width: 500px;
    margin-right: 100px; 
    display: inline-block;
} 

/* services */

#services{
    padding-top: 5em;
    padding-bottom: 5em;
}

.container .row{
    padding-top: 2em;

}
.container .message{
    font-size: 1.15em;
}

#decorative::before
{
    content: '';
    background: #484646;
    background-color: var(--medium-blue);

    height: 5px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transform: translateY(-3px);    
}
#decorative::after
{
    content: '';
    background:#484646;
    background-color: var(--medium-blue);

    height: 10px;
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transform: translateY(-10px);    
}
#decorative {
    background-color: var(--medium-blue);


}



.service-content{
    background-color: rgb(248, 245, 245);
    
    padding: 1em;
    margin-bottom: 1em;
    border-top-left-radius: 3em;
    border-bottom-right-radius: 3em;
    transition: 1s;

}

.service-content span{
    font-weight: bold;
    font-size: 1.3em;
}

.service-content:hover {
    background-color: var(--medium-blue);
    color: rgb(255, 255, 255);
    border-top-left-radius: 0em;
    border-bottom-right-radius: 0em;
    border-top-right-radius: 3em;
    border-bottom-left-radius: 3em;
}

.service-image{

    display: flex;
    justify-content: center;
}



.service-image img{
    height: 25em;
    max-width: 100%;
}

.message p{
    font-style: italic;


}

/* scenarios */


.scenario {
    display: flex;
    align-items: center;
    justify-content: center;
    /* flex-wrap: wrap; */
    margin: 5em 0;
}
.scenario:nth-child(2n + 1){
    flex-direction: row-reverse;
}

.scenario-left-col{
    /* flex-basis: 50%; */
    padding-left: 1em;
    max-width: 50%;

}
.scenario ul h4{
    color:#006fad;
    font-weight: bold;

}

.scenario-title{
    margin-bottom: 2em;
    font-size: 1.7em;
    font-weight: bold;
    color: #006fad;

}

.scenario-right-col{
    flex-basis: 50%;

}

.scenario-right-col img{
    width: 100%; 
}

.scenario .container{
    display: inline-block;
} 


.scenario li{
    list-style: none;
    margin: 0;
    padding: 0;
}

.scenario-left-col ul {

    position: relative;
}


.scenario-left-col ul::before{
    content: "";
    position: absolute;
    display: inline-block;
    height: 100%;
    width:0.15em; 
    background-color:var(--medium-blue);
    left: -1em;
}

.scenario-left-col li::before{
    position: absolute;
    content: ''; 
    display: inline-block;
    background: white;
    border-radius: 50%;
    border: 0.2em solid var(--medium-blue);
    /* border: 0.2em solid green; */
    width:  1em;
    height: 1em;
    left: -1.4em;
}

/* contact */


#contact {
    padding: 10em 0;
    background-color: var(--dark-blue);
    color: white;
    clip-path: ellipse(100% 90% at 50% 100%);

}



.contact-item-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:1em;
    font-size: 1.3em;
    
}

.contact-item-content i{
    font-size: 2em; 
    color: rgb(96, 157, 192);
    
}

.contact-name, .contact-mail, .email-name{
    text-align: center;
}

.contact-name{
    font-size: 1.1em;
    font-weight:  bold;
    color: var(--grey-blue);
}

.email-name{
    font-size: 1em;
    font-weight:  bold;
}


@media (max-width: 1200px) {
    .custom-col {
      flex: 0 0 100%;
      min-width: 100%;
    }
  }
@media (max-width: 1168px) {
    .navbar-brand::before{
        font-size: 0.9em;
        top: 2em;
    }

    #nav-bar {
        width: 100%;  
        left: 0;
        top:0;
        transform: none;
        position: sticky;
    }
    header{
        margin-bottom: 2em;
    }


    .video-container{

        width: 100%;

    }

    .video-container video{
        padding: 0;
        width: 100%;
        height: 55vh;
        object-fit: cover; 
    }
    .header-content{
        padding-top: 0;
        /* width: 100%; */
    }
    .header-text {
        display: flex;
        flex-direction: column;
        align-items: start;
        padding-left: 1em;
        max-width: 100%;
        
    }
    .header-text h1 {
        max-width: 100%;
    }

    .header-text h2 {
        max-width: 100%;
    }


    .header-text h3 {
        max-width: 100%;
    }
    
    #about{
        flex-direction: column;
    }


    .about-text{
        margin-right: 0;
    }
    .about-right-col{
        padding-left:0;
    }
    
    .about-left-col, .about-right-col{
        flex-basis: 100%;
    }
    .about-right-col{
        
        text-align: center;
        margin: 0 1em;

    }
    .about-left-col{
        padding-bottom:3em;
    }

    .scenario{
        flex-direction: column;
    }

    .scenario-left-col, .scenario-right-col{
        flex-basis: 100%;
        max-width: 100%;
    }
    .scenario-left-col{
        text-align: left;
        margin: 0 1em;
    }

    .scenario-text{
        margin-left: 0;
    }
    .scenario .container{
        max-width: 100%;

    }

    /* contact */
    #contact{
            clip-path: none;
    }
    #contact .container .row{

        flex-direction: column;
        align-items: center;
    } 

    .contact-item-content{
       margin-bottom: 2em;
       gap:1em;
        
    }

    .service-image img{
        height: 20em;
        max-width: 100%;
    }


 
}

@media (max-width: 500px) {
    .service-image img{
        height: 15em;
        max-width: 100%;
    }
    .navbar-brand img{

        padding-left: 2px;
    }

}


@media (max-width: 991px) {


    .navbar-brand::before, .navbar-brand::before {
        position: absolute;

        /* content: "Łączymy\Aprzyszłość"; */
        content: var(--navbar-text-2);

        white-space: pre;
    } 

    .navbar-brand::before{

        top:2.5em;
        left: 7em;
        font-size: 0.6em;

    }

    .navbar-brand::after{

        left: 75px;

    }

    .navbar-brand img{

        padding-left: 0;

    }

}
@media (max-width: 400px) {

    

    .header-text h1 {
        font-size: 1.4em;
    }

    .header-text h2 {
        font-size: 1.2em;
    }  

    .header-text h3{
        font-size: 1em;

    }

    .about-right-col{
        display: flex;
        justify-content: center;
    }
    .scenario-right-col{
        display: flex;
        justify-content: flex-start

    }

    .scenario h4{
        font-size: 1.2em;
    }

}





