* {
    font-family: "Rubik", sans-serif;
}

body {
    text-align: justify;
}

.top-header {
    position: relative;
    width: 100%;
    left: 0px;
    top: 0px;
    display: inline-flex;
}

.top-header .logo {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.top-header .social {
    position: absolute;
    right: 0px;
    width: 100%;
    max-width: 400px;
    padding-top: 20px;
}

@media(max-width:785px) {
    .top-header .social {
        position: relative;
        left: 0px;
    }
    .top-header {
        display: block;
    }
}

.top-header .social .social-icon,
.bottom-social .social .social-icon {
    padding: 15px 21px;
}

.top-header .social .social-icon.fb-icon,
.bottom-social .social .social-icon.fb-icon {
    background-image: URL('social.png');
    background-position-x: -6px;
    background-size: cover;
}

.top-header .social .social-icon.in-icon,
.bottom-social .social .social-icon.in-icon {
    background-image: URL('social.png');
    background-position-x: -60px;
    background-size: cover;
}

.top-header .social .social-icon.tw-icon,
.bottom-social .social .social-icon.tw-icon {
    background-image: URL('social.png');
    background-position-x: -115px;
    background-size: cover;
}

.top-header .social .social-icon.li-icon,
.bottom-social .social .social-icon.li-icon {
    background-image: URL('social.png');
    background-position-x: -170px;
    background-size: cover;
}

.top-header .social .social-icon.yt-icon,
.bottom-social .social .social-icon.yt-icon {
    background-image: URL('social.png');
    background-position-x: -225px;
    background-size: cover;
}

.top-header .social ul,
.bottom-social .social ul {
    list-style: none;
    display: inline-flex;
}

.top-header .social ul li,
.bottom-social .social ul li {
    padding: 5px;
}

.bg-primary {
    background-color: #b6852a !important;
}

.nav-link {
    text-transform: uppercase;
    color: white !important;
    font-weight: 500;
    font-size: 1.1rem;
}

.main-content {
    position: relative;
    width: 100%;
}

.navbar-nav .nav-link {
    font-size: 0.9rem;
}

.navbar-nav .nav-item {
    padding: 5px 10px;
}

.home-about .about-image img {
    position: relative;
    width: 60%;
    float: left;
    border: 2px solid grey;
    border-radius: 10px;
    margin: 10px;
}

@media(max-width:767px) {
    .home-about .about-image img {
        width: 100%;
    }
}

.home-services .item .card {
    border: none;
}

.home-services .item .card .card-body img {
    aspect-ratio: 4/3;
}

.home-services .item .card .card-footer h3 {
    font-size: 1.1rem;
    color: rgb(27, 80, 255);
    text-transform: uppercase;
    text-align: left;
    height: 50px;
}

.home-services .item .card .card-footer {
    background-color: white;
    border: none;
}

.page-label {
    background-image: url('page-label.jpg');
    background-size: cover;
    background-position: center;
}

.page-label .row {
    padding: 100px 0px;
    background-color: #000000a1;
}

.page-label h1 {
    font-size: 4rem;
    font-family: 'Montserrat', sans-serif;
    text-decoration: wavy;
    text-shadow: 3px 3px #fff;
}

.page-label h1.text-primary,
.page-label h1 span.text-primary {
    color: #b6852a !important;
    font-family: 'Montserrat', sans-serif;
}

.service-image {
    aspect-ratio: 6 / 5;
    background-size: cover;
}

main {
    width: 100%;
    overflow-x: hidden;
}


/* width */

 ::-webkit-scrollbar {
    width: 8px;
}


/* Track */

 ::-webkit-scrollbar-track {
    background: #c0fd79;
}


/* Handle */

 ::-webkit-scrollbar-thumb {
    background: #72a931;
}


/* Handle on hover */

 ::-webkit-scrollbar-thumb:hover {
    background: #457909;
}

.upcoming-event {
    position: relative;
    width: 50%;
    display: inline-grid;
    margin: 10px;
    margin: auto;
    box-shadow: 0px 0px 4px 0px #0000005b;
    border-radius: 5px;
    padding: 0px;
}

.event-date-box {
    background-color: #b6852a;
    position: relative;
    padding: 0px 10px;
    display: inline-flex;
    width: 100%;
    color: white;
}

.event-date-box .event-date {
    font-size: 2rem;
    font-weight: bold;
}

.event-date-box .event-day .week-day {
    font-weight: bold;
    margin: 0px;
    padding: 0px 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.event-info {
    padding: 2px 5px;
}

.event-link {
    background-color: #b6852a;
    color: white;
    text-align: center;
    padding: 10px 5px;
    width: 100%;
    font-size: .9rem;
    font-weight: bold;
    text-decoration: none;
}

.event-link:hover {
    color: white;
    background-color: #e31836;
    animation-name: color-change-event-link;
    animation-duration: 2s;
}

@keyframes color-change-event-link {
    from {
        background-color: #b6852a;
    }
    to {
        background-color: #e31836;
    }
}

.event-info h3 {
    text-align: center;
    font-size: 1.1rem;
}

.event-date-box .event-day p {
    margin: 0px;
    padding: 0px 10px;
    font-size: .9rem;
}

@media(min-width:580px) {
    .upcoming-event {
        width: 33%;
    }
}

@media(min-width:760px) {
    .upcoming-event {
        width: 25%;
    }
}

@media(min-width:1024px) {
    .upcoming-event {
        width: 20%;
    }
}

.upcoming-event img {
    width: 100%;
    aspect-ratio: 1/1;
}

.upcoming-event .event-title-box {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background-color: #000000bb;
    padding: 10px;
    color: white;
}

.upcoming-event .event-title-box h3 {
    font-size: 1rem;
    text-align: center;
    white-space: pre-wrap;
}