body, html {
  height: 100%;
  background-color: #fff;
  scroll-behavior: smooth;
  font-family: 'Lato', sans-serif;
}

html p {
  font-size: 18px;
}

/* Upper navigation bar styling */

nav, .programming_title, .bio_title, .education_title {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  color: dimgray;
}

.nav-bar {
  list-style-type: none;
  margin-top: 2%;
  padding: 0;
  overflow: hidden;
  background-color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.nav-item {
  margin-right: 50px;
  margin-left: 50px;
  margin-bottom: 10px;
}

.nav-item a {
  display: block;
  color: dimgray;
  padding: 16px 16px;
  text-decoration: none;
}

.nav-item a:hover {
  color: #30839f;
}

#about_nav {
  text-decoration: underline;
}

/* Hero Image */

.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("assets/chicago-skyline-1.jpg");
  height: 95%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  margin-left: -8px;
  margin-right: -8px;

}

.hero-text {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  text-align: center;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

#scroll_logo {
  display: flex;
  height: 40px;
  padding-top: 90vh;
  margin-left: auto;
  margin-right: auto;
}

/* Body Styling */
body {
  font-family: 'Lato', sans-serif;
}

#main_area {
  padding-top: 1%;
  padding-bottom: 5vh;
}

.project_intro {
  margin-top: 3%;
  margin-left: 25%;
  margin-right: 25%;
  text-align: center;
}

.project_intro h2 {
  margin-bottom: -10px;
}

/* Projects and Project Images */
.project_and_image {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.project_and_image a {
  color: #30839f;
}

.project_and_image h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: -10px;
}

.project_and_image h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: #7083cf;
  margin-bottom: 0px;
}

.project_and_image .company_name {
  color: #7083cf;
}

.project_and_image .experience_date {
  color: #70cfbc;
  margin-top: 1%;
}

.project_description {
  margin-left: 40px;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.project_image {
  width: 350px;
}

#search_engine {
  width: 350px;
  border: 1px solid black;
}

#accenture_logo, #vax_alert, #google_logo, #google_cloud_logo {
  width: 350px;
}

/* About Me, Contact Info */
#about {
  margin-bottom: 1%;
  width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.bio_title, .education_title {
  text-align: left;
}

.photo_and_degree {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 1vh;
}

.education_text, .education_date {
  margin-top: 0;
  margin-bottom: 0;
}

.education_date {
  font-size: 14px;
}

.degree_image {
  width: 60px;
  margin-right: 1%;
}

.programming_title {
  padding-top: 2%;
  text-align: center;
}

.bio {
  display: flex;
  flex-direction: row;
}

.personal_info {
  margin-right: 40px;
  text-align: left;
}

#self_photo {
  height:250px;
  width:250px;
}

table {
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
    text-indent: initial;
    border-spacing: 2px;
    border-color: grey;
}

#programming_languages {
  width: 850px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

#programming_languages table {
  table-layout: fixed;
}

td {
  width: 170px;
  white-space: nowrap;
}

.photo_and_language {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
}

.programming_logo {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

.exp_star {
  width: 15px;
}

hr {
    width:70%;
    margin:0 auto;
}

/* Footer Styling */

footer {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
}

#contact_title {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  color: dimgray;
  margin-bottom: 1%;
}

#contact_text {
  margin-right: auto;
  margin-left: auto;
  width: 40%;
}

.social_media {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* Contact/Social Media Buttons */
.resume {
  width: 70px;
  margin-right: 20px;
}

.email {
  margin-top: 1px;
  width: 70px;
  height: 55px;
  margin-right: 30px;
}

.linkedin {
  width: 60px;
  height: 60px;
  margin-right: 20px;
}

.github {
  width: 85px;
  height: 85px;
}

footer img:hover {
  opacity:0.75;
}

/* Smaller Screen Adjustments */
@media screen and (max-width: 1024px) {
  #main_area {margin: 2vh 0;}
  .nav-item {margin-left: 20px; margin-right: 20px;}
  .project_and_image {flex-direction: column; align-items: center; width: 680px; margin-bottom: 5vh;}
  .project_description {text-align: center; margin-left: 0;}
  #about p {font-size: 18px;}
  .bio {margin-left: auto; margin-right: auto; flex-direction: column; align-items: center; width: 680px;}
  .bio_title, .education_title, .bio {text-align: center;}
  .bio_image {margin-top: 2vh; margin-bottom: 2.5vh;}
  #self_photo {width: 200px;}
  .education_info {display: flex; flex-direction: column; white-space: nowrap; align-items: flex-start; margin-left: auto; margin-right: auto; width: 60vw;}
  .personal_info {text-align:center; margin-right: 0;}
  #scroll_logo {padding-top: 70vh;}
}

@media screen and (max-width: 720px) {
  .project_and_image {width: 450px;}
  .project_description {margin-left: 10%; margin-right: 10%;}
  .bio {width: 450px;}
  .contact_text {width: 450px;}
  .social_media {margin-bottom: 5vh;}
}



