html{
  font-size: 100%;
  scroll-behavior: smooth;
}

body{
  margin: 0;
  padding: 0;
  font: 400 var(--fs-400)/var(--lh-relaxed) var(--ff-body);
}

section{
  padding: 6% 0;
  overflow: hidden;
}

#hero{
  padding-top: 150px;
}

#about{
  overflow: visible;
}

#projects{
  position: relative;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--ff-heading);
  line-height: var(--lh-tight);
  margin: 8px 0 22px 0;
}

h1{font-size: var(--fs-900); text-transform: uppercase;}
h2{font-size: var(--fs-800); text-transform: uppercase;}
h3{font-size: var(--fs-700); font-weight: 300;}
h4{font-size: var(--fs-600); font-weight: 300;}
h5{font-size: var(--fs-500); font-weight: 300;}

a{
  color: var(--color-primary);
  cursor: pointer;
}

hr{
  border: none;
  height: var(--divider-thickness);
  width: 6.25rem;
  transform: var(--divider-skew);
  margin: 0;
  opacity: 1;
}

header{
  position: fixed;
  width: 100%;
  background-color: var(--color-secondary);
  border-bottom: 1px solid #414143;
  padding: 1.875rem;
  z-index: 99;
}

nav{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

nav a{
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  flex: 0 0 auto;
}

nav a:hover{
  box-shadow: inset 0 -5px var(--color-primary);
  transition: .2s cubic-bezier(.5,.15,.5,.85);
}

form input, form textarea{
  width: 100%;
  padding: 0.625rem 1.125rem;
  font-weight: 300;
}

form label{
  text-transform: uppercase;
  font-size: var(--fs-500);
}

form button{
  font-size: var(--fs-500);
  text-transform: uppercase;
  padding: 1rem 1.375rem;
  background-color: var(--primary-btn-background-color);
  color: var(--primary-btn-text-color);
  border: none;
  transition: all 0.2s;
}

form button svg{
   fill: var(--secondary-btn-background-color);
    width: var(--fs-500);
    height: var(--fs-500);
    margin-right: 6px;
}

form button:hover{
  background-color: var(--primary-btn-background-color-hover);
}




@media(max-width: 992px) {
  section {
    text-align: center;
  }
}

@media (max-width: 596px){
  nav{
    justify-content: flex-start;
    overflow-x: scroll;
  }
}