/*-------------
 	Variables
--------------*/

:root{
    --clr_dark_01: #15141a;
    --clr_dark_02: #242331;
    --clr_dark_03: #414a4f;
    --clr_bright_01: #f2f2f2;
    --clr_bright_02: #e5dacf;
    --clr_accent_01: #fe9920;
    --clr_accent_02: #fa7921;
}

/*-------------
 	General
-------------*/

.light_mode{
    --clr_dark_01: #f2f2f2;
    --clr_dark_02: #fff;
    --clr_dark_03: #fa7921;
    --clr_bright_01: #15141a;
    --clr_bright_02: #242331;
}

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

html{
	font: normal 16px sans-serif;
    color: var(--clr_bright_01);
    transition: 0.3s;
    scroll-behavior: smooth;
}

ul, nav{
	list-style: none;
}

a{
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	opacity: 0.9;
}

a:hover{
	opacity: 1;
    
}

a.btn{
	font-weight: 400;
	text-align: center;

    position: relative;
    vertical-align: middle;
    &::before,
    &::after {
        box-sizing: inherit;
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
    }
}
a.anim{
    transition: color 0.25s;

  &::before,
  &::after {
    border: 2px solid transparent;
    width: 0;
    height: 0;
  }
  &::before {
    top: 0;
    left: 0;
  }

  &::after {
    top: 0;
    left: 0;
  }
  
  &:hover {
    color: #000;
  }
    
  &:hover::before,
  &:hover::after {
    width: 100%;
    height: 100%;
  }

  &:hover::before {
    border-top-color: var(--clr_accent_01);
    border-right-color: var(--clr_accent_01);
    transition:
      width 0.25s ease-out,
      height 0.25s ease-out 0.25s;
  }

  &:hover::after {
    border-bottom-color: var(--clr_accent_01);
    border-left-color: var(--clr_accent_01);
    transition:
      height 0.25s ease-out,
      width 0.25s ease-out 0.25s;
  }

}

hr{
	width: 150px;
	height: 2px;
	background-color: var(--crl_accent_02);
	border: 0;
	margin-bottom: 80px;
}

section{
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 125px 100px;
}

@media screen and (max-width: 1200px){
	section{
		padding: 100px 50px;
	}
}

@media screen and (max-width: 700px){
	section{
		padding: 80px 30px;
	}
}

section p{
    color: var(--clr_bright_01);
	max-width: 800px;
	text-align: center;
	margin-bottom: 35px;
	padding: 0 20px;
	line-height: 2;
}

ul.grid{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}


/*---------------------------
 	Light/Dark Mode Toggle
----------------------------*/

.toggle{
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 99;
}
@media screen and (max-width: 1200px){
    .toggle{
        position: absolute;
        top: 6px;
        bottom: auto;
    }
}
@media screen and (max-width: 700px) {
    .toggle{
        position: absolute;
        top: 10px;
        bottom: auto;
    }
}

label {
    position: relative;
    display: block;
    width: 50px;
    height: 24px;
    cursor: pointer;
    transition: 0.3s ease-out;
    background: var(--clr_bright_01);
    border-radius: 20px;
    box-shadow: inset 0px 2px 10px rgba(0,0,0,0.4), inset 0px -2px 10px rgba(255,255,255,0.2);
}

label:after{
    content: "";
    width: 20px;
    height: 20px;
    position:absolute;
    top: 2px;
    left: 5px;
    background: var(--clr_dark_01);
    border-radius: 20px;
    transition: 0.3s;
}
input{
    width: 0;
    height: 0;
    visibility: hidden;
}
input:checked + label {
    background: var(--clr_bright_01);
}
input:checked + label:after{
    left: 45px;
    transform: translateX(-100%);
    background: var(--clr_dark_01);
    top: 3px;
    width: 18px;
    height: 18px;
}

/*---------------------------
 	Back to top button
----------------------------*/
.backtotop{
    
    position: fixed;
    right: 10px;
    bottom: 44px;
    z-index: 99;
}
.btt_button{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    font-size: 2.5em;
    cursor: pointer;
    transition: 0.25s ease-out;
    color: var(--clr_dark_01);
    background: var(--clr_bright_01);
    border-radius: 10px;
    box-shadow: inset 0px 2px 10px rgba(0,0,0,0.4), inset 0px -2px 10px rgba(255,255,255,0.2);
}
.btt_button:hover{
    transition: 0.25s ease-out;
    background: var(--clr_accent_01);
}
.btt_button i:hover{
    transition: 0.25s ease-out;
    transform: translateY(-2px);
}

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

    .backtotop{
        bottom: 10px;
        right: 5px;
    }
    .btt_button{
        width: 40px;
        height: 40px;
        font-size: 2em;
    }
}
@media screen and (max-width: 700px) {
    
    .btt_button{
        color: var(--clr_bright_01);
        background: var(--clr_accent_02);
        width: 30px;
        height: 30px;
        font-size: 1.5em;
    }
    .btt_button:hover{
        background: var(--clr_accent_01);
    }
}
/*---------------------
 	Header & Headings
---------------------*/

header{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--clr_bright_01);
	padding: 35px 100px 0;
    font-family: 'Quicksand', sans-serif;
}

