@media (max-width: 768px) {
  .list-social-icons a,
  #sideNav .nav-link,
  .navbar-brand {
    min-height: 48px;
    min-width: 48px;
    min-inline-size: 48px;
    margin-right: 4px;
    margin-left: 4px;
    line-height: 48px;
  }
}

.devicons {
  font-size: 1.5em;
  vertical-align: sub;
}

.publication-content {
  width: 90%;
}

h3 {
  margin-top: 40px;
}

h3.mb-0 {
  margin-top: 0;
}

div.skills-heading {
  margin-top: 1em;
  margin-bottom: 0 !important;
}

.tags {
  font:
    12px/1.5 "PT Sans",
    serif;
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.tags li {
  float: left;
}

.tag {
  background: #eee;
  border-radius: 3px 0 0 3px;
  color: #999;
  display: inline-block;
  height: 26px;
  line-height: 26px;
  padding: 0 20px 0 23px;
  position: relative;
  margin: 0 10px 10px 0;
  text-decoration: none;
  transition: color 0.2s;
}

.tag::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: "";
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.tag::after {
  background: #fff;
  border-bottom: 13px solid transparent;
  border-left: 10px solid #eee;
  border-top: 13px solid transparent;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
}

.tag:hover {
  background-color: crimson;
  color: white;
}

.tag:hover::after {
  border-left-color: crimson;
}

.resume-section blockquote {
  border-left: 4px solid #bd5d38;
  padding-left: 1em;
}

.my-auto {
  width: 100%;
}

.advteaser {
  width: 250px;
  height: 250px;
  position: relative;
  display: inline-block;
}

.advteaser img {
  position: absolute;
  top: 0;
  left: 0;
}

.advteaser .img-top {
  display: none;
  z-index: 99;
}

.advteaser-container:hover .img-top {
  display: inline;
}

img.qrcode {
  max-width: 300px !important;
}

.image-gallery {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0.75rem;
  margin-top: 1.25rem;
}

.image-gallery td {
  vertical-align: top;
}

.image-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
  box-shadow: 0 14px 28px rgba(28, 47, 91, 0.12);
}

.facebook-embed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 1.25rem;
  margin: 1rem 0 1.75rem;
}

.facebook-embed-grid iframe {
  display: block;
  width: 100%;
  max-width: none !important;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0.9rem;
  box-shadow: 0 14px 28px rgba(28, 47, 91, 0.12);
}

@media (max-width: 768px) {
  .facebook-embed-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-left: 0;
    margin-right: 0;
  }

  .facebook-embed-grid iframe {
    width: 100% !important;
    min-width: 0;
  }

  .image-gallery,
  .image-gallery tbody,
  .image-gallery tr,
  .image-gallery td {
    display: block;
    width: 100%;
  }

  .image-gallery {
    border-spacing: 0;
  }

  .image-gallery td + td {
    margin-top: 1rem;
  }

  img.qrcode {
    width: min(100%, 300px);
    height: auto;
  }
}
