:root {
	--color-primary: #dc3545;
}
/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/
body {
	font-family: "Poppins", sans-serif;
	background: #f8f8ff;
}

section {
	overflow: hidden;
}

/*--------------------------------------------------------------
# Section Hero
--------------------------------------------------------------*/
.hero {
	min-height: 100vh;
}

.foto-hero {
	border: var(--color-primary) solid 7px;
}

.btn-danger {
	font-weight: 500;
	transition: all 0.2s;
}

.btn-danger:hover {
	font-weight: 500;
	background: none;
	color: var(--color-primary);
}

.container-hero > * {
	margin-right: 1.5rem;
	margin-left: 1.5rem;
}
/*--------------------------------------------------------------
# Section About
--------------------------------------------------------------*/
.title {
	font-size: calc(1.375rem + 1.5vw);
	font-weight: 600;
}

hr {
	opacity: 1;
	width: 100px !important;
	color: var(--color-primary);
	height: 5px !important;
}

.text-justify {
	text-align: justify;
}

/*--------------------------------------------------------------
# Section Divider
--------------------------------------------------------------*/
.divider {
	min-height: 50vh;
	background: linear-gradient(
			0deg,
			rgba(220, 53, 69, 0.6),
			rgba(220, 53, 69, 0.8)
		),
		url("../img/cover.jpg");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.divider a:hover {
	color: var(--color-primary);
}

/*--------------------------------------------------------------
# Section Experience
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
	.container-hero {
		flex-direction: column;
	}
	.card-experience,
	.card-portfolio {
		justify-content: center;
	}
}

.card {
	border: none;
	margin: 0 0.2rem;
	box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.2);
}

.card-experience .card {
	padding: 1.5rem 1rem;
}

.card-experience a:hover {
	color: inherit;
	text-decoration: underline;
}

.card-experience ul > * {
	padding-bottom: 0.4rem;
}

/*--------------------------------------------------------------
# Section Portfolio
--------------------------------------------------------------*/
.card-portfolio .card {
	padding: 0;
}
.tag {
	border: 1px solid #dc3545;
	background-color: #fff;
	color: #dc3545;
	font-weight: 500;
}
.tag:hover {
	color: #fff;
	background-color: #dc3545;
}
/*--------------------------------------------------------------
# Section Form
--------------------------------------------------------------*/
.form-group {
	margin-bottom: 1rem;
}
.form-group:not(.form-message) {
	height: 4rem;
	transition: height 0.6s ease-in-out, margin 0.4s;
	opacity: 1;
}
.form-group label {
	font-weight: 500;
}
.form-switch .form-check-input:focus {
	border-color: rgba(220, 53, 69, 0.5);
	background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='%23dc3545'/></svg>");
	color: #fff;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}
.form-switch .form-check-input:checked,
.form-switch .form-check-input:focus:checked {
	background: var(--color-primary);
	border: var(--color-primary);
	background-position: right center;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
}

.form-group.hidden {
	opacity: 0;
	height: 0;
	margin: 0;
}

/*--------------------------------------------------------------
# Back to top
--------------------------------------------------------------*/
.back-to-top {
	cursor: pointer;
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: 15px;
	z-index: 1;
	background: #dc7935;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	transition: all 0.5s;
	box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.2);
}

.back-to-top i {
	font-size: 24px;
	color: #fff;
}

.back-to-top:hover {
	background: #ce7032;
}

.back-to-top.active {
	visibility: visible;
	opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
.spinner-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--color-primary);
	z-index: 999999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sk-chase {
	width: 40px;
	height: 40px;
	position: relative;
	animation: sk-chase 2.5s infinite linear both;
}

.sk-chase-dot {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	animation: sk-chase-dot 2s infinite ease-in-out both;
}

.sk-chase-dot:before {
	content: "";
	display: block;
	width: 25%;
	height: 25%;
	background-color: #fff;
	border-radius: 100%;
	animation: sk-chase-dot-before 2s infinite ease-in-out both;
}

.sk-chase-dot:nth-child(1) {
	animation-delay: -1.1s;
}
.sk-chase-dot:nth-child(2) {
	animation-delay: -1s;
}
.sk-chase-dot:nth-child(3) {
	animation-delay: -0.9s;
}
.sk-chase-dot:nth-child(4) {
	animation-delay: -0.8s;
}
.sk-chase-dot:nth-child(5) {
	animation-delay: -0.7s;
}
.sk-chase-dot:nth-child(6) {
	animation-delay: -0.6s;
}
.sk-chase-dot:nth-child(1):before {
	animation-delay: -1.1s;
}
.sk-chase-dot:nth-child(2):before {
	animation-delay: -1s;
}
.sk-chase-dot:nth-child(3):before {
	animation-delay: -0.9s;
}
.sk-chase-dot:nth-child(4):before {
	animation-delay: -0.8s;
}
.sk-chase-dot:nth-child(5):before {
	animation-delay: -0.7s;
}
.sk-chase-dot:nth-child(6):before {
	animation-delay: -0.6s;
}

@keyframes sk-chase {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes sk-chase-dot {
	80%,
	100% {
		transform: rotate(360deg);
	}
}

@keyframes sk-chase-dot-before {
	50% {
		transform: scale(0.4);
	}
	100%,
	0% {
		transform: scale(1);
	}
}

.show {
	opacity: 1;
}

.hide {
	opacity: 0;
	display: none;
	transition: all 500ms;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.container-footer > * {
	margin-bottom: 1.5rem;
}

a.sosmed {
	background-color: #f8f8ff;
	color: var(--color-primary);
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 0.3rem;
	margin-left: 0.3rem;
	border-radius: 50%;
	width: 56px;
	height: 56px;
	z-index: 9999;
	transition: all 300ms ease-in-out;
}
a.sosmed:hover {
	transform: scale(1.2);
}
a.sosmed i {
	font-size: 30px;
}
a {
	color: inherit;
	text-decoration: none;
}
.cp a:hover {
	color: inherit;
	text-decoration: underline;
}
