.subgallery {
  margin-top: 60px; }
  .subgallery .one-image {
    padding-bottom: 20px; }
    .subgallery .one-image .logo {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: var(--primary-bg);
      height: 300px;
      margin-top: 15px;
      margin-bottom: 15px; }
      .subgallery .one-image .logo .logo-text {
        width: 100%; }
        .subgallery .one-image .logo .logo-text p {
          font-size: 13px;
          width: 100%;
          margin-bottom: 0;
          color: var(--element1-color);
          text-align: center; }
        .subgallery .one-image .logo .logo-text .linia-1 {
          font-size: 21px;
          margin-bottom: 10px; }
      .subgallery .one-image .logo img {
        object-fit: contain;
        max-width: 70px;
        height: auto;
        object-position: center;
        margin-bottom: 10px; }
      .subgallery .one-image .logo .image {
        justify-content: center;
        display: flex;
        height: fit-content;
        margin-bottom: 5px; }
    .subgallery .one-image img {
      max-width: 100%;
      height: 300px;
      object-fit: cover; }
    .subgallery .one-image h3 {
      text-align: center;
      font-size: 19rem; }

@media (max-width: 575.5px) {
  .subgallery {
    margin-top: 30px; }
    .subgallery .one-image {
      padding-bottom: 0px; }
      .subgallery .one-image img {
        height: 60vw; }
      .subgallery .one-image .logo {
        height: 60vw; } }
@media (min-width: 576px) and (max-width: 767.5px) {
  .subgallery {
    margin-top: 40px; }
    .subgallery .one-image {
      padding-bottom: 10px; }
      .subgallery .one-image img {
        height: 34vw; }
      .subgallery .one-image .logo {
        height: 34vw; } }
@media (min-width: 768px) and (max-width: 991.5px) {
  .subgallery {
    margin-top: 50px; }
    .subgallery .one-image img {
      height: 200px; }
    .subgallery .one-image .logo {
      height: 200px; } }
@media (min-width: 992px) and (max-width: 1199.5px) {
  .subgallery .one-image img {
    height: 200px; }
  .subgallery .one-image .logo {
    height: 200px; } }
@media (min-width: 1200px) and (max-width: 1579.5px) {
  .subgallery .one-image img {
    height: 240px; }
  .subgallery .one-image .logo {
    height: 240px; } }

/*# sourceMappingURL=subgallery.css.map */
