/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/
.tymcz {text-align:center; margin:auto; /*max-width:1920px;*/}
.tymcz img {/*max-width:1920px*/; width:100%;}

html {
	font-family: sans-serif;
	line-height: 1.15;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-size:12px;
}

body {
	margin: 0; height:100%;
}

article,
aside,
footer,
header,
nav,
section {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

figcaption,
figure,
main {
	display: block;
}

figure {
	margin: 1em 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
	outline-width: 0;
}

abbr[title] {
	border-bottom: 1px #767676 dotted;
	text-decoration: none;
}

b,
strong {
	font-weight: inherit;
}

b,
strong {
	font-weight: 700;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

dfn {
	font-style: italic;
}

mark {
	background-color: #eee;
	color: #222;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

audio,
video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

img {
	border-style: none;
}

svg:not(:root) {
	overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
	font-family: sans-serif;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	border: 1px solid #bbb;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	display: inline-block;
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details,
menu {
	display: block;
}

summary {
	display: list-item;
}

canvas {
	display: inline-block;
}

template {
	display: none;
}

[hidden] {
	display: none;
}


/* ------------------------- CSS -------------------------- */

body {
    margin: 0;
    padding: 0;
                font-family: 'Roboto', sans-serif;
}
            
.trzy {
    display: table;
    width: 100%;
}
.container {
    position: relative;
    width: 25%;
    background-color: #000;
    display: table-cell;
}

.image1 {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
    background-image: url(http://korbud.eu/images/firma_budowlana.jpg);
    background-size: cover;
    height: 100vh;
    background-position: center center;
}
            .image2 {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
    background-image: url(http://korbud.eu/images/zielony_stok.jpg);
    background-size: cover;
    height: 100vh;
    background-position: center center;
}
            .image3 {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
    background-image: url(http://korbud.eu/images/wyroby_hutnicze.jpg);
    background-size: cover;
    height: 100vh;
    background-position: center center;
}

.image4 {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
    background-image: url(https://fitness.korbud.eu/wp-content/uploads/2024/03/galeria-fitness-05.jpg);
    background-size: cover;
    height: 100vh;
    background-position: center center;
}


.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000;
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
  opacity: 0.8;
}

.container:hover .overlay {
  height: 100%;
}

.text a:link, .text a:active, .text a:hover, .text a:visited  {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
        text-decoration: none;
    text-transform: uppercase;
}
.logo {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    padding: 20px;
    color: #cacaca;
    background: #404040;
    position: absolute;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}
.logo span {letter-spacing: 10px; padding: 0 20px 0 20px; font-size: 45px;}
            .wiecej {
    background: #393939;
    padding: 20px 30px;
    border-radius: 20px;
}
.tytul {
    position: absolute;
    bottom: 0;
    z-index: 2;
    padding: 20px;
width: 100%;
box-sizing: border-box;
background-color: rgba(0, 0, 0, 0.6)
}
            .tytul h1 {
    font-weight: 300;
    font-size: 24px;
                margin: 0;
                color: #fff;
}
            
.tytul1 span {
    font-weight: 700;
    font-size: 60px;
    color: #ff7837;
}
            .tytul2 span {
    font-weight: 700;
    font-size: 60px;
    color: #3ab517;
}
            .tytul3 span {
    font-weight: 700;
    font-size: 60px;
    color: #cea83b;
}

.tytul4 span {
    font-weight: 700;
    font-size: 60px;
    color: #C46816}

.gabinety {max-width: 1680px;
margin: auto;
padding: 40px;}

.gabinety ul {padding: 0; margin:0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center;}

.gabinety li {border: 1px solid #ddd;
margin: 25px;}

.gabinety a {pointer-events: none;}

@media (max-width: 1024px) {
    
    .tytul h1 {
        font-size: 18px;}
    .tytul1 span, .tytul2 span, .tytul3 span {font-size: 30px;}
    .text a:link, .text a:active, .text a:hover, .text a:visited {
        font-size: 14px;}
    
    .logo {text-align: center; font-size: 30px;}
    
    .logo span {font-size: 35px;}
    .gabinety a {pointer-events: auto;}
    
}
@media (max-width: 767px) {
.tytul1 span, .tytul2 span, .tytul3 span {
    font-size: 18px;}
    .tytul h1 {
        font-size: 14px;}
}

@media (max-width: 630px) {
    .trzy {
    display: block;}
    
    .container {
    position: relative;
    width: 100%;
    background-color: #000;
    display: block;
}
    
    .tytul h1 {
    font-size: 14px;
}
    
    .tytul1 span, .tytul2 span, .tytul3 span {
    font-size: 30px;
}
}

@media (max-width: 630px) {
        .tytul1 span, .tytul2 span, .tytul3 span {
    font-size: 40px;
}
        .tytul h1 {
    font-size: 24px;
}
}