/* start base design */
* {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}
 
:root {
  --background: rgba(8, 108, 68, 1);
  --foreground: rgba(255, 255, 255, 1);
  --black: rgba(0, 0, 0, 1);
  --gray: rgba(255, 255, 255, 0.5);
  --darkgray: rgba(255, 255, 255, 0.1);
  --transparent: rgba(0, 0, 0, 0);
  --blueglas: rgba(8, 108, 68, 0.3);
  --green: rgba(118,162,32, 1);
  --glas: rgba(21, 21, 21, 0.4);
  --shadow: rgba(0, 0, 0, 0.5);
}
 
html {
  height: 100%;
  font-family: -apple-system, system-ui, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 18px;
  font-weight: 200;
}
 
body {
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
 
h1 {
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}
 
h2 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.big-title {
  font-size: 2.5rem;
  font-weight: 200;
  color: var(--foreground);
}

p {
  margin: 0;
  text-align: left;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.shader {
  background: var(--glas);
  height: 100%;
  max-width: 1920px;
}

/* start button */
button {
  margin-top: 2rem;
  padding: 0 2rem;
  height: 40px;
  width: auto;
  border-radius: 20px;
  color: var(--black);
  font-size: 21px;
  font-weight: 200;
  text-transform: uppercase;
  background: var(--foreground);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  cursor: pointer;
}

.button-inverted {
  color: var(--foreground);
  background: var(--background);
}

button:hover {
  background: var(--background);
  color: var(--foreground);
}

.button-inverted:hover {
  background: var(--black);
  color: var(--foreground);
}
/* end button */
/* end base design */

/* start header design */
#header {
  width: 100%;
  height: 50px;
  position: fixed;
  z-index: 1;
  background: var(--blueglas);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
 
.navbar {
  max-width: 1920px;
  margin: 0 auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.nav-list ul {
	list-style: none;
	position: absolute;
	background-color: var(--background);
	width: 100vw;
	height: 100vh;
	left: 100%;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 1;
	overflow-x: hidden;
	transition: 0.5s ease left;
}

.nav-list ul.active {
	left: 0%;
}

.nav-list ul a {
	font-size: 1.5rem;
	font-weight: 200;
	text-decoration: none;
	color: var(--gray);
	text-transform: uppercase;
	padding: 20px;
	display: block;
}

.nav-list ul a::after {
	content: attr(data-after);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0);
	color: var(--darkgray);
	font-size: 7.5rem;
	letter-spacing: 75px;
	z-index: -1;
	transition: 0.5s ease letter-spacing;
	text-align: center;
}

.nav-list ul li:hover a::after {
	transform: translate(-50%, -50%) scale(1);
	letter-spacing: initial;
}

.nav-list ul li:hover a {
	color: var(--foreground);
	transition: 0.3s ease;
}

.hamburger {
	height: 50px;
	width: 50px;
	display: inline-block;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100;
	cursor: pointer;
	transform: scale(0.8);
}

.hamburger:after {
	position: absolute;
	content: '';
	height: 100%;
	width: 100%;
	
}

.hamburger .bar {
	height: 3px;
	width: 30px;
	position: relative;
	background-color: var(--foreground);
	z-index: -1;
}

.hamburger .bar::after,
.hamburger .bar::before {
	content: '';
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	background-color: var(--foreground);
	transition: 0.3s ease;
	transition-property: top, bottom;
}

.hamburger .bar::after {
	top: 8px;
}

.hamburger .bar::before {
	bottom: 8px;
}

.hamburger.active .bar::before {
	bottom: 0;
}

.hamburger.active .bar::after {
	top: 0;
}

/* end header design */

/* start home section */
.home-img {
  max-width: 1920px;
  margin: 0 auto;
  min-height: 80vh;
  background-position: top center;
  background-size: cover;
}
/* end home section */

/* start gallery section */
.grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.card {
  height: auto;
}
/* end gallery section */

/* start image clip */
.image-container {
  width: 200px;
  height: 174px;
  margin: 1rem auto 0 auto;
}

.image {
  width: 200px;
  mask-image: url(./images/hexagon.png);
  mask-repeat: no-repeat;
  -webkit-mask-image: url(./images/hexagon.png);
  -webkit-mask-repeat: no-repeat;
}
/* end image clip */

/* start contact section */
input, [contenteditable="true"], [type=text], select, textarea {
  width: 100%;
  padding: 0.5em 0.75em;
  margin: 0.5rem 0;
  box-sizing: border-box;
  resize: vertical;
  height: 40px;
  flex: 2;
  border-radius: 20px;
  border: 1px solid var(--gray);

  font-size: 16px;
  font-weight: 200;

  background: var(--foreground);
  color: var(--black);
  transition: 0.3s;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--background);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--black);
}
/* end contact section */

/* start footer section */
#footer {
  width: 100%;
  height: auto;
  background: var(--black);
}

.link {
  text-decoration: none;
  color: var(--gray);
  transition: 0.3s;
}

.link:hover {
  color: var(--foreground);
}

.svg {
  margin: 0 0 3px 0;
  color: var(--gray);
  transition: 0.3s;
}

.svg:hover {
  color: var(--foreground);
  cursor: pointer;
}

.orientation {
  display: flex;
  flex-direction: column;
}

.center {
  margin: 0 auto;
  text-align: center;
}

/* end footer section */


/* fade animation */

.appear {
  animation-name: appear;
  animation-duration: 3s;
  animation-fill-mode: backwards;
}

@keyframes appear {
  from {opacity: 0;}
  to {opacity: 1;}
}

.hidden {
  opacity: 0;
  transition: all 3s;
  transform: translateY(100px);
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* start responsive design */
  /* screen larger than 600px 2 column */
  @media (min-width: 600px) {
    html {
      font-size: 20px;
    }

    .big-title {
      font-size: 4rem;
    }

    .orientation {
      flex-direction: row;
      justify-content: space-between;
    }

    .center {
      margin: 0;
    }

    .c2 {
      grid-column: 1 / span 2;
    }
  }
   
  /* screen larger than 900px 3 columns */
  @media (min-width: 900px) {
    html {
      font-size: 22px;
    }
  }
  /* end responsive design */