@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  list-style: none;
  text-decoration: none;
  background: #f1f1f1;
  color: #313131;
}

body {
  font-family: "Montserrat", sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2% 8%;
  background: #f1f1f1;
  color: #313131;
}

.mail a {
  display: flex;
  font-size: 14px;
  font-weight: 500;
}

.mail a i {
  font-size: 16px;
  font-weight: 500;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  font-weight: 500;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: #313131;
  font-size: 14px;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.hamburger i {
  font-size: 30px;
  color: #313131;
  cursor: pointer;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: calc(100vh - 150px);
  padding: 20px;
  width: 70%;
  max-width: 1080px;
  margin: 0 auto;
}

.main img {
  display: block;
  width: 100px;
  background: #313131;
}

.main-img {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

.shadow {
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  position: relative;
  cursor: pointer;
}

.shadow::after {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px;
  height: 7px;
  width: 50px;
  filter: blur(3px);
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  opacity: 0;
  transition: all 0.6s ease;
}

.shadow:hover .main-img {
  transform: translateY(-10px);
}

.shadow:hover::after {
  opacity: 1;
}

.main h3 {
  color: #000;
  font-size: 16px;
}

.main h1 {
  color: #000;
  font-size: 36px;
  font-weight: 800;
  line-height: 40px;
}

.main h1 span {
  color: #000;
  display: inline-block;
  border-bottom: 3.5px solid;
  border-image: linear-gradient(to right, #ff7f50, #1e90ff) 1;
}

.main p {
  width: 60%;
  margin-top: 2%;
  opacity: 0.8;
}

.main p strong {
  color: #000;
}

button {
  margin-top: 50px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #313131;
  color: white;
  border: none;
  border-radius: 150px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
}

button:hover {
  background: #000;
  color: white;
}

button a {
  background: #313131;
  color: white;
  transition: all 0.3s ease-in-out;
}

button:hover a {
  background: #000;
  color: white;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
}

.footer .copyright p strong a {
  background: #313131;
  color: #f1f1f1;
  /* font-size: 12px; */
  text-decoration: none;
  /* margin-right: 30px; */
}

.footer .copyright p {
  padding: 3px 0;
  background: #313131;
  color: #f1f1f1;
  font-size: 10px;
  text-decoration: none;
  text-align: center;
}

/* Popup container */
.popup {
  display: none; /* Hide popup by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup h2 {
  margin-top: 30px;
}

/* Popup content */
.popup-content {
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 80%;
  max-width: 600px;
}

.popup-content .links {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 0;
}

.popup-content .links li {
  margin: 10px 0;
}

.popup-content .links li a {
  text-decoration: none;
}

.popup-content .links li a:hover {
  text-decoration: underline;
  transition: all 0.9s ease-in-out;
}

/* Close button */
.close-btn {
  font-size: 30px;
  font-weight: bold;
  color: #313131;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 10%;
    text-align: right;
    margin-right: 50px;
    z-index: 1;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .mail a p {
    display: none;
  }

  .mail a i {
    font-size: 28px;
  }

  .main {
    height: calc(100vh - 100px);
  }

  .main img {
    width: 80px;
  }

  .main-img {
    width: 80px;
    height: 80px;
  }

  .shadow {
    margin-bottom: 30px;
    width: 80px;
    height: 80px;
  }

  .main h3 {
    font-size: 14px;
  }

  .main h1 {
    font-size: 28px;
    line-height: 30px;
  }

  .main h1 span {
    border-bottom: 3px solid;
  }

  .main p {
    width: 90%;
    font-size: 14px;
  }

  button {
    margin-top: 30px;
    padding: 10px 22px;
    font-size: 14px;
  }
}

@media (max-width: 425px) {
  .main {
    height: calc(100vh - 200px);
    width: 90%;
  }

  .main h3 {
    font-size: 14px;
  }

  .main h1 {
    font-size: 22px;
    line-height: 25px;
  }

  .main h1 span {
    border-bottom: 2.5px solid;
  }

  .main p {
    width: 100%;
    font-size: 12px;
    margin-top: 3%;
  }

  button {
    padding: 8px 18px;
    font-size: 12px;
  }
}
