/* global... ------------------------------ */
html {
    scroll-behavior: smooth;
}

::-moz-selection {
    color: #101A29;
    background: #60EAFC;
}

::selection {
    color: #101A29;
    background: #60EAFC;
}

::marker {
    color: #FF992B;
    font-size: 30px;
}

@font-face {
    font-family: "Antonio";
    src: url("Antonio-Bold.ttf");
}

@font-face {
    font-family: "Febrero";
    src: url("Febrero-Regular.otf");
}

@font-face {
    font-family: "Montserrat Bold";
    src: url("Montserrat-Bold.ttf");
}

@font-face {
    font-family: "Montserrat";
    src: url("Montserrat-Regular.ttf");
}
/* ...global ------------------------------ */

/* ================================ DESKTOP ================================== */
body {
    background-color: #101A29;
    max-width: 1920px;
    width: 100%;
    margin: auto;
    padding: 0;
}

.toplogo {
    display: none;
}

header {
    position: fixed;
    top: 0;
    height: 60px;
    width: 100%;
    max-width: 1920px;
    padding-right: 10%;
    background-color: #384961;
}


/* ================================ ULTRA HD ================================== */
@media only screen and (min-width: 1921px) {

header {
    padding-right: 192px;
}}                                 /* koniec */


/* ================================ TABLET ================================== */
@media only screen and (max-width: 1380px) and (min-width: 992px) {
    
header {
    padding-right: 7%;
}}                                 /* koniec */


/* =============================== SMOL TABLET =============================== */
@media only screen and (max-width: 991px) and (min-width: 768px) {

.toplogo {
    display: block;
    position: absolute;
    top: 0;
    left: 7%;
    height: 120px;
    padding-bottom: 8px;
    border-bottom: 4px solid #FF992B;
    z-index: 100;
}

header {
    position: absolute;
    padding-right: 7%;
    z-index: 90;
}}                                 /* koniec */


/* ================================ MOBILE ================================== */
@media only screen and (max-width: 767px) {

.toplogo {
    display: block;
    width: 100%;
}

header {
    display: block;
    position: relative;
    height: 50px;
    width: 100%;
    padding: 0;
    background-color: #384961;
}}                                 /* koniec */


/* ================================ DESKTOP ================================== */

/* header menu... */
nav {
    display: flex;
    justify-content: flex-end;
    justify-content: space-between;
    float: right;
}

a.menu {
    color: white;
    font-family: Febrero;
    font-weight: normal;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 20px;
    line-height: 60px;
    margin-left: 30px;
}

.active {
    padding-bottom: 8px;
    border-bottom: 4px solid #FF992B;
}

a.menu:hover:not(.active) {
    color: #101A29;
}

a.active:hover {
    color: white;
}


/* ================================ MOBILE ================================== */
@media only screen and (max-width: 767px) {

/* header menu... */
nav {
    display: flex;
    flex-direction: row;
    text-align: center;
    width: 100%;
}

a.menu {
    flex: 33.33%;
    margin: 0;
    padding: 0;
    letter-spacing: 3px;
    font-size: 18px;
    line-height: 50px;
}

.active {
    background-color: #FF992B;
    border: none;
}

a.menu:hover:not(.active) {
    background-color: rgba(16, 26, 41, 0.4);
    color: #60EAFC;
}}                                 /* koniec */


/* ================================ DESKTOP ================================== */
.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    margin-top: 60px;
    padding: 0;
    background-color: #101A29;
}


/* =============================== SMOL TABLET =============================== */
@media only screen and (max-width: 991px) and (min-width: 768px) {

.container {
    display: block;
    position: relative;
}}                                 /* koniec */


/* ================================ MOBILE ================================== */
@media only screen and (max-width: 767px) {

.container {
    display: block;
    width: 100%;
    margin: 0;
}}                                 /* koniec */


/* ================================ DESKTOP ================================== */

/* sidebar... */
#sidebar {
    width: 380px;
    height: auto;
    margin: 0;
    background-color: #FF992B;
}

.sidebarlogo {
    width: 380px;
}

.vertical {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    padding: 50px 40px;
}

.vertical h1 {
    color: white;
    text-align: center;
}

p1, a {
    font-family: Montserrat;
    text-decoration-color: none;
    color: white;
    font-size: 22px;
    line-height: 32px;
}

a:hover {
    color: #384961;
}

.material-icons {
    vertical-align: text-bottom;
}

.owner {
    text-align: center;
    margin-bottom: 40px;
}

/* owner + napisy nad buttonami */
h3 {
    font-family: Montserrat Bold;
    font-size: 24px;
    line-height: 34px;
    word-spacing: 0.1em;
    color: white;
}

.grid-container {
    display: grid;
    justify-content: center;
    width: 300px;
    grid-template-columns: 40px 240px;
    column-gap: 20px;
    grid-row-gap: 15px;
}

