:root {
    --fc-daygrid-event-dot-width: 80px;
  }

@media (min-width: 1024px) {
    .w-20 {
        width: 20%;
    }
    .nav-header-links {
        text-align: left;
    }
}
@media (min-width: 1400) {
    .w-20 {
        width: 20%;
    }
}
@media (max-width: 1024px) {
    .home-certificates {
        margin-top: 18rem;
    }
    .about-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .nav-header-links {
        text-align: left;
        position: relative;
        right: -21px;
    }
    p {
        font-size: 19px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1400px) {
    .nav-header-links a {
        color: #eaeaea;
        text-decoration: none;
        margin: 0 10px;
    }
    .navbar-expand-xl .navbar-nav .nav-link {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        background-color: #ffffe0;
    }
}
@media (min-width: 480px) and (max-width: 768px) {
    body {
        background-color: #ffffe0;
    }
}
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    .home-certificates {
        margin-top: 10rem;
    }
    .nav-header-links {
        text-align: left;
        position: relative;
        right: -21px;
    }
}
@media (max-width: 480px) {

    .calendar-container{
        margin-top:-65px;
    }

    .fc-daygrid-event {
        position: relative;
        white-space: nowrap !important;
        border-radius: 3px;
        font-size: -18.15em !important;
        /* font-size: var(--fc-small-font-size, .85em); */
    }

    .fc-direction-ltr .fc-daygrid-event.fc-event-start{
        margin-left:-12px !important;
    }

    .fc-event-title{
        font-size:8px;
    }

    .fc-scrollgrid-sync-inner{
        max-width: 100%;
        overflow-x: auto;
        /* max-width: 100%; */
        /* overflow-x: auto; Allows horizontal scrolling on small screens */
        /* display: grid; */
     /* 7 columns for days */
        /* gap: 5px; */
        /* text-align: center; */
    }

    .calendar-container {
        
    }
    

    body {
        font-size: 12px;
    }
    .category-title {
        font-size: 23px;
    }
    #text-a {
        font-size: 11px;
        padding: 5px 18px;
        width: 132px;
        height: 31px;
        margin: 9px auto;
    }
    .home-p2 .image-frame {
        height: 451px;
    }
    .allContent .home-p4 .img-container {
        display: block;
        height: 240px;
    }
    .allContent .home-p4 .caption {
    }
    .nav-header img {
        height: 40px;
    }
    .header-links {
        flex-direction: column;
        align-items: center;
    }
    .header-links a {
        margin: 5px 0;
    }
    .cart-icon-container {
        margin-top: 10px;
    }
    .about-p1 .aboutP1-box {
        font-size: 15px;
    }
    .about-p2 .aboutP2-box {
        font-size: 15px;
    }
    .allPrograms .overlay-cont1 {
        position: absolute;
        top: 11%;
    }
    .allPrograms .overlay-cont1 p {
        font-size: 0.6rem;
    }
    .OonOSession .overlay-cont1 {
        position: absolute;
    }
    .search {
        box-shadow: none !important;
    }
    .contactUs .btn {
        display: inline-block;
        padding: 9px 51px;
    }
    .body-about h1,
    .contactUs h1 {
        font-size: 32px;
    }
    .home-certificates {
        margin-top: 10rem;
    }
    .about-academy-p2 .aboutP2-box-pow {
        font-size: 12px;
    }
    .allPrograms .overlay-cont1 h2 {
        font-size: 22px;
        margin-bottom: 0;
        font-weight: 700;
        margin-top: 25px;
    }
}
@media (max-width: 768px) {
    .overlay-cont1 h2 {
        font-size: 2rem;
    }
    .home-p3 h3 {
        font-size: 16px;
    }
    .home-p3 p {
        font-size: 12px !important;
    }
    .overlay-cont1 p {
        font-size: 1rem;
    }
    .image-container-home-p1 img {
        height: 170px !important;
    }
}
@media (max-width: 576px) {
    .overlay-cont1 h2 {
        font-size: 1.75rem;
    }
    .overlay-cont1 p {
        font-size: 0.9rem;
    }
}
@media (max-width: 576px) {
    .home-certificates {
        margin-top: 20px;
    }
}
