html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background:  url('/images/fon.jpg');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    background-attachment: fixed; 

    min-height: 100vh;
    margin-bottom: 60px;
}

.container {
    position: relative;
    z-index: 2;
}

/* =========================================
   ÑÒÈË² ÄËß ÑÅÐÒÈÔ²ÊÀÒ²Â
   ========================================= */
.certificate-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

    .certificate-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .certificate-card img {
        transition: transform 0.3s ease;
    }

    .certificate-card:hover img {
        transform: scale(1.05);
    }

/* Äëÿ ïóáë³÷íî¿ ñòîð³íêè (ñâ³òëèé ôîí) */
.bg-white .certificate-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
}

    .bg-white .certificate-card:hover {
        border-color: #e91e63;
        box-shadow: 0 8px 20px rgba(233, 30, 99, 0.15);
    }