@media (max-width:1024px) and (orientation: portrait) {
  h1 {
    font-size: 36px;
  }

  .container {
    gap: 24px;
  }

  .photo img {
    max-height: 140px;
  }

  .links a {
    font-size: 8px;
  }

  .links a img {
    width: 20px;
  }

  .links a.border {
    padding: 11px 9px;
  }

  .form h2 {
    font-size: 18px;
  }

  .input-wrapper {
    --height: 48px;
    --font-size: 16px;
  }

  .input-wrapper label span {
    font-size: 12px;
  }

  .vcard-content img {
    height: 240px;
  }
}

@media (max-width:768px) and (orientation: portrait) {
  .container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    height: 90%;
    padding: 24px;
  }

  .site-pager {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    gap: 8px;
  }

  .side-content .copyright {
    display: none;
  }

  .site-pager .copyright {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .pager {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    height: auto;
  }

  .side-content {
    height: auto;
    padding-top: 48px;
  }

  .main-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .content-area {
    align-items: center;
  }

  .form {
    gap: 12px;
  }

  .form-submit .form-validation {
    font-size: 12px;
  }

}

@media (max-width:1024px) and (orientation: landscape) {
  h1 {
    font-size: 36px;
  }

  .container {
    width: 90%;
    height: 80%;
    gap: 48px;
    padding: 24px;
  }

  .photo img {
    max-height: 140px;
  }

  .links a {
    font-size: 8px;
  }

  .links a img {
    width: 20px;
  }

  .links a.border {
    padding: 11px 9px;
  }

  .form {
    gap: 4px;
  }

  .form h2 {
    font-size: 18px;
  }

  .input-wrapper {
    --height: 48px;
    --font-size: 16px;
  }

  .input-wrapper label span {
    font-size: 12px;
  }

  .vcard-content img {
    height: 240px;
  }

  .photo img {
    max-height: 140px;
  }
}

@media (max-width:768px) and (orientation: landscape) {
  .container {
    width: 80%;
    height: 70%;
    gap: 24px;
    padding: 24px;
  }

  .form {
    gap: 2px;
  }

  .form h2 {
    font-size: 18px;
  }

  .vcard-content img {
    height: 240px;
  }

  .form-submit {
    gap: 0px;
  }

  .form-submit .form-validation {
    font-size: 12px;
  }

}