@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap');

body {
  padding: 0px;
  margin: 0px;
  border: 0px;
  width: 100vw;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  background-color: #f7f7f7;
}

nav {
  width: 100%;
  background-color: white;
}

.grow { transition: all .2s ease-in-out; }

.grow:hover { transform: scale(1.1); }

#nav-bar {
  width: 100%;
  padding: 0px;
  display: flex;
  font-weight: 500;
  border-bottom: 2px solid #f1f1f1;
}

#logo, #logo p {
  font-size: 30px;
  font-weight: 700;
  color: #8D1C1C;
  padding: 0px 30px 0px 20px;
  border: none;
  font-weight: 600;
  margin-top: auto;
  margin-bottom: auto;
}

#nav-link {
  width: 85%;
  font-size: 0px;
  display: flex;
  justify-content: flex-start;
  text-align: center;
}

#nav-link a {
  width: auto;
  padding: 10px 20px 10px 20px;
  border-left: 2px solid #eeeeee;
  border-right: 0px;
  font-size: 20px;
  margin-top: auto;
  margin-bottom: auto;
}

#nav-link a:hover {
  background-color: #f7f7f7;
  border-bottom: 1px solid #eeeeee;
  box-shadow: 0px 2px 5px -3px lightgray;
  cursor: pointer;
}

.nav-active {
  border-bottom: 3px solid #8D1C1C;
  box-shadow: 0px 4px 5px -3px lightgray;
  font-weight: 600;
}

#icon-container {
  width: 15%;
  height: 60px;
  padding: 0px;
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  margin-bottom: auto;
}

.icon {
  font-size: 40px;
  padding: 0px 20px 0px 0px;
  color: #888888;
  float: right;
}

#all-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}

#about-me {
  margin: 50px 50px 100px 100px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 300px;
}

#main-content {
  margin: 50px 0px 100px 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#content-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}

.card {
  padding: 30px;
  width: 400px;
  margin: 0px 50px 0px 50px;
}

.me-card {
  padding: 30px;
  max-width: 350px;
  margin: 0px 20px 0px 0px;
  min-width: 350px;
  color: #535353;
  
}

.me-card h1,h2 {
  margin: 0px;
  padding: 10px 0px 0px 0px;
  height: 50px !important;
  color: #8D1C1C;
}

.content {
  width: auto;
  max-width: 90%;
  text-align: left;
}

.content h1,h2 {
  color: #8D1C1C;
  height: 120px;
}

.content img {
  box-shadow: 0px 0px 3px 0px gray;
  margin: 20px auto 30px auto;
  width: 300px;
}

.content p {
  font-size: 18px;
  color: #535353;
  font-weight: 600;
  padding-top: 20px;
  height: 200px;
}

.img-container {
  margin-top: auto;
  margin-bottom: auto;
  display: flex;
  justify-content: left;
}

#headshot-container {
  display: flex;
  justify-content: left;
}

#headshot {
  border-radius: 50%;
  border: 3px solid #8D1C1C;
  width: 150px;
}

#titles {
  margin-top: -15px;
  font-size: 18px;
}

#footer {
  height: 7px;
  width: 100%;
  background-color: #8D1C1C;
  position: fixed;
  bottom: 0px;
}

@media only screen and (max-width: 1000px) {

  html, body {
    overflow-x: hidden;
  }

  #headshot-container {
    display: flex;
    justify-content: left;
  }

  #headshot {
    border-radius: 50%;
    border: 3px solid #8D1C1C;
    width: 120px;
  }

  #nav-link a {
    width: auto;
    padding: 10px 10px 10px 10px;
    border-left: 2px solid #eeeeee;
    border-right: 0px;
    font-size: 15px;
    margin-top: auto;
    margin-bottom: auto;
  }

  #logo, #logo p {
    font-size: 25px;
    font-weight: 700;
    color: #8D1C1C;
    padding: 0px 30px 0px 10px;
    border: none;
    font-weight: 600;
    margin-top: auto;
    margin-bottom: auto;
  }

  #all-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100vw;
  }

  #about-me {
    margin: 50px 0px 50px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100vw;
  }

  #main-content {
    margin: 0px 0px 100px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  #content-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .content h1,h2 {
    color: #8D1C1C;
    height: 120px;
    padding-bottom: 20px;
  }

  .card {
    padding: 30px;
    max-width: 100vw;
    margin: 0px 0px 0px 30px;
  }

  .me-card {
    max-width: 100vw;
    margin: 0px;
    padding: 5px;
    color: #535353;
    
  }

  .me-card h1,h2 {
    margin: 0px;
    padding: 10px 0px 0px 0px;
    /* height: 50px !important; */
    color: #8D1C1C;
  }

  .content p {
    font-size: 18px;
    color: #535353;
    font-weight: 600;
    padding-top: 30px;
    height: 200px;
  }

  .img-container {
    margin-top: auto;
    margin-bottom: auto;
    display: flex;
    justify-content: center;
  }
}
