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 {
    margin-bottom: 60px;
    font-family: "droidarabickufi";
}
.crd img {
    height: 300px;
    background-color: #dcd7d7;
}

/*.navbar {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: transparent;
}
*/
/* Default sizes for desktops */


@font-face {
    font-family: 'droidarabickufi';
    src: url('../fonts/droidarabickufi.woff') format('woff');
}

h1 {
    font-size: 36px; /* Example size */
}

h2 {
    font-size: 30px; /* Example size */
}

h3 {
    font-size: 24px; /* Example size */
}

/* Medium screens (tablets) */
@media (max-width: 768px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 25px;
    }

    h3 {
        font-size: 20px;
    }
}

/* Smaller devices (phones) */
@media (max-width: 576px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }
}

.logo-animated {
    /* Keeping the inline styles in CSS for clarity, or you can keep them inline */
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%); /* Keep the center alignment */
    max-width: 800px;
    z-index: 999;
    /* Attach the animation */
    animation: pulse 3s ease-in-out infinite;
}

/* Keyframes for a gentle pulse */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* If you also want to animate the opacity of the image, 
       you can do it separately in the same keyframes or apply
       a separate animation to the <img> itself. 
       Example of applying a slight change in opacity: 
    */

.logo-animated img {
    width: 100%;
    height: 100%;
    opacity: 0.3;
    transition: opacity 0.5s;
    /* Alternatively, use keyframes for more control */
}

    /* Hover effect example (optional) */
    .logo-animated img:hover {
        opacity: 0.5;
    }
