/* Wstępna konfiguracja */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 18px;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Common */

h2 {
    font-size: 180%;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2::after {
    display: block;
    height: 2px;
    background-color: #3949ab;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 25px;
}

.section__title {
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-flex: 0;
            flex: 0 0 15%;
}

/* Kontenery */

.row {
    max-width: 1140px;
    margin: 0 auto;
}

/*-----------------------------------------
 Nagłówki w zależności od sekcji
 ------------------------------------------*/

.index-header{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../resources/images/FB_IMG_1436903671060.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    padding-top: 30px;
    overflow: auto;
    height: auto;
    min-height: 100vh;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
}

@supports (-webkit-overflow-scrolling: touch) { .index-header { background-attachment: scroll; } }

.navigation-container {
    display: -webkit-box;
    display: flex;
}

.index-header img {
    margin-top: -16px;
    margin-left: -20px;
    filter: brightness(0) invert(1);
    width: 170.39px;
    height: 91.25px;
    cursor: pointer;
}

.navigation {
    display: -webkit-box;
    display: flex;
    -webkit-box-flex: 1;
    flex: 1;
    -webkit-box-pack: end;
    justify-content: center;
    list-style: none;
    padding: 20px 20px 20px 0px;
    padding-right: 0px;
}

.navigation li {
    margin-left: 22px;
}

.navigation li a:link,
.navigation li a:visited {
    padding: 8px 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
}

.navigation li a:hover,
.navigation li a:active {
    border-bottom: 2px solid #3949ab;
}

.title {
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-align: center;
            align-items: center;
    color: #fff;
    -webkit-box-flex: 1;
            flex: 1;
    -webkit-box-pack: center;
            justify-content: center;
}

.title h1 {
    -webkit-box-flex: 0;
    flex: 0 0 40%;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: end;
    align-items: flex-end;
    font-size: 55px;
    font-weight: 300;
    letter-spacing: 2px;
}

.btn:link,
.btn:visited,
input[type=submit] {
    padding: 18px 54px;
    font-weight: 400;
    text-decoration: none;
    -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
    transition: background-color 0.2s, border 0.2s, color 0.2s;
    font-size: 120%;
}

.button-start {
    margin-top: 70px;
    background-color: #3949ab;
    border-radius: 30px;
}

.button-next {
    border-radius: 30px;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    width: 14em;
}

.button-start:link,
.button-start:visited,
input[type=submit] {
    background-color: #3949ab;
    border: 1px solid #3949ab;
    color: #fff;
}

.button-next:link,
.button-next:visited {
    border: 1px solid #3949ab;
    color: #3949ab;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #273381;
}

.button-start:hover,
.button-start:active {
    border: 1px solid #273381;
}

.button-next:hover,
.button-next:active {
    border: 1px solid #273381;
    color: #fff;
}

/* white-header */

.white-header {
    background: rgb(250, 250, 250);
    position: fixed;
    top: 0px;
    width: 100%;
    -webkit-transition: top 0.3s;
    transition: top 0.3s;
    min-height: 0;
    visibility: hidden;
    z-index: 9999;
}

.white-navigation{
    display: -webkit-box;
    display: flex;
    -webkit-box-flex: 1;
    flex: 1;
    -webkit-box-pack: end;
    justify-content: center;
    list-style: none;
    padding: 20px 20px 20px 0;
    padding-right: 0px;
}

.white-navigation li{
    margin-left: 22px;
}

.white-navigation li a:link,
.white-navigation li a:visited {
    padding: 8px 0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    -webkit-transition: border-bottom 0.2s;
    transition: border-bottom 0.2s;
    color: #555;
}

.white-navigation li a:hover,
.white-navigation li a:active {
    border-bottom: 2px solid #3949ab;
}

.white-header nav{
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #efefef;
}

.white-header img {
    margin-top: -16px;
    margin-left: -20px;
    width: 170.39px;
    height: 91.25px;
    -webkit-filter: brightness(1);
    filter: brightness(1);
    cursor: pointer;
}

/*-------------------------------------------------------- 
sekcja - smart taryfa BKM
----------------------------------------------------------*/

#section-mtt {
    overflow: auto;
}

#mtt {
    height: auto;
    min-height: 100vh;    
    padding-top: 85px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
}

#mtt__content {
    display: -webkit-box;
    display: flex;
    padding-top: 5em;
    -webkit-box-flex: 1;
            flex: 1;
}

#mtt__video {
    -webkit-box-flex: 0;
            flex: 0 0 44%;
    padding-top: 1em;
}

