:root {
    --bs-body-font-weight: 300;
}

.container {
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
}

.hero-wrapper, .splide, #customize-section{
    color: white;
}
span{
    color: #C71121
}

section div{
    margin-bottom: 2rem;
    margin-top: 2rem;
}

#ToTop div{
    margin-bottom: 0;
}
.splide div{
    margin-top: 0;
    margin-bottom: 0;
}


.main{
    padding: 3rem 2rem 0 2rem;
}

.main .row {
    margin-bottom: 0;
}

.main .row .col-lg-4 {
    margin-bottom: 0;
}

#dynaEPOWER .main h1, #dynaEPOWER .main h3, #dynaEPOWER .main p, #dynaEPOWER .main ul {text-shadow: 1px 1px 3px rgba(0,0,0,0.5)}
#dyna7 .main h1, #dyna7 .main h3, #dyna7 .main p, #dyna7 .main ul {text-shadow: 1px 1px 3px rgba(0,0,0,0.5)}
#dynaVT .main h1, #dynaVT .main h3, #dynaVT .main p, #dynaVT .main ul {text-shadow: 1px 1px 3px rgba(0,0,0,0.5)}

.row{
    padding: 0 4rem;
}
.hero-wrapper{
    background-image: linear-gradient(rgba(0,0,0,1), rgba(255,255,255,0) 25% ), url("/assets/img/HEADER.png");
    background-position: top;
    background-size: cover;

    padding-bottom: 0;
}

.header-logo img{
    max-width: 180px;
}

.header-bottom{
    margin-top: 4rem;
    margin-bottom: 0;
    background: rgba( 255, 255, 255, .9);
    color: black;
    border-radius: 5px 5px 0 0;
    padding: 32px;
    text-align: center;
}
.header-bottom h2{
    font-weight: 700;
}
.header-bottom p{
    font-size: 1.5rem;
    line-height: 1.2;
}
.form-wraper{
    display: flex;
    align-items: flex-end;
}

#headerTitle{
    position: relative;
    padding-left: 4rem;
    text-shadow: 0 0 20px rgba( 0, 0, 0, 0.8);
}
#headerTitle div{
    position: absolute;
    bottom: 0;
}
#headerTitle h1{
    font-size: 6rem;
    font-weight: 800;
    line-height: 116.18px;
}
#headerTitle p{
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.form{
    position: relative;
    background: rgba(95, 96, 98, .8);
    border-radius: 10px;
    color: white;
    font-size: 0.75rem;
    padding: 2rem !important;
}

.form a{
    color: white;
}
.form a:hover{
    text-decoration: none;
}

a {
    color: white;
    text-decoration: underline;
}

a:hover{
    text-decoration: none;
}

.form-group{
    margin: 1rem auto 1rem auto;
}
.form-group input,
.form-check input {
    border-radius: 0 !important;   
}

.form-check {
    margin-top: 1rem;
    font-size: 0.7rem;
    line-height: 1.2;
}

.form-control {
    font-size: inherit;
}

.form-button{
    color: white;
    background: #C71121;
    border: 0;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding: 16px;
    width: calc(100% - 64px);
    position: absolute;
    bottom: -1.5em;
    left: 32px;
}

.form-button .arrow-right {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid white;
}

.form .data-admin {
    margin-top: 1em;
    font-size: 0.7rem;
    line-height: 1.2;
}

.splide__slide .slider-button {
    height: 60px !important;
    color: white;
    background: #C71121;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-top: 3rem;
    padding: 10px;
}

.splide__slide .slider-button:hover {
    background: #000;
}

.button {
    background: #C71121;
    color: white;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 1rem;
    padding: 16px 24px;
    text-decoration: none !important;
}

.button:hover {
    background: #000;
}

.arrow-right {
    height: auto !important;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid white;
    margin-left: 8px;
    margin-top: 0;
    margin-bottom: 0;
}

.slide{
    padding: 6rem 0;
    height: auto;
    background-size: cover !important;
    background-position: center center;
}

.splide{
    padding: 0!important;
    max-height: 490px;
}

.splide__slide div {height: 100%;}
.splide__slide .row {height: auto;}
.splide__slide h3 {font-size: 22px; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);}
.splide__slide p {font-size: 13px; margin-top: 1.5em; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);}

.section-separator{
    margin: 3rem;
    text-align: center;
    color:black
}

.section-separator p{
    font-size: 1.75rem;
}

.main img {max-width: 70%; object-fit: contain;}

#customize-section {
    background-image: url('/assets/img/customize.png');
    background-size: cover;
    background-position: top;
    background-clip: content-box;
    position: relative;
}

#customize-section:before {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;

}

#customize {
    position: relative;
    z-index: 1;
}

