@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
}

:root {
  --background: #f2f2f2;
  --white: #fff;
  --gray__head__color: #4f4f4f;
  --gray__paragraph_color: #828282;
  --blue__color: #2f80ed;
  --black__two: #333333;
  --black__one: #000000;
  --back__progress: #c4c4c4;
  --color-rare: #e0e0e0;

  --border-radius: 12px;

  --font-Montserrat: 'Montserrat', sans-serif;
}

/* Code for material icons */

.material-icons.md-18 {
  font-size: 18px;
  color: var(--gray__head__color);
  padding: 2px 14px 0 0;
}

body {
  background-color: var(--background);
}

.hobbies__mob {
  display: none;
}

/* Personal details section */

.personal__details {
  background-color: var(--white);
  margin: 70px 10% 42px 10%;
  display: flex;
  border-radius: var(--border-radius);
}

.profile__pic {
  width: 30%;
  padding: 17px;
}

.profile__pic img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  object-position: 50% top;
  border-radius: var(--border-radius);
}

.profile__details {
  width: 70%;
}

@media screen and (max-width: 900px) {
  .profile__pic {
    width: 30%;
  }

  .profile__details {
    width: 70%;
  }
}

@media screen and (max-width: 850px) {
  .personal__details {
    margin: 10% 5% 43px 5%;
  }
}

@media screen and (max-width: 750px) {
  .personal__details {
    margin: 10% 1% 43px 1%;
  }
}

.names__contatcs {
  display: flex;
  padding: 22px 15px 41px 15px;
  display: flex;
  position: relative;
  justify-content: space-between;
}

.user__name {
  padding-right: 8px;
}

.user__name h2 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: var(--gray__head__color);
  padding-bottom: 6px;
}

.user__name h4 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: var(--gray__paragraph_color);
}

.user__contacts {
  display: flex;
}

.user__contacts h4 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: var(--gray__head__color);
  padding-bottom: 6px;
  white-space: nowrap;
}

.profile__description {
  padding: 0 15px 85px 15px;
}

.profile__description p {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
}

/* Media below 639 */
@media screen and (max-width: 639px) {
  .personal__details {
    margin: 10% 4% 30px 4%;
    display: block;
  }

  .profile__pic {
    width: 100%;
  }

  .profile__details {
    width: 100%;
  }

  .profile__pic img {
    width: 100%;
    height: 60vh;
  }

  .names__contatcs {
    display: block;
    padding: 0 15px 41px 15px;
  }

  .user__name h2 {
    padding: 0 0 8px 0;
  }

  .user__name h4 {
    padding-bottom: 31px;
  }

  .user__contacts h4 {
    padding-bottom: 10px;
  }

  .profile__description {
    padding: 0 15px 22px 15px;
  }
}

@media screen and (max-width: 550px) {
  .profile__pic img {
    height: 50vh;
  }
}

@media screen and (max-width: 410px) {
  .profile__pic img {
    height: 40vh;
  }
}

/* Centre section */

.centre__container {
  display: flex;
  margin-left: 10%;
  margin-right: 10%;
}

.left__container {
  width: 35%;
}

.skill__set {
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 10px;
}

.skill__set h3 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  line-height: 22px;
  text-transform: uppercase;
  color: var(--gray__head__color);
  padding: 23px 0 17px 5%;
}

.language {
  display: flex;
  align-items: center;
  padding-left: 5%;
}

.titles {
  width: 40%;
  margin-bottom: 20px;
}

.prog {
  width: 60%;
  padding-right: 5%;
}

.language h4 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--gray__head__color);
  text-transform: capitalize;
}

.react__back {
  width: 100%;
  background-color: var(--back__progress);
  border-radius: 12px;
  height: 10px;
  margin-bottom: 20px;
}

.progress {
  background-color: var(--blue__color);
  height: 10px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.html {
  width: 95%;
}

.css {
  width: 95%;
}

.javascript {
  width: 90%;
}

.react__lib {
  width: 83%;
}

.express {
  width: 80%;
}

.node {
  width: 75%;
}

.mongodb {
  width: 83%;
}

/* Experience section */

.experience {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 17px 5% 17px 5%;
  margin: 40px 0 40px 0;
}

.title__exp h2 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
}

.company {
  display: flex;
  padding-top: 44px;
}

.company__logo {
  width: 25%;
  margin-right: 8px;
}

.company__logo img {
  width: 90%;
}

.work__details {
  width: 75%;
}

.work__details h3 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: var(--gray__paragraph_color);
}

.work__details h2 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: var(--black__two);
  padding-top: 12px;
}

.work__details p {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--gray__paragraph_color);
  padding: 33px 0 0 0;
}

/* Hobbies section */

.hobbies__pc {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 22px;
}

.hobbies__pc h2 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: var(--gray__head__color);
  padding-bottom: 30px;
}