.grid-item {
    text-align: left;
}

.NIP {
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    word-spacing: 20px;
}
/* ...sidebar */


/* ================================ TABLET ================================== */
@media only screen and (max-width: 1380px) and (min-width: 992px) {

/* sidebar... */
#sidebar {
    width: 300px;
}

.sidebarlogo {
    width: 300px;
}

.vertical {
    padding: 30px;
}

p1, a {
    font-size: 18px;
    line-height: 36px;
}

/* owner + napisy nad buttonami */
h3 {
    font-size: 20px;
    line-height: 30px;
}

.grid-container {
    width: 240px;
    grid-template-columns: 20px 200px;
    column-gap: 20px;
}

.grid-item {
    text-align: left;
}

.NIP {
    margin-top: 30px;
    font-size: 18px;
    line-height: 32px;
    word-spacing: 15px;
}}                                 /* koniec */
/* ...sidebar */


/* ========================== SMOL TABLET + MOBILE ========================== */
@media only screen and (max-width: 991px) {

#sidebar {
    display: none;
}

.sidebarlogo {
    display: none;
}

/* owner + napisy nad buttonami */
h3 {
    font-size: 20px;
    line-height: 30px;
}

.NIP {
    margin-top: 40px;
    font-size: 18px;
    line-height: 30px;
    word-spacing: 15px;
}}                                 /* koniec */


/* ================================ DESKTOP ================================== */

/* FIRMA.html ------------------------------ */
#firma, #oferta, #galeria {
    background: url('kabelki.png') center;
    background-size: cover;
    width: auto;
    padding: 7% 10% 6% 6%;
    box-shadow: 0 0 25px 15px rgba(0, 0, 0, 0.6) inset;
}

/* nagłówki */
h1 {
    font-family: Antonio;
    font-size: 4em;
    font-weight: bold;
    color: #60EAFC;
    letter-spacing: -0.02em;
    line-height: 1.2em;
    margin-bottom: 40px;
}

article {
    margin-bottom: 5em;
}
    
/* opisy/teksty w sekcjach <article> */
p3 {
    display: block;
    font-family: Montserrat;
    color: white;
    font-size: 20px;
    line-height: 30px;
    word-spacing: 0.14em;
    margin-left: 2em;
    padding-right: 14%;
}

/* cytaty, wyróżnienia */
p4 {
    display: inline-flex;
    width: auto;
    margin: 1.5em 0 1.5em 3.5em;
    padding: 1em 1.5em;
    border-left: 4px solid #FF992B;
    font-family: Montserrat Bold;
    color: #FF992B;
    font-size: 24px;
    line-height: 1.4em;
    word-spacing: 0.14em;
    background-color: rgba(255, 255, 255, 0.1);
}


/* ================================ TABLET ================================== */
@media only screen and (max-width: 1380px) and (min-width: 992px) {

#firma, #oferta, #galeria {
    padding: 7%;
}

/* nagłówki */
h1 {
    font-size: 3.5em;
}
    
/* opisy/teksty w sekcjach <article> */
p3 {
    font-size: 18px;
    padding-right: 0;
}

/* cytaty, wyróżnienia */
p4 {
    display: inline-block;
    font-size: 22px;
}}                                 /* koniec */


/* =============================== SMOL TABLET =============================== */
@media only screen and (max-width: 991px) and (min-width: 768px) {

#firma, #oferta, #galeria {
    padding: 9em 7% 7% 7%;
}

/* opisy/teksty w sekcjach <article> */
p3 {
    font-size: 19px;
    padding-right: 0;
}

/* cytaty, wyróżnienia */
p4 {
    display: inline-block;
    font-size: 23px;
}}                                 /* koniec */


/* ================================ MOBILE ================================== */
@media only screen and (max-width: 767px) {

#firma, #oferta, #galeria {
    padding: 7% 5%;
}

h1 {
    font-size: 2.7em;
}

article {
    margin-bottom: 3em;
}

/* opisy/teksty w sekcjach <article> */
p3 {
    margin-left: 0;
    padding-right: 0;
    font-size: 17px;
    line-height: 24px;
}

/* cytaty, wyróżnienia */
p4 {
    display: block;
    margin: 2em 1em;
    padding: 1em 1.5em;
    font-size: 21px;
}}                                 /* koniec */


/* ================================ DESKTOP ================================== */

.cert {
    display: block;
    max-width: 400px;
    padding: 0.5em 0;
}

.cert:hover {
    cursor: pointer;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 20;
    cursor: pointer;
}

#cert{
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 70vw;
    border: solid 10px #FF992B;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

.cta {
    text-align: right;
    margin: 5em 0 1em 0;
}

