:root{
  --green-accent : #4ABC45;
  --blue-accent: #176cff;
  --white-accent: #e7e7e7;
  --gray: hsl(240, 15%, 5%);
  --section-bg: #161618;
  --m: 4rem;
  --headline-color: white;
  --text-color: rgba(255, 255, 255, 0.5);
}

html {
  font-size: 1rem;

  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: hsl(240, 15%, 5%);
  color: #fff;
  /*font-size: clamp(1.2rem, 5vw, 1.5rem);*/
  line-height: 1.6;
	min-height: 100vh;
	/*font-family:  "Geist Sans", "SF Pro Text", "SF Pro Icons", "AOS Icons", "Helvetica Neue", Helvetica, Arial, sans-serif, system-ui;
	font-weight: 70;*/
}

header {
  width: 100%;
  height: clamp(10vh,70vw, 70vh);
  text-align: center;
  place-items: center;
  position: relative;
  top: 0;
  z-index: 2;
  overflow: hidden;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}


.header {
  padding: 0px;
  text-align: center;
}

#navbar {
  text-align: center;
  position: sticky;
  top: 0;
  overflow: hidden;
  background-color: #333;
}

#navbar a {
  display:inline-block;
  color: #f2f2f2;
  text-align: center;
  text-transform: uppercase;
  padding: .618rem .618rem;
  width: 15vw;
  text-decoration: none;
  font-size: max(1.5vw, 1.5vh);
}

@media (max-aspect-ratio : 1/1) {
  #navbar a{

  width: 24vw;
  }
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
}

#navbar a.active {
  background-color: #04AA6D;
  color: white;
}
nav{
  z-index: 3;
}

header nav {
  bottom: 0;
  height: 60px;
  line-height: 60px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}
header nav a {
  color: #fff;
  display: inline-block;
  padding: 10px 15px;
  line-height: 1;
  text-decoration: none;
}

/*Typography*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


.headline-container{
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height:100%;
  pointer-events: none;
}

#text-behind, #text-front, #text-behind-blur {
  font-family: 'Roboto', sans-serif;
  position: absolute;
  /*text-align: center;*/
  font-size: min(20vh, 8vw);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: min(2vh, 2vw);
  line-height: 0.8;
}

#text-behind {
  color: var(--headline-color);
  z-index: 1;
}

#text-behind-blur {
  color: var(--headline-color);
  filter: blur(7.5px);
  -webkit-filter: blur(7.5px);
  z-index: 0;
}

#text-front {
  /*  Set text-color to transparent to only show the outline  */
  color: transparent;
  -webkit-text-stroke: 2px;
  -webkit-text-stroke-color: #f0f0f0;
  z-index: 3;
}

#bg-video {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.canvas {
  z-index: 2;
}



