/* General Styling */
* {
  font-family: "Roboto", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}
/* General Styling for headers */
h1,
h2,
h3,
h4,
h5,
h6,
span {
  color: #242424;
  text-align: center;
  line-height: 1.25;
}
/* Paragraph Font */
p {
  line-height: 1.5;
  font-size: 16px;
}

/* Green Text */
.text--green {
  color: #006661;
}
/* Heading font */
h1 {
  padding-bottom: 18px;
  font-size: 36px;
}
/* Fit Everything to middle */
.row {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 12px;
}
/* Navigation Bar */
nav {
  height: 100px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
}
/* Logo img */
.personal__logo {
  width: 50px;
  height: 50px;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px #006661;
  justify-content: flex-start;
}
/* name of website  */
.personal__logo--title {
  font-size: 24px;
  background-color: #006661;
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
}
/* Hover animation */
.personal__logo--title:hover {
  background-color: #014340;
}
/* display flex the links */
.nav__link--list {
  display: flex;
}

/* Nav link fonts */
.nav__link--primary {
  margin: 0 12px;
  color: #242424;
  text-decoration: none;
  font-weight: 700;
}
/* Nav link showing which page you are on */
.nav__link--primary-clicked {
  background-color: #9dbcbc;
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
}
/* Make contact stand out */
.nav__link--primary-contact {
  background-color: #006661;
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
}
/* Edit location of project link */
.nav__link--project-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}
/* project font */
.nav__link--project {
  font: bold;
  font-size: 20px;
}

/* Hover animation */
.nav__link--primary-contact:hover {
  background-color: #014340;
}
/* no bullets */
li {
  list-style-type: none;
}



/* Container for about me */
.about-me__info--container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
/* font for paragraph */
.about-me__info--para {
  font-size: 20px;
}

/* main picture container */
.about-me__picture-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 16px #006661;
  margin-bottom: 28px;
  align-items: center;
}

/* Make picture centered in container */
.about-me__picture {
  width: 100%;
}

/* Padding around about me */
.about-me__links {
  padding: 20px 0 20px 0;
}
/* padding around each link font-awesome */
.about-me__link {
  font-size: 20px;
  padding: 0 16px;
  color: #242424;
}

/* Set image width */

.about-me__img {
  width: 100%;
}

/* programming languages */
.language__img {
  width: 100%;
  max-width: 100px;
  max-height: 100px;
  transition: all 300ms;
}
/* programming languages animation */
.language__img:hover {
  filter: brightness(80%);
  opacity: 0.86;
  transform: scale(0.9);
}

/* set languages width */

.language {
  width: 25%;
}

/* wrapper for the img */
.language__img--wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 16px;
}

/* setting for imgs */

.language__list {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
/* Container for tech stack */
.techstack__container {
  padding: 50px 0 50px 0;
}

footer {
  background-color: black;
}
/* footer img container */
.footer__logo {
  margin-bottom: 20px;
}
/* socials */
.footer__social--list {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: space-around;
  margin-bottom: 28px;
}
/* footer container */
.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4% 0;
}
/*footer img */
.footer__logo--img {
  width: 100px;
  height: 100px;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  /* box-shadow: 0 2px 8px #006661; */
}
/* copyright */
.footer__social--link,
.footer__copyright {
  color: white;
}

/* Project heading in about me */
.project__heading--container {
  padding-top: 50px;
}

/* Aries cat img */
.aries__img {
  margin-bottom: 40px;
  border-radius: 20%;
  max-width: 400px;
  box-shadow: 0 20px 80px #006661;
}


/* Blogs */
/* Blog content */
.blog {
  display: flex;
  margin-bottom: 70px;
  justify-content: center;
}

/* blog imgs */

.blog__img {
  width: 100%;
  transition: all 500ms ease;
}

/* to set the shape */
.blog__wrapper {
  display: flex;
  box-shadow: 0 20px 80px #006661;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  max-height: 360px;
}

/* animation for the blog */
.blog__wrapper:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0;
  transition: all 450ms ease;
  z-index: 2;
  /* change order of operation */
}

/* make the img go dark */
.blog:hover .blog__wrapper:before {
  transform: translateY(0);
  opacity: 0.7;
}
/* make the img blue */

.blog:hover .blog__img {
  transform: scale(1.07);
  filter: blur(5px);
}

/* make the writing come up */

.blog:hover .blog__description {
  opacity: 1;
  transform: translateY(-50%);
}

/* padding */
.blog__list {
  padding-top: 40px;
}

/* for the writing to come up and keep in position */
.blog__description {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  max-width: 550px;
  z-index: 3;
  opacity: 0;
  transition: transform 450ms, opacity 300ms;
}

/* Blog titles */
.blog__description--title {
  font-size: 40px;
}
/* Blog sub-titles */
.blog__description--sub-title {
  font-size: 18px;
}
/* blog paragraph */
.blog__description--para {
  margin: 16px 0;
}
/* align and text colour */
.blog__description--title,
.blog__description--sub-title,
.blog__description--para {
  text-align: left;
  color: white;
}

/* Contact */
/* 
 form font */
.form {
  font-size: 18px;
}
/* container for form */
.form__wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}
/* width of form */

.form__list {
  width: 100%;
}
/* form items */
.name {
  display: flex;
  flex-direction: column;
}

.email {
  display: flex;
  flex-direction: column;
}

.message {
  display: flex;
  flex-direction: column;
}
/* message answer */
textarea {
  width: 100%;
  height: 150px;
}
/* button for send */
.send__button--wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
}
/* make the button go dark when hover */
.send__button {
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  width: 20%;
  background-color: #006661;
  padding: 8px 20px;
  border-radius: 50px;
  color: white;
  border: none;
  transition: 300ms;
}
/* animation */
.send__button:hover {
  background-color: #014340;
}


/* Responsive design */

/* Small phones, tablets, large smartphones  */

@media (max-width: 768px) {
  nav {
    height: 68px;
  }
  /* to make nav heigh smaller */

  h1 {
    font-size: 28px;
  }
  /* smaller heading */

  .about-me__info--para {
    font-size: 18px;
  }
  /* smaller paragraph size */

  .language {
    width: calc(100% / 2);
  }
  /* to make 2x2 instead of a row of four */

  .blog__description--para {
    font-size: 14px;
  }
  /* blog description paragraph smaller font */

  .blog__description {
    left: 30px;
    padding-right: 30px;
  }
  /* location of blog content */

  .nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* to fix the background of the buttons overlapping when smaller screen */

  .blog__description--sub-title {
    font-size: 14px;
  }
  /* smaller font blog */

  .blog__description--title {
    font-size: 32px;
  }
}

/* Smaller Phones */

@media (max-width: 480px) {
  .nav__link:first-child {
    display: none;
  }
  /* get rid of home button */

  .nav__link--list {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
  }
  /* change orientation of nav links to column */

  .blog__description--para {
    font-size: 10px;
  }
  /* headings only for blog list removed para and sub-title */

  .blog__description--sub-title {
    font-size: 10px;
  }

  /* aligning the text to the center of the img */
  .blog__description--title {
    text-align: center;
    font-size: 12px;
    padding-bottom: 5px;
  }

}
