
.container {
	background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(background.jpg); 
}

body_part {
	height: 75vh;
	width: 100%;
	color: #dfcd81;

}

.dead_person {
	height: 25.5vh;
	width: 75%;
	font-size: 0.9vw;
	color: #dfcd81;
	display: flex;
	justify-content: space-between;
	padding: 0.5vh;
	background-color: rgba(0, 0, 0, 0.6);
	text-align: left;
	margin-left: 13.9rem;
	margin-bottom: 2rem;
	border: 1px solid #dfcd81;
	border-radius: 5px;
}
.portrait {
	width: 18%;
	height: 100%;
}
.portrait img {
	width: 90%;
	height: 91%;
	margin: 10px;
	background-size: contain;
	background-repeat: no-repeat;
	border-radius: 5px;
	
}
.particulars {
	-width: 82%;
	-width: 67%;
	width: 72%;
	padding-right: 1rem;
}

.names {
	height: 13%;
	padding-left: 0.3rem;
	font-size: 1.0vw;
	color: white;
	font-weight: 600;
}

theLate, LivedYears {
	font-size: 0.7rem;
	font-weight: lighter;
	color: white;
}
.announcement {
	height: 78.5%;
	font-size: 0.8vw;
}
.publisher {
	height: 9%;
	-text-align: right;
	font-size: 0.8vw;
	color: #555;
	display: flex;
	justify-content: flex-end;
	align-items: center;

	-background-color: rgba(100, 100, 100, 0.3)
}
author a {
	text-decoration: none;
	padding: 0.1vh 1vw; 
	margin: 0 0.3vh; 
	font-size: 0.8vw;
	color: white;
	background-color: #294b27;
	border-radius: 3px;

}
.view {
	background-color: rgba(100, 100, 100, 0.2);
	width: 8vw;
	margin: 1vh;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
	text-decoration: none;
}

visitPage2 {
	border: none;
    padding: 1vh 3vh;
    margin: 1vh;
    display: inline-block;
    cursor: pointer;
    background-color: #dfcd81;
    font-size: 0.7vw;
	text-decoration: none;
	border-radius: 5px;
	transition: 1s;
} 
visitPage2:hover {
	background-color: #4d461d;
	color:white; /* Not working for now */
}   
            
#-view {
	align-items: center;
}

.pagination {
	display: flex;
}

.page-item   {
   display: inline-block;
   margin: auto;
   border: none;
   outline: none; 
   text-decoration: none;
}
#prevButton, #nextButton {
  background-color: #294b27; /* Green like*/
  border: none;
  color: white;
  padding: 0.6vh 2vh;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9vw;
  margin-bottom: 1vh;
  cursor: pointer;
  border-radius: 5px;
}
#prevButton:hover, #nextButton:hover {
    background-color: #647c4d; /* Change background color on hover */
}

buttons {
	width: 75%;
	height: 5vh;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 30vw;
}
.ob a{
	text-decoration: none;
	display: inline-block;
	color: #dfcd81;
	border: 1px solid #dfcd81;
	border-radius: 5px;
	padding: 0.7vh 3vh;
	font-size: 1vw;
	background-color: transparent;
	position: relative;
	cursor: pointer;
}
.memory a{
	text-decoration: none;
	display: inline-block;
	color: #dfcd81;
	border: 1px solid #dfcd81;
	border-radius: 5px;
	padding: 0.7vh 3vh;
	font-size: 1vw;
	background-color: transparent;
	position: relative;
	cursor: pointer;
}
.donate a{
	text-decoration: none;
	display: inline-block;
	color: #dfcd81;
	border: 1px solid #dfcd81;
	border-radius: 5px;
	padding: 0.7vh 3vh;
	font-size: 1vw;
	background-color: transparent;
	position: relative;
	cursor: pointer;
	transition: 0.5s;
}
.ob a:hover{
	border: 1px solid #294b27;
	background-color: #294b27;
	transition: 1s;
}
.memory a:hover{
	border: 1px solid #294b27;
	background-color: #294b27;
	transition: 1s;
}
.donate a:hover{
	border: 1px solid #294b27;
	background-color: #294b27;
	transition: 1s;
}
h3 {
	font-style: italic;
	color: #dfcd81;
	text-align: center;
	font-size: 22px;
	margin-bottom: 15px;
}
.nav-tabs {
	display: flex;
	justify-content: left;
	margin-left: 217px;
	list-style-type: none; /* Remove bullets from the list */
}