#customize table {
    margin: auto auto 2em auto;
    border-collapse: collapse;
    border: 1px solid #fff;
    font-size: 22px;
    color: #A3A3A3;
    background: rgba( 0,0,0, 0.5 );
}

#customize table thead tr {
    background-color: #C71121;
    font-weight: 650;
    padding: 8px;
    color: #fff;
}

#customize table tr td:first-child {
    width: 35%;
}

#customize table thead tr td {
    border-color: #C71121;
}

#customize table td:first-child, #customize table td:last-child{
    width: 4rem;
}

#customize table td{
    text-align: center;
    border: 1px solid #515151;
    padding: 8px;
}

#customize table td{
    padding: .3rem 1.5rem;
}

#customize table td:nth-child(2){
    text-align: left;

}

#customize .cons p, #customize .cons h2 {
    text-align: center;
    justify-content: normal;
}

#customize .cons p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.3;
}

#customize .cons p:first-of-type {
    margin-bottom: 0;
}

#customize .cons img {
    width: auto;
    max-width: 100%;
}

#customize .cons div {
    justify-content: normal;
}

#customize-section .section-separator {
    margin: 0 0 1em 0;
    color: #fff;
}

#dyna{
    background-image: url('/assets/img/bg1.png');
    background-size: cover;
    background-position: top;
    background-clip: content-box;
    margin-top: 2rem;
}
#dyna .row{
    padding: 0;
}

.text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: black;
}

.text p{
    text-align: justify;
}

.text-large{
    font-size: 1.25rem;
}

#dyna2{
    background-image: url('/assets/img/Group\ 30.png');
    background-size: cover;
    background-position: top;
    background-clip: content-box;
}
#dyna2 h1{
    font-size: 8rem;
    font-weight: 700;
}

#dyna2 p{
    color: black;
}

#dyna2 .button {
    font-size: 1rem;
}

#dyna2 .margin{
    padding: 0 8rem;
}

#dyna2 .paragraf{
    margin-top: 8rem;
}

#dyna2 .button {margin-left: 0;}
#dyna2 .text p {text-align: left;}

div img{
    width: 100%;
}

#przekladnie {
    text-align: center;
}

#przekladnie .row {
    margin-bottom: 0;
}

#przekladnie h1{
    font-weight: 700;
    text-align: center;
}
#przekladnie p{
    font-size: 1.25rem;
    line-height: 1.3;
}

#przekladnie .row{
    justify-content: center;
}

#przekladnie img {
    max-width: 100%;
    width: auto;
    height: 150px;
    display: block;
    margin: 0 auto;
}

#dyna7{
    background-image: url("/assets/img/DYNA\ 7\ BG\ 1.png");
    background-size: cover;
    background-position: top;
    background-clip: content-box;
}

#dynaEPOWER{
    background-image: url("/assets/img/Dyna-EPOWER.png");
    background-size: cover;
    background-position: top;
    background-clip: content-box;
}

#dynaVT{
    background-image: url("/assets/img/DynaVT.png");
    background-size: cover;
    background-position: top;
    background-clip: content-box;
}
#footer{
    background-image: url("/assets/img/FOTTER\ GROUP.png");
    background-size: cover;
    background-position: top;
    background-clip: content-box;

    color: white;
}
#footer .row{
    padding: 6rem;
    font-size: 1.5rem;
    margin-bottom: 0;
}

#footer .row a{
    color: black;
}
#footer .row a:hover{
    text-decoration: underline;
}
#personaldatabutton{
    text-decoration: underline !important;
}
#personaldatabutton:hover{
    text-decoration: none !important;
    cursor: pointer !important;
}

#personalData{
    display: none;
    line-height: 1.2;
}
footer a{
    color: #848484;
    text-decoration: none;
}
footer a:hover{
    text-decoration: underline;
}
.dyna{
    margin-top: 0;
    margin-bottom:0;
    color: white;
}

.cons p{
    font-size: .8rem;
}


.cons{
    padding: 0;
    text-align: center;
}

.cons div{
    display: flex;
    flex-direction: column;
}

.cons img{
    flex-grow: 1;
    margin: 0 auto 1em auto !important ;
    max-height: 100px !important;
    object-fit: contain;
    max-width: none;
    display: block;
}

.polygon {
    text-align: right;
}
.polygon img{
    width: 150%;
    margin-left: -4rem;
}

#dyna7 ul, #dynaEPOWER ul, #dynaVT ul {margin: 2em 0 2em 0.85em}
#dyna7 ul li, #dynaEPOWER ul li, #dynaVT ul li {margin: 0.25em 0; line-height: 1.3;}

section h1{
    font-weight: 700;
}
#footer .row{
    margin-bottom: 0 !important;
    
}
footer{
    color: #848484;
    font-size: .75rem;
    background-color: #D9D9D9;
}
footer ul li{
    float: left;
    padding-left: 1rem;
}
footer ul li::marker{
    content: "";
}