.button {
    display: inline-flex;
    width: auto;
    margin-top: 40px;
    padding: 16px 48px 15px 50px;
    background-color: #FF992B;
    color: white;
    font-family: Febrero;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 35px;
    border: none;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.button:hover {
    color: white;
    letter-spacing: 15px;
    padding-right: 36px;
}


/* ================================ TABLET ================================== */
@media only screen and (max-width: 1380px) and (min-width: 992px) {

.cert {
    max-width: 380px;
}

.button:hover {
    letter-spacing: 11px;
    padding-right: 40px;
}}                                 /* koniec */


/* ================================ MOBILE ================================== */
@media only screen and (max-width: 767px) {

.cert{
    max-width: 100%;
}

#cert{
    max-width: 100%;
    border: solid 4px #FF992B;
}

.button {
    margin-top: 20px;
    padding: 11px 30px 10px 32px;
    font-size: 20px;
}

.button:hover {
    letter-spacing: 5px;
    padding-right: 28px;
}}                                 /* koniec */

/* ================================ DESKTOP ================================== */

.horizontal {
    display: none;
}

.horizontal3 {
    display: none;
}


/* =============================== SMOL TABLET =============================== */
@media only screen and (max-width: 991px) and (min-width: 768px) {

.horizontal3 {
    display: block;
    padding: 7% 4%;
    color: white;
    text-align: center;
    background-color: #FF992B;
}

.horizontal3 h1 {
    color: white;
}

h4 {
    font-family: Montserrat Bold;
    font-size: 22px;
    line-height: 30px;
    word-spacing: 0.1em;
    color: white;
}

.col {
    display: inline-block;
    width: 30%;
    align-items: flex-start;
    margin-top: 60px;
}

i.material-icons {
    font-size: 50px;
    line-height: 50px;
    vertical-align: baseline;
}

p2, .horizontal3 a {
    font-size: 18px;
    vertical-align: baseline;
    line-height: 50px;
}}                                 /* koniec */


/* ================================ MOBILE ================================== */
@media only screen and (max-width: 767px) {

.horizontal {
    display: block;
    padding: 60px 5%;
    text-align: center;
    color: white;
    background-color: #FF992B;
}

.horizontal h1 {
    color: white;
}

h4 {
    font-family: Montserrat Bold;
    font-size: 21px;
    line-height: 30px;
    word-spacing: 0.1em;
    color: white;
}

.horizontal i {
    margin: 30px 2px 2px 2px;
    font-size: 56px;
    line-height: 80px;
}

p2, a {
    font-family: Montserrat;
    text-decoration-color: none;
    color: white;
    font-size: 20px;
    line-height: 30px;
}}                                 /* koniec */


/* ================================ DESKTOP ================================== */

/* stopka */
footer {
    height: 60px;
    width: 100%;
    margin: 0;
    padding: 0 10%;
    background-color: #384961;
}

h2 {
    color: #60EAFC;
    font-size: 14px;
    line-height: 60px;
    font-family: Montserrat;
    text-align: right;
}


/* ================================ TABLET ================================== */
@media only screen and (max-width: 1380px) and (min-width: 992px) {

footer {
    padding: 0 7%;
}}                                 /* koniec */


/* =============================== SMOL TABLET =============================== */
@media only screen and (max-width: 991px) and (min-width: 768px) {

h2 {
    text-align: center;
    }

footer {
    padding: 0 5%;
}}                                 /* koniec */


/* ================================ MOBILE ================================== */
@media only screen and (max-width: 767px) {

h2 {
    line-height: 50px;
    text-align: center;
}

footer {
    height: 50px;
    padding: 0 5%;
}}                                 /* koniec */


/* ================================ DESKTOP ================================== */

/* OFERTA.html ------------------------------ */
.coloffer {
    display: block;
    list-style-type: disc;
    margin: 0 0 2em 3.5em;
    line-height: 2.2em;
}


/* GALERIA.html ------------------------------*/
#gallery {
    display: inline-block;
    padding: 10px;
    border: 2px solid #384961;
    background-color: #101A29;
}

.h-photo {
    float: left;
    width: 50%;
    padding: 10px;
    -webkit-transition: 1s;
    transition: 1s;
}

.h-photo:hover {
    background-color: #384961;
}

.v-photo {
    float: left;
    width: 25%;
    padding: 10px;
    -webkit-transition: 1s;
    transition: 1s;
}

.v-photo:hover {
    background-color: #384961;
}


/* ===================== TABLET + SMOL TABLET + MOBILE ====================== */
@media only screen and (max-width: 1380px) {

/* OFERTA.html ------------------------------ */
.coloffer {
    line-height: 2em;
}


/* GALERIA.html ------------------------------*/
#gallery {
    padding: 5px;
    border: 1.7px solid #384961;
}

.h-photo {
    width: 100%;
    padding: 5px;
}

.v-photo {
    width: 50%;
    padding: 5px;
}}                                 /* koniec */