* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box; 
}

body {
  font-family: 'Heebo', sans-serif;
  background-image: url("./img/bg.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay {
  position: relative;
  background: rgba(252, 252, 252, 0.80);
  transform: translateY(25vh);

  display: flex;
  justify-content: center;
  padding: 1%;
}

.content {
  margin-left: 6%;
  width: 60%;
  max-width: 700px;

  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

#profile {
  border-radius: 100%;
  width: 250px;
  height: 250px;
  margin-bottom: 1rem;
}

h1 {
  color: #9B3733;
  font-size: 54px;
  font-weight: 700;
  line-height: 3.75rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

nav a {
    text-decoration: none;
    display: inline-block;
    padding: 8px 28px;
        padding-left: 28px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.buttons {
  margin-top: 30px;
}

.button {
  display: inline-block;
  width: 150px;
  padding: 8px 40px;
  background: white;
  border: 1px solid #333333;
  box-sizing: border-box;
  border-radius: 30px;

  font-size: 1rem;
  text-align: center;
  font-family: 'Heebo', sans-serif;
  color: #333;
}
.button:first-child {
  margin-right: 20px;
  margin-bottom: 20px;
}
.button:focus, .button:hover {
  border: 1px solid #000;
  background: rgb(247, 241, 241);
  transition: all 300ms ease;
  cursor: pointer;
}

@media (max-width: 750px) {
  .overlay {
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;

    transform: translateY(5vh);
  }

  .content {
    width: auto;
  }

  .button:first-child {
    margin-bottom: 20px;
  }
}
