*{
    margin: 0;
    padding: 0;
}

/* navbar */
.navigationactive{
    color: yellow;
}



/* hero image */
.hero .background{
    background-repeat: no-repeat;
    background-size: 100% auto; 
    background-position: center; /* Menyelaraskan gambar di tengah elemen */
    width: 100dvw;
    height: 520px;
    position: relative;
    z-index: -999;
}

.bungkusbutton{
    display: flex;
    position: absolute;
    justify-content: space-between;
    margin-top: 15%;
    width: 100%;
}

.bungkusbutton .next{
    margin-right: 20px;
    cursor: pointer;
    height: 30px;
    width: 20px;
}

.bungkusbutton .prev{
    margin-left: 20px;
    cursor: pointer;
    height: 30px;
    width: 20px;
}

.hero{
    display: flex;
    gap: 10px;
    position: relative;
}

.hero .subhero{
    position: absolute;
    top: 345px;
    width: 500px;
    left: 150px;
    padding: 20px;
    background-color:rgba(11,10,152,0.53);
    color: white;
}

.hero .subhero a{
    text-decoration:none;
    color: white;
}

.hero .subhero .texthome{
    font-size: 20px;
}

.hero .subhero .faculty{
    font-size: 40px;
}

/* share */
.share,ul{
    display: flex;
    gap: 20px;
}

.share li{
    list-style-type: none;
    font-size: 20px;
}

/* visimisi */
.visimisi{
    display: flex;
    flex-wrap: wrap;
    text-align: left;
    margin: 20px 0 10% 10%;
    /* gap: 100px; */
}

.select{
    display: flex;
    flex-direction: column;
}

.selectcontact{
    width: 30%;
    text-align: left;
}
.bungkusvisimisi{
    width: 50%;
    margin: auto;
}

.contact{
    /* border: 1px solid black; */
    box-shadow: 0px 0px 10px 0px grey;
    width: 16dvw;
}

#select{
    width: 180px;
}

/* organisasi */
.textorganisasi{
    color: black;
    text-decoration: none;
    width: 100%;
    margin: auto;
    text-align: center;
}
.organisasi{
    text-align: center;
}
.organisasi .boximage{
    display: flex;
    flex-wrap: wrap;
}

.organisasi .boximage .dekan{
    width: 100%;
}

.organisasi .boximage .dekan img{
    display: inline-block;
    height: 200px;
    width: 200px;
    border-radius: 50%;
}



.organisasi .boximage .kaprodi1{
    width: 500px;
    margin-top:20px ;
}

.organisasi .boximage .dekan,#gambar,h5{
    margin-top: 20px;
}
.organisasi .boximage .kaprodi1{
    display: block;
}
.organisasi .boximage .kaprodi1 #gambar{
    display: inline-block;
    height: 200px;
    width: 200px;
    border-radius: 50%;
}

.organisasi .boximage .kaprodi1 #gambar,h5{
    margin-top: 20px;
} 

/* berita */
.berita{
    width:95%; 
    margin-left:4%; 
    margin-top: 65px;
    overflow-y: auto;
    scrollbar-width: thin;
    height: 300px;
}
.txtnews{
    margin: auto;
    width: 100%;
    text-align: center;
    position: absolute;
}
.news{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 230px;
    justify-content: left;
}
.berita::-webkit-scrollbar {
    height: 10px; /* Tinggi scrollbar horizontal */
}

.berita::-webkit-scrollbar-track {
    background: #f1f1f1; /* Warna track scrollbar */
    border-radius: 5px;
}
.berita::-webkit-scrollbar-thumb {
    background: #888; /* Warna thumb scrollbar */
    border-radius: 5px;
}

.berita::-webkit-scrollbar-thumb:hover {
    background: #555; /* Warna thumb saat dihover */
    cursor: pointer;
}

.berita1 h5{
    margin-top: 20px;
}
.berita1 {
    margin-left: 30px;
    width: 300px;
    height: 300px;
    /* background-color: blue; */
}
.berita1 .imgberita {
    width: 285px;
    height: 130px;
    overflow: hidden; /* Memastikan elemen tidak melampaui container */
}

.berita1 img {
    width: 100%; /* Memaksa gambar untuk mengisi lebar container .imgberita */
    height: 100%; /* Memaksa gambar untuk mengisi tinggi container .imgberita */
    object-fit: contain;
    border-radius: 10px; /* Menambahkan sudut melengkung ke gambar */
}

.judulberita{
    font-size: medium;
    /* font-size: small; */
    width: 300px;
    height: 40px;
    /* white-space: wrap; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -line-clamp: 3;
}
.news a {
    text-decoration: none;
    color: black;
}

.judulberita:hover{
    color: green;
}
.deskripsiberita{
    font-size: small;
    width: 300px;
    height: 60px;
    /* white-space: wrap; */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -line-clamp: 3;
    /* border: 1px solid black; */
    /* background-color: red; */
}


/* mitra */
.mitrakami{
    width:95%; 
    margin-left:4%; 
    margin-top: 65px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.mitrakami::-webkit-scrollbar {
    height: 10px; /* Tinggi scrollbar horizontal */
}

.mitrakami::-webkit-scrollbar-track {
    background: #f1f1f1; /* Warna track scrollbar */
    border-radius: 5px;
}
.mitrakami::-webkit-scrollbar-thumb {
    background: #888; /* Warna thumb scrollbar */
    border-radius: 5px;
}

.mitrakami::-webkit-scrollbar-thumb:hover {
    background: #555; /* Warna thumb saat dihover */
    cursor: pointer;
}
.txtmitra{
    margin: auto;
    text-align: center;
    width: 100%;
    position: absolute;
}
.mitra{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 180px;
    justify-content: left;
}
.mitra1{
    margin-bottom: 20px;
    /* align-content: center; */
    width: 285px;
    height: 150px;
    overflow: hidden; /* Memastikan elemen tidak melampaui container */
}
.mitra1 img{
    width: 100%; /* Memaksa gambar untuk mengisi lebar container .imgberita */
    height: 100%; /* Memaksa gambar untuk mengisi tinggi container .imgberita */
    object-fit: contain;
    border-radius: 10px; /* Menambahkan sudut melengkung ke gambar */
}

/* footer */
.footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    /* height: 300px; */
    background-color: blue;
}
.atas img{
    width: 300px;
}
.atas{
    height: 230px;
    padding-top: 30px;
    background-color: #1e73be;
    left: 20px;
    font-size: 15px;
}
.atas li{
    list-style-type: none;
    /* margin-top: 5px; */
    color: white;
}
.atas ul{
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 19.5%;
}
.bawah{
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: 40px;
    background-color: #17329e;
    align-items: center;
    color: white;
}
.bawah .txtbwh{
    margin-top: 15px;
}

