@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Oswald:wght@200..700&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

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

img {
  display: block;
}
/* End Reset */

/* Utility Classes */
.nowrap {
  white-space: nowrap;
}

.offscreen {
  position: absolute;
  left: -100000px;
}

/* End Utility Classes */

body {
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  background-color: aliceblue;
  background: repeat-x right center url("./img/bubbles.png"),
    no-repeat linear-gradient(to left, steelblue, #fff);
  background-size: 20%, auto;
}

.container {
  background-color: #dedbd2;
  background-image: url("./img/pexels-fotios-photos-109260.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top right;
}

.hero {
  border-bottom: 2px solid hsl(0 0% 60%);
  padding: 20px 20px 28px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 30px;

  background-color: hsla(0, 0%, 20%, 0.4);
}

.h1 {
  font-size: 500%;
  color: #f1faee;
  text-shadow: 2px 2px 5px #000;
  /* background-color: hsla(0, 0%, 0%, 0.403);
  padding: 0.25rem;
  border-radius: 10px; */
}

.profile-pic-figure {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.profile-pic-figure img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px double hsl(0 0% 60%);
}

figcaption {
  color: hsl(0 0% 60%);
  font-size: 16px;
}

.about,
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.h2 {
  color: #f1faee;
  margin-top: 160px;
  text-align: center;
  margin-bottom: 8px;
}

p {
  text-align: center;
  max-width: 360px;
  margin-bottom: 2rem;
}

/* .clip {
  font-weight: 800;
  font-size: 12rem;
  text-align: center;
  background-image: url("./img/pexels-fotios-photos-109260.jpg");
  background-size: 100%;
  text-transform: uppercase;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
} */

/* To make mobile friendly */

@media (max-width: 600px) {
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .h1 {
    font-size: 250%;
  }

  figcaption {
    font-size: 14px;
  }
}
