@font-face {
  font-family: Montserrat;
  src: url("./Montserrat-VariableFont_wght.woff2");
}
@font-face {
  font-family: OpenSans;
  src: url("./OpenSans-VariableFont_wdth\,wght.woff2");
}

:root {
  --dark: #1a2434;
  --white-1: #f6f8fa;
  --white-2: #ffffff;
  --blue: #daf0ff;
  --yellow: #fef0bf;
  --purple: #ebe6fe;
  --green: #d7fce3;
  --black: #0e0e0e;
  --prime: "Montserrat", "Franklin Gothic Medium", "Arial Narrow", Arial,
    sans-serif;
  --body: "OpenSans", "Arial Narrow", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  background: #000;
}

.flair {
  background-color: var(--dark);
  color: var(--white-2);
  text-align: center;
}

header {
  height: 20vh;
  padding-top: 2.7vw;
}

header > h1 {
  font-family: var(--prime);
  font-size: 3vw;
  font-weight: 600;
  letter-spacing: -0.5px;
}

header > h4 {
  font-family: var(--body);
  font-size: 1vw;
  font-style: italic;
  font-weight: 200;
}

main {
  min-height: 100vh;
  background-color: var(--white-2);
  color: var(--black);
  padding: 1vw 3vw;
}

section {
  min-height: 15vh;
  width: 85%;
  color: var(--black);
  margin: 1vw auto;
  border: none;
  border-radius: 10px;
  text-align: center;
  padding: 2vw 3vw;
  padding-top: 3vw;
}

section > h2 {
    width: fit-content;
    margin: 0 auto;
    font-family: var(--prime);
    font-weight: 800;
    text-transform: uppercase;
}

section > p {
  margin: 0.5vw auto;
  background-color: var(--white-1);
  border: none;
  padding: 0.5vw;
  font-family: var(--body);
  width: 70%;
  border-radius: 5px;
  font-size: 17px;
}

.about {
  background-color: var(--white-1);
}

.about > p {
  width: 90%;
  word-spacing: 4px;
  font-weight: 300; 
}

.edu {
  background-color: var(--blue);
}

.skills {
    background-color: var(--yellow);
}

.skills > p {
    font-weight: 800;
}

.projects {
  background-color: var(--purple);
}

.projects > p {
  font-style: italic;
  word-spacing: 3px;
  font-weight: 400;
}

.contact {
  background-color: var(--green);
}

.contact > p >  a {
  text-decoration: none;
  color: var(--black);
}

footer > h4 {
  padding: 3vh;
  text-transform: uppercase;
  font-family: var(--body);
  letter-spacing: 0.5px;
  font-weight: 400;
}
