html {
    position: relative;
    box-sizing: border-box;
    
}

a {
    text-decoration: none !important;
}

/* Jumbotron */
.jumbotron {
    min-height: 30rem;
	background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: white;
}

.jumbotron h1 {
    font-size: 20ch;
}

/* Sec Content */
.sec-content-porto {
    background-color: white;
    min-height: 50rem;

}

.head-content-porto a {
    transition: all 0.5s;
    border-bottom: 4px solid white;
    color: black;
}

.head-content-porto a:hover {
    border-bottom: 4px solid black;
}

.wrap-sec-2-hp {
    margin: 0;
	min-height: 10rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.wrap-sec-2-hp img{
    width: 100%;
	display: block;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 1000ms;
}

.wrap-sec-2-hp ul {
    list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
	max-width: 100%;
	width: 70rem;
}

figure {
	margin: 0;
	position: relative;
	overflow: hidden;
}

figure::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200%;
	height: 200%;
	background: rgba(0, 0, 0, 0.5);
	transform-origin: center;
	opacity: 0;
	transform: scale(2);
	transition: opacity 300ms;
}

figcaption {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	place-items: center;
	text-align: center;
	padding: 1rem;
	color: white;
	font-size: 1.2rem;
	z-index: 1;
	opacity: 0;
	transition: opacity 600ms, transform 600ms;
}

a:is(:hover, :focus) figure::after {
	opacity: 1;
}

a:is(:hover, :focus) figcaption {
	opacity: 1;
	transition: opacity 600ms;
}

@media (prefers-reduced-motion: no-preference) {
	figcaption {
		transform: translate3d(0, 2rem, 0);
	}
	
	figure::after {
		border-radius: 50%;
		opacity: 1;
		transform: scale(0);
		transition: transform 900ms;
	}
	
	a:is(:hover, :focus) figure::after {
		transform: scale(2.5);
	}

	a:is(:hover, :focus) figcaption {
		opacity: 1;
		transform: translate3d(0, 0, 0);
		transition: opacity 600ms 400ms, transform 600ms 400ms;
	}

	a:is(:hover, :focus) img {
		transform: scale(1.2);
	}
}

.content-youtube .card h1,
.content-social .card h1,   
.content-website .card h1, .content-event .card h1, .content-digital .card h1, .content-konsul .card h1 {
    font-size: 10ch;
}

/* Konsultasi */
.content-konsul .card {
    background: rgb(234,50,236);
    background: linear-gradient(90deg, rgba(234,50,236,1) 0%, rgba(255,246,0,1) 100%, rgba(116,196,255,1) 100%);
    }

/* Digital */
.content-digital .card{
    background: rgb(234,50,236);
    background: linear-gradient(90deg, rgba(234,50,236,1) 0%, rgba(255,246,0,1) 0%, rgba(116,196,255,1) 100%);
}

/* Website */
.content-website .card{
    background: rgb(234,50,236);
    background: linear-gradient(90deg, rgba(234,50,236,1) 0%, rgba(116,196,255,1) 100%, rgba(255,246,0,1) 100%);
}

/* Event */
.content-event .card{
    background: rgb(255,246,0);
    background: linear-gradient(90deg, rgba(255,246,0,1) 0%, rgba(234,50,236,1) 100%, rgba(116,196,255,1) 100%);
}

/* Social */
.content-social .card{
    background: rgb(255,246,0);
    background: linear-gradient(90deg, rgba(255,246,0,1) 0%, rgba(116,196,255,1) 0%, rgba(234,50,236,1) 100%);
}