@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700|Roboto:300,400,500,700,900&amp;display=swap");

:root {
  --primary-color: #6f95f8;
  --primary-dark-color: #2f51a8;

  @media screen and(max-width: 760px){
    .container{
      width: 100%;
    }

  }
}

body {
  font-family: "Poppins", sans-serif;
}


h1,
h2,
h3,
h4,
p,
a {
  margin-bottom: 0;
  margin-top: 0;
  color: #222222;
  text-decoration: none;
}
a:hover{
  color: var(--primary-dark-color);
}


*,
*:before,
*:after {
  box-sizing: inherit;
}

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

li {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding-bottom: 60px;
}

nav {
  position: sticky;
  padding: 10px 0;
  z-index: 9999;
  top: 0;
  transition: all 200ms ease-in-out;
  color: black;
}

.nav-color {
  background-color: var(--primary-dark-color);
  color: white;
}

.nav-wrapper {
  width: 90%;
  margin: 0 auto;
  display: flex;
  padding: 10px 0;
  justify-content: space-between;
  align-items: center;
}

.nav-wrapper a {
  text-decoration: none;
}

.nav-wrapper .nav-right {
  display: flex;
}

.nav-wrapper .nav-right li:not(:first-child) {
  margin-left: 10px;
}

.nav-item {
  padding: 4px 8px;
  border-radius: 4px;
  background-color: transparent;
  transition: all 100ms ease-in-out;
  font-weight: 600;
  color: inherit;
  border: 1px solid transparent;
  outline: none;
}

.nav-item:hover {
  background-color: var(--primary-color);
  color: white;
}

.nav-item:active {
  background-color: var(--primary-dark-color);
  border: 1px solid white;
}

#home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(100vh - 60px);
  width: 100%;
}

#home .home-left {
  flex: 1;
}

#home .home-right {
  display: flex;
  flex-direction: row-reverse;
  flex: 1;
  margin-left: 2rem;
}

#home .home-left h1 {
  margin-bottom: 3.5rem;
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.2;
}

#home .home-left p {
  font-size: 1.25rem;
  font-weight: 300;
}

#home .home-right img {
  height: 30%;
  width: 100%;
  display: block;
  object-fit: cover;
  margin-right: -20px;
}

.section-header {
  position: relative;
  height: 120px;
  margin-top: 60px;
}

.section-header .section-title {
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  position: absolute;
  top: -5px;
  left: 10px;
}

.section-header .section-subtitle {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  position: absolute;
}


#about-me .about-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.about-left,
.about-right {
  flex: 1;
}

.about-right {
  margin-left: 30px;
}

h1.title {
  font-size: 2.4rem;
}

h2.title {
  font-size: 2.2rem;
}

h3.title {
  font-size: 2rem;
}

h4.title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}


.education-wrapper .title {
  margin-top: 10px;
}
.education-wrapper .subtitle {
  margin-top: 10px;
}

p.subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
}

span.caption {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

#about-me h3.title {
  margin-bottom: 30px;
}

#about-me p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.progress-wrapper .progress {
  margin: 10px 0;
  width: 100%;
  height: 20px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  display: flex;
}

.progress-wrapper .progress .progress-val {
  background-color: var(--primary-dark-color);
  border-radius: 4px;
}

.about-left .contact-links {
  margin-top: 26px;
}

.contact-links {
  padding-left: 1.5rem;
  display: flex;
}

.contact-links .contact-link:not(:last-child) {
  margin-right: 20px;
}

.contact-link:hover {
  transform: scale(1.1);
}
.contact-link:hover i {
  transform: scale(1.4);
}
.contact-link {
  transition: all 200ms ease;
}
.contact-link i {
  transition: all 400ms ease;
}

.contact-link i {
  font-size: 32px;
  color: var(--primary-dark-color);
}

.article-wrapper {
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-row-gap: 20px;
}

article.article-card {
  max-width: 350px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  padding-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
}

article.article-card img {
  display: block;
  object-position: center;
  width: 100%;
  height: 182px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 20px;
  object-fit: cover;
  background-size: cover;
  transition: all 800ms ease;
  transform-origin: bottom;
}
article.article-card img:hover {
  transform: scale(1.2);
}

article.article-card .article-body {
  padding: 10px 24px;
}

article.article-card .article-body .title {
  margin-top: 10px;
}

article.article-card .article-body .title a {
  text-decoration: none;
  transition: all 200ms ease-in-out;
}

article.article-card .article-body span.article-date {
  font-size: 1rem;
  font-weight: 400;
  color: var(--primary-color);
}

article.article-card .article-body .title a:hover {
  color: var(--primary-dark-color);
}

.form-wrapper {
  display: flex;
  column-gap: 20px;
}

.form-wrapper {
  width: 100%;
}

.form-wrapper .form-right {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  row-gap: 40px;
}

.form-wrapper .form-right img {
  width: 100%;
  display: block;
}

form {
  display: block;
  width: 100%;
}

form label {
  margin: 8px 0;
  display: block;
}

form label:first-child {
  margin-top: 0;
}

form input,
textarea {
  display: block;
  width: 100%;
  padding: 4px 8px;
  outline: none;
  border: 2px solid rgba(129, 129, 129, 0.226);
  border-radius: 4px;
  transition: all 200ms ease-in-out;
  font-family: inherit;
  font-size: 1rem;
}

form input:focus,
textarea:focus {
  border: 2px solid var(--primary-dark-color);
  border-radius: 4px;
  color: var(--primary-dark-color);
}

.form-submit {
  display: flex;
  align-items: center;
  transition: all 200ms ease-in-out;
}

.form-submit img {
  width: 32px;
  display: block;
  margin: 0;
  margin-left: 12px;
  margin-right: auto;
}

form button[type="submit"] {
  text-transform: uppercase;
  font-size: 1rem;
  color: white;
  padding: 4px 16px;
  color: gray;
  border: none;
  outline: none;
  font-family: inherit;
  border-radius: 4px;
  cursor: pointer;
  transition: all 200ms ease-in-out;
  color: black;
}

form button[type="submit"]:hover {
  background-color: var(--primary-color);
  color: white;
}

form button[type="submit"]:active {
  background-color: var(--primary-dark-color);
  color: white;
}


.blog-entry {
  background-color: white;
  padding: 16px 32px;
  border-radius: 8px;
}



.blog-entry .author-info {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.blog-entry .author-info img {
  display: block;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.blog-entry .blog-cover {
  max-width: 100%;
  display: block;
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
}

.blog-entry h4.title {
  margin-bottom: 20px;
}

.blog-entry p {
  margin-bottom: 10px;
  text-align: justify;
}
