@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=MonteCarlo&display=swap");

body {
  font-family: "Lato", sans-serif;
  margin: 0rem;
}
hr {
  margin: 2rem 0rem;
}
:root {
  --primary-color: #6366f1;
  --gray-color: #6b7280;
  --offwhite-grey: #f3f4f6;
}
/* container */
.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.container-center {
  max-width: 640px;
  margin: auto;
}

/* link styling */

.links {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin: 0.3rem 0rem;
  margin-right: 0.1rem;
}

.link-primary {
  background-color: var(--primary-color);
  color: white;
  border-radius: 0.5rem;
}
.link-primary:active,
.link-primary:hover {
  background-color: white;
  color: var(--primary-color);
  border-radius: 0.5rem;
  border: 0.01rem solid var(--primary-color);
}
.link-secondary {
  color: var(--primary-color);
  border-radius: 0.5rem;
  border: 1px solid var(--primary-color);
}

/* lists */

.list-non-bullet {
  list-style: none;
}
.list-inline li {
  display: inline-block;
  padding: 0rem 0.5rem;
}

/* nav bar */
.navigation {
  display: flex;
  justify-content: space-between;
  background-color: var(--primary-color);
  padding: 1rem;
  border-radius: 0px 0px 0px 1rem;
}
.navigation-brand {
  font-weight: bold;
  color: white;
}
.list-non-bullet li a {
  color: white;
}

.navigation ul {
  text-align: right;
  padding: 0;
}

.link-active {
  font-weight: bold;
}

/* header */
.hero img {
  max-width: 340px;
  display: block;
  margin: auto;
}
.hero h1 {
  text-align: center;
  color: var(--gray-color);
}
.hero h1 span {
  color: var(--primary-color);
}

/* section */
.section {
  padding: 2rem;
}
.section h1 {
  text-align: center;
}

.ow {
  background-color: var(--offwhite-grey);
}

/* footer */

.footer {
  color: white;
  background-color: var(--primary-color);
  padding: 1rem 0.5rem;
  text-align: center;
  border-radius: 0px 1rem 0rem 0rem;
}
.footer > ul {
  padding-left: 0rem;
}
.footer-header {
  font-weight: bold;
  font-size: large;
}

/* styling skills container */

.skill img {
  width: 100%;
  height: 100%;
}

.skill {
  width: 20%;
  height: 20%;
}

.skills-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-items {
  background-color: var(--offwhite-grey);
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem;
  border-radius: 10px;
  text-align: center;
}

.blog-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.blog-container div {
  margin-bottom: 1.2rem;
  text-align: center;
}

@media (max-width: 570px) {
  .project-container {
    display: flex;
    flex-direction: column;
  }
  .project-container div {
    width: 100%;
    margin-bottom: 1.2rem;
  }
  .navigation {
    padding: 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 0px 0px 0px 1rem;
  }
  .footer{
      width:100%;
  }
  .blog-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}