#mtt__description {
    -webkit-box-flex: 1;
            flex: 1;
    padding-left: 4em;
}

#mtt__description p {
    font-weight: 300;
    line-height: 1.45em;
}

#mtt__description h3 {
    font-size: 120%;
    font-weight: 400;
    color: #3949ab;
    margin-bottom: 10px;
}

#mtt__description a {
    color: #3949ab;
    text-decoration: none;
    font-weight: 400;
}

/*-------------------------------------------------------- 
sekcja - funkcje systemu 
----------------------------------------------------------*/

#section-options {
    overflow: auto;
}

#options {
    height: auto;
    min-height: 100vh;    
    padding-top: 85px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
}

#options__content {
    display: -webkit-box;
    display: flex;
    padding-top: 5em;
    -webkit-box-flex: 1;
    flex: 1;
}

#options__video {
    -webkit-box-flex: 0;
    flex: 0 0 44%;
    padding-top: 1em;
}

#button-next-div {
    padding-top: 1em;
    -webkit-box-flex: 1;
            flex: 1;
}

#options__list {
    -webkit-box-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-pack: start;
            justify-content: flex-start;
    padding-left: 4em;
}

.options__point {
    -webkit-box-flex: 0;
    flex: 0 0 27%;
    display: -webkit-box;
    display: flex;
    font-weight: 300;
    font-size: 120%;
    padding: 10px 0 10px 0;
    min-height: 115px;
}

.options__number {
    border-radius: 50%;
    border: 2px solid #3949ab;
    height: 50px;
    -webkit-box-flex: 0;
            flex: 0 0 50px;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
    margin-right: 25px;
    color: white;
    background: #3949ab;
}

 /* arrow button */
 .round {
    position: relative;
    border: 3px solid #3949ab;
    width: 100px;
    height: 100px;
    border-radius: 100%;
}

span {
    z-index: 999;
    height: 3px;
    margin:1px;
    width: 30px;
    background: #3949ab;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease;
}

span:first-child {
    display: block;
    position: absolute;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    left: 25%;
    bottom: 35%;
}

span:nth-child(2) {
    display: block;
    position: absolute;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    left: 45%;
    bottom: 35%;
}

span:nth-child(3) {
    display: block;
    position: absolute;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    left: 25%;
    bottom: 54%;
}

span:nth-child(4) {
    display: block;
    position: absolute;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    left: 45%;
    bottom: 54%;
}

.round:hover span:nth-child(1) {
    -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
    background-color: #fff;
}

.round:hover span:nth-child(2) {
    -webkit-transform: rotate(135deg);
            transform: rotate(135deg);
    background-color: #fff;
}

.round:hover span:nth-child(3) {
    -webkit-transform: rotate(225deg);
            transform: rotate(225deg);
    background-color: #fff;
}

.round:hover span:nth-child(4) {
    -webkit-transform: rotate(-225deg);
            transform: rotate(-225deg);
    background-color: #fff;
}

.round:hover {
    cursor: pointer;
    border-color: #273381;
    background-color: #273381;
}

/*----------------------------------------------
sekcja - kontrola 
------------------------------------------------*/

#control {
    height: auto;
    min-height: 100vh;   
    padding-top: 85px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
}

#control__content {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    padding-top: 3em;
    -webkit-box-flex: 1;
            flex: 1;
}

#control__first-row{
    -webkit-box-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: flex;
}

#control__second-row{
    -webkit-box-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: flex;
}

.control__first-col{
    -webkit-box-flex: 0;
            flex: 0 0 45%;
}

.control__second-col {
    -webkit-box-flex: 1;
            flex: 1;
}

.control__second-col h3 {
    font-size: 120%;
    font-weight: 400;
    color: #3949ab;
    margin-bottom: 10px;
}

.control__second-col p {
    font-weight: 300;
    line-height: 1.45em;
}

#button-to-videos{
    -webkit-box-flex: 1;
            flex: 1;
}

/*----------------------------------------------
 sekcja - videos 
 -----------------------------------------------*/

#videos {
    padding-top: 85px;
}

#section-videos {
    background: rgb(250, 250, 250);
    background-size: cover;
    overflow: auto;
}

#videos__flexbox {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
}

#videos__content{
    margin-top: 50px;
}

.videos__segment-title{
    padding-bottom: 35px;
    letter-spacing: 0.5px;
}

