@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@200..800&display=swap');

* {
	margin: 0;
	box-sizing: border-box;
}

html {
	font-family: "Oxanium", sans-serif;
	background: #000000;
	color: white;
	scroll-behavior: smooth;
}

html, body {
	min-height: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

.nav-inner {
	display: flex;
	justify-content: center;
	gap: 0;
}

.nav-inner a {
	height: 100px;
	width: 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding-bottom: 0;
	transition: 0.2s;
	font-size: 18px;
}

.nav-inner a::after {
	content: "";
	position: absolute;
	width: 40px;
	height: 1px;
	background: var(--border-color);
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	transition: 0.2s;
}

.nav-inner a:hover::after {
	width: 80px;
	transition: 0.2s;
}
.nav-inner a:hover {
	padding-bottom: 5px;
	transition: 0.2s;
}

h1 {
	font-size: 48px;
	font-weight: 500;


	background: linear-gradient(90deg, #ffc000, #ffe1d0 28%, #ffc000);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}
.tagline {
	font-size: 24px;
	font-weight: 300;
}

h1,
.tagline,
h2 {
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}

.tagline span {
	color: #ffc310;
}

h2 {
	font-size: 36px;
	font-weight: 300;
}


.section-1 {
	background: url("../images/background-1.webp");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding-bottom: 230px;
}


.s1-slides {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: 65px;

	max-width: 100vw;
	flex-wrap: wrap;
}

.s1-slides img {
	border: 1px solid #cc0423;
	border-top-left-radius: 25px;
	border-bottom-right-radius: 25px;

	animation: imgSlide;
	opacity: 0;
	animation-repeat: no-repeat;
	animation-fill-mode: forwards;
	animation-duration: 0.5s;
	animation-delay: 0.2s;
}

@keyframes imgSlide {
	0% { opacity: 0; transform: translateY(50px) }
	100% { opacity: 1; transform: translateY(0) }
}


.section-2 {
	padding-top: 150px;
	padding-bottom: 150px;

	background: url("../images/background-2.webp");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}





.hardware-container {
	display: flex;
	gap: 100px 270px;
	justify-content: center;
	margin-top: 140px;
	flex-wrap: wrap;
}

.hardware-box {
	display: flex;
	flex-direction: column;
	gap: 30px;
	text-align: center;
	align-items: center;

	opacity: 0;
}

.animated .hardware-box {
	animation: hwSlide;
	opacity: 0;
	animation-repeat: no-repeat;
	animation-fill-mode: forwards;
	animation-duration: 0.5s;
	animation-delay: 0.2s;
}

.hardware-desc {
	white-space: pre-wrap;
	font-size: 18px;
	font-weight: 300;
}

@keyframes hwSlide {
	0% { opacity: 0; transform: translateY(50px) }
	100% { opacity: 1; transform: translateY(0) }
}




.section-3 {
	padding-top: 150px;
	padding-bottom: 150px;

	background: url("../images/background-3.webp");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.service-list {
	display: flex;
	gap: 120px;
	justify-content: center;
	margin-top: 100px;
	flex-wrap: wrap;
	text-align: center;
	padding-left: 10px;
	padding-right: 10px;
}

.service-list img {
	margin-bottom: 35px;
}

.service-item {
	opacity: 0;
}

.animated .service-item {
	animation: hwSlide;
	opacity: 0;
	animation-repeat: no-repeat;
	animation-fill-mode: forwards;
	animation-duration: 0.5s;
	animation-delay: 0.2s;
}



.section-4 {
	padding-top: 150px;
}

.comunitate {
	display: flex;
	gap: 85px;
	justify-content: center;
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	
	margin-top: 100px;
	padding-bottom: 160px;

	padding-left: 25px;
	padding-right: 25px;
}


.c-1 {
	max-width: 500px;
	padding-top: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.c-2 {
	max-width: 500px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.c-1 img {
	max-width: 100%;
	aspect-ratio: 360/220;
	height: auto;
	border: 6px solid #cc0423;
	border-radius: 10px;
	opacity: 0;
}
.c-2 img {
	max-width: 100%;
}


.animated .c-1 img {
	animation: hwSlide;
	opacity: 0;
	animation-repeat: no-repeat;
	animation-fill-mode: forwards;
	animation-duration: 0.5s;
}

.animated .c-1 img:nth-child(1) {
	animation-name: picSlide1;
	animation-delay: 0.2s;
}
.animated .c-1 img:nth-child(2) {
	animation-name: picSlide2;
	animation-delay: 0.4s;
}
.animated .c-1 img:nth-child(3) {
	animation-name: picSlide3;
	animation-delay: 0.6s;
}

@keyframes picSlide1 {
	0% { opacity: 0; transform: rotateZ(2deg) translateY(50px) }
	100% { opacity: 1; transform: rotateZ(0deg); }
}
@keyframes picSlide2 {
	0% { opacity: 0; transform: rotateZ(1deg) translateY(50px) }
	100% { opacity: 1; transform: rotateZ(5deg) translateX(20px); }
}
@keyframes picSlide3 {
	0% { opacity: 0; transform: rotateZ(-3deg) translateY(50px) }
	100% { opacity: 1; transform: rotateZ(-5deg) }
}


.c-2-text {
	font-size: 16px;
	white-space: pre-wrap;
	max-width: 400px;
}

.map-iframe {
	margin-left: auto;
	margin-right: auto;
	display: block;
	margin-top: 45px;
	border-radius: 10px;
	max-width: calc(100vw - 20px);
}


.section-5-text {
	font-size: 18px;
	text-align: center;
	margin-top: 40px;
	padding-left: 10px;
	padding-right: 10px;
}

.section-5 {
	padding-top: 150px;
	padding-bottom: 150px;
	background: url("../images/background-4.webp");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.footer {
	font-size: 16px;
	line-height: 1.5em;
	padding-top: 90px;
	padding-bottom: 90px;

	background: url("../images/background-5.webp");
	background-position: center;
	background-size: auto 100%;
	background-repeat: no-repeat;
}

.footer div {
	text-align: center;
	background: linear-gradient(90deg, #ffc000, #ffe1d0 28%, #ffc000);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 1056px) {
	.comunitate {
		flex-wrap: wrap;
	}
}
@media screen and (max-width: 426px) {
	.nav-inner a {
		font-size: 14px;
	}
}