@import url('../font/ProximaNovaFont.otf');

@font-face {
    font-family: 'Proxima Nova'; 
    src: url('../font/ProximaNovaFont.otf') format('opentype');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Proxima Nova';
}

.paginationjs {
    user-select: none;
}

a {
    color: #169B4A;
    text-decoration: none!important;
    font-size: 14px;
}


.main {
    min-height: 100vh;
}

.main .banner img {
    width: 100%;
    height: calc(100vh - 85px);
    object-fit: cover;
}

.main .content, .wrapper {
    max-width: 1440px;
    margin: auto;
    margin-bottom: 1rem;
}
.wrapper {
    padding: 0 6rem;
}

.main .content .content-about {
    padding: 0;
    margin: 3rem 0px;
}

.main .content h2 {
    display: block;
    font-size: 25px;
    margin: 0;
    padding: auto;
    font-style: normal;
    color: #169B4A;
}

.main .content .content-about p {
    text-align: justify;
}

.content .content-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .5rem 0; 
}

.content .content-title h2 {
    color: #169B4A;
    font-style: normal;
    font-weight: 700;
    text-align: start;
    font-size: 25px;
}

.content .content-title::before {
    display: block;
    content: '';
    width: 10rem;
    height: .7rem;
    margin-left: -5rem;
    border-radius: 0px 50px 50px 0px;
    background: #169B4A;
}

.content .card-title h3 {
    text-align: center;
    color: #8DC750;
    font-size: 21px;
    margin: 1rem 0;
}

.container-about {
    max-width: 1440px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    margin: 0;

    .video-frame {
        width: 50rem;
        height: 27rem;
        justify-self: center;
        margin-top: 1rem;
    }
    .text-about {
        padding: 0 6rem;

        img {
            max-width: calc(1440px - 30%);  
        }

        .card-wrap {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-template-rows: max-content;
            align-content: center;
            gap: 2rem;
            padding: 1rem 0;

            .card-content {
                text-align: center;
                justify-self: center;
                border-radius: 20px;
                box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
                padding: 3rem;

                img {
                    width: 10rem;
                }
                h2 {
                    font-weight: 700;
                    margin-bottom: 1rem;
                }
                li {
                    text-align: justify;
                }
            }
        }
    }
}

.container {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto;
    grid-template-areas: 
        "item1 item1"
        "item2 item3";
}

.global-mas-sub-title {
    width: 38rem;
    font-size: 20px;
    font-weight: 400;
    padding: 1rem 6rem;
}

.card-wrap-img {
    align-content: center;
    padding: 0 6rem;
}

.card-img {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: max-content;
    gap: 1rem;

    .card {
        width: 264.85px;
        text-align: center;
        align-items: center;
        border: none !important;
        cursor: pointer;

        img {
            object-fit: cover;
            width: 264.84px;
            height: 165px;
            justify-self: center;
        }
    
        img:hover {
            box-shadow: 5px 5px #169B4A;
            transition: all 0.3s;
        }
    
    }
}

.pal-inform {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem 3rem;
    font-size: 14px;
    line-height: 17px;
    text-align: justify;
    color: #169B4A;

    .pal-addreas {
        display: flex;
        gap: 1rem;
        align-items: center;

        img {
            width: 5rem;
        }

        p {
            margin-bottom: 0;
        }
    }

    .address h2 {
        font-size: 16px;
        font-weight: 700;
    }

    .address h4 {
        font-size: 16px;
        font-weight: 400;
        margin-bottom: 0;
    }

    .menu-link {
        justify-self: center;

        ul {
            list-style: none;
            padding: 0;
            line-height: 1rem;

            li {
                padding: .2rem 0;
            }

            a {
                font-size: 16px;
                color: #169B4A;
            }
            
            a:hover {
                font-weight: 700;
            }
        }
    }

    .pal-contact {
        justify-self: center;

        .contact-us {
            h2 {
                font-size: 16px;
                font-weight: 700;
            }
            .logo-contact {
                display: flex;
                gap: .5rem;
                align-items: center;
                padding: .2rem 0;

                img {
                    width: 1.5rem;
                }
            }
        }
    }

    .contact-medsoc {
        align-self: center;
        justify-self: center;

        h2 {
            font-size: 16px;
            font-weight: 700;
        }

        .logo-medsoc {
            display: flex;
            gap: .5rem;
            align-items: center;
            padding: .2rem 0;

            img {
                width: 1.5rem;
            }
        }
    }
}

.icon-contact {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.5rem;
}


footer {
    height: 1.8rem;
    
    font-weight: 400;
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.8rem;
    color: #FFFFFF;
    background: #169B4A;
}


/* About pal */


/* scroll top up button */

.scroll-to-top {
    position: fixed;
    z-index: 10000;
    right: 1rem;
    bottom: 1rem;
    display: none;
}
.scroll-to-top a {
font-size: 0.5rem;
width: 100%;
height: 100%;
border-radius: 50%;
color: #FFFFFF;
line-height: 3.1rem;
text-align: center;
font-size: 40px;
}

.fas {
    color: #000000 !important;
}
