@import url("https://fonts.googleapis.com/css2?family=Red+Rose:wght@300..700&display=swap");

body {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.7)),
    url("Images/dark background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 20px 40px;
  width: 100%;
  box-sizing: border-box;
  font-family: "Red Rose", serif;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.navbar .logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}
.navbar .nav-links {
  display: flex;
  gap: 20px;
}
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav li {
  display: inline;
}
.navbar .nav-links a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 12px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
.navbar .nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.24);
  border-radius: 8px;
}
.drop-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: none;
  font-size: 36px;
  line-height: 44px;
  text-align: center;
  color: white;
  z-index: 30;
}
.profile-main {
  padding: 70px 24px 20px;
}

.profile-card {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 14px;
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
  font-family: "Red Rose", serif;
  color: white;
}

.profile-image {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.intro-line {
  font-size: 20px;
  color: #f4d8aa;
}

.about-me {
  margin: 0;
  text-align: left;
  line-height: 1.9;
  font-size: 18px;
}

.section-title {
  margin: 0;
  text-align: left;
  color: white;
  font-size: 38px;
}

.profile-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-highlights span {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(
    rgba(139, 115, 85, 0.35),
    rgba(139, 115, 85, 0.35)
  );
  font-size: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 40px;
}
.social-icons a {
  text-decoration: none;
  color: white;
  font-size: 28px;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  border: none;
  outline: none;
}
.social-icons a:hover {
  color: #e6e6e6;
  transform: translateY(-2px);
}
.social-icons a:focus {
  outline: none;
  border: none;
}
.site-footer {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  font-family: "Red Rose", serif;
  font-size: 16px;
  letter-spacing: 0.4px;
  margin-top: auto;
  margin-bottom: 0;
  padding-bottom: 24px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.site-footer a {
  color: white;
  cursor: pointer;
  pointer-events: auto;
}

.site-footer a:hover {
  color: #e6e6e6;
}

.site-footer .untappd-link {
  color: #f4c16e;
}

.site-footer .untappd-link:hover {
  color: #ffd99a;
}
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}
@media screen and (max-width: 900px) {
  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    right: 10px;
    width: 200px;
    background: linear-gradient(rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.68));
    padding: 20px;
    gap: 15px;
    border: 2px solid #333;
    border-radius: 8px;
    animation: slideDown 0.3s ease forwards;
  }
  .navbar.active {
    display: flex;
  }
  .nav {
    flex-direction: column;
  }
  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  .drop-icon {
    display: block;
    cursor: pointer;
  }
  .profile-main {
    padding: 120px 16px 10px;
  }
  .profile-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 16px;
    text-align: center;
  }
  .profile-image {
    width: 220px;
    height: 220px;
  }
  .profile-content {
    align-items: center;
  }
  .section-title {
    text-align: center;
    font-size: 30px;
  }
  .intro-line {
    font-size: 18px;
  }
  .about-me {
    text-align: center;
    font-size: 17px;
  }
  .profile-highlights {
    justify-content: center;
  }
  .social-icons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 120px;
    margin-bottom: 24px;
  }
  .site-footer {
    font-size: 15px;
    padding-bottom: 20px;
  }
}

@media screen and (min-width: 901px) {
  .navbar {
    display: flex !important;
  }
  .drop-icon {
    display: none;
  }
}
