:root {
  --primary-color: #42739F;
  --secondary-color: #000000; 
  --header-font: 'Roboto', sans-serif;
  --main-font: 'Roboto', sans-serif;
  --secondary-font: 'Roboto Slab', serif;
}

html {
  max-width: 1600px;
  margin: 0 auto;
}

body {
  background-color: var(--secondary-color);
}

.body {
  visibility: hidden;
}

h1 {
  margin: 0;
}

h1, h2 {
  font-family: var(--header-font);
  color: var(--secondary-color);
  font-size: 2em;
  font-weight: 700;
}

h3 {
  text-align: center;
  font-family: var(--secondary-font);
}

p {
  font-family: var(--main-font);
  font-size: 1.2em;
  font-weight: bold;
  color: var(--secondary-color);
  margin: 0;
}

img {
  margin: 0;
}

h1, h2, h3 {
  text-transform: uppercase;
}

ul {
  margin: 0;
}

a {
  color: inherit;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

.full-width {
  width: 100%;
}


/* Large devices (laptops/desktops, 992px and down) */
@media only screen and (max-width: 992px) {
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
} 

/*******************************************************
Nav
********************************************************/
nav {
  width: 100%;
  max-width: 1600px;
  height: fit-content;
  padding: 10px 20px;
  background: white;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

nav > ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around; 
  list-style: none;
}

nav > ul > li {
  margin: 0 10px;
  text-transform: uppercase;
  font-weight: 500;
}

nav > ul > li > a {
  color: black;
}

nav > ul > li:hover {
  color: var(--primary-color);
}

nav > ul > li > a:hover {
  text-decoration: none;
}

@media only screen and (max-width: 1000px) {
  #top ul {
    display: none;
  }
}

/*******************************************************
Header 
********************************************************/
#top {
  margin-top: 60px;
}

header {
  height: 50vh;
}

.hero-image {
  width: 100%;
  height: 100%;
  max-height: 800px;
  background-image: url('../images/hero-server-image.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content > * {
  color: white;
  text-align: center;
}

.hero-content > p {
  font-weight: 300;
}

.content-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  color: white;
  background: rgb(2,0,36);
  background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.content-box > * {
  color: white;
}

/* Medium devices (landscape tablets, 768px and down) */
@media only screen and (max-width: 768px) {

}

@media only screen and (max-width: 992px) {

}

/*******************************************************
About
********************************************************/

#about {
  height: 50vh;
  width: 100%;
  background: white;
}

.about {
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: .30fr .70fr;
}

.profile-pic {
  position: relative;
  height: 100%;
  width: 100%;
}

.summary {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.picture {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  height: 300px;
  background: lightgray;
  background-image: url("../images/profile-picture.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.phrase {
  position: absolute;
  top: 10px;
  right: -140px;
  z-index: 10;
  font-family: "vivaldi";
  text-transform: capitalize;
  font-size: 3em;
}

.resume-button {
  position: absolute;
  bottom: 10px;
  right: -60px;
  z-index: 9;
  padding: 8px 24px;
  background: var(--primary-color);
  cursor: pointer;
}

.resume-button > p {
  text-transform: uppercase;
  color: white;
}

.summary > h2 {
  color: var(--primary-color);
}

/* Medium devices (landscape tablets, 768px and down) */
@media only screen and (max-width: 1000px) {
  #about {
    height: fit-content;
  }
  .about {
    height: fit-content;
    grid-template-columns: 1fr;
    grid-template-rows: .50fr .50fr;
    grid-row-gap: 20px;
    padding-top: 30px;
    padding-bottom: 50px;
  }
  .profile-pic {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-around;
    height: 100%;
    width: 100%;
  }
  .picture {
    position: relative;
    left: unset;
    right: unset;
    top: unset;
    bottom: unset;
    width: 300px;
    height: 300px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .phrase {
    right: 105px;
    top: -30px;
    text-align: center;
    width: 100%;
  }
  
  .resume-button {
    width: 90%;
    bottom: -20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .summary {
    align-items: center;
  }
}

/*******************************************************
Contact
********************************************************/
#contact {
  height: 25vh;
}

.contact-image {
  width: 100%;
  height: 100%;
  max-height: 800px;
  background-image: url('../images/keyboard.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-content > * {
  color: white;
}

.content-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 10px;
  color: white;
  background: rgb(2,0,36);
  background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.content-box > * {
  color: white;
}

.contact-info {
  background: white;

}

.contact-info p {
  padding: 15px 0 0;
}

.contact-info h2 {
  color: var(--primary-color);
  padding: 0 0 15px;
  margin: 0;
}

.vertical {
  padding-top: 50px;
  padding-bottom: 50px;
}

.divider {
  border-bottom: 1px solid black;
}

.fab {
  font-size: 2em;
  padding-top: 15px;
}

/*******************************************************
Footer
********************************************************/

footer {
  width: 100%;
  background: var(--primary-color);
}