/* Reset some default browser styles */
body, h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
body {
  font-family:  Tahoma, sans-serif; /* Choose your preferred font */
  line-height: 1.6; /* Improves readability */
  height: 100%;
  color: #245; /* Sets a dark text color */
}

h1, h2, h3 {
  font-weight: bold; /* Makes headings stand out */
}
h1 {
	font-size: 3vw;
}
h2 {
	font-size: 2vw;
}
h3 {
	font-size: 1vw;
}
a {
  color: #245;
  text-decoration: none; /* Removes underline */
  
}

a:hover {
  text-decoration: underline; /* Adds underline on hover */
}

/*backgroundimage*/
body {
  background-image: url('/assets/img/whitegray_websitebg.png'); /* Path to your image */
  background-size: 100vw 100vh;
  background-repeat: no-repeat;
  background-position: center top; /* Position vertically and horizontally */
  overflow-x: hidden; /* Prevent horizontal scrollbars from appearing */
  
  margin-left: 15%;
  margin-right: 15%;
}


/* Header Container */
.header {
  display: flex;
  justify-content: space-between; /* Pushes logo to the left and nav links to the right */
  align-items: center; /* Vertically aligns logo and links */
  padding: 10px 20px; /* Adjusts spacing around the header */
  background-color: #ebebeb; /* Optional background color */
  
  
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 20px; /* Add space between items */
  max-width: 1500px;
  }
.portfolio-item {
  grid: auto;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.portfolio img {
  max-width: 100%;
}
/* Hide elements by default */
.portfolio-details {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  margin-top: 10px;
  background-color: #f9f9f9;
}

.portfolio-item {
  flex: auto;
  cursor: pointer;
  padding: 10px;
  margin: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.portfolio-item:hover {
  background-color: rgba(66, 158, 166, 0.247);
}
/*portfolio thumbnails*/



.back-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #cd5334;
  color: white;
  border: none;
  cursor: pointer;
}

.back-button:hover {
  background-color: #ef8353;
}

  /* Navigation styles */
  .navbar {
  display: flex;
  justify-content: flex-end; /* Align links to the right, or change to center for center alignment */
  gap: 20px; /* Adds space between links */
  }

  .navbar ul {
  list-style: none; /* Remove bullets */
  display: flex; /* Align items horizontally */
  padding: 0;
  margin: 0;
  }

  .navbar li {
  margin: 0 10px; /* Adds space around each list item */
  }

  .navbar a {
  text-decoration: none; /* Remove underline */
  color: rgb(66, 158, 166); /* Change as needed for contrast */
  font-weight: bold;
  }

  .navbar a:hover {
  color: #cd5334; /* Change color on hover for visual feedback */
  }






/* Logo Styling */
.logo {
  height: 50px; /* Adjust height as needed */
  display: flex;
}

/* Navigation Bar Styling */
.navbar {
  list-style: none; /* Remove bullet points */
  padding: 0;
  margin: 0;
  display: flex; /* Aligns nav links horizontally */
}

.navbar li {
  margin: 0 15px; /* Space between links */
}

.navbar a {
  text-decoration: none; /* Remove underline */
  color: #245; /* Text color */
  font-size: 18px; /* Font size */
}


/*home section*/
.box {
  display: flex;
  background-color: rgba(238, 238, 238, 0.5); /* Light gray with 80% opacity */
  justify-content: space-between;
  align-items: center;
}

.child {
  width: 45%;
  flex: auto;
  padding: 40px;
}
.home-pic {
  width: 90%;
  border-radius: 20px;
  flex: auto;
}
/* Utility styles */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto; /* Center-align container */
}

/* Custom Button */
button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}


/* footer */
.footer {
	background-color: #bec0c0;
	align-items: center;
}