:root {
    --primary: #b6895b;
    --bg: #f7f5fc;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    text-decoration: none;
}

body {
    background-color: var(--bg);
    color: black;
}
html, body {
    font-family: 'Poppins', sans-serif !important;
}
.font-navbar {
    font-size: large;
}

.dd-src {
    background: rgb(65, 201, 226);
    background: linear-gradient(
        90deg,
        rgba(65, 201, 226, 1) 0%,
        rgba(13, 152, 186, 1) 100%
    );
    border-radius: 6px 0px 0px 6px;
    height: 50px;
    margin-top: 8px;
    font-size: 20px;
}
.bgside {
    background: linear-gradient(to bottom, #007baf, #00c6c6);;
  }
.dd-src option.cate {
    font-size: 20px;
}

.frm {
}
.no-border {
    border: 0;
    box-shadow: none;
}

.up {
    margin-top: -25px;
}

.cont img {
    width: 64px;
    height: 64px;
}

.cont p {
    padding-top: 20px;
    font-weight: bold;
}

.mt {
    background: rgb(65, 201, 226);
    background: linear-gradient(
        45deg,
        rgba(65, 201, 226, 1) 0%,
        rgb(3, 101, 125) 100%
    );
    border-radius: 15px;
}
.berita-color {
    background: rgb(65, 201, 226);
    background: linear-gradient(
        90deg,
        rgba(65, 201, 226, 1) 0%,
        rgba(9, 168, 207, 1) 100%
    );
    border-radius: 15px;
}

.card-warna {
    background: rgb(65, 201, 226);
    background: linear-gradient(
        180deg,
        rgba(13, 152, 186, 1) 100%,
        rgb(255, 255, 255) 0%
    );
}

.txt {
    background-color: aliceblue;
}
.txt a {
    text-align: center;
    font-weight: bold;
    background: -webkit-linear-gradient(#41c9e2, #0d98ba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.txt h1 {
    background: -webkit-linear-gradient(
        90deg,
        rgba(13, 152, 186, 1) 100%,
        rgb(255, 255, 255) 0%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sjr {
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.alumni-bg {
    background-image: url("alumni.png");
    background-repeat: no-repeat; /* Agar gambar tidak diulang */
    height: 29rem;
    margin-left: px;
    color: aliceblue;
}

.foot {
    background-color: aliceblue;
    padding: 1.4rem 7%;
}

.foot a {
    padding-left: 7%;
    padding-bottom: 5%;
}

.fa-square-facebook {
    color: #0a7a95;

    padding: 3%;
}
.fa-square-youtube {
    color: #0a7a95;
    padding: 3%;
}
.fa-square-whatsapp {
    color: #0a7a95;
    padding: 3%;
}
.fa-envelope {
    color: #0a7a95;
    padding: 6%;
}
.fa-square-instagram {
    color: #0a7a95;
    padding: 3%;
}
.fa-square-x-twitter {
    color: #0a7a95;
    padding: 3%;
}

.jarak-content {
    width: 100px;
    margin: 30px;
}

.garis {
    height: 3px;
    background: rgb(65, 201, 226);
    background: linear-gradient(
        294deg,
        rgba(65, 201, 226, 1) 0%,
        rgba(13, 152, 186, 1) 100%
    );
    margin-bottom: 10px;
}

.txtstil {
}

.txtstil h3 {
    color: #0d98ba;
    font-size: xx-large;
    font-weight: bold;
}

a {
    text-decoration: none;
    color: #000;
}

/* card */
.card-dark {
    max-width: 25em;
    height: 100px;
    flex-direction: row;
    background-color: #ffff;
    border: 0;
    box-shadow: 0 7px 7px rgba(0, 0, 0, 0.18);
    margin: 2em auto;
}

.padding-rata {
    padding: 10%;
}

.padding-rata2 {
    padding-bottom: 1%;
    padding-left: 10%;
}

.card-head1 {
    background-color: #0d98ba;
    text-align: center;
    border-radius: 5px 5px 0 0;
    color: white;
}
.card-body1 {
    text-align: left;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
}

.font-size {
    font-size: smaller;
    color: #002c55;
}

.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.border-color {
    border-color: #0d98ba; /* Warna hijau */
    border-width: 3px; /* Ketebalan border */
    border-style: solid; /* Gaya border solid */
}

.button-text {
    background: -webkit-linear-gradient(45deg, #41c9e2, #0d98ba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.color {
    background-color: #0a7a95;
}

/* navbar new */
:root {
    --header-height: 4.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --black-color-lighten: hsl(220, 20%, 18%);
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);
    --blue--color: #2493af;

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Montserrat", sans-serif;
    --normal-font-size: 0.938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

/* base */
ul {
    list-style: none;
}

/* reusable css classes */
.container-nav {
    max-width: 1580px;
    margin-inline: 1.5rem;
}

/* header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, 0.3);
    z-index: var(--z-fixed);
}

/* nav  */
.navy {
    height: var(--header-height);
}

.nav__logo {
}
.nav__burger {
}
.nav__close {
    color: var(--black-color);
}

.nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__data-kimia {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
    font-weight: var(--font-semi-bold);
    margin-left: 0.5rem;
}
.nav__toggle {
    position: relative;
    width: 23px;
    height: 32px;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity 0.1s, transform 0.4s;
}
.nav__close {
    opacity: 0;
}

@media screen and (max-width: 1118px) {
    .nav__menu {
        position: absolute;
        left: 0;
        top: 3.5rem;
        width: 100%;
        background-color: white;
        height: calc(100vh - 3.5rem);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top 0.4s, opacity 0.3s;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0;
    }
    .nav__list {
        background-color: var(--white-color);
        padding-top: 1rem;
    }
}

.nav__link {
    color: var(--black-color);
    background-color: var(--white-color);
    font-weight: var(--font-semi-bold);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s;
}
/* .nav__link:hover {
    background-color: var(--blue--color);
} */

/* Show menu */
.show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
}
.show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
}

/* dropdown item */
.dropdown__item {
    cursor: pointer;
}
.dropdown__arrow {
    font-size: 1rem;
    font-weight: initial;
    transition: trasnform 0.4s;
}
.dropdown__link,
.dropdown__sublink {
    padding: 0.25rem 0.25rem 0.25rem 2.5rem;
    color: var(--white-color);
    background-color: var(--blue--color);
    display: flex;
    align-items: center;
    column-gap: 0.1rem;
    font-weight: var(--font-semi-bold);
    transition: background-color 0.3s;
    text-decoration: none;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
    background-color: var(--black-color);
}

.dropdown__menu,
.dropdown__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* show dropdown menu & sub menu */
.dropdown__item:hover .dropdown__menu,
.dropdown__subitem:hover > .dropdown__submenu {
    max-height: 1000px;
    transition: max-height 0.4s ease-in;
}

/* rotate icon */
.dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
    margin-left: auto;
}

.dropdown__sublink {
    background-color: var(--black-color-lighten);
}

/* breakpoint */
@media screen and (max-width: 340px) {
    .container-nav {
        margin-inline: 1rem;
    }
    .nav__link {
        padding-inline: 1rem;
    }
}

/* largepage */
@media screen and (min-width: 1000px),
    (min-width: 1100px) {
    .container-nav {
        margin-inline: auto;
    }
    .navy {
        height: calc(var(--header-height));
        display: flex;
        justify-content: space-between;
    }
    .nav__toggle {
        display: none;
    }

    .nav__list {
        height: 100%;
        display: flex;
        column-gap: 3rem;
    }
    .nav__link {
        height: 100%;
        padding: 0;
        justify-content: initial;
        column-gap: 0.5rem;
    }
    .nav__link:hover {
        background-color: transparent;
    }

    .dropdown__item,
    .dropdown__subitem {
        position: relative;
    }

    /* Dropdown Menu Utama */
    .dropdown__menu {
        width: 20rem !important; /* Tambahkan !important */
        max-height: 0;
        overflow: initial;
        position: absolute;
        left: -25%;
        display: block;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.5s ease-out, opacity 0.5s ease-out; /* Transisi halus untuk max-height dan opacity */
    }

    /* Dropdown Submenu */
    .dropdown__submenu {
        width: 15rem !important; /* Tambahkan !important */
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: 100%;
        top: 0rem;
        opacity: 0;
        pointer-events: none;
        background-color: var(
            --black-color
        ); /* Warna latar belakang yang berbeda untuk submenu */
    }

    .dropdown__item:hover .dropdown__menu {
        max-height: 500px; /* Atur max-height yang lebih besar agar dropdown muncul */
        opacity: 1; /* Munculkan dengan opacity penuh */
        pointer-events: initial;
        transition: max-height 0.3s ease-in, opacity 0.3s ease-in; /* Transisi halus saat muncul */
    }

    /* Hover untuk menampilkan submenu dengan transisi halus */
    .dropdown__subitem:hover > .dropdown__submenu {
        max-height: 500px; /* Atur max-height yang lebih besar agar submenu muncul */
        opacity: 1; /* Munculkan dengan opacity penuh */
        pointer-events: initial;
        transition: max-height 0.3s ease-in, opacity 0.3s ease-in; /* Transisi halus saat muncul */
    }
    /* Gaya untuk link di dalam menu utama */
    .dropdown__link {
        padding-inline: 1rem 3.5rem;
        color: var(--white-color);
        background-color: var(--blue--color);
        display: flex;
        align-items: center;
        column-gap: 0.5rem;
        font-weight: var(--font-semi-bold);
        transition: background-color 0.3s;
        text-decoration: none;
    }

    .dropdown__sublink {
        padding-inline: 1rem 3.5rem;
        color: var(--white-color);
        background-color: var(--black-color);
        display: flex;
        align-items: center;
        column-gap: 0.5rem;
        font-weight: var(--font-semi-bold);
        transition: background-color 0.3s;
        text-decoration: none;
    }

    /* Hover untuk link di menu utama */
    .dropdown__link:hover {
        background-color: var(--black-color);
        transition: background-color 0.5s;
    }

    /* Hover untuk link di submenu */
    .dropdown__sublink:hover {
        background-color: var(--black-color-lighten);
    }

    .waldi {
        left: -7rem;
    }

    .waldi2 {
        width: 20rem !important; /* Tambahkan !important */
        max-height: initial;
        overflow: initial;
        position: absolute;
        left: -100%;
        top: 0rem;
        opacity: 0;
        pointer-events: none;
        background-color: var(
            --black-color
        ); /* Warna latar belakang yang berbeda untuk submenu */
    }
}

.bgside2 {
    background-color: #0d98ba;
}




.cardsdm {
  position: relative;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
  align-item: flex-start;
  width: 350px;
  height: 300px;
  background:#fff;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.15);
  transition: 0.5s;
  margin-bottom: 3.3rem;
}

 .cardsdm:hover {
  height: 460px;
}

 .cardsdm .imgBx{
  position: absolute;
  top: 20px;
  width: 300px;
  height: 220px;
  background: #0d98ba;
  border-radius: 12px;
  transition: 0.5s;
  overflow: hidden;
}
 .cardsdm:hover .imgBx {
  top: -100px;
  scale: 0.75;
  box-shadow: 0 15px 45px rgba(0,0,0,0.2) ;
}

 .cardsdm .imgBx img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 .cardsdm .contentsdm{
  position:absolute;
  width: 100%;
  padding: 0 30px;
  text-align: center;
  top: 252px;
  height: 35px;
  overflow: hidden;
  transition: 0.5s;
}

 .cardsdm:hover .contentsdm{
  top: 130px;
  height: 350px;
}

 .cardsdm .contentsdm h2{
  font-size: 1.5em;
  font-weight: 700;
  
}