html {
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Poppins";
}

::selection {
  color: #ffffff; /* Seçilən mətn ağ rəngdə */
  background: #4a90e2; /* Arxa fon ChatGPT-nin yaşıl rəngi */
}

::-moz-selection {
  color: #ffffff;
  background: #4a90e2;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Poppins";
  src: url("./fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* DM Serif Display (başlıqlar üçün gözəl seçim) */
@font-face {
  font-family: "DM Serif Display";
  src: url("./fonts/DMSerifDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("./fonts/DMSerifDisplay-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

header {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

ul {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  padding-right: 10%;
}

.logo {
  padding-left: 10%;
  font-family: "DM Serif Display", serif;
  font-size: 5rem;
  margin: 0;
}

.logo a {
  text-decoration: none;
  color: #333333;
}

nav a {
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  color: black;
  font-size: 1.65rem;
}

nav a:hover {
  color: #007bff;
}

ul li a {
  font-family: Poppins, sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
}

main h1 {
  font-family: "DM Serif Display", serif;
}

.hero {
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
  padding-top: 5%;
  gap: 2rem;
}

.hero h1 {
  font-size: 4rem;
  margin: 0;
}

.hero p {
  margin: 0;
}

.land-buttons {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
}

.hero button {
  padding: 1rem 2rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1.3rem;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.3s ease;
}

/* Projects button */
#projects-button {
  background-color: #4F46E5;
  color: #FFFFFF;
}

#projects-button:hover {
  background-color: #4338CA;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

#projects-button:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.15);
}

/* Connect button */
#connect-button {
  background-color: rgba(229, 231, 235, 0.8);
  color: #111827;
}

#connect-button:hover {
  background-color: rgba(209, 213, 219, 0.9);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#connect-button:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 7rem;
}

.social-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.social-buttons button {
  border: none;
  background: transparent;
  cursor: pointer;
}

.social-buttons button svg {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.social-buttons .instagram svg {
  width: 2.9rem;
  height: 2.9rem;
  flex-shrink: 0;
}

footer p {
  color: #6a7282;
  font-weight: 500;
}

@media (width < 64rem) {
  nav a {
    font-size: 1.1rem;
  }

  .logo {
    font-size: 3.5rem;
  }

  ul {
    gap: 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  main h1 {
    font-size: 2.5rem;
    padding-bottom: 1.5rem;
  }

  .hero {
    font-size: 1.2rem;
    padding-top: 0rem;
    gap: 1.5rem;
  }

  footer{
    padding-top: 2rem;
  }

  footer p {
    font-size: 1.05rem;
  }

  .land-buttons {
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
  }
}
