body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	background-image: url('/pictures/background.jpg');
}

header {
	background-color: rgba(255, 255, 255, 0.7);
	padding: 20px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
}


strong {
  font-weight: bold;
  color: #2C2C2C;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2px 5px;
  border-radius: 5px;
}

h1 {
	margin: 0;
	font-size: 36px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #333;
	text-align: center;
}


nav {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

nav a {
  display: inline-block;
  color: #fff;
  text-align: center;
  padding: 20px 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  margin: 0 10px;
  transition: all 0.5s ease;
  position: relative;
}

nav a:hover {
  color: #fff;
}

nav a:before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #fff;
  transition: all 0.5s ease;
}

nav a:hover:before {
  width: 100%;
}

nav a.active:before {
  width: 100%;
}

section {
	padding: 100px 0;
	margin: 0 auto;
	max-width: 800px;
	text-align: center;
	color: #fff;
	font-size: 24px
}
.project {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin: 50px 0;
	border-radius:5;
}

.project img {
	flex: 1;
	margin-right: 20px;
	border-radius: 10px;
}

.project h3 {
	font-size: 24px;
	font-weight: bold;
	margin: 0 0 10px 0;
}

.project p {
	flex: 2;
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
}

.project .button {
	flex: 1;
	margin-top: 10px;
}

@media (max-width: 768px) {
	.project {
		flex-direction: column;
	}

	.project img {
		margin: 0 0 20px 0;
	}

	.project p {
		flex: none;
		margin-bottom: 20px;
	}
}

.sliding-text h2, .sliding-text p {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.sliding-text h2:nth-child(1), .sliding-text p:nth-child(3) {
  transition-delay: 0.2s;
}

.sliding-text h2:nth-child(2), .sliding-text p:nth-child(4) {
  transition-delay: 0.4s;
}

.sliding-text h2.active, .sliding-text p.active {
  opacity: 1;
  transform: translateX(0);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999;
}

#loader {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

