* {
  margin: 0;
  font-family: sans-serif;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #f6f4f0;
  color: #2e5077;
}

/* header  */

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #2e5077;
  color: #f6f4f0;
  width: 100%;
  /* border-bottom: solid 2px #2e5077; */
}

.title {
  display: flex;
  flex-direction: row;
  align-content: center;
  margin: 0.8rem 0;
}
.title img {
  width: 2.5rem;
  height: 2.5rem;
  /* background-color: red; */
}

h1 {
  font-size: 2.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  padding-left: 0;
}

nav ul a li {
  padding: 0.5rem;
  font-size: large;
}

nav ul a {
  text-decoration: none;
  color: #f6f4f0;
}
nav ul a:hover {
  border-radius: 0.5rem 0.5rem 0 0;
  background-color: #f6f4f0;
  color: #2e5077;
}

/* main */

main {
  display: flex;
  justify-content: space-between;
  /* flex-wrap: wrap; */
}
.content {
  width: 65%;
  margin: 2rem;
}

article {
  border: #2e5077 solid 1px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
}

article h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

article img {
  width: 70%;
  border-radius: 0.5rem;
  border: #4da1a9 solid 1px;
  margin-bottom: 1rem;
  align-self: center;
}

article p {
  font-size: 1rem;
  text-indent: 2rem;
  margin-bottom: 1rem;
  text-align: justify;
}

article .list {
  margin-bottom: 1rem;
}

article .list span {
  font-weight: bold;
}

aside {
  background-color: #2e5077;
  width: 30%;
  height: fit-content;
  border-radius: 0.5rem;
  margin: 2rem 0.5rem;
  color: #f6f4f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

aside h2 {
  margin-top: 1rem;
}

aside img {
  margin: 1rem 0;
  width: 10rem;
  background-color: #4da1a9;
  border-radius: 100%;
  border: #f6f4f0 solid 2px;
}

aside ul {
  list-style: none;
  align-self: baseline;
  font-size: small;
  margin-bottom: 2rem;
}

aside ul li {
  display: flex;
  margin-bottom: 0.5rem;
}

aside ul li span {
  width: 7rem;
  display: block;
}

aside ul li p {
  padding-right: 1rem;
  text-align: justify;
}

footer {
  background-color: #2e5077;
  color: #f6f4f0;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
}

@media only screen and (max-width: 1200px) {
  main {
    flex-wrap: wrap;
    justify-content: center;
  }
  .content {
    width: 100%;
  }
  aside {
    width: 80%;
  }
  article,
  article p {
    font-size: large;
  }
}
