html,
body {
	margin: 0;
	padding: 0;
	border: 0;
	height: 100vh;
	font-family: "Rajdhani", sans-serif;
}

.loader {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%;
	background: #6f6c6c;
	z-index: 999;
	animation-name: hideIt;
	animation-duration: 1s;
	animation-delay: 5.5s;
	animation-direction: normal;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
	-webkit-animation-name: hideIt;
	-webkit-animation-duration: 1s;
	-webkit-animation-delay: 5.5s;
	-webkit-animation-direction: normal;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-fill-mode: forwards;
}

.loader img {
	height: 50px;
	width: 236px;
	animation-name: loaderAnimation;
	animation-duration: 6s;
	animation-direction: normal;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	-webkit-animation-name: loaderAnimation;
	-webkit-animation-duration: 6s;
	-webkit-animation-direction: normal;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: forwards;
}
.main {
	display: flex;
}

.sideBar {
	height: 100vh;
	width: 20%;
	background: #f0ecec;
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 20;
}

#sideBarLogo {
	height: auto;
	width: 100%;
	position: relative;
	top: 10%;
}

.btns {
	border-radius: 10px;
	margin-top: 10%;
	padding: 5px;
	font-size: 1.5rem;
	font-weight: 600;
	color: #6d6562;
	position: relative;
	top: 25%;
	cursor: pointer;
}

.imgSlider {
	height: 100%;
	width: 80%;
	overflow: hidden;
}

.imgSlider picture {
	position: fixed;
	z-index: 1;
	width: 80%;
}
.imgSlider picture img {
	object-fit: cover;
	height: 100vh;
	width: 100%;
}

.imgSlider picture.active {
	z-index: 5;
}
.elementToAnimate {
	animation-name: yourAnimation;
	animation-duration: 1s;
	animation-direction: normal;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	-webkit-animation-name: yourAnimation;
	-webkit-animation-duration: 1s;
	-webkit-animation-direction: normal;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: forwards;
	z-index: 6;
}

.welcomeText {
	font-size: 1.4rem;
}

.slideMenus {
	height: 100%;
	width: 30%;
	background: black;
	position: absolute;
	top: 0;
	left: 20%;
	background: rgb(204, 204, 204);
	background: rgba(0, 0, 0, 0.5);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
}

.homeText {
	text-align: center;
	line-height: 1.5;
	margin-left: 20px;
	margin-right: 20px;
	font-size: 1.1rem;
}
.aboutText {
	text-align: center;
	line-height: 1.5;
	margin: 20px;
	font-size: 1.1rem;
}
.contactText {
	line-height: 1.5;
	text-align: center;
	font-size: 1.1rem;
}

#copyright {
	position: absolute;
	bottom: 3%;
	justify-self: center;
	font-size: 10px;
	color: black;
	z-index: 20;
}

@keyframes loaderAnimation {
	0% {
		transform: translateX(-300%) translateY(-800%);
		opacity: 0;
	}
	75% {
		transform: translateX(0) translateY(0);
		opacity: 1;
		width: 708px;
		height: 150px;
	}
	100% {
		width: 236px;
		height: 50px;
	}
}
@-webkit-keyframes loaderAnimation {
	0% {
		-webkit-transform: translateX(-300%) translateY(-800%);
		opacity: 0;
	}
	75% {
		-webkit-transform: translateX(0) translateY(0);
		opacity: 1;
		width: 708px;
		height: 150px;
	}
	100% {
		width: 236px;
		height: 50px;
	}
}

@keyframes hideIt {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		visibility: hidden;
		display: none;
	}
}
@-webkit-keyframes hideIt {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		visibility: hidden;
		display: none;
	}
}

@keyframes yourAnimation {
	0% {
		transform: translateX(-100%);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}
@-webkit-keyframes yourAnimation {
	0% {
		-webkit-transform: translateX(-100%);
		opacity: 0;
	}
	100% {
		-webkit-transform: translateX(0);
		opacity: 1;
	}
}

@media (max-width: 768px) {
	.sideBar {
		width: 30%;
	}

	.slideMenus {
		left: 27.4%;
		width: 45%;
	}
}

@media (max-width: 767px) {
	body {
		background: rgb(
			204,
			204,
			204
		); /* Fallback for older browsers without RGBA-support */
		background: rgba(0, 0, 0, 0.5);
	}

	@keyframes loaderAnimation {
		0% {
			transform: translateX(-50%) translateY(-900%);
			opacity: 0;
		}
		100% {
			transform: translateX(0) translateY(0);
			opacity: 1;
			width: 236px;
			height: 50px;
		}
	}
	@-webkit-keyframes loaderAnimation {
		0% {
			-webkit-transform: translateX(-50%) translateY(-900%);
			opacity: 0;
		}
		100% {
			-webkit-transform: translateX(0) translateY(0);
			opacity: 1;
			width: 236px;
			height: 50px;
		}
	}
	.main {
		flex-direction: column;
	}
	.sideBar {
		height: 20%;
		width: 100%;
		flex-direction: row;
		justify-content: space-evenly;
		align-items: center;
	}

	#sideBarLogo {
		height: 25px;
		width: 100px;
		position: relative;
		top: 0;
	}

	.btns {
		margin-top: 0;
		font-size: 1rem;
		font-weight: 400;
		color: #6d6562;
	}

	.imgSlider {
		height: 100%;
		width: auto;
		overflow: hidden;
	}

	.imgSlider picture {
		position: absolute;
		height: 95%;
		width: auto;
		z-index: 1;
	}
	.imgSlider picture img {
		object-fit: cover;
		height: 40%;
		width: 100%;
	}

	.slideMenus {
		height: 55.5%;
		width: 100%;
		top: 44.5%;
		left: 0;
		font-size: 1rem;
		background: rgba(0, 0, 0, 0);
	}

	.welcomeText {
		position: relative;
		top: -15%;
	}

	.homeText {
		text-align: center;
		line-height: 1.5;
		margin-left: 20px;
		margin-right: 20px;
		position: relative;
		top: -15%;
		font-size: 1rem;
	}
	.aboutText {
		text-align: center;
		line-height: 1.5;
		margin: 20px;
		position: relative;
		top: -15%;
		font-size: 1rem;
	}
	.contactText {
		line-height: 1.5;
		position: relative;
		top: -10%;
		font-size: 1rem;
	}
	.aboutHeader {
		position: relative;
		top: 5%;
	}
	.contactHeader {
		position: relative;
		top: 5%;
	}

	#copyright {
		color: white;
	}
}
@media (max-width: 320px) {
	.slideMenus {
		font-size: 0.5rem;
	}

	.homeText {
		font-size: 0.8rem;
	}
	.aboutText {
		font-size: 0.8rem;
	}
	.contactText {
		font-size: 0.8rem;
	}
	.aboutHeader {
		font-size: 1.2rem;
	}
	.contactHeader {
		font-size: 1.2rem;
	}
	.welcomeText {
		font-size: 1.2rem;
	}
}

@media (max-width: 280px) {
	.slideMenus {
		font-size: 0.5rem;
	}
	#copyright {
		bottom: 0;
	}
}
