html {
  scroll-behavior: smooth;
}

body {
  font-family: sans-serif;
  /* background-color: rgb(31, 172, 197); */
  /* text-align: center; */
  background-image: linear-gradient(#3ac1cf, #92c3c9);
}
h1 {
  color: white;
  font-size: 40px;
  font-family: "Libre Baskerville", serif;
  font-weight: normal;
  text-align: center;
}
h2 {
  text-align: center;
}

.page {
  max-width: 1200px;
  margin: 0 auto 200px auto;
}

.about {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 786px;
  margin: 0 auto;
}

#about-me-photo {
  flex-shrink: 0;
  max-width: 300px;
  margin-right: 20px;
}

.about-text {
  flex: 1;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
    .about {
        flex-direction: column;
        padding: 0 20px;
    }

    #about-me-photo {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }
}
.nav {
  margin: 10px auto 80px auto;
  text-align: center;
}

.nav a {
  margin: 0 20px;
  color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.section {
  margin: 0 0 20px 0;
  padding: 0 20px;
  border: 1px dotted black;
  text-align: left;
  background-color: #fff;
}

.section .section-intro {
  text-align: left;
  font-size: 18px;
}

.section ul {
  text-align: left;
}

.contact-info {
    max-width: 786px;
    margin: 0 auto;
    padding: 20px;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}
