@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

* {
	margin: 0;
	padding: 0;
	font-family: "Poppins", sans-serif;
	box-sizing: border-box;
}

section {
	position: relative;
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(sun.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 1s;
}

section.dark {
	background: #353c42;
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(moon.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transition: 1s;
}

section .card {
	position: relative;
	width: 300px;
	height: 350px;
	background: #fff;
	box-shadow: 0 15px 25px rgba(0, 0, 0, 0.025);
	border-radius: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background 1s;
	opacity: 0.7;
}

section.dark .card {
	background: #272f38;
}

section .card .content,
section .card .imgText {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

section .card .imgText .imgBx {
	position: relative;
	width: 120px;
	height: 120px;
	overflow: hidden;
	border-radius: 50%;
	margin-bottom: 15px;
}

section .card .imgText .imgBx img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

section .card .imgText h3 {
	font-weight: 500;
	font-size: 1.4em;
	line-height: 1.2em;
	text-align: center;
	color: #2fa1ff;
}

section .card .imgText h3 span {
	font-weight: 400;
	color: #777;
	font-size: 0.75em;
}

section.dark .card .imgText h3 span {
	color: #ccc;
}

section .card .sci {
	display: flex;
	margin-top: 15px;
}

section .card .sci li {
	list-style: none;
}

section .card .sci li a {
	position: relative;
	width: 50px;
	height: 50px;
	background: #e9f5ff;
	color: #2fa1ff;
	margin: 0 5px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	border-radius: 50%;
	font-size: 20px;
	transition: 0.5s;
}

section.dark .card .sci li a {
	background: #14171b;
}

section .card .sci li a:hover {
	color: #fff;
}

section .card .sci li a .fa {
	position: relative;
	z-index: 1000;
}

section .card .sci li a:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: #2fa1ff;
	border-radius: 50%;
	transform: scale(0);
	transition: 0.5s;
}

section .card .sci li a:hover:before {
	transform: scale(1);
}

.toggle {
	position: absolute;
	top: 20px;
	right: 20px;
	background: #e9f5ff;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

section.dark .toggle {
	background: #14171b;
}

.toggle:before {
	content: "\f186";
	font-family: FontAwesome;
	color: #2fa1ff;
}

section.dark .toggle:before {
	content: "\f185";
	color: #2fa1ff;
}
