/* certificate.css */

/* Main container */
.certificate {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* fills screen vertically */
    background-color: #f9f9f9;
    padding: 2rem;
    box-sizing: border-box;
}

/* Certificate image styling */
.certificate img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for desktop */
.certificate img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certificate {
        height: auto;
        padding: 1.5rem;
        margin: 500px 0 -500px 0;
    }

    .certificate img {
        max-width: 100%;
        max-height: none;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .certificate {
        padding: 1rem;
    }

    .certificate img {
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }
}

