@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&family=Sorts+Mill+Goudy&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #585c68;
  font-size: 14px;
  line-height: 22px;
  color: #555555;
}
.portfolio-main {
  width: 800px;
  height: auto;
  margin: 50px auto;
  padding-top: 30px;
  background-color: white;
}
.header-top {
  width: 800px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
}
.card {
  /* padding-left: 15px; */
  flex: 3 1 60%;
  display: flex;
  align-items: center;
}
.image {
  border-radius: 50%;
  border: 3px solid #ccc;
  overflow: hidden;
  width: 200px;
  height: 200px;
  background-size: cover;
  display: block;
}
.card img {
  width: 100%;
  height: auto;
}
.card-title {
  padding-left: 25px;
}
.card-title h1 {
  font-family: 'Lato', sans-serif;
  font-size: 1.85rem;
  line-height: 1.5rem;
  letter-spacing: 2.15px;
}
.card-title p {
  line-height: 1.5rem;
  letter-spacing: 0.52px;
  font-size: 1.1rem;
  text-align: center;
}
.contacts {
  flex: 1 1 40%;
  text-align: right;
  padding-right: 15px;
}
.contacts ul li {
  line-height: 1.45rem;
}
.contacts ul li a {
  color: #555555;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}
.contacts i {
  padding-left: 15px;
  font-size: 1.25rem;
}

.header-bottom-description {
  padding: 15px 25px;
  line-height: 1.5;
  letter-spacing: 0.7px;
  text-align: justify;
}
.main-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.main-content h1 {
  border-bottom: 1px solid cadetblue;
  line-height: 1.5;
}

.main-content p {
  padding: 10px 15px;
}

.left-column,
.right-column {
  flex: 1 1 50%;
  padding: 15px 25px;
  margin-bottom: 100px;
}
.work-experience:not(:first-child) {
  margin-top: 15px;
}

.work-item {
  margin-top: 15px;
}
.work-item h4,
.work-item p {
  margin: 0;
  padding: 0;
  padding-left: 15px;
}
.work-item p {
  line-height: 1.6;
  letter-spacing: 0.25px;
}
.work-item-anchor {
  text-decoration: none;
  color: #555555;
  cursor: pointer;
}

.skills-pool {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.skills-pool span {
  background-color: #2f4c39;
  padding: 5px 15px;
  color: white;
  margin-right: 5px;
  border-radius: 3px;
}
.skills-pool span:last-child {
  margin-right: 0;
}
