header {
  display: flex;
  align-content: center;
  justify-content: center;
  background-color: antiquewhite;
}

h1 {
  font-size: 2rem;
  text-align: center;
}

aside {
  background-color: whitesmoke;
}

body {
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: whitesmoke;
  align-content: center;
}

.content-wrapper {
  background-color: whitesmoke;
  display: flex;
}

.mobile-nav img {
  width: 32px;
  padding: 5px;
}

.mobile-nav {
  display: flex;
  justify-content: space-around;
  backdrop-filter: blur(10px);
  border-radius: 10px 10px 0 0;
  padding: 0.5rem 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav span {
  font-size: 2rem;
  flex: 1;
  text-align: center;
}

.desktop-nav {
  display: none;
}

.tablet-nav {
  display: none;
}

section {
  background-color: whitesmoke;
  padding: 1rem;
  text-align: center;
}

section p {
  font-size: 1rem;
  text-align: justify;
}

#about-me {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#about-me-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

#about-me-content p {
  max-width: 750px;
  text-align: center;
}

#about-me-content img {
  width: 1fr;
  border-radius: 100%;
}

#thoughts {
  background-color: whitesmoke;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.card {
  background-color: antiquewhite;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 300px;
  height: 200px;
  transition: 1s ease;
}

.card:hover {
  background-color: darkslategrey;
  color: whitesmoke;
  transition:
    0.5s ease,
    transform 0.5s ease;
  transform: scale(1.05);
  cursor: grab;
}

.card p {
  font-size: 1rem;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  line-clamp: 5;
  overflow: hidden;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}

textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  height: 100px;
}

button {
  padding: 0.5rem 1rem;
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

footer {
  background-color: antiquewhite;
  text-align: center;
  margin-bottom: 50px;
}

/* Tablet */
@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }

  .mobile-nav {
    display: none;
  }

  .tablet-nav {
    display: flex;
    flex-direction: row;
    background-color: whitesmoke;
    justify-content: space-around;
    padding: 1rem 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    position: sticky;
    top: 0px;
  }

  #about-me-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }

  #about-me-content p {
    width: 80%;
    text-align: left;
  }

  #about-me-content img {
    min-width: 200px;
    border-radius: 100%;
  }

  footer {
    margin-bottom: 0;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .content-wrapper {
    flex-direction: row;
  }

  #about-me-content {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }

  #about-me-content p {
    width: 80%;
    text-align: left;
  }

  #about-me-content img {
    width: 20%;
    min-width: 200px;
    border-radius: 100%;
  }

  .mobile-nav {
    display: none;
  }

  .tablet-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 100vh;
    align-items: stretch;
    padding: 1rem 20px;
    justify-content: start;
    gap: 1rem;
    position: sticky;
    top: 1rem;
  }

  footer {
    margin-bottom: 0;
  }
}
