@import 'variables.css?v=3';
@import 'forms.css';
@import 'nav.css';

/*------------------------------------------------*/

* {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 150%;
    margin: 0;
    padding: 0;
    top: 0;
    text-align: left;
    height: 100%;
    color: var(--text-color);
    background-color: white;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

/*------------------------------------------------*/

.box {
    position: relative;
    width: 100%;
}

.box-content {
    box-sizing: border-box;
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}

.box-gallery {
    width: 100%;
    padding: 30px 15px 25px 15px;
    margin: 30px auto 0 auto;
    background-color: var(--light-grey);
}

/*------------------------------------------------*/

#header {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#header .box-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

#logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

#logo img {
    height: 30px;
}

#content {
    margin-top: 30px;
}

#footer {
    background-color: var(--light-grey);
    margin-top: 50px;
    font-family: "eurostyle", "Nunito Sans", sans-serif;
}

#footer .box-content {
    padding: 60px 0 30px 0;
    text-align: center;
}

#footer img {
    width: 90%;
    max-width: 500px;
    opacity: 0.2;
}

#kontakty .box-content{
    max-width: 820px;
    text-align: center;
}

#kontakty .box-content:first-of-type {
    margin-top: 50px;
    padding: 15px 30px;
    background-color: var(--light-grey);
}

#kontakty .box-content div{
    text-align: left;
}

#kontakty .contact-peoples {
    display: flex;
    justify-content: space-between;
    padding: 0 20px 0 20px;
}

#kontakty .contact-peoples h3 {
    margin-bottom: 3px;
}

#kontakty .contact-peoples span {
    font-style: italic;
    display: block;
    margin-bottom: 10px;
}

#kontakty .contact-peoples p {
    margin: 5px 0;
    display: flex;
}

#kontakty .contact-address {
    margin-bottom: 25px;
}

#kontakty .contact-address a {
    text-decoration: none;
}

#kontakty .other-contacts{
    max-width: 314px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#kontakty .other-contacts p {
    margin: 0 0 20px 0;
    display: flex;
}

#kontakty .other-contacts a {
    text-decoration: none;
}

#kontakty p i {
    font-size: 20px;
    margin-right: 15px;
    margin-top: 4px;
    color: rgb(150,150,150);
}

#kontakty .box-content div p a {
    text-decoration: none;
}

#footer p {
    max-width: 740px;
}

/*----------------------------------------------------------------------*/

h1, h2 {
    font-family: "eurostyle", "Nunito Sans", sans-serif;
    width: 100%;
    font-size: 30px;
    display: inline-block;
    padding: 30px 0 20px 0;
    margin: 0;
    color: var(--pink);
    font-weight: normal;
    line-height: 1.2;
}

h1 {
    text-transform: uppercase;
}

h3 {
    padding: 3px 0 0;
    margin: 10px 0 15px 0;
    font-size: 18px;
}

a, a:visited {
    color: var(--text-color);
    transition: 0.3s;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

ol, ul {
    padding-left: 35px;
}

ul li{
    /*list-style-type: none;*/
}

#content ul {
    list-style-type: square;
}

#content ul li {
    vertical-align: middle;
}

#content ul li::marker {
    color: var(--pink);
    font-size: 20px;
}

#content ul li, #content ol li {
    padding: 5px 0;
}

#content ol li::marker {
    color: var(--pink);
    font-weight: bold;
}


p {
    font-size: 16px;
    line-height: 1.5;
    margin: 15px 0;
}

hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: rgb(200, 200, 200);
    margin: 40px 0;
}

/*.table_scroll, table {
    overflow: auto;
    width: 100% !important;
    display: block;
    height: auto !important;
    border-collapse: collapse;
    border: none;
}

table tbody {
    width: auto;
    max-width: 4000px;
    display: table;
}

table td, table th {
    border: none;
    padding: 9px 15px;
}

table tr:nth-of-type(2n+1) td{
    background-color: rgb(235,235,235);
}

table th {
    background-color: var(--pink);
    color: white;
}*/


.gallery-long {
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    height: 215px;
    position: relative;
    margin: 0 auto;
}

.rectangle {
    margin: 0 2px 0 0;
    width: auto;
    height: 200px;
    display: inline-block;
    text-decoration: none;
    overflow: hidden;
    vertical-align: top;
}

.gallery-long::before, .gallery-long::after {
    position: sticky;
    background: linear-gradient(to right, var(--light-grey), rgba(245,245,245, 0));
    content: '';
    display: inline-block;
    width: 100px;
    height: 220px;
    left: -1px;
    top: 0;
    z-index: 1000;
}

.gallery-long::after {
    background: linear-gradient(to left, var(--light-grey), rgba(245,245,245, 0));
    left: auto;
    right: -1px;
}

.rectangle:first-of-type {
    margin-left: -100px;
}

.rectangle:last-of-type {
    margin-right: -100px;
}

.inner-rectangle {
    filter: opacity(100%);
    transition: transform .4s;
    width: auto;
    height: 200px;
}

.inner-rectangle:hover {
    filter: opacity(100%);
    transform: scale(1.05);
}

/* width */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: rgb(230,230,230);
}

.box ::-webkit-scrollbar {
    width: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    transition: 0.3s;
    background: var(--border-light-grey);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
