/*##################
##### GLOBALS ######
##################*/ 

@import url('sora.css');
@import url('pencerio.css');

* {
    color: white;
}

body {
    padding: 0;
    margin: 0;
    height: 100dvh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    background-color: black;
}

#background-container {
    position: fixed;
    top: -15%;  /* Extend beyond the viewport */
    left: -15%;
    width: 120%;  /* Make it slightly larger than the viewport */
    height: 120%;
    background: url("../img/background.webp") no-repeat center center;
    background-size: cover;
    transition: transform 0.1s ease-out;
}

h1 {
    font-family: 'Sora', sans-serif;
    font-style: bold;
    font-size: clamp(5rem, 3.635rem + 5.825vw, 10.625rem);;
    line-height: 0.8;
    user-select: none;
}

h2{
	margin: 0;
}

p{
	margin: 0;
}

a{
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	width: 100%;
}

ul{
	margin: 0;
}


@media (max-width: 1240px) {
	body{
		overflow: visible;
	}
}



/*##################
####### META #######
##################*/ 

.logo {
    position: relative;
    padding: 50px 0 0 50px;
    z-index: 2;
    user-select: none;
}

.page_indicator{
	position: absolute;
	top: 80px;
	right: 50px;
	text-transform: uppercase;
	z-index: 2;
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: 20px;
	line-height: 28px;
	user-select: none;
}

.headline_holder{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

@media (max-width: 1240px) {

	.logo {
		position: absolute;
    	padding: 0 0 0 15px;
	}

	.page_indicator{
		top: 46px;
		right: 15px;
	}
}



/*##################
#### NAVIGATION ####
##################*/ 

.page_navigation{
	position: fixed;
	display: inline-block;
	left: 50px;
	bottom: 50px;
	z-index: 2;
}

.page_navigation__list{
	list-style: none;
	padding-left: 0;
}

.page_navigation__list--link{
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	user-select: none;
}

.page_navigation__list--link a{
	font-family: 'Sora', sans-serif;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	font-weight: 800;
	font-size: 20px;
	line-height: 20px;
}

.page_navigation__list--link a:hover{
	font-weight: 200;
	font-family: 'Sora', sans-serif;
}

@media (max-width: 1240px) {
	.page_navigation{
	    left: 0px;
	    bottom: 0px;
	    width: 100%;
	    padding: 15px 0 15px 15px;
	}
}

@media only screen and (max-width: 768px) {

	.page_navigation{
	    left: 0px;
	    bottom: 0px;
	    width: 100%;
	    padding: 15px 0 15px 15px;
	    border-top: 1px solid white;

		backdrop-filter: blur(5px);
	  	-webkit-backdrop-filter: blur(5px);
	  	background-color: rgba(255, 255, 255, 0);
	  	color: white;
	}
}


/* Page-Navigation item gap for better usability */

/*@media (max-width: 768px) {

	.page_navigation__list--link a{
		line-height: 26px;		
	}
}
*/


/*##################
###### SCRIPTS #####
##################*/ 

.clock{
	position: fixed;
	right: 50px;
	bottom: 50px;
	font-family: 'Sora', sans-serif;

	font-size: 20px;
	line-height: 28px;
	z-index: 2;
	user-select: none;
}

#grey-spot {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scale(1);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    pointer-events: none;
    backdrop-filter: grayscale(100%);
    z-index: 1;
    overflow: hidden;
    transition: transform 0.5s ease;
}

#page-content.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#page-content.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media (max-width: 1240px) {
	.clock{
		right: 15px;
		bottom: 15px;
	}

	#grey-spot {
    	display: none;
	}
}



/*##################
##### WELCOME ######
##################*/ 

.h1_snippet{
	font-family: 'Pencerio-Hairline', sans-serif;
	font-weight: 100;
}



/*##################
###### ABOUT #######
##################*/ 

.about__content-wrapper{
	display: flex;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	max-width: 1440px;
	width: 100%;
	z-index: 2;
}

.about__image--container{
	min-width: 345px;
	padding-left: 50px;
}

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

.about__copy{
	font-family: 'Sora', sans-serif;
	font-style: italic;
	font-weight: 200;
	max-width: 900px;
	font-size: clamp(0.875rem, 0.523rem + 1.502vw, 1.875rem);
	line-height: 1.2;
	padding: 100px 50px 0 100px;
}

@media (max-width: 1240px) {
	
	.about__content-wrapper{
		position: relative;
		flex-wrap: wrap;
		top: inherit;
		left: inherit;
		transform: translate(0);
		justify-content: flex-start;
		max-width: 900px;
		margin: 0 auto;
		padding-bottom: 140px;
	}

	.about__image--container{
		padding: 80px 15px 0;
	}

	.about__copy{
		padding: 35px 15px 0;
	}
}



/*##################
#### KNOWLEDGE #####
##################*/ 

.knowledge{
	display: flex;
	padding: 120px 15px 0;
	flex-direction: column;
	align-items: flex-start;
	max-width: 900px;
	z-index: 2;
	margin: 0 auto;
}

.knowledge__headline{
	position: relative;
	max-width: 900px;
	font-family: 'Sora', sans-serif;
	font-style: italic;
	font-weight: 200;
	font-size: clamp(1.5rem, 1.379rem + 0.518vw, 2rem);
	line-height: 1;
	text-transform: uppercase;
	z-index: 2;
}

.knowledge__copy{
	position: relative;
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: clamp(1rem, 0.939rem + 0.259vw, 1.25rem);
	line-height: 1.4;
	text-transform: uppercase;
	z-index: 2;
}

.knowledge__copy:not(:last-child){
	margin: 0 0 70px 0;
}

@media (max-width: 1240px) {

	.knowledge{
		padding-bottom: 140px;
	}
}



/*##################
####### WORK #######
##################*/ 

.work__content-wrapper{
	position: absolute;
    width: 100%;
    margin-top: 100px;
}

.work__case-container--small{
	max-width: 650px;
}

.work__case-container--large{
	max-width: 945px;
}

.work__case-row{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 80px;
	justify-content: center;
}

.work__case-image{
	width: 100%;
	height: auto;
}

.work__case-description{
	font-family: 'Sora', sans-serif;
	font-style: italic;
	transition: all 0.3s ease-in-out;
	font-weight: 800;
	font-size: 30px;
	line-height: 33px;
	text-transform: uppercase;
}

.text--left{
	text-align: left;
}

.text--right{
	text-align: right;
}

.text--centered{
	text-align: center;
}

.first-case{

}

.second-case{
	margin-top: 150px;
}



/*##################
##### CONTACT ######
##################*/

.contact__copy{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	text-transform: uppercase;
}

.contact__copy a{
	font-family: 'Sora', sans-serif;
	font-style: italic;
	transition: all 0.3s ease-in-out;
	font-weight: 800;
	font-size: 20px;
	line-height: 24px;
}

.contact__copy a:hover{
	font-weight: 200;
}










