:root {
  --electric-blue: #236AD4;
  --lemon-yellow: #ffeb57;
  --mint-green: #3ee3b3;
  --salmon-coral: #ff6f61;
  --background-color: #fdfcf9;
  --text-color: #1a1a1a;
}

html {
  color: var(--text-color);
  font-family: "Roboto", sans-serif;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1 {
  font-size: 1.5rem;
  padding: 0.5rem;
  background-color: var(--electric-blue);
  color: var(--background-color);
}

h2 {
  font-size: 1.25rem;
  text-decoration: underline;
  padding: 0.5rem 0 0 1rem;
}

p {
  margin: 0 1rem;
  text-align: justify;
}

ul {
  margin-left: 0.3rem;
}

ul > li {
  font-size: 1rem;
  padding: 0 1rem 0.5rem 0.2rem;
}

li > ul {
  margin-top: 0.5rem;
}

span {
  font-weight: bold;
}

.date {
  font-style: italic;
}

.note {
  font-style: italic;
  text-decoration: underline;
  padding-left: 1rem;
  margin-bottom: 0;
}

.nav-container {
  font-size: 1.25rem;
  width: 60%;
  margin: auto;
  background-color: var(--lemon-yellow);
  color: var(--text-color);
  border-radius: 1rem;
  box-shadow: 2px 3px 20px rgba(26, 26, 26, 0.4);
}

.navbar {
  margin: auto;
  padding-bottom: 2rem;
}

.nav-links {
  display: inline;
  gap: 2rem;
  margin-bottom: 0;
}

.nav-link,
.drop-down li {
  list-style: none;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  display: block;         /* Ekle */
  margin: 0.2rem 0.5rem;  /* Ekle */
  border-radius: 0.5rem;  /* Ekle (görsel tutarlılık için) */
}

.nav-link a {
  display: flex;
  justify-content: left;
  align-items: center;
}

a {
  text-decoration: none;
  color: inherit;
}

.nav-link a:hover {
  background: var(--electric-blue);
}

.nav-link:hover ul.drop-down {
  display: block;
}

.drop-down {
  position: absolute;
  padding: 0.5rem;
  margin: 0.5rem -0.5rem;
  background: var(--background-color);
  color: var(--text-color);
  box-shadow: 2px 3px 20px rgba(26, 26, 26, 0.4);
  border-radius: 0.5rem;
  font-size: 12px;
  display: none;
}

.drop-down li {
  display: block;
  text-align: left;
}

.nav-link:hover,
.drop-down li:hover {
  background-color: var(--electric-blue);
  color: var(--background-color);
  border-radius: 0.5rem;
}

.logo,
.photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* svg ve img demedigimde gorselleri ortalayamiyordum. */

.logo svg {
  text-align: center;
  width: 40%;
}

.photo img {
  padding-top: 1rem;
  width: 40%;
}

footer {
  background-color: var(--lemon-yellow);
  color: var(--text-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem 0rem;
}

.contact-info p {
  padding-left: 2rem;
}

.social-media {
  display: flex;
  justify-content: space-evenly;
  align-self: flex-end;
  padding-bottom: 1rem;
}

.instagram,
.facebook,
.linkedin {
  width: 30px;
  height: auto;
}

.instagram a,
.facebook a,
.linkedin a {
  fill: var(--text-color);
}
@media screen and (min-width: 600px) {
  #skills,
  #experiences {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5%;
  }

  #skills > h1,
  #experiences > h1 {
    grid-column: 1 / span 2;
  }

  .nav-container {
    width: 98%;
  }

  .navbar {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  }

  .nav-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    margin-left: 0;
    padding: 0;
    align-items: center;
  }
}