.nav-tabs a {
	color: #C5B358;
	display: inline-block;
	padding: 1px 10px;
	position: relative;
	background-color: #294b27;
	margin: 7px 5px;
	text-decoration: none;
	font-size: 20px;
	border-radius: 5px;
	transition: 1s;
}

.nav-tabs a:hover {
	background-color: #647c4d;
	color:white;
}


/* MOBILE VERSION */
@media only screen and (max-width: 600px) {
	
	buttons {
		width: 100%;
		height: 4vh;
		margin: 2vh 0;
		display: flex;
		justify-content: center;
		gap: 5px;
		align-items: center;
	}
	
	.ob a, .memory a {
		font-size: 3vw;
		font-size: 0.8rem;
		padding: 0.5vh 1.5vh;
		white-space: nowrap; /* Prevent text wrapping */
	}
	
	h3 {
		font-size: 3.5vw;
		font-size: 1rem;
		margin-bottom: 0.5vh;
	}

	.nav-tabs {
		height: 5vh;
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 0;
		padding: 0.3vh 0;
		justify-content: center;
		gap: 0vw;
		align-items: center;
		margin-bottom: 2px;
	}
	
	.nav-tabs a {
		font-size: 2.5vw;
		font-size: 0.9rem;
		padding: 0.5vh 3vw;
		border-radius: 3px;
	}
	.container {
		background: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
                url('background.jpg');
		background-position: center center; /* Center the background image both horizontally and vertically */
		background-repeat: no-repeat;
	}

	.dead_person {
		height: 42.5vh;
		width: 90%;
		flex-direction: column;
		align-items: center;
		margin-bottom: 1rem;
    	margin-left: auto;
		margin-right: auto;
    	background-color: rgba(0, 0, 0, 0.6);
		text-align: left;

	}
	.dead_person:last-child{
		margin-bottom: 0.5rem;
	}
	.portrait {
		margin-bottom: 1px;
		width: 30%;
		height: 11vh;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 5px;
	}
	.portrait img {
		width: 100%;
		height: 100%;
		border-radius: 50%;
		background-size: contain;
		background-repeat: no-repeat;
		margin: 0;
	}
	.particulars {
		margin-top: 2px;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 25vh;
		padding-right: 0;
		padding: 0 0.3vh;
	}
	
	.names {
		height: 5vh;
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		font-weight: 600;
	}

	theLate, LivedYears {
		font-size: 0.6rem;
		font-weight: lighter;
		color: white;
	}
	deceasedNames {
		font-size: 0.9rem;
		color: wheat;
	}

	.announcement {
		background-color: rgba(100, 100, 100, 0.5);
		margin: 0.8vh auto;
		height: 18vh;
		width: 100%;
		font-size: 0.75rem;
		padding: 0.5vh 0.7vh;
		overflow-y: auto; /* or overflow-y: scroll; */
        -white-space: nowrap; /* Prevent text wrapping */
		text-align: justify;
		border-radius: 3px;
	}
	.publisher {
		height: 2vh;
		width: 100%;
		color: #555;
		display: flex;
		margin-top: 0.3vw;
		flex-direction: column;
		justify-content: center; 
    	align-items: center; 
		margin-bottom: 5px;
	}
	author {
		align-items: center;
		font-size: 0.8rem;
	}

	author a {
		font-size: 0.8rem;
		padding: 0.1vw 2vw;
		border-radius: 3px;
	}
	

	.view {
		height: 4vh;
    	width: 100%;
    	white-space: nowrap;
    	display: flex;
    	justify-content: center; /* Center content horizontally */
    	align-items: center; /* Center content vertically */
    	margin: auto; /* Center content horizontally */
		margin-top: 2px;
		background-color: transparent;
		margin-bottom: 5px;
	}
	visitPage2 {
		font-size: 0.8rem;
	}
	
	
	#prevButton, #nextButton {
		font-size: 0.8rem;
	}
	  
           
}

	