* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #100f0f;
  font-family: "Share", cursive;
}

h1 {
  font-size: 3em;
}

h2 {
  font-size: 2em;
}

h1,
h2 {
  padding-bottom: 10px;
  color: #a27b5c;
}

p {
  font-size: 1em;
  text-align: justify;
  color: #f1f1f1;
}

a {
  text-decoration: none;
  color: #03b6c3;
}

main {
  max-width: 40em;
  width: 100%;
  margin: 0 auto;
  padding-top: 25vh;
}

section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

section.tools-section,
section.project-section,
section.contact-section {
  margin: 10vh 0;
  padding: 0 10px;
}
/* navigation bar */

nav {
  width: 100%;
  font-size: 1.2em;
  background-color: #100f0f;
  color: #e2dcc8;
  position: fixed;
}

.nav-item {
  color: #e2dcc8;
  text-align: center;
  padding: 10px;
}

a.nav-link {
  color: #e2dcc8;
}

.nav-item:hover {
  text-decoration: underline;
}

.contact-button {
  background-color: #0f3d3e;
}

/* intro section */

.intro-section {
  padding: 0 10px;
}

.profile-image {
  height: auto;
  width: 300px;
  border-radius: 50%;
  padding-bottom: 10px;
}

/* tools section */

.tools-container {
  display: flex;
  list-style: none;
  padding: 20px 0;
  gap: 20px;
}

.tools-icon {
  height: 80px;
  width: 80px;
}

/* project section */

.card-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.card-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f1f1f1;
  border-radius: 8px;
  margin: 25px 25px;
  max-width: 300px;
}

.card-image {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-project-title {
  padding: 10px;
  color: #a27b5c;
}

.card-project-description {
  padding: 10px;
  font-size: 16px;
  color: #100f0f;
}

.show-more-button {
  display: flex;
  flex-direction: column;
  background-color: #e2dcc8;
  color: #100f0f;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.5s;
}

.show-more-button:hover {
  transform: scale(1.05);
}

/* contact section */

.contact-section {
  margin: 25vh 0;
  padding: 0 10px;
}

.footer-section {
  padding: 20px 0;
  text-align: center;
  bottom: 0;
}

/* aboutme page content */

section.aboutme-page-content {
  display: block;
  padding: 0 20px;
}

/* project page content */

.project-page-content {
  display: block;
  padding: 0 30px;
}

/* contact page content */

.icon-container {
}

.social-media-icon {
  margin: 10px;
  width: 60px;
  height: auto;
  transition: all 0.5s;
}

img.social-media-icon:hover {
  transform: scale(1.05);
}

.contact-page-content {
  padding: 0 20px;
  display: block;
}

.icon-container {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

a.send-email-button {
  display: block;
  color: #100f0f;
  background-color: #e2dcc8;
  max-width: fit-content;
  margin: 10px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.5s;
}

a.send-email-button:hover {
  transform: scale(1.05);
}

/* media query */

@media (min-width: 768px) {
  h1 {
    font-size: 4em;
  }

  h2 {
    font-size: 3em;
  }

  p {
    font-size: 1.2em;
    text-align: justify;
  }

  section.tools-section,
  section.project-section,
  section.contact-section {
    margin: 20vh 0;
    padding: 0 10px;
  }

  nav {
    margin: 0 auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
  }

  .nav-item-right {
    margin-right: 10px;
    display: flex;
  }

  .nav-item {
    margin: 0 5px;
    border-radius: 8px;
  }

  .nav-item:hover {
    text-decoration: none;
    outline-style: solid;
    outline-width: 2px;
  }

  div.nav-item.nav-logo:hover {
    outline-style: none;
    text-decoration: underline;
  }

  .profile-image {
    width: 300px;
  }

  section {
    padding: 0 20px;
  }
}

@media (min-width: 1200px) {
  .intro-section {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
  }

  .card-container {
    justify-content: flex-start;
  }

  .card-image {
    height: 200px;
  }
}
