@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    background-color: whitesmoke;
}

.noScroll,
html.noScroll {
    overflow: hidden;
}

/* ############################## menu ############################## */

.programsMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    width: 95%;
    height: 80px;
}

.programsMenu div {
    margin: 9px 0 0 0;
    padding: 0;
}

.programsMenu a {
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.programsMenu img {
    height: 40px;
    width: 44px;
}

/* nav */
#menuBarsContainer {
    display: inline-block;
    cursor: pointer;
    margin: 0;
}

#menuBarsContainer .menuBar3 {
    margin: 0;
}

#menuBarsContainer .menuBar2 {
    margin: 4px 0;
}

#menuBarsContainer .menuBar1 {
    margin: 0;
}

.menuBar1,
.menuBar2,
.menuBar3 {
    width: 25px;
    height: 4px;
    background-color: #333;
    margin: 0;
    transition: 0.4s;
}

.change .menuBar1 {
    transform: translate(0, 9px) rotate(-46deg);
}

.change .menuBar2 {
    opacity: 0;
}

.change .menuBar3 {
    transform: translate(0, -7px) rotate(44deg);
}

nav {
    position: fixed;
    top: 80px;
    right: 0;
    width: 200px;
    height: calc(100vh - 84px);
    background-color: rgb(13, 13, 174);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    padding: 30px 0;
    box-sizing: border-box;
    z-index: 101;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.navIsOpen {
    transform: translateX(0);
}

.navPageLink {
    color: yellow;
    text-decoration: none;
    font-size: 120%;
    font-weight: 500;
}

.navPageLink:hover {
    color: white;
}

#biggerScreenMenu {
    display: none;
}

/* all programs */

#allPrograms {
    width: 95%;
    margin: auto;
    display: grid;
    gap: 30px;
    padding-bottom: 20px;
    padding-top: 5px;
}

.oneProgramCard {
    display: grid;
    grid-template-rows: 1fr auto;
}

.picDiv {
    height: 100%;
    width: 100%;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    overflow: hidden;
}

.picDiv img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.oneProgramDetails {
    font-size: 90%;
    width: 85%;
    padding: 10px 15px;
    justify-self: center;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.oneProgramDetails h3 {
    margin: 0;
    font-size: 95%;
}

.oneProgramDetails p {
    margin: 8px 0;
}

.oneProgramDetails .price {
    font-weight: 300;
    font-size: 140%;
}

.oneProgramDetails button {
    background-image: linear-gradient(92.88deg, #6278f3 9.16%, #3d59fc 43.89%, #0026ff 64.72%);
    box-shadow: rgba(0, 0, 255, 0.5) 0 1px 10px;
    border-radius: 10px;
    border-style: none;
    box-sizing: border-box;
    color: yellow;
    cursor: pointer;
    flex-shrink: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    height: fit-content;
    text-align: center;
    text-shadow: rgba(0, 0, 0, 0.25) 0 3px 8px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    padding: 0.5rem 0.7rem;
}

.oneProgramDetails button:hover {
    background-image: linear-gradient(92.88deg, rgb(245, 245, 153) 9.16%, rgb(249, 249, 43) 43.89%, yellow 64.72%);
    box-shadow: rgba(0, 0, 255, 0.5) 0 1px 10px;
    color: #0026ff;
    cursor: pointer;
}

.oneProgramDetails button span {
    margin-left: 10px;
}

#floatingWhatsappDiv {
    position: fixed;
    width: auto;
    height: auto;
    bottom: 16px;
    right: 20px;
    z-index: 100;
    display: grid;
    justify-content: right;
    align-items: center;
}

#floatingWhatsappDiv img {
    height: 60px;
    width: 60px;
    text-align: right;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 20px 30px;
    border-radius: 50%;
}

#floatingWhatsappDiv img,
#floatingWhatsappDiv p {
    margin: 0;
    padding: 0;
}

#floatingWhatsappDiv p {
    text-align: right;
    padding-right: 5px;
    font-size: 200%;
    margin-bottom: 20px;
    font-weight: 300;
    cursor: pointer;
}

#floatingWhatsappDiv p:hover {
    cursor: pointer;
    color: red;
}

/* ########################################## Media Queries ##########################################*/

/* For larger phones and smaller tablets */
@media (min-width: 480px) {
    .programsMenu {
        width: 90%;
    }

    .programsMenu div {
        margin: 11px 0 0 0;
    }

    #allPrograms {
        width: 80%;
        padding-top: 10px;
    }

    .oneProgramDetails h3 {
        margin: 0;
        font-size: 100%;
    }
}

/* For tablets and small laptops */
@media (min-width: 768px) {
    .programsMenu div {
        margin: 14px 0 0 0;
    }

    .programsMenu img {
        height: 48px;
        width: 52px;
    }

    #allPrograms {
        padding-top: 30px;
    }

    .oneProgramCard {
        grid-template-rows: none;
        grid-template-columns: 1fr 40%;
        height: 600px;
    }

    .picDiv {
        height: 100%;
        width: 100%;
        border-bottom-right-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 20px;
        border-top-left-radius: 20px;
        overflow: hidden;
    }

    .oneProgramDetails {
        width: auto;
        height: 60%;
        padding: 20px;
        align-self: center;
        border-bottom-right-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        font-size: 95%;
    }

    .oneProgramDetails h3 {
        margin: 0;
        font-size: 95%;
    }

    .oneProgramDetails p {
        margin: 0;
    }

    .oneProgramDetails .price {
        font-size: 150%;
    }
}

/* For desktops and large screens */
@media (min-width: 1024px) {

    .programsMenu div {
        margin: 15px 0 0 0;
    }

    /* hiding small screen menu */
    #menuBarsContainer {
        display: none;
    }

    /* displaying bigger screen menu */
    #biggerScreenMenu {
        display: flex;
        justify-content: space-between;
        width: 450px;
        font-size: 110%;
        font-weight: 600;
        text-decoration: none;
    }

    #biggerScreenMenu a {
        text-decoration: none;
        color: #0026ff;
        cursor: pointer;
    }
    
    #biggerScreenMenu a:visited {
        color: #0026ff;
        text-decoration: none;
        cursor: pointer;
    }
    
    #biggerScreenMenu a:hover {
        text-decoration: none;
        color: rgba(0, 38, 255, 0.4);
        cursor: pointer;
    }

    #allPrograms {
        gap: 20px;
        grid-template-columns: repeat(2, 1fr);
        padding-top: 50px;
        width: 90%;
    }

    .oneProgramCard {
        grid-template-columns: 1fr 35%;
        height: 600px;
    }

    .oneProgramDetails {
        width: auto;
        height: 90%;
        padding: 10px;
        font-size: 90%;
    }
}

/* xl screens */
@media (min-width: 1366px) {

    .programsMenu img {
        height: 52px;
        width: 56px;
    }

    #allPrograms {
        gap: 40px;
        padding-top: 35px;
        width: 80%;
    }

    .oneProgramCard {
        height: 550px;
    }

    .oneProgramDetails {
        height: 80%;
    }
}