@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rochester&display=swap');

*, html{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  image-rendering: crisp-edges;
}

body{
  background: url('bg.jpg');
  font: normal 1em/150% 'Inconsolata';
  color: #333;
}

::selection {
  background: var(--accent, #ffd6e0);
  color: #fff;
}
::-moz-selection {
  background: var(--accent, #ffd6e0);
  color: #fff;
}
::-webkit-selection{
  background: var(--accent, #ffd6e0);
  color: #fff;
}

main{
  width: 65em;
    margin: 5vh auto;
}

nav{
  text-align: center;
  margin-bottom: 1.5em;
  text-transform: lowercase;
  font-size: 1.5em;
}

h1{
  font: normal 3.5em 'Rochester';
  text-align: center;
  color: var(--accent);
}

h2{
  text-align: center;
  margin-bottom: 1.5em;
  text-transform: uppercase;
  letter-spacing: 3px;
  font: normal 1.2em 'Inconsolata';
}

h3{
  margin: 1em 0 0.5em;
  color: var(--h3-color);
  font: normal 1.5em 'Inconsolata';
    text-transform: lowercase;
  letter-spacing: 3px;

}

.blurb{
  width: 85%;
  margin: 0 auto;
  font: normal 1em/160% 'Poppins', sans-serif;
  margin-bottom: 3em;
  text-align: center;
}

.blurb ul{
  list-style-type: none;
  margin: 1em;
}

.blurb ul li{
  padding-left: 1em;
}

.blurb ul li::marker{
  color: var(--accent);
}

p{
  padding: 0.5em 0;
}

b, strong{
  color: var(--bold-color);
}

i, em, small{
  font-family: 'Inconsolata', monospace;
  color: var(--accent);
}

a:link, a:visited{
  color: var(--accent);
      text-decoration: underline wavy;
      text-decoration-thickness: 1px;
  text-decoration-color: var(--link-decoration-color);
}

a:hover, a:focus, a:active{
  background-image: var(--border-image);
  color: var(--link-hover-color);
  border-radius: 5px;
  text-decoration: none;
}

ul.img-list {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  display: flex;
  flex-wrap: wrap;;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

ul.img-list li {
  display: inline-block;
  height: 120px;
  margin: 0 1em 1em 0;
  position: relative;
  width: 120px;
}

span.text-content {
  background: var(--hover-background-color);
  color: var(--link-hover-color);
  cursor: pointer;
  display: table;
  height: 140px;
  left: 0;
  position: absolute;
  top: 0;
  width: 140px;
  opacity: 0;
  -webkit-transition: opacity 500ms;
  -moz-transition: opacity 500ms;
  -o-transition: opacity 500ms;
  transition: opacity 500ms;
      border-radius: 30px;
}

ul.img-list li:hover span.text-content {
  opacity: 1;
}

span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  font-family: 'Rochester', cursive;
  text-transform: lowercase;
  font-size: 1.8em;
  line-height: 25px;
  text-shadow: 0 0 2px var(--hover-text-shadow-color);
  overflow-wrap: anywhere;
}

span em{
    display: block;
    font-style: normal;
    font-family: 'Poppins', sans-serif;
    font-size: 0.5em;
    padding-top: 10px;
    line-height: 15px;
    color: var(--hover-subtitle-color);
    text-shadow: none;
}

ul.img-list li{
      background-image: var(--border-image);
   width: 140px;
   height: 140px;
      border-radius: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
}

li img{
    border-radius: 30px;
    height: 120px;
    width: 120px;
}

footer{
  width: 50%;
  margin: 2em auto;
  text-align: center;
}

heart::before{
  content: ' ♥ ';
  color: var(--accent);
}

@media (max-width: 1100px) {
  main {
    width: 95vw;
    margin: 3vh auto;
  }
  ul.img-list {
    gap: 6px;
  }
  ul.img-list li {
    width: 110px;
    height: 110px;
  }
  li img {
    width: 90px;
    height: 90px;
  }
  span.text-content {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 700px) {
  main {
    width: 99vw;
    margin: 2vh auto;
  }
  h1 {
    font-size: 2.2em;
  }
  h2 {
    font-size: 1em;
  }
  .blurb {
    width: 98%;
    font-size: 0.95em;
  }
  ul.img-list {
    flex-direction: row;
    gap: 12px;
  }
  ul.img-list li,
  span.text-content {
    width: 30vw;
    max-width: 320px;
    height: 30vw;
    max-height: 320px;
    margin: 0 auto 1em auto;
    opacity: 0.8;
  }
  li img {
    width: 26vw;
    max-width: 280px;
    height: 26vw;
    max-height: 280px;
  }
  span.text-content span {
    font-size: 1.2em;
  }
  footer {
    width: 95%;
    font-size: 0.95em;
  }
}

@media (max-width: 400px) {
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 0.9em;
  }
  .blurb {
    font-size: 0.85em;
  }
}