@media (max-width: 400px) {
  .card {
    transform: scale(.9);
  }
}

@media (max-width: 1024px) {

  #success-modal {
    width: 90vw;
  }

  .info-section {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .footer-copy {
    font-size: 14px;
  }

  .footer-links a {
    font-size: 14px;
    font-weight: normal;
    padding: 0;
  }

  h2#hover-box-title {
    font-size: 24px;
  }

  .main-content {
    padding-top: 50px;
  }

  .flag {
    height: 100px;
    top: -10px;
    right: -10px;
  }

  nav {
    display: none;
  }

  .modal-content {
    width: 100%;
    padding: 0px;
    margin-top: 100px;
  }

  .image-container {
    width: 100%;
  }

  .athlete-modal-mobile-header {
    display: block !important;
    padding: 0;
    top: 5px;
    left: 20px;
    font-size: 50px;
    font-weight: bold;
    color: white;
    position: absolute;
  }

}