/*=========================
Theme Name: Kabiny prysznicowe na wymiar
Author:
VERSION: 1.0
============================*/

/*=========================
Styles for body , html .

============================*/
*,
*::after,
*::before {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
	font-size: 16px;
	line-height: 1.5em;
	font-family: 'Cairo', sans-serif;
}

/*=========================
Styles for Header & nav 

============================*/
#header {
	height: 100vh;
	background-image: url("../images/transport-ciezarowy-krajowy-miedzynarodowy-przewoz-kontenerow-spedycja-gdynia-trojmiasto-gdynia.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}


#headerOnas {
	height: 80vh;
	background-image: url("../images/transport-ciezarowy-spedycja-krajowa-miedzynarodowa-przewoz-kontenerow.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}
#headerKontakt {
	height: 80vh;
	background-image: url("../images/transport-ciezarowy-spedycja-krajowa-miedzynarodowa-przewoz-kontenerow.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}

#headerGaleria {
	height: 80vh;
	background-image: url("../images/transport-ciezarowy-spedycja-krajowa-miedzynarodowa-przewoz-kontenerow.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}

#headerKabinyPrysznicowe {
	height: 85vh;
	background-image: url("../images/transport-ciezarowy-spedycja-krajowa-miedzynarodowa-przewoz-kontenerow.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}

#headerCzarne {
	height: 85vh;
	background-image: url("../images/transport-ciezarowy-spedycja-krajowa-miedzynarodowa-przewoz-kontenerow.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}


#headerZlote {
	height: 85vh;
	background-image: url("../images/#");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}

#headerChrom {
	height: 85vh;
	background-image: url("../images/#");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;

}


.titlesAndArrow {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}


.hero-h1 {
	text-shadow: 0 0 3px #000000;
	text-align: center;
	color: rgb(250, 250, 250);

}

.hero-h1:nth-child(2) {
	width: 100%;
	color: rgb(139, 139, 139);
	position: relative;
	top: 5%;
	font-size: 1.8em;
}

.menu {
	position: relative;
	z-index: 0;
	height: auto;
}

.mobileMenu {
	height: 80px;
	background-color: rgba(0, 0, 0, 0.58);

}

.firstRow {
	display: none;

}

.secondRow {
	display: none;
}


.fa-bars {
	font-size: 4em;
	color: #ffffff;
	float: right;
	padding: 5px;

}

#logo {
	margin: 8px;
	width: 55px;
	position: absolute;
	top: 0;
}

#arrowDown {

	position: relative;
	top: 7%;
	z-index: 0;
	text-align: center;
	font-size: 4em;
	animation: blink 1s ease-in infinite alternate;
}

@keyframes blink {
	from {
		color: #fffafa;
	}

	to {
		color: #ff0000;
	}


}

/*=========================
Styles for Articles 
============================*/
.lista ul {
	list-style-type:none;
	margin:0;
	padding:0;
	width:500px;
	text-align: left;
}



.articles {

	width: 90%;
	padding-top: 20px;
	margin: auto;
	text-align: justify;
}

.articles h1 {
	text-align: center;
	font-size: 1.6em;

}

.articles article:first-child > h1 {
	position: relative;
	padding-bottom: 15px
}

.articles article:first-child > h1::after {
	content: "";
	position: absolute;
	width: 150px;
	border-top: 1px solid red;
	bottom: 0px;
	left: 50%;
	margin-left: -80px;
}

.li-text {
	display: block;
}


.articles article {
	margin-bottom: 40px;
	position: relative;
}

.imagesArticle {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.articlePic {
	width: 48%;
	height: auto;
}

/*=========================
Border at bottom of article / krótkie podkreślenia 
============================*/

.articles article::after {
	content: "";
	position: absolute;
	width: 150px;
	border-top: 1px solid red;
	bottom: -15px;
	left: 50%;
	margin-left: -80px;
}

/*=========================
Styles for H1 and H2 the same size

============================*/
.titleOfSecondArticle {
	display: block;
	text-align: center;
	margin-bottom: 20px;
	margin-top: 20px;
}

.titleOfSecondArticle h1,
.titleOfSecondArticle h2 {
	font-size: 1.6em;
	display: inline;
}


/*=========================
Styles for ArticlesFlex 

============================*/
.articlesSecond {
	text-align: justify;
	width: 90%;
	margin: auto;
}

.articlesSecond h1 {
	text-align: center;
}

.articlesSecond article {
	margin-bottom: 40px;
}

.image {
	width: 70%;
	display: block;
	margin: auto;
	padding-bottom: 8px;

}

/*=========================
Styles tables

============================*/
table {
	margin-top: 40px;
	margin-bottom: 40px;

}

table,
th,
td {
	border-collapse: collapse;
	border: 1px solid black;
}

th,
td {
	padding: 5px;
	text-align: left;
	vertical-align: top;
}

/*=========================
Styles for Recent Posts

============================*/
.recentPosts {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-top: 20px;
	margin-bottom: 20px;

}

.recent {
	flex-basis: 43%;
	margin: 10px;

}

.recent h3 {

	position: relative;
}

.recent h3::after {
	content: "";
	position: absolute;
	width: 90px;
	border-top: 1px solid red;
	bottom: 0;
	left: 0%;
}

/*=========================
Styles for footer

============================*/
.footer {
	text-align: center;
	background-color: #c8d0ce;
}

.flexFooter {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	text-align: center;
}

.navFooter {
	flex-basis: 100%;
	padding: 10px;
	position: relative;
}

.navFooter::after {
	content: "";
	position: absolute;
	width: 500px;
	bottom: 0;
	left: 50%;
	margin-left: -130px;

}

.navFooter li {
	margin-left: 4px;

}

.navFooter li:first-child {
	margin-left: 0;
}

.form {
	flex-basis: 70%;
	border-bottom: 1px solid black;

}

.form input {
	width: 100%;
	background-color: #c8d0ce;
	border: none;
	padding-bottom: 15px;
}

.logoFooter {
	flex-basis: 15%;

}

#logoInFooter {

	width: 40px;
}

/*=========================
Styles dropDown menu ~~menu.js
Style pod skrypt js z pliku menu.js
============================*/
.clearer {
	clear: both;
}

.dropMenu {
	display: block;
	position: absolute;
	border-right: 1px solid white;
	z-index: 99999;
	width: 50%;
	background: rgba(0, 0, 0, 0.76);
	height: auto !important;
}

.dropMenu li {
	display: block;

	padding: 5px;

}

.dropMenu a {
	color: white;
	position: relative;
	left: 10%;
	border-top: 1px solid white;
}

.dropMenu:nth-of-type(2) {
	width: 50%;
	right: 0;

}

/*=========================
Styles for menu when scroll ~~~ scrollMenu.js
Style pod skrypt js z pliku scrollMenu.js
============================*/
.fixed {
	position: fixed;
	z-index: 9999999;
	width: 100%;
}

.fixed .firstRow {

	height: 20px;
	font-size: 0.7em;
}

.fixed .secondRow {
	height: 20px;
	font-size: 0.7em;
}

.fixed #logo {
	margin: 14px 8px;
}


/*=========================
Styles for tablet devices

============================*/
@media (min-width: 768px) {
	/*=========================
Body bigger fonts
Adjustment of nav bar and header
============================*/

	body {

		font-size: 1.2em;
	}

	.menu {
		height: 80px;

	}

	.fa-bars {
		font-size: 3.5em;
		padding: 3px 10px;

	}

	/*=========================
H1 HEADER
============================*/

	.hero-h1 {
		font-size: 1.5em;
		width: 60%;
		word-spacing: 15px;
		line-height: 1.4em;
		letter-spacing: 2px;
	}

	.hero-h1:nth-child(2) {
		font-size: 1.5em;
		word-spacing: 15px;
	}

	/*=========================
Adjustment of articles
============================*/
	.articles {
		margin-top: 30px;
		width: 90%;
	}

	.articles article {
		margin-bottom: 80px;
	}

	.titleOfSecondArticle {
		margin: 60px 0;
	}

	.articlesSecond article {
		margin: 0;
	}

	.image {
		width: 100%;
		display: block;
		margin: auto;
		padding: 0;

	}

	/*=========================
Flex box fo second article section + order
============================*/
	.articlesSecond {
		width: 90%;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
	}

	.articlesSecond > * {
		flex-basis: 48%;
		width: 48%;


	}

	.imageOne {
		order: 1;
	}

	.articleOne {
		order: 2;
	}

	.imageTwo {
		order: 4;
	}

	.articleTwo {
		order: 3;
	}

	.imageThree {
		order: 5;
	}

	.articleThree {
		order: 6;
	}

	.imageFour {
		order: 8;
	}

	.articleFour {
		order: 7;
	}

	table {
		width: 90%;
		margin: 40px auto;

	}

	.recentPosts {
		width: 90%;
		margin: auto;
	}

	.footer {
		width: 90%;
		margin: auto;
	}
}


/*=========================
STYLES FOR DESKTOP DEVICES 
============================*/
@media (min-width: 1024px) {
	/*=========================
H1 HEADER
============================*/

	.hero-h1 {
		font-size: 2.0em;
	}

	.hero-h1:nth-child(2) {
		font-size: 2.0em;
		word-spacing: 15px;
	}

	/*=========================
Adjustment of with for whole content 
============================*/
	.articles {

		width: 80%;
	}

	.articlesSecond {
		width: 80%;

	}

	table {
		width: 80%;


	}

	.recentPosts {
		width: 80%;

	}

	.recent {
		flex-basis: 22%;
	}

	/*=========================
FOOTER FOR FULL SIZE WEB VIEW
============================*/
	.footer {
		width: 80%;

	}

	.flexFooter {
		padding: 25px;
		justify-content: space-around;
		align-items: center;
	}


	.navFooter {
		flex-basis: 22%;
		border-right: 1px solid black;
		padding-right: 30px;
		line-height: 40px;
		position: static; // just to get rid of the bottom border
	}

	.navFooter li {
		display: block;

	}

	.form {
		flex-basis: 35%;
		margin-left: 20px;
	}

	.form input {
		padding-bottom: 35px;
	}

	.logoFooter {
		position: relative;
		bottom: 15px;

	}

	/*=========================
MENU FOR FULL SIZE WEB VIEW
============================*/

	.mobileMenu {
		display: none;
	}

	.firstRow {
		display: block;
		background: rgba(0, 0, 0, 0.58);
		height: 40px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.firstRowOfMenu a {
		color: #ffffff;
		font-size: 1.1em;
		margin-right: 50px;
	}

	.firstRowOfMenu a:hover {
		color: #ef0000;

	}

	.secondRow {
		display: block;
		background-color: rgba(0, 0, 0, 0.8);
		height: 30px;
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.secondRowOfMenu a {

		color: #ffffff;
		margin-right: 40px !important;
	}

	.secondRowOfMenu a:hover {
		color: #ef0000;

	}

	.secondRowOfMenu a:last-child {
		margin-right: 50px;
	}

}
