html {
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    box-sizing: border-box;
}

.header {
    background-color: #1a2f4a00;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 200ms linear;
    color: white;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    /* background-color: #fff !important; */
    /* border: 0.1px solid rgba(255, 255, 255, 0.2); */
    transition: background-color 200ms linear;
    position: fixed;
    color: #1A2F4A;

}

.a_header {
    margin: 0rem 1rem 0rem 1rem;
    font-weight: bold;
    display: inline-block;
    position: relative;
    color: white;
}

.a_header:hover {
    text-decoration: underline;
    text-underline-offset: 10px;
    transform: scaleX(1);
}

.pcu-darkblue {
    background-color: #1A2F4A;
}

.pcu-semidarkblue {
    background-color: #273656;
}

.pcu-semidarkblue-hover:hover {
    background-color: #273656;
}

.pcu-yellow {
    color: #F8AD3D;
}

.pcu-yellow-hover:hover {
    color: #F8AD3D;
}

.text-pcu-darkyellow {
    color: #F8AD3D;
}


.boxGlow {
    background-color: white;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
    transition: 400ms ease-in-out;
    /* padding: 2rem; */
}

.boxGlowHover:hover {
    background-color: white;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
    transition: 400ms ease-in-out;
    /* padding: 2rem; */
}

.textGlowHover:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3), 0 0 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
}

.univ-logo {
    width: 2.2rem;
    height: auto;
    margin-left: 0rem;
    margin-right: 0rem;
}

.univ-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.univ-logo:hover {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 5%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.1rem; /* lebih kecil */
    transition: background-color 200ms linear;
}

.content-img {
    width: 100%;
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 7rem;
}

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

.search-bar {
    display: none;
    width: 100%;
    position: relative;
}

.search-field {
    width: 100%;
    padding: 1rem;
    height: 2.3rem;
    border-radius: 5px;
    border-right: none;
    font-size: 1rem;
    background-color: white;
    transition: background-color 200ms linear;
    color: #1A2F4A;
}

.search-field.scrolled {
    /* border: 2px solid black; */
    background-color: #F2F3F7;
    height: 2.4rem;
    width: 100%;
    transition: all 200ms linear;
}

.search-button {
    position: absolute;
    right: 1rem;
    top: 42%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #1A2F4A;
    font-size: 1.2rem;
    cursor: pointer;
}

.dropdown-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(10px);
}

.dropdown::after {
    display: block;
    opacity: 1;
}

.dropdown-menu li {
    padding: 2px 4px 2px 10px;
    margin-bottom: 2px;
}

.wrap {
    width: 10%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slider {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 4rem;
}

.slides {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 3s ease-out;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100vw;
    height: 100%;
    margin: 1rem;
}

.slide img {
    width: 14rem;
    height: auto;
    object-fit: contain;
}

.partner-logo {
    width: 4rem;
    height: auto;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.partner-logo img {
    width: 4rem;
    height: auto;
    object-fit: contain;
}

.partner-logo:hover {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 5%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.1rem; /* lebih kecil */
    transition: background-color 200ms linear;
}

.ribbon {
    margin: 0px auto 20px auto;
    text-align: center;
    background-color: #eb3433;
    padding: 8px 2px;
    width: 20em;
    position: relative;
    &:before, &:after {
        content: '';
        position: absolute;
        border: 16.6px solid #eb3433;
        top: calc(50% - 16px);
    }
    &:after {
        right: -40px;
        border-right: 25px solid transparent;	
    }
    &:before {
        left: -40px;
        border-left: 25px solid transparent;
    }
}

/* tailwind: {lg:} */
@media (width >= 64rem) {
    .univ-logo {
        width: 2.4rem;
        height: auto;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

/* tailwind: {md:} */
@media (width >= 48rem) {
    .univ-logo {
        width: 2.4rem;
        height: auto;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .partner-logo {
        width: 10rem;
        height: auto;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .partner-logo img {
        width: 10rem;
        height: auto;
        object-fit: contain;
    }
}

/* tailwind: {sm:} */
@media (width >= 40rem) {
    .univ-logo {
        width: 4rem;
        height: auto;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .partner-logo {
        width: 8rem;
        height: auto;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .partner-logo img {
        width: 8rem;
        height: auto;
        object-fit: contain;
    }

    .search-bar {
        display: flex;
        align-items: center;
        width: 100%;
        position: relative;
        margin-right: 0.4rem;
    }
    
    .search-field {
        padding: 1rem;
        height: 1.3rem;
        border-radius: 5px;
        border-right: none;
        font-size: 1rem;
    }
    
    .search-field.scrolled {
        /* border: 2px solid black; */
        background-color: #F2F3F7;
        height: 2.4rem;
        width: 100%;
        transition: all 200ms linear;
    }
    
    .search-button {
        position: absolute;
        right: 1rem;
        top: 42%;
        transform: translateY(-50%);
        background-color: transparent;
        border: none;
        color: #1A2F4A;
        font-size: 1.2rem;
        cursor: pointer;
    }

    .ribbon {
        margin: 0px auto 20px auto;
        text-align: center;
        background-color: #eb3433;
        padding: 9px 10px;
        width: 20em;
        position: relative;
        &:before, &:after {
            content: '';
            position: absolute;
            border: 21.6px solid #eb3433;
            top: calc(50% - 21px);
        }
        &:after {
            right: -40px;
            border-right: 25px solid transparent;	
        }
        &:before {
            left: -40px;
            border-left: 25px solid transparent;
        }
    }
}