.hobbies__wrapper__pc img {
  width: 100%;
  height: 139px;
  border-radius: var(--border-radius);
  object-fit: cover;
  object-position: 50% 50%;
}

.hobbies__wrapper__pc h3 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: var(--black__two);
  padding-top: 26px;
}

.hobbies__wrapper__pc p {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--gray__paragraph_color);
  padding: 10px 0 40px 0;
}

/* Projects section */

.right__container {
  width: 65%;
  margin-left: 30px;
}

.number__of__projects {
  display: flex;
  align-items: center;
  padding-left: 22px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  height: 66px;
}

.number__of__projects h3 {
  height: 22px;
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
}

.project__block {
  display: flex;
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin-top: 16px;
  margin-bottom: 36px;
  padding: 18px;
}

.left__image__container {
  width: 40%;
}

.right__text__container {
  padding-left: 22px;
  width: 60%;
}

.left__image__container img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  object-position: 50% top;
  border-radius: var(--border-radius);
}

.tag {
  display: flex;
  padding-bottom: 25px;
}

.tag h3 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  padding-right: 12px;
  color: var(--gray__head__color);
}

.project__name h3 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  padding-bottom: 18px;
  color: var(--black__two);
}

.project__description {
  padding-bottom: 25px;
}

.project__description p {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--gray__paragraph_color);
}

.project__buttons {
  display: flex;
}

#btn__demo {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  background-color: var(--blue__color);
  border-radius: var(--border-radius);
  border-style: solid;
  border-color: var(--blue__color);
  padding: 6px 18px;
  margin-right: 14px;
}

#btn__code {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  border-style: solid;
  border-color: var(--blue__color);
  padding: 6px 18px;
  margin-right: 14px;
}

#btn__demo a {
  text-decoration: none;
  color: var(--white);
}

#btn__code a {
  text-decoration: none;
  color: var(--blue__color);
}

/* Blog section */

.blog {
  display: flex;
  padding: 34px 0 34px 5%;
  background-color: var(--white);
  border-radius: var(--border-radius);
  margin: 16px 0 32px 0;
  justify-content: center;
  align-items: center;
}

.blog__details {
  width: 50%;
  padding-right: 12px;
}

.blog__image {
  width: 50%;
}

.blog__image img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
}

.blog__details h3 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-rare);
  padding-bottom: 33px;
}

.blog__details h2 {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: var(--black__two);
  padding-bottom: 26px;
}

.blog__details p {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--gray__paragraph_color);
  padding-bottom: 26px;
}

.blog__details h4 a {
  font-family: var(--font-Montserrat);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--blue__color);
  text-decoration: none;
}

/* Media for skills section */

@media screen and (max-width: 900px) {
  .left__container {
    width: 34%;
  }

  .right__container {
    width: 66%;
  }
}

@media screen and (max-width: 850px) {
  .centre__container {
    margin-left: 5%;
    margin-right: 5%;
  }
}

@media screen and (max-width: 750px) {
  .centre__container {
    margin-left: 1%;
    margin-right: 1%;
  }
}

@media screen and (max-width: 639px) {
  .centre__container {
    display: block;
    margin-left: 4%;
    margin-right: 4%;
  }

  .left__container {
    width: 100%;
  }

  .right__container {
    width: 100%;
  }

  .hobbies__pc {
    display: none;
  }
}

@media screen and (max-width: 639px) {
  .hobbies__mob {
    display: block;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 22px;
  }

  .hobbies__mob h2 {
    font-family: var(--font-Montserrat);
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: var(--gray__head__color);
    padding-bottom: 30px;
  }
}

/* Media for projects */

@media screen and (max-width: 700px) {
  .right__container {
    margin-left: 12px;
  }

  .project__block {
    padding: 12px;
  }

  .right__text__container {
    padding-left: 6px;
  }
}

@media screen and (max-width: 639px) {
  .right__container {
    width: 100%;
    margin: 32px 0% 32px 0%;
  }

  .project__block {
    display: block;
  }

  .left__image__container {
    width: 100%;
    padding-bottom: 22px;
  }

  .right__text__container {
    padding-left: 0;
    width: 100%;
  }

  .left__image__container img {
    width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 12px;
  }
}

/* Media for blog section */
@media screen and (max-width: 550px) {
  .blog {
    display: block;
  }

  .blog__details {
    width: 100%;
    padding-right: 5%;
  }

  .blog__image {
    width: 100%;
    padding: 16px 5% 0 0;
  }

  .blog__image img {
    width: 100%;
    height: 40vh;
    border-radius: var(--border-radius);
  }
}

/* Footer section */

footer {
  float: left;
  margin-top: 30px;
  width: 100%;
  text-align: center;
  font-family: Montserrat;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
}

.created-by a {
  text-decoration: none;
  color: gray;
  font-weight: 900;
  text-decoration: underline;
}

.created-by p {
  color: gray;
  margin-bottom: 24px;
}
