@font-face {
    font-family: "Century Gothic";
    src: url("/fonts/Century Gothic.woff2");
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic";
    src: url("/fonts/Century Gothic Italic.woff2");
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic";
    src: url("/fonts/Century Gothic Bold.woff2");
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: "Century Gothic";
    src: url("/fonts/Century Gothic Bold Italic.woff2");
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

body {
  margin: 0;
  background-color: #d5e5ff;
  background-image: url("/images/Background.png");
  background-position: top;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
  
b {
  font-weight: bold;
}

i {
  font-style: italic;
}

.strikethrough {
  text-decoration: line-through;
}

.wrapper {
  text-align: center;
  margin: 20px auto;
  padding: 0 1rem;
  font-family: "Century Gothic";
  width: 100%;
  max-width: 55%;
  flex: 1;
  box-sizing: border-box;
  overflow: hidden;
}

/* For screen readers */
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.logo {
  max-width:100%;
  height:auto;
  margin-bottom: 1rem;
}

/* Credit: http://www.menucool.com/tooltip/css-tooltip */  
/*.tooltip {
  position:relative;
}

.tooltip .top {
    min-width: 1px;
    max-width: 200px;
    top:-20px;
    left:50%;
    transform:translate(-50%, -100%);
    padding:2px;
    background-color:#fe80df;
    color: black;
    border-radius:5px;
    position:absolute;
    z-index:99999999;
    box-sizing:border-box;
    border:3px solid #ff00bf;
    display:none;
}

.tooltip:hover .top {
    display:block;
}

.tooltip .top i {
    position:absolute;
    top:100%;
    left:50%;
    margin-left:-12px;
    width:24px;
    height:12px;
    overflow:hidden;
}

.tooltip .top i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,-50%) rotate(45deg);
    background-color:#fe80df;
    border:3px solid #ff00bf;
}

.tooltip .bottom {
    min-width:1px;
    max-width: 200px;
    top:40px;
    left:50%;
    transform:translate(-50%, 0);
    padding:2px;
    background-color:#fe80df;
    color: black;
    border-radius:5px;
    position:absolute;
    z-index:99999999;
    box-sizing:border-box;
    border:3px solid #ff00bf;
    display:none;
}

.tooltip:hover .bottom {
    display:block;
}

.tooltip .bottom i {
    position:absolute;
    bottom:100%;
    left:50%;
    margin-left:-12px;
    width:24px;
    height:12px;
    overflow:hidden;
}

.tooltip .bottom i::after {
    content:'';
    position:absolute;
    width:12px;
    height:12px;
    left:50%;
    transform:translate(-50%,50%) rotate(45deg);
    background-color:#fe80df;
    border:3px solid #ff00bf;
}*/

.about-me-mythical {
  width: 47%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 661 / 365;
  position: relative;
  top: 50px;
  margin-top: -5rem;
  z-index: -3;
  /*top: 2.2rem;
  margin-top: -3rem;
  z-index: 10;*/
}
  
.text-box {
  background-color: #ffaaaa;
  border: 5px solid #ff5555;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  margin-bottom: 2rem;
}

.text-box:last-child {
  margin-bottom: 0.5rem
}

.text-box a {
  color: #214478;
}

.text-box img {
  max-width: 100%;
  height: auto;
  aspect-ratio: attr(width) / attr(height);
}

.text-box p:first-child {
  margin-top: 0;
}

.text-box p:not(:last-child) {
  margin-bottom: 1em;
}

.text-box p:last-child {
  margin-bottom: 0;
}

hr.space-break {
  border: none;
}

.colored-link {
  color: #214478;
}

.white-link {
  color: #ffffff;
}

h1, h2 {
  background-color: #ff5555;
  border-radius: 10px;
  padding: 10px;
  color: rgb(255, 255, 255);
  font-size: 1.25em;
  font-weight: bold;
  text-align: left;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2em;
  text-align: center;
}

h2 {
  padding-left: 15px;
}

/*h1, h2, .text-box {
  width: 100%;
}*/

button {
  background-color: #fe80df;
  border: 3px solid #ff00bf;
  border-radius: 5px;
  padding: 2px 5px;
  color: black;
  font-size: 1em;
  font-family: 'Century Gothic';
  cursor: pointer;
}

button:hover {
  background-color: #fd4ed1;
}

a.button {
  background-color: #fe80df;
  border: 3px solid #ff00bf;
  border-radius: 5px;
  padding: 2px 5px;
  color: black;
  text-decoration: none;
  font-size: 1em;
  font-family: 'Century Gothic';
}

a.button:hover {
  background-color: #fd4ed1;
}
  
.heart-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(125px, auto));
  margin-bottom: 2rem;
}

.heart-container {
  position: relative;
}

.heart-container:hover {
  transform: scale(110%);
}

.heart-link {
  display: block;
  height: 100%;
}

.heart-image {
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translateX(-50%) translateY(-50%);
}

.heart-text{
  position: absolute; 
  /* Commented out until all heart buttons have images
  top: 60%; 
  left: 50%;
  transform: translateX(-50%);*/
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fe80df;
  border: 3px solid #ff00bf;
  border-radius: 5px;
  padding: 2px;
  width: 120px;
  color: black;
  word-wrap: break-word;
}

.links-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(50px, auto));
  margin-bottom: 2rem;
}

.link-icon {
  position: absolute;
  top: 37%; 
  left: 53%; 
  transform: translate(-50%, -50%);
  font-size: 23px;
  height: 23px;
  color: #ffffff;
}

.link-icon img {
  height: 25px;
  pointer-events: none;
}

/*Credit: https://stackoverflow.com/a/12216973/18758445*/
ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

li {
  padding-left: 1em;
  text-indent: -1em;
}

li:before {
  content: "❤";
  padding-right: 5px;
}

select {
  background-color: #ffffff;
  border: 1px solid #000000;
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 1em;
  font-family: 'Century Gothic';
}

footer {
  margin-top: auto;
  background-color: #d40000;
  padding: 20px;
  text-align: center;
  font-family: "Century Gothic";
  font-size: 12px;
  color: #ffffff;
  flex-shrink: 0;
}

footer a {
  color: #d5f6ff;
}

/* Mobile */  
@media only screen and (max-width: 767px) {
  .wrapper {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .about-me-mythical {
    width: 90%;
    max-width: none;
    /*top: 2.2rem;
    margin-top: -3rem;*/
  }
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 1365px) {
  .wrapper {
    max-width: 67%;
  }

  .about-me-mythical {
    width: 90%;
    max-width: 450px;
    /*top: 2.2rem;
    margin-top: -3rem;*/
  }
}

/* Particularly large monitors */
@media only screen and (min-width: 1366px) {
  .wrapper {
    max-width: 800px;
  }

  .about-me-mythical {
    width: 47%;
    max-width: 400px;
    /*top: 2.2rem;
    margin-top: -3rem;*/
  }
}