body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
h1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 60vw;
  margin: 0;
  animation-fill-mode: forwards;
  animation-name: move-up;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  transform: translateY(20px);
}
h1 p {
  font-size: 100%;
  margin: 1%;
  white-space: nowrap;
}
.header-email-phone {
  display: table-column;
  font-size: 50%;
}
.header-email {
  display: flex;
}
.header-phone {
  display: flex;
}
.icon-for-header {
  width: 25px;
  height: 25px;
  margin-right: 5px;
  margin-left: 20px;
}
.logo {
  width: clamp(30px, 10vw, 50px);
  height: clamp(30px, 10vw, 50px);
  margin-right: 10px;
}
.logo-text-logo-image {
  display: flex;
  align-items: center;
}
header a {
  display: flex;
  color: inherit;
  text-decoration: none;
}
@media (max-width: 900px) {
  .header-email-phone p {
    display: none;
  }
  h1 {
    width: 120vw;
  }
  h1 p {
    font-size: 6.25vw;
  }
  .logo-text-logo-image {
    width: 10px;
    height: 30px;
    margin-right: 5px;
  }
}
nav ul li a {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  border-color: #3f2106;
  background-color: #be6212;
  margin-right: 10px;
  animation-fill-mode: forwards;
  animation-name: move-up;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  margin-bottom: 5px;
}
nav ul li a:hover {
  background-color: #773d0b;
}
main {
  flex-grow: 1;
  animation-name: move-up;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
@keyframes move-up {
  from {
    transform: translateY(20px);
    opacity: 0.3;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 10px;
}
.footer-content {
  max-width: 1480px;
  margin: 0 auto;
}
.footer-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.footer-header-content div {
  flex: 1;
  margin: 0 10px;
}
.location {
  text-align: left;
}
.in {
  text-align: center;
}
.links {
  text-align: right;
}
.links a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 5px;
}
.links a p {
  margin: 0;
}
.links a p:hover {
  color: lightgray;
}
.footer-header-content div img {
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .in,
  .links,
  .location {
    font-size: 15px;
  }
  .footer-ph-number {
    font-size: 14px;
  }
}
.div_header {
  display: block;
  text-align: center;
  padding: 5%;
  background-color: white;
  color: #333;
  margin-bottom: 10px;
  width: 100%;
}
.div_header header {
  background-color: white;
  color: #333;
  font-size: 200%;
}

section {
  position: relative;
  height: 500px;
  margin-bottom: 0px;
}
section img {
  width: 100%;
  height: 100%;
  height: 500px;
  object-fit: cover;
}
section h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  color: white;
  background-color: rgba(125, 125, 125, 0.6);
  border-radius: 25px;
  text-align: center;
  font-family: "CopperBlack";
}
section h3 {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: white;
  background-color: rgba(125, 125, 125, 0.6);
  border-radius: 25px;
  text-align: center;
}
.sidebar {
  width: 200px;
  background-color: #f2f2f2;
  padding: 10px;
}
#contentWrapper {
  width: 100%;
}
.content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
  position: relative;
}
.hidden {
  display: none;
}
.topics-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 20px 0;
  position: relative;
  z-index: 2;
}
.topics-button {
  cursor: pointer;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  user-select: none;
}
#searchInput,
#searchButton {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-left: 10px;
}
#searchButton {
  cursor: pointer;
}
.topics-button span {
  margin-left: 10px;
}
.topics-dropdown {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 1;
  width: 100%;
}
.topics-dropdown.show {
  display: block;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  top: 50px;
}
.topic-checkbox-label,
.topic-all-button {
  display: flex;
  align-items: center;
  margin: 0 10px;
  cursor: pointer;
  user-select: none;
}
.topic-checkbox-label input {
  display: none;
}
.topic-checkbox-label span,
.topic-all-button span {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.topic-all-button.active span {
  font-weight: normal;
}
@media (max-width: 768px) {
  .rectangle {
    flex: 0.5 0.5 100%;
    max-width: 100%;
  }
  .topics-dropdown.show {
    grid-template-columns: repeat(1, 1fr);
  }
  #searchInput {
    margin-right: 0px;
    margin-left: 0px;
  }
  #searchButton {
    margin-right: 0px;
    margin-left: 0px;
  }
}
@media (min-width: 1400px) {
  .content {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}
.pagination button {
  margin: 0 5px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  background-color: #f2f2f2;
  cursor: pointer;
  border-radius: 15px;
}
.pagination button.active {
  background-color: #333;
  color: #fff;
  border-radius: 15px;
}
.no-project {
  text-align: center;
  font-size: 24px;
  margin-top: 20px;
}
.rectangle {
  background-color: whitesmoke;
  border: 1px solid grey;
  display: flex;
  flex-direction: column;
  animation: move-up 1s both;
  height: auto;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}
.loading-spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: #333;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.rectangle img {
  display: block;
  width: 100%;
  height: 288px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.rectangle.active img {
  display: none;
}
.rectangle p {
  margin: 10px;
}
.rectangle .description {
  display: none;
  margin: 10px;
  color: #333;
  font-size: 14px;
  overflow: hidden;
  transition: display 0.3s ease;
}
.rectangle.active .description {
  display: block;
  animation: move-down 1s both;
}

@keyframes move-down {
  from {
    transform: translateY(-10px);
    opacity: 0.3;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@font-face {
  font-family: "CopperBlack";
  src: local("typefaces/COPPERBLACK.ttf");
}
.updated-text {
  margin: 0 auto;
  width: fit-content;
  font-size: 14px;
  color: gray;
}
