html{
  scroll-behavior: smooth;
}

body {
  background-color: white;
  color: black;
  font-family: "degular-display", sans-serif;
  font-weight: 300;
  font-size: 1.5em;
  margin: 0;
}

section {
  margin: 2em 4rem 5em;
}

code {
  background: #d5e3e2;
}

.element {
  margin-bottom: 2.5em;
}

h1 {
  margin-top: 1rem;
  font-weight: 300;
  font-size: 3.5em;
}

h2 {
  font-weight: 300;
  font-size: 2.5em;
  margin: 0;
}

h3 {
  font-weight: 500;
  font-size: 1.8em;
  margin: 0;
  margin-top: 1rem;
}

h4 {
  font-weight: 500;
  font-size: 1.6rem;
  font-style: italic;
  margin-bottom: 1rem;
  margin-top: -0.3rem;
}

p {
  margin: 0;
  width: 100%;
}

strong{
    font-weight: 500;
    color: #0f8c85;
}


/* HEADER STYLING*/
.header-container {
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0;
}

.header-logo {
  height: 2.8em;
  padding: 2em;
  padding-left: 4rem;
}

/* NAV STYLING*/
nav {
  display: flex;
}

nav ul {
  list-style-type: none;
  display: flex;
  padding: 1em;
  padding-right: 4rem;
  background-color: black;
}

nav ul li {
  margin-left: 1.5em;
}

nav ul li a {
  color: white;
  font-size: .9em;
  text-decoration: none;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: #addbd8;
}

/* FOOTER STYLING */

footer {
  background-color: black;
  margin-top: 0rem;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 0;
  padding: 2rem;
  font-size: .9em;
  flex-direction: column;
}

.footer-container{
    display: flex;
    justify-content: space-between;
}

footer p {
  color: white;
  padding-top: 1rem;
}

footer a{
    text-decoration: none;
    color: white;
    transition: color 0.2s;
}

footer a:hover{
    color: #addbd8;
}

.footer-left{
    float:left;
    text-align: left;
    margin-left: 2.5rem;
    align-self: flex-end;
}

.footer-right{
    float:right;
    text-align: end;
    margin-right: 2.5rem;
}

@media screen and (orientation:landscape) and (max-width:1500px) {
  body{
    font-size: 1.2em;
  }
}

@media screen and (orientation:portrait){
  body{
    font-size: 1em;
  }
}