:root {
  --primary-gradient: rgba(172, 181, 185, 0.502);
  --secondary-gradient: hsla(0, 0%, 100%, 0.95);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  margin-bottom: 4em;
  font-family: Montserrat, sans-serif;
  font-size: 0.875rem;
  height: 100vh;
}

h1 {
  font-size: 3rem;
  margin: 0;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin: 0;
}

h3 {
  text-align: center;
  font-size: 1.25em;
  padding: 1em;
}

img {
  max-width: 50%;
}

section {
  padding: 2rem;
}

li {
  cursor: pointer;
  margin-bottom: 1em;
}

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

header {
  margin: 0;
  text-align: center;
  background: linear-gradient(
    to bottom,
    var(--primary-gradient),
    var(--secondary-gradient)
  );
  padding: 3em 0;
  box-shadow: 0 20px 20px lightgray;
}

ul {
  list-style: none;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  text-align: center;
  padding: 0;
}

li a {
  text-decoration: none;
}

header div {
  width: 70%;
  margin: 0 auto;
}

.nav__item {
  background-color: rgb(48, 48, 132);
  color: white;
  padding: 0.7em;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
}

.nav__item:hover,
.nav__item:focus {
  opacity: 0.65;
  color: lightgray;
}

.nav__list li {
  margin-bottom: 2em;
}

.gradient {
  background-image: url("./resources/images/sky2.png");
  background-size: cover;
  box-shadow: 0 10px 10px rgba(211, 211, 211, 0.4);
}

.about__me {
  font-family: "Playfair Display", serif;
}

.about__me p {
  font-size: 1.25rem;
  text-align: center;
}

.img__container {
  /* centers the img: */
  text-align: center;
}

#wings {
  width: 150px;
}

#flying-pic {
  border-radius: 2em;
  width: 35%;
  display: none;
}

.skills div {
  width: 70%;
  margin: 0 auto;
}

.skills__item {
  margin-bottom: 0.75em;
}

.contact div {
  width: 70%;
  margin: 0 auto;
}

.contact__item i {
  font-size: 1.5rem;
  padding-bottom: 1em;
}

@media screen and (min-width: 700px) {
  h2 {
    font-size: 2.5rem;
  }

  .nav {
    margin-top: 4em;
  }

  .nav__list {
    justify-content: center;
    align-items: center;
  }

  .nav__list li {
    margin: 0;
  }

  .nav__item {
    margin-left: 2em;
  }

  #flying-pic {
    display: inline-flex;
  }

  .about-me__row {
    gap: 5em;
  }

  .skills__item {
    font-size: 2rem;
    margin-bottom: 1em;
  }

  .contact__list {
    justify-content: space-evenly;
  }

  .contact__item i {
    font-size: 2.5rem;
  }
}

@media screen and (min-width: 1000px) {
  .row {
    display: flex;
  }

  h1 {
    font-size: 4rem;
  }

  .about-me__row,
  .skills__row {
    display: flex;
  }

  .col {
    width: 50%;
  }

  #flying-pic {
    float: right;
    margin-left: 1em;
    margin-top: 1.5em;
  }
}
