/* Header Styling */

@media (min-width: 768px) {
  .header-bg {
    background-image: url("../../assets/img/Header2.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    max-width: 1500px;
    aspect-ratio: 1500 / 300;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .header-bg-center {
    background-image: url("../../assets/img/Anthony-Quatrochi-Animated-Logo.gif");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
    height: 90%;
    aspect-ratio: 263 / 280;
    margin-top: auto;
    margin-bottom: auto;
  }
}

/* Home Page Buttons */

.box {
  border: 1px solid #000;
  position: relative;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 320px;
  overflow: hidden;
}

.box:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: transparent;
  transition: all 0.5s ease 0s;
}

@media (min-width: 992px) {
  .box:hover:after {
    background-color: rgba(44,2,0,0.8);
  }
}

.box img {
  width: 100%;
  height: auto;
}

.box .logo {
  width: 110px;
  height: auto;
}

.box .title {
  width: 100%;
  padding: 7px 2px;
  margin: 0;
  position: absolute;
  font-size: calc(2px + 3.5vw);
  font-weight: 700;
  color: #fff;
  background-color: rgba(0,0,0,0.7);
  z-index: 1;
  transition: all 0.5s ease 0s;
  border-radius: 0;
  bottom: 0;
}

@media (min-width: 576px) {
  .box .title {
    font-size: 20px;
  }
}

@media (min-width: 992px) {
  .box .title {
    width: 90%;
    border-radius: 4px;
    top: 83%;
    font-size: 22px;
    padding: 10px;
    bottom: initial;
  }
}

@media (min-width: 992px) {
  .box:hover .title {
    top: 42%;
  }
}

.box .box-content {
  width: 90%;
  height: 92%;
  border: 1px solid #fff;
  position: absolute;
  top: 4%;
  left: 5%;
  padding: 15px;
  opacity: 0;
  z-index: 1;
  transform: scale(0);
  transition: all 0.5s ease 0s;
}

.box:hover .box-content {
  opacity: 1;
  transform: scale(1);
}

.box .box-content:hover {
  box-shadow: 0 0 20px #000;
}

.box .description {
  font-family: 'Roboto Condensed', 'Roboto Condensed Fallback', sans-serif;
  font-size: 17px;
  line-height: 1.4;
  color: #fff;
  position: relative;
  bottom: -25%;
}

@media (min-width: 1200px) {
  .box .description {
    font-size: 18px;
    line-height: 1.5;
  }
}

#buttons .touch-icon {
  position: absolute;
  z-index: 1;
  margin: 5px;
  width: 24px;
  height: 24px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
}

@media (min-width: 576px) {
  #buttons .touch-icon .touch {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 576px) {
  #buttons .touch-icon {
    margin: 8px;
    width: 30px;
    height: 30px;
  }
}

/* Mobile Description Styling */

.mobile-description {
  font-size: 16px;
  font-family: 'Roboto Condensed', 'Roboto Condensed Fallback', sans-serif;
  line-height: 1.3;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
  margin: 10px auto 0px;
  padding: 0 2px;
  max-width: 320px;
}

@media (min-width: 768px) {
  .mobile-description {
    font-size: 17px;
  }
}

.toggle-link {
  font-size: 16px;
  display: block;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
  padding: 0 4px;
  max-width: 320px;
  margin: 0 auto;
}

.toggle-link:focus, .toggle-link:active, .toggle-link:hover {
  text-decoration: underline;
  box-shadow: none;
}

