/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  color: black;
  background: WhiteSmoke;
  /* cursor: url('./'), auto; */
}

h1 {
  font-family: "Jua", serif;
  font-weight: 400;
  font-style: normal;
  margin: 2.5rem 1rem;
}

p {
  font-family: "Hubballi", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
  margin: 2.5rem 1rem;
}

figcaption {
  font-family: "Hubballi", serif;
  font-weight: 400;
  font-style: normal;
}

.banner { 
  font-size: 1.75rem;
  text-align: center;
  margin: 2.5rem 1rem;
  padding: 15px 10px 10px 10px;
  background-color: #BABDE2;
  color: white;
}

.img_background {
  background-image: url("img/background.png");
  background-size: cover;
  background-position: center;
  height: 100vh; /* full screen section */
}

.imgtxt_aboutme {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 40%;
  height: 250px;      /* adjust as needed */
  overflow: hidden;
}
.imgtxt_aboutme img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.imgtxt_aboutme span {
  opacity: 0;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 1;

  font-size: 3rem;
  color: white;

  filter:
    drop-shadow(1px 1px 0 black)
    drop-shadow(-1px 1px 0 black)
    drop-shadow(1px -1px 0 black)
    drop-shadow(-1px -1px 0 black);

  pointer-events: none;

  transition: opacity 0.3s ease;
}
.imgtxt_aboutme:hover span,
.imgtxt_aboutme:focus span {
  opacity: 1;
}
.imgtxt_aboutme:hover img,
.imgtxt_aboutme:focus img {
  transform: scale(1.05);
}

.jua-regular {
  font-family: "Jua", serif;
  font-weight: 400;
  font-style: normal;
}

.hubballi-regular {
  font-family: "Hubballi", serif;
  font-weight: 400;
  font-style: normal;
}