footer {
    padding-top:4rem;
}
footer .row{
    justify-content: space-between;
}

footer .logo img {width: auto;}

#footer .row a {color: #fff; font-weight: bold;}

img{
    max-width: 100%;
}

.table-to-text {display: none; padding-top: 2em;}
p.small {font-size: 0.75em;}

@media (max-width: 1399px) {
    .cons h2 {font-size: 1.5rem;}
}

@media (max-width: 1199px) {

    #customize table {
        font-size: 15px;
    }

    #customize table td {
        padding: .5rem 1rem;
    }

}

@media (max-width: 1199px) {

    #dyna2 .margin{
        padding: 0 4rem;
    }

}

@media (max-width: 1000px) {


    .header-logo img {z-index:1; position: relative;}

    .form-wrapper{
        padding: 16px;
    }
    .form-wrapper .form{
        order: 2;
    }
    .form-wrapper #headerTitle{
        font-size: 1rem;
        order: 1;
        padding: 0;
    }
    .form-wrapper #headerTitle h1 {
        font-size: 6rem;
    }
    .form-wrapper .header-bottom{
        order: 3;
        width: 100%;
    }

    #headerTitle div {
        position: inherit;
    }

    .hero-wrapper {overflow: hidden; position: relative;}
    .hero-wrapper:before {width: 100%; height: 100%; content:""; background: rgba(0,0,0,0.5); position: absolute; left:0; top:0;}
    .hero-wrapper .row.form-wrapper {flex-direction: column;}
    .hero-wrapper #headerTitle {padding: 0 1em;}
    .hero-wrapper .header-bottom {margin-top: 0; z-index: 0;}
    .hero-wrapper .form-button {position: static;}

    .main img {
        max-height: 150px;
        margin-top: 1em;
    }

    section#polygon .row {
        padding: 0;
    }

    #dyna2 .paragraf {margin-top: 2rem;}

}

@media (max-width: 900px) {

    #table{
        display: none;
    }

    #customize table {
        font-size: 14px;
    }

    #customize table td {
        padding: .3rem 0.6rem;
    }

    #customize .row.cons {width: 100%; margin: 0;}

    .table-to-text {display: block !important;}

    .header-bottom p, .section-separator p {line-height: 1.2; margin-bottom: 0;}

    .slide {padding-top: 2em; padding-bottom: 2em; background-position: left; align-content: center;}

}

@media (max-width: 640px){

    .container {padding: 0;}

    .row {padding: 0 1em;}

    #dyna .row {padding: 0 1em;}

    .section-separator {margin: 2rem 1rem;}

    .splide__slide .row {padding-left: 4em; padding-right: 4em;}
    .splide__slide .slider-button {margin-top: 1em; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);}

    #dyna .row {margin-bottom: 0;}

    #dyna2 {background: transparent;}
    #dyna2 h1 {font-size: 5rem;}
    #dyna2 .margin {margin-bottom: 0; padding: 0 1em;}
    #dyna2 .row.paragraf {margin-top: 0; margin-bottom: 0;}
    #dyna2 .text-large {margin-bottom: 0;}

    #przekladnie img {max-width: 100%; width: auto; max-height: 90px; margin: 0 auto; display: block;}
    #przekladnie .align-content-center {text-align: center;}
    #przekladnie .col-lg-3, #przekladnie .col-lg-6 {margin-bottom: 0.25em;}
    #przekladnie p {font-size: 1em;}
    #przekladnie .row .text-center {margin-bottom: 0;}

    #dyna7 {position: relative;}
    #dyna7 .main {padding: 2em 1em 1em 1em; background: linear-gradient(16deg, rgba(0,0,0,0.8534007352941176) 0%, rgba(199,17,33,0.9038209033613446) 100%)}

    #dynaEPOWER .main, #dynaVT .main, #dynaVT + section .main {padding: 2em 1em 1em 1em;}

    section#polygon .row {
        padding: 0 2em;
    }
    #polygon .polygon {display: none;}
    #polygon img {margin-left: -1em;}

    .main .text-center {margin: 0;}

    .row.cons {padding-left: 0; padding-right: 0;}
    .cons {margin: 0;}
    .cons h2 {font-size: 26px; line-height: 1.2;}
    #customize .cons p {font-size: 16px;}

    #footer .row {padding: 1em; line-height: 1.3; background: rgba(199, 17, 33, 0.7);}

    footer {padding-top: 2em;}
    footer .logo {width: 100%; text-align: center; margin-bottom: 2em;}
    footer ul {padding-left: 0; margin-left: -1em;}
    footer .col-lg-3 {padding-top: 0.75em; padding-bottom: 0.75em;}

}