/*
Colors used:
White (White): #FFFFFF;
Grey text (Grey text): #98A1AE;
Dark text (Dark text): #212830;
Light white (White 1): #F9FAFB;
Dark (Dark): #102335;
Green accent (Green): #03ED9F;
Green dark (Green dark): #016644;
*/

* {
  box-sizing: border-box;
}

body {
  background-color: #f9fafb;
  font-family: "DM Sans", sans-serif;
  font-size: 16px; /* Sets the font size to 16px */
  font-weight: 400; /* Sets the font weight to 400 */
  line-height: 1.6; /* Sets the line-height to 1.6 * the font-size */
  color: #212830;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: 2em;
  font-weight: 700;
}

h2 {
  font-size: 1.8em;
  font-weight: 700;
}

h3 {
  font-size: 1.6em;
  font-weight: 700;
}

h4 {
  font-size: 1.3em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

header {
  color: #212830;
  position: fixed;
  width: 100%;
  background-color: #f9fafb;
  padding: 10px 0 4px;
  list-style-type: none;
  width: [object object]px;
  height: [object object]px;
  background: #f9fafb;
  border: solid #bdbdbd 0;
  box-shadow: 5px 3px 20px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 5px 3px 20px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px 3px 20px rgba(0, 0, 0, 0.2);
}

main {
  padding-top: 81px;
}

footer {
  color: #ffffff;
  text-align: center;
  display: inline-block;
  width: 100%;
  padding: 60px 0;
  width: [object object]px;
  height: [object object]px;
  background: #102335;
  border: solid #bdbdbd 0;
  box-shadow: 5px -3px 20px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 5px -3px 20px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 5px -3px 20px rgba(0, 0, 0, 0.2);
}

img {
  width: 100%;
  max-width: 900px;
  height: auto;
}

#project img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#project h3 {
  padding-top: 30px;
}

a {
  color: blue;
  text-decoration: none; /* No underlining */
}

a:hover,
a:focus {
  color: blue;
  text-decoration: underline; /* Underlining when hovering over a link */
}

a:visited {
  /* visited link */
  color: blue;
}

a:active {
  /* selected link */
  color: darkblue;
  text-decoration: underline;
}

a.button {
  display: inline-block;
  background-color: #03ed9f;
  color: #212830;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 3px;
  transition: 0.2s opacity;
}

a.button:hover,
a.button:active {
  opacity: 0.8; /* Reduces the opacity of the button to 80% */
  text-decoration: none;
}

a.button-contact {
  /* I haven't included two different button types on my page but I've added some example styling here for the purposes of this exercise. */
  display: inline-block;
  background-color: #03ed9f;
  color: #212830;
  font-weight: 700;
  text-align: center;
  padding: 10px 30px;
  border-radius: 3px;
  transition: 0.2s opacity;
}

a.button-contact:hover,
a.button-contact:active {
  opacity: 0.8; /* Reduces the opacity of the button to 80% */
  text-decoration: none;
}

nav > ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav > ul > li > a {
  padding: 0px;
  text-transform: uppercase;
  font-weight: 700;
  color: #212830;
}

nav > ul > li > a:visited {
  color: #212830;
}

nav > ul > li > a:hover {
  color: #212830;
  text-decoration: underline;
}

nav > ul > li > a:active {
  color: black;
  text-decoration: underline;
}

#hero {
  background-color: #f9fafb;
  padding: 20px 0;
  display: inline-block;
  width: 100%;
  text-align: center; /* Centers text */
}

#hero h1 {
  text-align: center; /* Centers text */
}

#hero span {
  display: block;
}

#about {
  padding: 20px 0;
}

#about-hero {
  padding-top: 20px;
}

.about-page-h2 {
  margin-top: 40px;
  text-align: center;
}

#work .row {
  padding-bottom: 25px;
}

.center {
  text-align: center;
}

.center-button {
  text-align: center;
  padding: 10px 30px;
  padding-bottom: 60px;
  border-bottom: 1px solid #102335;
}

.center-profile-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* custom logo sizing */
.logo {
  max-width: 60px;
  height: auto;
}

.navtoggle li:not(:last-child) {
  display: none;
}

.navtoggle li .icon {
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 20px;
  padding-right: 0;
}

.navtoggle,
.navtoggle.responsive {
  position: relative;
}

.navtoggle.responsive nav {
  padding: 24px 0 0;
}

.navtoggle.responsive li {
  display: block;
  padding: 10px 0;
  border-top: 1px solid #102335;
}

.navtoggle.responsive li:last-child {
  padding: 0 0 10px;
}

.profile-img {
  max-width: 350px;
  margin: 0 auto;
}

.row {
  margin: 25px 0; /* 25px top and bottom, 0 left and right */
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

.small-font {
  font-size: 18px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.social-icon {
  width: 35px;
  height: 35px;
  fill: #212830;
}

.make-uppercase {
  text-transform: uppercase;
}
.make-lowercase {
  text-transform: lowercase;
}

.underline-me {
  text-decoration: underline;
}

.contact-icons > ul {
  list-style-type: none;
  padding: 0;
}

.contact-icons > ul > li {
  display: inline-block;
}

.contact-icons > ul > li > a {
  padding: 0 15px;
}

.container {
  padding: 0 15px;
  max-width: 1200px;
}

[class*="col-"] {
  float: left;
  padding: 10px;
}

@keyframes color-change {
  0% {
    fill: #edc655;
  }
  50% {
    fill: #fcffad;
  }
  100% {
    fill: #f76414;
  }
}

.sun {
  animation-duration: 4s;
  animation-name: color-change;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
}

@keyframes cloud-move {
  from {
    transform: translate(0, 50px);
  }
  to {
    transform: translate(200px, 50px);
  }
}

.cloud-front {
  animation-duration: 6s;
  animation-name: cloud-move;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: linear;
}

@keyframes cloud-move-reverse {
  from {
    transform: translate(446px, 48px);
  }
  to {
    transform: translate(100px, 48px);
  }
}

.cloud-back {
  animation: 9s cloud-move-reverse infinite alternate linear;
}

#project h1 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.takeaways {
  padding-bottom: 60px;
}

/* ==============================
Medium devices (640px and larger)
================================= */
@media only screen and (min-width: 640px) {
  body {
    font-size: 18px;
  }

  header {
    line-height: 1.2;
    text-align: unset;
    padding: 15px;
  }

  nav {
    width: auto;
    float: right;
  }

  nav > ul {
    margin: 1em 0;
  }

  nav > ul > li {
    display: inline-block;
    width: 90px;
  }

  main {
    padding-top: 94.59px;
  }

  #about-page h3 {
    margin-top: 0;
  }

  #work h3 {
    margin-top: 0;
  }

  .col-md-6 {
    width: 50%;
  }

  .navtoggle li:not(:last-child) {
    display: inline-block;
  }

  .navtoggle li:last-child {
    display: none;
  }

  .profile-img {
    float: right;
    margin: 20px 0px 40px 60px;
  }

  .big-heading {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2em;
  }
}

/* ==============================
Large devices (1024px or larger)
================================= */
@media only screen and (min-width: 1024px) {
  .col-lg-7 {
    width: 58.33%;
  }

  .col-lg-5 {
    width: 41.66%;
  }

  .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .profile-img {
    float: right;
    margin: 20px 0px 40px 120px;
  }

  .big-heading {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.4em;
  }

  footer {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .about-page-h2 {
    margin-top: 60px;
  }

  h4 {
    margin-top: 20px;
  }
}

/* ==============================
X-large devices (1440px or larger)
================================= */
@media only screen and (min-width: 1440px) {
}