@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url("https://images.unsplash.com/photo-1687197180710-b2b9484a3c5f?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=NHwxMjA3fDA%3D");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 60px 20px;
}
.title-main {
  color: #5C6AC4;
  font-size: 3rem;
  margin-bottom: 8px;
}
.title {
  color: #5C6AC4;
  font-size: 1.5rem;
  font-weight: normal;
}
.wrapper {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: #fff;
  min-height: 600px;
  width: 100%;
  padding: 25px;
}
header {
  justify-content: space-between;
  color: royalblue;
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border-bottom: 2px solid slateblue;
  backdrop-filter: blur(5px);
  width: 100%;
  padding: 15px 25px;
  font-weight: normal;
  gap: 10px;
  align-items: center;
  display: flex;
}
.menu-container {
  position: relative;
  display: inline-block;
}

.menu-btn {
  background: rgba(255, 255, 255, 0.12);
  color: royalblue;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  font-size: 1.3rem;
  padding: 6px 12px;
  cursor: pointer;
  height: 44px;
  width: auto;
}
.menu-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.menu-box {
  display: none;
  position: absolute;
  top: 115%;
  right: 0;
  min-width: 160px;
  background: rgba(15, 15, 20, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 6px;
  flex-direction: column;
  gap: 4px;
  z-index: 200;
}
.menu-box.open {
  display: flex;
}
.menu-box button {
  background: transparent;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  text-align: left;
  font-size: 0.95rem;
  cursor: pointer;
}
.menu-box button:hover {
  background: #5C6AC4;
}
#currentTime {
  color: blue;
  margin-bottom: 150px;
}
.title-of-home {
  margin-bottom: 40px;
  text-align: center;
  font-size: 50px;
}
.title-of-about {
  margin-bottom: 20px;
  text-align: center;
  font-size: 50px;
}
#home p {
  text-align: center;
}
.title-of-home::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background: blue;
  border-radius: 100px;
  margin: 8px auto 0;
}
.title-of-about::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background: blue;
  border-radius: 100px;
  margin: 8px auto 0;
}
img {
  height: 70px;
  margin-bottom: 20px;
  width: auto;
  user-select: none;
}
#about p {
  text-align: center;
  margin-top: 40px;
  color: rgba(40, 66, 145, 0.864);
  font-size: 15px;
}
.title-of-projects {
  margin-bottom: 20px;
  text-align: center;
  font-size: 50px;
  margin-top: 10px;
  flex-direction: column;
  gap: 10px;
}
.title-of-projects::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  background: blue;
  border-radius: 100px;
  margin: 8px auto 0;
}
.description {
  text-align: center;
}
.page {
  display: none;
}
.page.active {
  display: block;
}
.project-from-projects {
  height: 40px;
  width: auto;
  gap: 10px;
}
#projects {
  text-align: center;
}
footer {
  text-align: center;
  color: white;
  padding: 10px;
}
.project-from-projects {
  position: relative;
  overflow: hidden;
}
.projects-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 0 30px;
  }

  .project-from-projects {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
  }

  .project-from-projects img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    display: block;
  }

  .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.8);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

.project-from-projects:hover .project-overlay {
   opacity: 1;
}