@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root{
    /* Color */
    --primaryColor : #272f54;
    --secondaryColor : #A22531;

    /* Font */
    --mainFont : 'Quicksand', sans-serif;
    --headingFont : 'Quicksand', sans-serif;
}

body{
    font-family: var(--mainFont);
    overflow-x: hidden;
}

.top-navbar{
    background-color: var(--primaryColor);
}

.fixed-top {
    top: -40px;
    transform: translateY(40px);
    transition: transform .3s;
    color: aliceblue;
    background-color: var(--primaryColor);
}

.heading{
    font-family: var(--headingFont);
    font-size: 24px;
}

.hero-title{
    font-weight: 700;
}

.hero-content{
    height: 650px;
}

.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    /* margin-bottom: 100px; */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.video-bg{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    
}

.item-2{
    position: absolute;
    background: var(--secondaryColor);
    bottom: 30px;
    left: 360px;
    padding: 70px;
}

#title{
    color: var(--secondaryColor);
    font-weight: 700;
}
    
#section{
    padding-top: 10px;
    padding-bottom: 10px;
}

#section-col{
    /* background-color: black; */
    padding-top: 30px;
    padding-bottom: 15px;
    height: 400px;
    border-radius: 10px;
    display: block;
    background-position: center;
    text-decoration: none;
    color: white;
}

#section-col:hover {
    opacity: .8;
    color: grey;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: box-shadow 0.3s ease-in-out;
    transition: color 0.3s ease-in-out;
}

.floating-section{
    position: relative;
    margin-top: -170px;
    z-index: 1;
}

.iframe-container{
    position: relative;
    width: 100%;
    // padding-bottom: 56.25%;
    height: 750px;
    border-radius: 10px;
}

.iframe-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    border-radius: 10px;
}

.carousel-inner > .carousel-item > img{
    height: 500px;
    object-fit: cover;
    object-position: center; 
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.dropdown-menu li{ position: relative; 	}
	.nav-item .submenu{ 
		display: none;
		position: absolute;
		left:100%; top:-7px;
	}
	.nav-item .submenu-left{ 
		right:100%; left:auto;
	}
	.dropdown-menu > li:hover{ background-color: #f1f1f1 }
	.dropdown-menu > li:hover > .submenu{ display: block; }
}	
/* ============ desktop view .end// ============ */

/* ============ small devices ============ */
@media (max-width: 762px) {
    .dropdown-menu .dropdown-menu{
        margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem;
    }
    .floating-section{
        position: relative;
        margin-top: -70px;
        z-index: 1;
        }
    .carousel-inner > .carousel-item > img{
        height: 200px;
        object-fit: cover;
        object-position: center; 
    }

    .iframe-container{
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        height: 15%;
        border-radius: 10px;
    }
    
}	
/* ============ small devices .end// ============ */
html[data-bs-theme=dark] {
    content: url('images/logo-umkt-putih.png') no-repeat;
}