@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

/* Header */
header {
  background-color: #FFDAB3;
  height: 100vh;
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 500;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.menu-items {
  display: flex;
}

.menu-items li {
  list-style: none;
  padding: 1rem;
}

.menu-items a {
  text-decoration: none;
  color: #9F8383;
  font-size: 1.2rem;
  padding: 0.3rem;
}

.menu-items a:hover {
  border-bottom: 2px solid #574964;
}

.navbar .logo {
  order: 1;
  color: #9F8383;
  font-size: 2rem;
}

/* Home Content */
.home-content .name {
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #9F8383;
  width: 100%;
  text-align: center;
}

.home-content .name h1 {
  font-size: 2.2rem;
  text-align: center;
}

.home-content .name p {
  color: #574964;
  font-size: 1.5rem;
}

.angle-down-icon {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  border: 3px solid #9F8383;
  border-radius: 50%;
}

.angle-down-icon a {
  text-decoration: none;
  color: #9F8383;
  padding: 1rem;
}

/* About Me */
.about-me {
  background-color: #9F8383;
  padding: 6rem 0;
}

.about-me .about-heading {
  color: #574964;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
}

.left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 300px;
}

.about-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-avatar {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.about-text-icons {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.about-text-icons p {
  font-size: 1.2rem;
  color: #FFDAB3;
  text-align: left;
}

.skills-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.skills-icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 5px;
}

/* Work Arrows */
.work-arrow {
  margin: 2rem 0;
}

.work-arrow a {
  font-size: 1rem;
  text-decoration: none;
  color: #574964;
}

.work-arrow-2 {
  margin: 2rem 0;
}

.work-arrow-2 a {
  font-size: 1rem;
  text-decoration: none;
  color: #574964;
  display: none;
}

/* Portfolio */
.portfolio {
  background: #FFDAB3;
  padding: 6rem 0;
}

.proj-heading h1 {
  text-align: center;
  color: #9F8383;
  font-size: 2.3rem;
  font-weight: 700;
  margin: 3rem 0;
}

.proj-1, .proj-2, .proj-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.proj-1 img, .proj-2 img, .proj-3 img {
  height: 330px;
  width: 380px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 10px -10px rgba(87, 73, 100, 0.31);
  margin-right: 1.7rem;
}

.proj-1 .proj1-details, .proj-2 .proj2-details, .proj-3 .proj3-details {
  width: 32rem;
}

.proj-1 .proj1-details i, .proj-2 .proj2-details i, .proj-3 .proj3-details i {
  font-size: 1.5rem;
  color: #9F8383;
}

.proj-1 .proj1-details h2, .proj-2 .proj2-details h2, .proj-3 .proj3-details h2 {
  font-size: 2rem;
  color: #9F8383;
}

.proj-1 .proj1-details p, .proj-2 .proj2-details p, .proj-3 .proj3-details p {
  font-size: 1.3rem;
  color: #9F8383;
  font-weight: 600;
}

.proj-1 .proj1-details button, .proj-2 .proj2-details button, .proj-3 .proj3-details button {
  background: #C8AAAA;
  padding: 0.5rem;
  margin-top: 0.5rem;
  width: 150px;
  border: none;
  border-bottom: 2px solid #9F8383;
}

.proj-1 .proj1-details button a,
.proj-2 .proj2-details button a,
.proj-3 .proj3-details button a {
  text-decoration: none; 
  color: #9F8383;
  font-size: 1.1rem;
  transition: 0.3s ease-in-out;
  text-align: center;
}

.proj-1 .proj1-details button:hover,
.proj-2 .proj2-details button:hover,
.proj-3 .proj3-details button:hover {
  background: #574964;
}

.proj-1 .proj1-details button:hover a,
.proj-2 .proj2-details button:hover a,
.proj-3 .proj3-details button:hover a {
  color: #FFDAB3;
}

/* More Work */
.more-work {
  text-align: center;
  margin: 3rem 0 1rem 0;
}

.more-work p {
  font-size: 1.6rem;
  color: #9F8383;
  font-weight: 500;
}

.more-work a {
  text-decoration: none;
  color: #574964;
  font-size: 1.3rem;
}

.more-work a:hover {
  border-bottom: 2px solid #574964;
}

/* Contact */
.contact {
  background: #9F8383;
  position: relative;
  height: 92vh;
}

.contact-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #574964;
  padding-bottom: 0.5rem;
}

.contact-content .mail {
  color: #FFDAB3;
  padding-bottom: 0.2rem;
  font-size: 1rem;
}

.contact-content .links {
  color: #574964;
  padding: 0.5rem;
  padding-bottom: 1.8rem;
  font-size: 1rem;
}

.contact-content a {
  text-decoration: none;
  color: #574964;
  padding: 0.5rem;
  transition: 0.3s ease-in-out;
}

.contact-content a:hover{
  color: #FFDAB3;
}

/* Media Queries */
@media (max-width: 500px) {
  html { font-size: 60%; }

  .about-content { flex-direction: column; align-items: center; }
  .about-inner { flex-direction: column; align-items: center; }
  .skills-icons { justify-content: center; }
}

@media (min-width: 501px) and (max-width: 768px) {
  html { font-size: 65%; }

  .about-content { flex-direction: column; align-items: center; }
  .about-inner { flex-direction: column; align-items: center; }
  .skills-icons { justify-content: center; }
}

@media (min-width: 769px) and (max-width: 1200px) {
  html { font-size: 70%; }

  .about-content { flex-direction: column; align-items: center; }
  .about-inner { flex-direction: column; align-items: center; }
  .skills-icons { justify-content: center; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .header { height: 90vmax; }
}
