/*

	Theme Name: Rostfrei

	Theme URI: http://rostfrei.si

	Description: Rostfrei WordPress Theme from HTML5 Blank

	Version: 1.4.3

	Author: Rostfrei

	Tags: Blank, HTML5, CSS3



	License: MIT

	License URI: http://opensource.org/licenses/mit-license.php

*/



/*------------------------------------*\

    MAIN

\*------------------------------------*/



/* This work is licensed under the MIT License - http://www.opensource.org/licenses/mit-license.php */





/* Color Legend */

:root {
	--terracotta: rgb(145, 86, 62) ;
	--beige: rgb(194, 181, 155) ;
	--dark: rgb(96, 77, 67);
}


/* Reset */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.hidden {
	display: none;
}

html,
body {

	background: transparent;
	font-size: 1rem;
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
}

.headerhome {
	display: flex;
	align-items: center;

	height: 100%;
	background-image: url("https://eggdesign.rostfrei.si/wp-content/uploads/2023/09/Beauty-is-in-simplicity.jpg");
	transition: all 3s ease;
	position: fixed;
	top: 0;
	width: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 10;
}

.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 5%;
	height: 200px;
	width: 100%;
	position: fixed;
	transition: all 3s ease;
	background-color: white;
	top: 0;
}

.sticky .header {
	height: 130px;
}

.glava {
	background-color: transparent;
	padding: 1rem 5%;
	height: 100%;
	display: grid;
	grid-template-columns: minmax(auto, 1200px);
	/*
	display: flex;
	justify-content: space-between;
	align-items: center; 
	*/
	width: 100%;
	transition: 3s ease all;
	overflow: hidden;

	position: absolute;
	top: 0;
}

.sticky .glava {
	background-color: white;
	height: 130px;
}

.glavabox {
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}
h1, h2, h3, h4, h5, h6 {
	margin-top: 0px;
	color: var(--terracotta);
}

h1.headline {
	text-align: center;
	height: 100%;
	width: 100%;
	opacity: 1;
	transition: 3s ease all;
	color: white;
	font-weight: lighter;
}

h1.headline span {
	color: var(--terracotta);
}
p, li, a {
	color: var(--dark);
}
.sticky h1.headline {
	opacity: 0;
}

nav {
	width: 400px;
	transition: 3s ease all;

}

nav ul {
	display: flex;
	justify-content: space-between;
}

nav ul li {
	list-style: none;
	text-transform: uppercase;
}

nav ul li a {
	text-decoration: none;
	color: var(--dark);
}

nav ul li a:hover,
nav ul li a:active,
nav ul li a:focus {
	color: var(--terracotta);
}

.banner  {
	position: relative;
	top: 200px;
	transition: all 3s ease;
}

.banner-front {
	position: relative;
	transition: all 3s ease;
}
.banner img {
	width: 100vw;
	height: 300px;
	object-fit: cover;
}

.sticky .banner {
	top: 130px;
}

.sticky header {

	top: 0;
	z-index: 8;
	transition: 7s ease all;

}

.sticky .headerhome {
	height: 400px;
	background-position-y: 45%;
}

main#front {
	top: 230px;
	transition: 7s ease all;
}

.wrapper,
.wrapper-front {
	display: grid;
}

.wrapper-front{
	top: 200px;
  	position: relative;
}

.bckg {
	position: relative;
}
.hdl {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.hdl {
	margin: auto;
}
main {
	position: relative;
	top: 250px;
	transition: all 3s ease;
	width: 100%;
	max-width: 1500px;
	margin: auto;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 1rem;
}

.sticky main {
	top: 140px;

}

img.logo-img {
	height: 130px;
	transition: 3s ease all;


}

.headerhome img.logo-img,
.headerhome nav {
	transition: all 3s ease;
	opacity: 0;
	z-index: 10;
}

.sticky img.logo-img {
	height: 100px;

}

.sticky img.logo-img,
.sticky nav {
	opacity: 1;
}


.logo-nav {
	display: grid;
	grid-template-columns: minmax(auto, 1200px);
	justify-content: center;
}

img {
	max-width: 100%;
}

img.logo-img {
	width: 100px;
	max-width: 100%;
}

/* Gallery */

section.gallery {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	gap: .7rem;
}

article.project-single,
.projects-home {
	height: 300px;
	min-width: 200px;
	overflow: hidden;
	width: fit-content;
	position: relative;
	flex: auto;
}

.gallery img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

a h3.project-title {
	font-weight: lighter;
	color: white;
	position: absolute;
	width: 100%;
	margin: auto;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	transition: .7s ease all;
	top: 0;
}

a h3.project-title:hover {
	opacity: 1;
}
.right li {
	padding-bottom: 1rem;
}
.left li {
	padding-bottom: 0.5rem;
}

.left li a {
	text-decoration: none;
	text-transform: uppercase;
	color: var(--dark);
}

.left li a:hover,
.left li a:active,
.left li a:focus {
	color: var(--terracotta);

}

nav .current_page_item a,
.current-menu-item a {
	color: var(--terracotta);
}

ol,
ul {
	list-style: none;
}

img {
	width: 100%;
}

/* Global */


footer {
	padding: 2rem 5%;
}



/* Headings */



h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: lighter;
	text-transform: uppercase;
}



h1 {}

h2 {}

h3 {}

h4 {}

h5 {}

h6 {}



/* Text Elements */

.copyright {
	font-size: .7rem;
}

.copyright a:link {
	color: var(--dark);
	text-decoration: none;
}

.copyright a:hover {
	color: var(--terracotta);
}

p {}

.blue {
	color: var(--terracotta)
}

a {}

a:link {}

a:visited {}

a:active {}

a:focus {}

a:hover {}



blockquote {}



strong {
	font-weight: bold;
}

em {
	font-style: italic;
}



/* Containers */

.pagination {
	display: flex;
	gap: 2rem;
}
.pagination a {
	text-decoration: none;
}
.clearfix {
	overflow: auto;
}






/* Images */







/* Lists */



ul {}

ol {
	list-style-type: decimal;
}



ul li {}

ol li {}



dl {}

dt {}

dd {}







/* Tables */



/* Miscellaneous */





/* Layout Extra */









/* Navigation Extra */



/* Forms */



form {

	margin: 20px;
}



label,
submit,
input,
textarea {

	border: 0;
	padding: 0;
	margin: 0;
	background: none;

}



label {}



input,
textarea {}



input {}



textarea {}



select {}



.submit {}



br {
	clear: left;
}



/* Miscellaneous  */
/* For devices smaller than 1500px */
@media only screen and (max-width: 1500px) {
	main {
		padding: 0 5%;
	}

	.glavabox {
		padding: 0 5%;
	}

}


/* For devices smaller than 600px */
@media only screen and (max-width: 600px) {
	h1.headline {
		font-size: 1.7rem;
	}

	main {
		grid-template-columns: 1fr;
	}

	nav.nav ul {
		flex-direction: column;
	}

	nav.nav {
		justify-content: end;
		display: flex;
	}

}