/*##########################
############BODY############
##########################*/
section {

  border: 1px solid var(--border);
  margin-top: 40px ;
  margin: 40px 16px 0px 16px;
  padding: 36px;
  margin-bottom: 20px;
  background-color: var(--section-bg);
  color: var(--white-accent);
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px;
  border-radius: 16px;
  -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.wrapper {
  width: 75vw;
  margin: 0 auto;
}

.title-wrapper{
  text-align: center;
  /*font-family: 'Roboto', sans-serif;*/
}

.flexbox {
  display: inline-flex;
}

.itemflex {
  padding: 16px;
  width:50%;
}

.project{
  text-align: center;
  height:70vh;
}

@media (max-aspect-ratio : 1/1) {
  section {
    margin-top: 5px;
  }
  .wrapper {
    width: 100vw;
  }
  .flexbox {
    display: block;
  }
  .itemflex{
    width: 100%;
  }
}


.skillbox {
  --color1 : #000000;
  --color2 : #fff;
  margin: 16px;
  display: flex;
  flex-direction: row;
  justify-content: start;
  flex-wrap: wrap;
  gap: 1em;
}

.skillbox p:hover {
  transform: scale(1.1);
  color: var(--color2);
  background-color: var(--color1);
}
.skillbox p:hover svg {
  fill: var(--color2);
}
.skillbox p {
  border: 2px solid var(--accent);
  border-radius: 10px;
  background-color: var(--color1);
  font-size: 1em;
  font-weight: 500;
  padding: .5em 1em;
  transition: all .2s;
}





.container {
	--spread: 60;
	display: flex;
	flex-wrap: wrap;
  flex-direction: var(--direction);
	gap: calc(var(--gap) * 1px);
	margin: 0 auto;
	justify-content: center;
	place-items: center;
	position: relative;
	padding: 2rem;
  touch-action: none;
}

.article {
	--active: 0.15;
	--start: 0;
	height: 100%;
	background: var(--card);
	padding: 0rem;
	aspect-ratio: 16 / 9;
	border-radius: var(--border-radius);
	min-width: 480px;
	max-width: 380px;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	position: relative;
  color: white
}

.article:is(:hover, :focus-visible) {
  z-index: 2;
}

.glows {
	pointer-events: none;
	position: absolute;
	inset: 0;
	filter: blur(calc(var(--blur) * 1px));
}

.glows::after,
.glows::before {
  --alpha: 0;
  content: "";
  background: var(--gradient);
  background-attachment: fixed;
  position: absolute;
	inset: -5px;
  border: 10px solid transparent;
  border-radius: var(--border-radius);
  -webkit-mask:
  	linear-gradient(#0000, #0000),
  	conic-gradient(from calc((var(--start) - (var(--spread) * 0.5)) * 1deg), #000 0deg, #fff, #0000 calc(var(--spread) * 1deg));
          mask:
  	linear-gradient(#0000, #0000),
  	conic-gradient(from calc((var(--start) - (var(--spread) * 0.5)) * 1deg), #000 0deg, #fff, #0000 calc(var(--spread) * 1deg));
  -webkit-mask-composite: source-in, xor;
          mask-composite: intersect;
  -webkit-mask-clip: padding-box, border-box;
          mask-clip: padding-box, border-box;
  opacity: var(--active);
  transition: opacity 1s;
}

.article::before {
	position: absolute;
	inset: 0;
	border: var(--border-width) solid transparent;
	content: "";
	border-radius: var(--border-radius);
	pointer-events: none;
	background: var(--border);
  background-attachment: fixed;
  border-radius: var(--border-radius);
  -webkit-mask:
  	linear-gradient(#0000, #0000),
  	conic-gradient(
  		from calc(((var(--start) + (var(--spread) * 0.25)) - (var(--spread) * 1.5)) * 1deg),
  		hsl(0 0% 100% / 0.15) 0deg,
  		white,
  		hsl(0 0% 100% / 0.15) calc(var(--spread) * 2.5deg));
          mask:
  	linear-gradient(#0000, #0000),
  	conic-gradient(
  		from calc(((var(--start) + (var(--spread) * 0.25)) - (var(--spread) * 1.5)) * 1deg),
  		hsl(0 0% 100% / 0.15) 0deg,
  		white,
  		hsl(0 0% 100% / 0.15) calc(var(--spread) * 2.5deg));
  -webkit-mask-clip: padding-box, border-box;
          mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in, xor;
          mask-composite: intersect;
  opacity: var(--active);
  transition: opacity 1s;
}

.article::after {
	--bg-size: 100%;
  content: "";
  pointer-events: none;
  position: absolute;
  background: var(--gradient);
  background-attachment: fixed;
  border-radius: var(--border-radius);
  opacity: var(--active, 0);
  transition: opacity 1s; 
  --alpha: 0;
  inset: 0;
  border: var(--border-width) solid transparent;
  -webkit-mask:
  	linear-gradient(#0000, #0000),
  	conic-gradient(from calc(((var(--start) + (var(--spread) * 0.25)) - (var(--spread) * 0.5)) * 1deg), #0000 0deg, #fff, #0000 calc(var(--spread) * 0.5deg));
          mask:
  	linear-gradient(#0000, #0000),
  	conic-gradient(from calc(((var(--start) + (var(--spread) * 0.25)) - (var(--spread) * 0.5)) * 1deg), #0000 0deg, #fff, #0000 calc(var(--spread) * 0.5deg));
  filter: brightness(1.5);
  -webkit-mask-clip: padding-box, border-box;
          mask-clip: padding-box, border-box;
  -webkit-mask-composite: source-in, xor;
          mask-composite: intersect;
}

* {
  scroll-behavior: smooth;
}



.card {
  height: calc(8 * var(--m));
  width: calc(12 * var(--m));
  background: linear-gradient(120deg, #ff8064, #725bdc);
  color: black;
  border-radius: calc(0.5 * var(--m));

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--m);

  position: fixed;
  margin: calc(2 * var(--m)) calc(5 * var(--m)) calc(5 * var(--m))
    calc(5 * var(--m));
}

.foot{
  margin-top: 5vh;
  padding: 32px;
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  border: var(--accent) solid top;
  text-align: center;
  height: 40vh;
  width:100%;
  color:white
}

footer {
  margin-top: 20vh;
  z-index: 500;
  width: 100%;
  height: 30vh;

  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 5rem 2vw;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, ligh(var(--accent)) 10%, transparent);/*linear-gradient(
    rgba(0, 0, 0, 0) 5%,
    rgba(0, 0, 0, 0.3) 20%,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(0, 0, 0, 0.8) 40%,
    rgba(0, 0, 0, 1) 50%,
    rgb(0, 0, 0)
  )*/
  z-index: -7;
}

.backdrop {
  z-index: -5;
  position: absolute;
  inset: 0;

  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );

  -webkit-mask-image: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.5) 10%,
    rgba(0, 0, 0, 0.8) 20%,
    rgba(0, 0, 0, 1) 30%,
    rgb(0, 0, 0)
  );
}

.col {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: calc(0.3 * var(--m)) calc(0.8 * var(--m));
  width: 28%;
}

.col2,
.col3 {
  background-color: #121212;
  border-radius: calc(0.5 * var(--m));
}

img {
  height: calc(0.3 * var(--m));
  object-fit: cover;
}

.social {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

.link {
  width: calc(0.8 * var(--m));
  height: calc(0.8 * var(--m));
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: calc(0.1 * var(--m));

  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  :root {
    --m: 3rem;
  }
}

@media screen and (max-width: 700px) {
  footer {
    flex-direction: column;
    padding: 5rem 20vw;
  }
  .col {
    width: 100%;
  }
}

.divider-main {
  margin: 18px 0px;
  height: 1px;
  background: linear-gradient(90deg,transparent 0%, var(--border) 22.5%, var(--accent) 50%, var(--border) 77.5%, transparent);
  
}
