@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: rgb(32, 32, 32);
}

.navbar {
  display: flex;
  width: 100%;
  height: 55px;
  background-color: rgb(49, 49, 49);
  justify-content: flex-end;
  align-items: center;
}

.menu-icon {
  width: 35px;
  height: auto;
  margin-right: 10px;
  filter: invert(67%) sepia(11%) saturate(7%) hue-rotate(324deg) brightness(60%)
    contrast(91%);
  cursor: pointer;
}

.drop-down {
  max-height: 0;
  overflow: hidden;
  width: 100%;
  background-color: rgb(49, 49, 49);
  transition: max-height 0.5s ease-in-out;
}

.drop-down li {
  list-style-type: none;
  padding: 10px;
  color: rgba(255, 255, 255, 0.927);
}

.nav-line {
  border: none;
  height: 1px;
  background-color: #989898;
  margin-left: 10px;
  margin-right: 10px;
}

/* card container body elements */

.card-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  align-content: space-evenly;
  flex-wrap: wrap;
  margin: 5px;
  margin-top: 20px;
}

.card {
  max-width: 150px;
  max-height: 310px;
  margin: 5px;
  transition: max-width 0.3s ease;
  border-radius: 20px;
  position: relative;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* Text color */
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  opacity: 0; /* Initial opacity, you can adjust this */
  transition: opacity 0.3s ease; /* Add smooth transition for opacity */
}

.image {
  width: 100%;
  border-radius: 20px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.image:hover {
  border: 3px solid rgba(0, 255, 132, 0.859);
}

/* footer */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background-color: rgb(49, 49, 49);
  color: #989898;
  font-size: smaller;
  height: 70px;
  margin-top: 20px;
}

.fa-github {
  margin-top: 20px;
}
