@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital@1&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;;
}

.wrapper {
  overflow: hidden;
}

h1, h2, h3 {
  text-transform: uppercase;
}

h4, h4 a {
  color: white;
  font-weight: 300;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 3%;
}

.logo img {
  max-width: 150px;
}

.author {
  display: flex;
  flex-direction: column;
  justify-content: center;

}
h1, .author h2 {
  text-align: end;
}

.author h2, .client h3  {
  font-weight: 300;
}

.author h2 {
  text-transform: none;
}

.portfolio h2 {
  margin: 20px;
}

.client a {
  font-family: Baskervville;
}

.client header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 5px solid black;
  border-top: 2px solid black;
  margin: 6% 0;
}

.client header a {
  color: red;
}

.splash img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.portfolio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1.2em;
}

.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.client {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 1em;

}
.clients .client {
  transition: transform 0.5s ease-in-out;
}

.clients .client:hover {
  transform: scale(1.05);
}

.client img {
  max-width: 400px;
  height: 100%;
  object-fit: cover;
}

footer {
  background-color: #3d3d3d;
  color: white;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}


@media only screen and (min-width: 600px){
  .author {
    align-items: flex-start;
  }

  .author h2, h1 {
    text-align: unset;
  }

}