/* PKGH { */

    .alumni { 
        font-family: alumni;
    }
    
    @font-face {
        font-family: "alumni";
        src: url("/fonts/AlumniSansCollegiateOne-Regular.ttf");
    }

    .photo-container img {
        transition: scale .8s;
    }
    

    .photo-container {
        position: relative;
     }
    

     .photo-container img:last-child {
        position: absolute;
        top: 0;
        left: 0;
        scale: 0; 
        object-fit: cover;
        width: 100%;
        height: 100%;
     }    

    .photo-container:hover img:first-child {
        scale: 0;
    }
    
    .photo-container:hover img:last-child {
        scale: 1;
    }
    
    .counter-figure {
        font-size: x-large;
    }

    .slidein {
        animation: 1s slidein;
    }
    
    @keyframes slidein {
        from {
          transform: translateX(100%);
        }
      
        to {
          transform: translateX(0%);
        }
    }
    
    .logo {
        width: 2rem;
    }
    
    .name {
        font-size: 2rem;
        text-shadow: 0 0 30px white, 0 0 30px white, 0 0 30px white, 0 0 30px white, 0 0 30px white;
    }

    .form-check-input, .form-check-label {
        cursor: pointer;
    }    
    
    /* } PKGH */
    
/* --- адаптивность для меню и навигации --- */
@media (max-width: 600px) {
  #header {
    width: 100vw;
    min-height: 56px;
    background: #0d6efd;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 6px #0011;
    padding: 0;
  }
  #header .navbar {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    position: static;
  }
  .logo {
    width: 1.7rem;
    height: 1.7rem;
    display: block;
    margin: 0 auto;
  }
  .name {
    text-align: center;
    font-size: 1.05rem;
    margin: 0.2rem 0 0.5rem 0;
    width: 100%;
    display: block;
  }
  .navbar-toggler {
    position: absolute;
    top: 0.8rem;
    right: 1.1rem;
    z-index: 4002;
    font-size: 2.1rem;
    background: rgba(255,255,255,0.05) !important;
    border: none !important;
    color: #fff !important;
    padding: 0.2rem 0.6rem;
    transition: background 0.16s;
  }
  .navbar-toggler:focus, .navbar-toggler:hover {
    outline: none;
    background: rgba(255,255,255,0.15) !important;
  }
  /* Модальное меню */
  .navbar-collapse {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13,110,253,0.98) !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 4001 !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: none !important;
    padding: 0;
  }
  .navbar-collapse.show {
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw;
    padding: 0;
    gap: 16px;
    margin: 0;
  }
  .navbar-dark .navbar-nav .nav-link,
  .navbar-dark .navbar-nav .nav-item {
    color: #fff !important;
    background: none !important;
    border: none !important;
    font-size: 1.28rem;
    padding: 1rem 1rem;
    text-align: center;
    width: 100vw;
    border-radius: 0;
    font-weight: 600;
    transition: background 0.2s;
  }
  .navbar-dark .navbar-nav .nav-link:active,
  .navbar-dark .navbar-nav .nav-link:focus,
  .navbar-dark .navbar-nav .nav-link:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #f8f9fa !important;
  }
  body {
    overflow-x: hidden;
  }
  /* Затемнение страницы когда меню открыто */
  body.menu-modal-open {
    overflow: hidden;
  }
}    