/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&family=Work+Sans:wght@400;800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Anonymous+Pro&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
/*Variables*/
:root {
  --primary: #00ff7a;
  --primary-focus: #09ef96;
  --on-primary: #131313;
  --secondary: #474dff;
  --secondary-focus: #3b40ce;
  --on-secondary: #131313;
  
  --background: #131313;
  --background-focus: #212121;
  --surface: #1c1c1c;

  --on-dark: #fff;
  --on-light: #2d2d2d;
  
  --shadow: 0px 2px 3px rgba(10, 10, 10, .6);
  --shadow-hov: 0px 8px 20px rgba(10, 10, 10, .9);
}

/* Main Element Styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
::selection {
  color: var(--on-primary);
  background: #00ff7ade;
}
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.4;
  background-color: var(--background);
  color: var(--on-dark);
}
header {
  padding: 50px 5vw;
  background: linear-gradient(0deg, #00000086, #00000086), url('/assets/background.webp');
  background-size: cover;
  background-attachment: fixed;
}
header h3 {
  font-weight: normal;
}

h2 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: .5em;
  font-weight: 600;
}
h3 {
  font-size: 22px;
  line-height: 1.1;
  font-weight: 600;
}
h4 {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 600;
}
a {
  color: var(--primary);
  transition: color .3s;
}
a:hover, a:active {
  color: var(--primary-focus);
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: sticky;
  width: 100%;
  top: 0px;
  font-family: 'Inter', sans-serif;
  background-color: #212121;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
  z-index: 6;
}
nav > a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  transition: none;
}
nav > a:hover {
  color: white;
}
nav img {
  height: 2.5em;
  width: 2.5em;
  margin: auto 0 auto 20px;
  border-radius: 8px;
  transition: transform .3s;
}
nav > a:first-child:hover img {
  transform: rotate3d(0, 0, 4, 180deg);
}
nav div {
  display: flex;
  flex-direction: row;
  align-items: center;
}
nav div a {
  display: block;
  color: #f8f9fa;
  text-align: center;
  text-decoration: none;
  padding: 20px;
  height: 100%;
  box-shadow: inset 0 0 0 0 #23d35b;
  transition: .3s box-shadow;
}
nav div a:hover {
  box-shadow: inset 0 4px 0 0 #23d35b;
  color: white;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #212121;
  height: 62px;
}


.btn-A {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 20px;;
  border: none;
  width: 20ch;
  height: 76px;
  margin: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: 200% auto;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, background-position .3s, border-radius .3s, filter .3s;
}
.btn-A:hover, .btn-A:active {
  background-position: right center; /* change the direction of the change here */
  box-shadow: var(--shadow-hov);
}
.btn-A:active {
  filter: brightness(140%);
  border-radius: 50px;
}


.btn-B {
  border: none;
  outline: none;
  display: table;
  margin: 2em 0;
  padding: 1em 3em;
  font-size: 18px;
  text-decoration: none;
  background: none;
  font-weight: 600;
  color: var(--primary);
  box-shadow: 4px 4px 0 0 var(--primary), inset 4px 4px 0 0 var(--primary);
  transition: color .3s, box-shadow .3s;
  cursor: pointer;
}
.btn-B:hover,.btn-B:focus {
  color: var(--on-light);
  box-shadow: 0 0 0 0 var(--primary-focus), inset 6em 3.5em 0 0 var(--primary-focus);
}