body {
  margin: 50px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 90vh;
}

.container {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

p {
  font-family: Neue Haas Grotesk Display Pro, sans-serif;
  margin-top: 0;
  margin-bottom: 0;
}

.name {
  font-size: 20px;
  text-align: center;
  width: 300px;
  margin: 0 auto;
}

.profession {
  font-size: 14px;
  width: 300px;
  margin: 0 auto;
}

.contact {
  text-align: center;
  font-size: 14px;
  margin-top: 5px;
  text-decoration: none; 
  color: inherit;
  font-family: Neue Haas Grotesk Display Pro, sans-serif;
}

.contact:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.image {
  width: 82%;
  max-width: 1100px;
  object-fit: contain;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
}

@media(max-width: 768px) {

  body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 90vh;
    overflow: hidden;
}

.container {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


 .header {
    padding: 0px;
    height: 60px
  }

 .image {
    width: 100%;
    height:auto;
    max-width: 100%;
    object-fit: contain;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
 }

 .footer {
    padding: 0px;
    height: 60px;
    bottom:0;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}