.videos__row {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    /* padding-left: 40px; */
  }
  
  .videos__column {
    -webkit-box-flex: 25%;
            flex: 25%;
    max-width: 25%;
    padding: 0 10px;
  }
  
  .videos__column-element {
    margin-bottom: 80px;
  }

  .videos__column-element-title {
    margin-top: 20px;
    width: 80%;
    font-weight: 400;
  }
  
  @media screen and (max-width: 1023px) {
    .videos__column {
      -webkit-box-flex: 50%;
              flex: 50%;
      max-width: 50%;
    }
  }
  
  @media screen and (max-width: 600px) {
    .videos__column {
      -webkit-box-flex: 100%;
              flex: 100%;
      max-width: 100%;
    }
  }


/*----------------------------------------------
 sekcja - contact 
 -----------------------------------------------*/

#contact {
    padding-top: 2em;
}

#contact__content {
    padding-top: 3em;
    padding-bottom: 3em;
    text-align: center;
    line-height: 27px;
}

#contact__content a {
    color: #3949ab;
    text-decoration: none;
}

/*----------------------------
Mobilne menu
------------------------------*/

/* hamburger header menu */
.burger-menu-header-container {
    -webkit-box-flex: 1;
            flex: 1;
    -webkit-box-pack: end;
            justify-content: flex-end;
    display: none;
}

.burger-menu-header {
    width: 40px;
    height: 25px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-pack: justify;
            justify-content: space-between;
    margin-top: 15px;
    margin-right: 20px;
}

.burger-menu-header div {
    width: 100%;
    height: 3px;
    background-color: white;
}

.mobile-navigation {
    list-style: none;
    line-height: 35px;
}

.mobile-navigation-white {
    list-style: none;
    line-height: 35px;
}

.mobile-navigation li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 83%;
}

.mobile-navi {
    height: 85vh;
    position: fixed;
    right: -300px;
    background-color: #111211;
    overflow: auto;
    -webkit-transition: right 0.5s;
    transition: right 0.5s;
    padding: 100px 50px;
    border-radius: 10px 0 0 10px;
}

.closebtn {
    position: absolute;
    top: 20px;
    left: 27px;
    font-size: 30px !important;
}


/* hamburger white menu */
.burger-menu-white-container {
    -webkit-box-flex: 1;
            flex: 1;
    -webkit-box-pack: end;
            justify-content: flex-end;
    display: none;
}

.burger-menu-white {
    width: 40px;
    height: 25px;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
    -webkit-box-pack: justify;
            justify-content: space-between;
    margin-top: 20px;
    margin-right: 20px;
}

.burger-menu-white div {
    width: 100%;
    height: 3px;
    background-color: #555;
}

.mobile-navigation-white {
    list-style: none;
    line-height: 35px;
}

.mobile-navigation-white li a {
    color: #555;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 83%;
}

.mobile-navi-white {
    height: 85vh;
    position: fixed;
    right: -300px;
    background-color: rgb(250, 250, 250);
    overflow: auto;
    -webkit-transition: right 0.5s;
    transition: right 0.5s;
    padding: 100px 50px;
    border-radius: 10px 0 0 10px;
}

.closebtn-white {
    position: absolute;
    top: 20px;
    left: 27px;
    font-size: 30px !important;
}


/* embeded videos */

.youtube {
    background-color: #000;
    margin-bottom: 30px;
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    height: auto;
    box-shadow: 1px 1px 7px 0px #9c9c9c
}
.youtube img {
    width: 100%;
    height: 135%;
    top: -17.5%;
    left: 0;
}
.youtube .play-button {
    width: 90px;
    height: 60px;
    background-color: #333;
    z-index: 1;
    opacity: 0.8;
    border-radius: 6px;
}
.youtube .play-button:before {
    content: "";
    border-style: solid;
    border-width: 15px 0 15px 26.0px;
    border-color: transparent transparent transparent #fff;
}
.youtube img,
.youtube .play-button {
    cursor: pointer;
}
.youtube img,
.youtube iframe,
.youtube .play-button,
.youtube .play-button:before {
    position: absolute;
}
.youtube .play-button,
.youtube .play-button:before {
    top: 50%;
    left: 50%;
    -webkit-transform: translate3d( -50%, -50%, 0 );
            transform: translate3d( -50%, -50%, 0 );
}
.youtube iframe {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.youtube-control {
    width: 90%;
    padding-top: 51.25%;
}

.youtube-options {
    padding-top: 60.25%;
}

/* footer */
footer #separate_div{
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}

footer #separate_div a{
    color: #3949ab;
    text-decoration: none;
    font-weight: 400;
}