header ul  {
	display: flex;
}

header nav li{
	margin: 0 15px;
}

header nav li:first-child{
	margin-left: 0;	
}

header nav li:last-child{
	margin-right: 0;	
}

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

@media screen and (max-width: 1200px){
	header{
		padding: 20px 50px;
        padding-right: 80px;
	}
    header h2{
        margin-right: 20px;
    }
}


@media screen and (max-width: 700px){
	header{
		flex-direction: column;
	}

	header h2{
		margin-bottom: 5px;
	}
}

h1{	
    font: bold 22px 'Quicksand', sans-serif;
    color: var(--clr_dark_03);
    margin-top: 10px;
    margin-bottom: 20px;
}

@media screen and (max-width: 700px){
	h1{
        margin-top: 20px;
		margin-bottom:20px;
	}
}

section h3.title{
	color: #414a4f;
	text-transform: capitalize; 
	font: bold 32px 'Open Sans', sans-serif;
	margin-bottom: 35px;
	text-align: center;
}


/*--------------------------------
 	Hero Section FOR FUTURE USE
----------------------------------*/


.hero{
	position: relative;
	justify-content: center;
	min-height: 100vh;
	color: var(--clr_bright_01);
	text-align: center;
}

.hero .background-image{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-color: var(--clr_accent_01);
	z-index: -1;
}

.hero .background-image:after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--clr_dark_01);
	opacity: 0.75;
}

.hero h1{
	font: 40px 'Open Sans', sans-serif;
    color: var(--clr_bright_01);
}
.hero h3{
    font: normal 16px sans-serif;
    color: var(--clr_bright_01);
    margin-top: 15px;
    margin-bottom: 10px;
}


.hero a.btn{
	padding: 10px 20px;
}

@media (max-width: 800px){

	.hero{
		min-height: 600px;
	}

	.hero h1{
		font-size: 36px;
	}

	.hero h3{
		font-size: 16px;
	}

	.hero a.btn{
		padding: 10px 10px;
	}

}


/*----------------------
 	Portfolio Section
-----------------------*/

.portfolio{
background-color: var(--clr_dark_01);
}

.grid-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
    border: 1px rgba(255,255,255,0) solid;
    transition: 0.2s;
}

.grid-item img:hover {
    transition: 0.2s;
    border: 1px #fa7921 solid;

}

@media screen and (max-width: 1200px) {
    .grid-container{
        grid-template-columns: repeat(2, 1fr);
    }
    section.portfolio{
        padding-top: 100px;
    }
}
@media screen and (max-width: 700px) {
    .grid-container{
        grid-template-columns: repeat(1, 1fr);
    }
}

/*---------------------
 	About Section
---------------------*/

.about{
    padding: 40px 100px;
    background-color: var(--clr_dark_02);
}
.about-box{
    width: 50%;
    display: flex;
    flex-direction: row;
}
.about-content{
    flex: 1 1 0px;
}
.about-content img{
    display: block;
    margin-left: auto;
    max-width: 100%;
}

@media screen and (max-width: 1200px){
    .about{
        padding: 40px 50px;
    }
    .about-box{
        width: 75%;
        flex-direction: column;
        align-items: center;
    }
    .about-content{
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 700px){
    .about{
        padding: 20px 50px;
    }
    .about-box{
        width: 100%;   
    }
    .about-content{
        font-size: 10pt;
    }
    .about-content img{
        max-width: 75%;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
}
@media screen and (max-width: 500px){
    .about-content{
        font-size: 8pt;
    }
    .about-content img{
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 50%;
    }
}
    
/*---------------------
 	Contact Section
---------------------*/

.contact {
    background-color: var(--clr_dark_01);
}
.mail{
    font-size: 1.5em;
    color: var(--clr_accent_02);
    border: 1px solid;
}

/*---------------------
 	Newsletter Section
---------------------*/

/*
.newsletter{
	background-color: var(--clr_dark_02);
}

.newsletter form{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	max-width: 800px;
	width: 80%;
}

.newsletter form input{
	padding: 15px;
	flex: 1;
	margin-right: 30px;
	font-size: 18px;
	color: var(--clr_bright_01);
}

.newsletter form .btn{
	padding: 18px 42px;
}


@media (max-width: 800px){

	.newsletter form input{
		flex-basis: 100%;
		margin: 0 0 20px 0;
	}

}
*/


/*-------------
 	Footer
-------------*/

footer{
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--clr_bright_01);
	background-color: var(--clr_dark_02);
	padding: 60px 0;
}

footer ul{
	display: flex;
	margin-bottom: 25px;
	font-size: 30px;
}

footer ul li{
	margin: 0 12px;	
}

footer ul li:first-child{
	margin-left: 0;	
}

footer ul li:last-child{
	margin-right: 0;	
}

footer p{
	font-size: 12px;
	color: var(--clr_bright_02);
	margin-bottom: 10px;
}

footer p a{
	color: var(--clr_bright_02);
}

@media (max-width: 700px){
	footer{
		padding: 80px 15px;
	}

}
/*-------------
    Impressum
-------------*/
.impressum{
background-color: var(--clr_dark_01);
}
}