body{
    font-family: 'ui-sans-serif', sans-serif;
}

.btn-primary {
    background-color: #001C7E !important;
    border: none !important;
}

.btn-primary:hover {
    background-color: #00477e !important;
    border: none !important;
}

nav {
    position: relative;
    z-index: 1;
}

header {
    background: rgb(254,244,220);
    background: linear-gradient(180deg, rgba(254,244,220,1) 42%, rgba(255,255,255,1) 79%);
    position: relative;
    top: -70px;
    padding-top: 60px;
}

#program-mbkm {
    background-color: #CFE4FE;
}

#program-mbkm h2 {
    font-weight: bold ;
    font-size: 36px;
}

#address h5 {
    font-weight: normal !important;
    font-size: 24px;
}

#address p {
    font-weight: normal !important;
}

#address a {
    text-decoration: none;
    color: #FFFFFF;
}

#address a:hover {
    color: #279EFF !important;
}

#links span {
    font-weight: normal !important;
    font-size: 20px !important;
    color: #FFFFFF;
}

#links i {
    font-size: 16px;
}

#links ul {
    list-style-type: none;
    padding: 0;
}

#links li {
    font-size: 15px !important;
    padding: 1px 0;
}

#links a {
    text-decoration: none;
    color: #FFFFFF;
}

#links a:hover {
    color: #279EFF !important;
}

#contacts a {
    text-decoration: none;
    color: #FFFFFF;
}

#contacts a:hover {
    color: #279EFF !important;
}

#copyright {
    font-size: 16px;
}

#copyright a {
    text-decoration: none;
    color: #FFFFFF;
}

#copyright a:hover {
    color: #279EFF !important;
}

#activity-title {
    font-size: 16px !important;
}

#activity-detail {
    font-size: 14px !important;
}

#activity-capacity{
    font-size: 14px !important;
}

#activity-date {
    font-size: 13px !important;
}

#activity-sks {
    font-size: 12px !important;
}

.btn-readmore {
    border-radius: 10px !important;
}

#pertukaran-pelajar {
    background-image: url("../img/pertukaran-pelajar.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#riset {
    background-image: url("../img/riset.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#kampus-mengajar {
    background-image: url("../img/kampus-mengajar.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

.card-text {
    max-height: 5.3em; /* Adjust the height as needed */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    line-height: 1.5em;
}

#kampus-mengajar .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#kampus-mengajar #card-description {
    border-radius: 20px !important;
}

#pertukaran-pelajar #card-description {
    border-radius: 20px !important;
}

#pertukaran-pelajar .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#riset .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#riset #card-description {
    border-radius: 20px !important;
}

#merdeka-entrepreneurship {
    background-image: url("../img/Kegiatan-wirausaha.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#merdeka-entrepreneurship .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#merdeka-entrepreneurship #card-description {
    border-radius: 20px !important;
}

#studi-independen {
    background-image: url("../img/studi.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#studi-independen .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#studi-independen #card-description {
    border-radius: 20px !important;
}

#magang {
    background-image: url("../img/magang.png    ");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#magang .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#magang #card-description {
    border-radius: 20px !important;
}

#membangun-desa {
    background-image: url("../img/membangun-desa.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#membangun-desa .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#membangun-desa #card-description {
    border-radius: 20px !important;
}

#proyek-kemanusiaan {
    background-image: url("../img/proyek-kemanusiaan.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#proyek-kemanusiaan .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#proyek-kemanusiaan #card-description {
    border-radius: 20px !important;
}

#bela-negara {
    background-image: url("../img/bela-negara.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 30px !important;
}

#bela-negara .card-body {
    height: 100px !important;
    box-sizing: border-box;
    border-radius: 30px;
}

#bela-negara #card-description {
    border-radius: 20px !important;
    min-height: 85px;
}

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {
    header {
        top: -20em;
        padding-top: 20em;
    }

    #activity-date {
        font-size: 12px;
    }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 360px) {
    header {
        top: -30em;
        padding-top: 30em;
    }
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
    header {
        top: -30.2em;
        padding-top: 30em;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1024px) {
    header {
        top: -70px;
        padding-top: 80px;
    }
}
