:root {
  --color-primary: #012c50;
  --color-primary-light: #003764;
  --color-primary-dark: #01223d;
  --color-grey-1: #c8c8c8;
  --color-grey-1: #e0e0e0;
  --color-grey-2: #9b9b9b;
  --color-grey-3: #2f3035;
  --nunito: 'Nunito', sans-serif;
}
* {
  margin: 0;
  padding: 0;
}
*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  max-width: auto;
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  position: relative;
  background-color: whitesmoke;
}
.header {
  width: 100%;
  background-color: var(--color-grey-3);
}
.section-intro {
  padding: 2rem 0;
  font-size: 0.9rem;
}
@media only screen and (max-width: 65em) {
  .section-intro {
    padding: 1.5rem 0;
  }
}
@media only screen and (max-width: 50em) {
  .section-intro {
    font-size: 0.8rem;
    padding: 2rem 0rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .section-intro {
    font-size: 0.7rem;
    padding: 1.5rem 0rem;
  }
}
.section-portfolio {
  margin: 0 auto;
  max-width: 80rem;
  padding: 2rem 5rem;
}
@media only screen and (max-width: 65em) {
  .section-portfolio {
    padding: 1.5rem;
  }
}
@media only screen and (max-width: 65em) {
  .section-portfolio {
    padding: 2rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .section-portfolio {
    padding: 1rem;
  }
}
.contact {
  padding: 5rem 0;
}
@media only screen and (max-width: 50em) {
  .contact {
    padding: 2rem 0;
  }
}
@media only screen and (max-width: 28.5em) {
  .contact {
    padding: 1rem 0;
  }
}
footer {
  background-color: var(--color-grey-3);
}
@media only screen and (max-width: 65em) {
  footer {
    padding: 2rem;
  }
}
.navbar {
  width: 100%;
  padding: 0;
  opacity: 0.9;
}
.navbar-brand {
  padding: 0;
  margin: 0;
}
.navbar-brand .logo {
  font-size: 2.2rem;
  color: #2979d4;
  font-weight: 700;
  margin-bottom: 0;
  font-family: 'Dancing Script', cursive;
}
.navbar .navbar-nav {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
.nav-item {
  padding: 0.5rem 1rem;
}
.nav-item:hover {
  background-color: #2979d4;
}
@media (max-width: 768px) {
  .navbar-nav {
    margin: 0 auto;
  }
}
.page-info {
  height: 103vh;
  background-image: -webkit-gradient(
      linear,
      left top,
      right bottom,
      from(rgba(129, 131, 134, 0.341)),
      to(rgba(96, 97, 98, 0.241))
    ),
    url(../img/imac-bgp.jpg);
  background-image: linear-gradient(
      to right bottom,
      rgba(129, 131, 134, 0.341),
      rgba(96, 97, 98, 0.241)
    ),
    url(../img/imac-bgp.jpg);
  background-size: cover;
  position: relative;
}
@media only screen and (max-width: 65em) {
  .page-info {
    height: 100vh;
  }
}
@media only screen and (max-width: 50em) {
  .page-info {
    height: 100vh;
  }
}
@media only screen and (max-width: 28.5em) {
  .page-info {
    height: 93vh;
  }
}
.page-info__box {
  width: 70%;
  height: 20rem;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: transparent;
  padding: 3rem;
}
@media only screen and (max-width: 50em) {
  .page-info__box {
    width: 80%;
    height: 17rem;
    padding: 2rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .page-info__box {
    width: 100%;
    height: 10rem;
    top: 55%;
    padding: 1rem;
  }
}
.page-info__text {
  display: block;
  font-family: var(--nunito);
  font-size: 3.5rem;
  letter-spacing: 1px;
  margin-bottom: 4rem;
  color: white;
}
@media only screen and (max-width: 65em) {
  .page-info__text {
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 3rem;
  }
}
@media only screen and (max-width: 50em) {
  .page-info__text {
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .page-info__text {
    font-size: 1.5rem;
    letter-spacing: 0.4px;
    margin-bottom: 1rem;
  }
}
.page-info__name {
  font-size: 3.5rem;
  font-weight: 400;
  display: inline-block;
  border-radius: 30px;
  padding: 0px;
  -webkit-transform: scale(0.98);
  transform: scale(0.98);
  cursor: pointer;
  -webkit-transition: all, 0.1s;
  transition: all, 0.1s;
}
@media only screen and (max-width: 65em) {
  .page-info__name {
    font-size: 3rem;
  }
}
@media only screen and (max-width: 50em) {
  .page-info__name {
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .page-info__name {
    font-size: 1.5rem;
  }
}
.page-info__name:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}
.page-info__name-link,
.page-info__name-link:link,
.page-info__name-link:visited {
  text-decoration: none;
  color: white;
  cursor: zoom-in;
}
.btn-main {
  text-transform: uppercase;
  width: 13rem;
  border-radius: 40px;
}
.btn-main:hover {
  width: 15rem;
  font-weight: 700;
  color: #007bff;
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 50em) {
  .btn-main:hover {
    width: 10rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .btn-main:hover {
    width: 7rem;
  }
}
.gutter {
  background-image: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(#4927e2),
    to(rgba(42, 19, 144, 0.787))
  );
  background-image: linear-gradient(
    to right bottom,
    #4927e2,
    rgba(42, 19, 144, 0.787)
  );
  text-align: center;
  color: #fff;
  padding: 1rem;
}
@media only screen and (max-width: 65em) {
  .gutter {
    padding: 0.6rem;
  }
}
.gutter > * {
  margin-bottom: 1rem;
}
@media only screen and (max-width: 50em) {
  .gutter > * {
    margin-bottom: 0.5rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .gutter > * {
    margin-bottom: 0rem;
  }
}
.gutter__title {
  font-size: 3rem;
  font-family: var(--nunito);
  font-weight: 300;
}
@media only screen and (max-width: 65em) {
  .gutter__title {
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 50em) {
  .gutter__title {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .gutter__title {
    font-size: 1.5rem;
  }
}
.gutter__text {
  font-size: 1.2rem;
  font-weight: 300;
}
@media only screen and (max-width: 50em) {
  .gutter__text {
    font-size: 1rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .gutter__text {
    font-size: 0.7rem;
  }
}
.focus {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media only screen and (max-width: 28.5em) {
  .focus {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0 3rem;
  }
}
.focus__part {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 23%;
  flex: 0 0 23%;
  text-align: center;
}
@media only screen and (max-width: 50em) {
  .focus__part {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
  }
}
.focus__part:not(:last-child) {
  margin-right: 3rem;
}
@media only screen and (max-width: 28.5em) {
  .focus__part:not(:last-child) {
    margin-right: 0rem;
    margin-bottom: 1rem;
  }
}
.focus__icon {
  display: inline-block;
  width: 6.5rem;
  height: 6.5rem;
  background-image: -webkit-gradient(
    linear,
    left top,
    right bottom,
    from(#4927e2),
    to(rgba(42, 19, 144, 0.787))
  );
  background-image: linear-gradient(
    to right bottom,
    #4927e2,
    rgba(42, 19, 144, 0.787)
  );
  margin-bottom: 1rem;
  border-radius: 50%;
}
@media only screen and (max-width: 50em) {
  .focus__icon {
    width: 5rem;
    height: 5rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .focus__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.5rem;
  }
}
@supports (-webkit-clip-path: circle(49% at 50% 50%)) or
  (clip-path: circle(49% at 50% 50%)) {
  .focus__icon {
    -webkit-clip-path: circle(49% at 50% 50%);
    clip-path: circle(49% at 50% 50%);
  }
}
.focus__icon .icon {
  width: 100%;
  height: 100%;
  -webkit-transform: scale(0.6);
  transform: scale(0.6);
  fill: #fff;
}
.focus__details h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
@media only screen and (max-width: 50em) {
  .focus__details h2 {
    font-size: 1.2rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .focus__details h2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}
.profile {
  width: 80%;
  padding: 2rem 1rem;
  background-color: transparent;
  margin: 3rem auto 0 auto;
}
@media only screen and (max-width: 65em) {
  .profile {
    width: 90%;
    padding: 1.5rem 0.5rem;
    margin: 2rem auto 0 auto;
  }
}
@media only screen and (max-width: 50em) {
  .profile {
    width: 100%;
    padding: 0;
    margin-top: 3rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
}
.profile__photo {
  float: left;
  width: 12rem;
  height: 12rem;
  background-color: #2979d4;
  shape-outside: circle(47% at 43% 57%);
  border-radius: 50%;
  -webkit-transform: translateX(2rem);
  transform: translateX(2rem);
}
@supports (-webkit-clip-path: circle(49% at 50% 50%)) or
  (clip-path: circle(49% at 50% 50%)) {
  .profile__photo {
    -webkit-clip-path: circle(50% at 50% 50%);
    clip-path: circle(50% at 50% 50%);
  }
}
@media only screen and (max-width: 50em) {
  .profile__photo {
    width: 9rem;
    height: 9rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .profile__photo {
    width: 6.5rem;
    height: 6.5rem;
    -webkit-transform: translateX(0rem);
    transform: translateX(0rem);
  }
}
.profile__pic {
  -webkit-transform: scale(0.98) translate(-0.2rem, -0.2rem);
  transform: scale(0.98) translate(-0.2rem, -0.2rem);
}
@media only screen and (max-width: 50em) {
  .profile__pic {
    -webkit-transform: scale(0.75) translate(-2.1rem, -2rem);
    transform: scale(0.75) translate(-2.1rem, -2rem);
  }
}
@media only screen and (max-width: 28.5em) {
  .profile__pic {
    -webkit-transform: scale(0.55) translate(-5.3rem, -5rem);
    transform: scale(0.55) translate(-5.3rem, -5rem);
  }
}
.profile__text {
  width: 88%;
  line-height: 2;
  -webkit-transform: translate(5rem, -10px);
  transform: translate(5rem, -10px);
}
@media only screen and (max-width: 50em) {
  .profile__text {
    -webkit-transform: translate(4rem, -8px);
    transform: translate(4rem, -8px);
    line-height: 2;
  }
}
@media only screen and (max-width: 28.5em) {
  .profile__text {
    width: 90%;
    -webkit-transform: translate(0);
    transform: translate(0);
    line-height: 2;
    margin-top: 1rem;
  }
  .profile__text h2 {
    text-align: center;
  }
  .profile__text p {
    margin-bottom: 1rem;
  }
}
.profile .skills {
  width: 65%;
  color: #3429d4;
  display: inline-block;
  margin: 1rem 0 0 1rem;
  -webkit-transform: translateX(3rem);
  transform: translateX(3rem);
  padding: 0 1rem;
}
@media only screen and (max-width: 65em) {
  .profile .skills {
    width: 75%;
    padding: 0rem;
    margin: 1rem 0 0 5rem;
    -webkit-transform: translateX(6rem);
    transform: translateX(6rem);
  }
}
@media only screen and (max-width: 50em) {
  .profile .skills {
    width: 80%;
    padding: 0rem;
    margin: 1rem 0 0 5rem;
    -webkit-transform: translateX(4rem);
    transform: translateX(4rem);
  }
}
@media only screen and (max-width: 28.5em) {
  .profile .skills {
    width: 100%;
    margin-top: 0;
    margin-left: 0rem;
    padding: 0;
    text-align: center;
    -webkit-transform: translateX(0rem);
    transform: translateX(0rem);
  }
}
.profile .skills span {
  display: inline-block;
}
.profile .skills > * {
  font-size: 1.1rem;
  font-weight: 500;
  margin-right: 0.5rem;
}
@media only screen and (max-width: 50em) {
  .profile .skills > * {
    font-size: 1rem;
    font-weight: 500;
    margin-right: 0.4rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .profile .skills > * {
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 0.3rem;
  }
}
.cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
}
.cards .card {
  border: 0px;
  width: calc(100% / 3 - 2rem);
  height: 23rem;
  border-radius: 5px;
  overflow: hidden;
  margin: 1rem;
  color: var(--color-grey-3);
  background-color: #fff;
  -webkit-box-shadow: 0rem 2px 5px rgba(0, 0, 0, 0.8);
  box-shadow: 0rem 2px 5px rgba(0, 0, 0, 0.8);
  -webkit-transition: all, 0.2s;
  transition: all, 0.2s;
}
@media only screen and (max-width: 50em) {
  .cards .card {
    width: calc(100% / 2 - 3rem);
    margin: 1.5rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .cards .card {
    width: 90%;
    margin: 1rem auto;
    border-radius: 3px;
  }
}
.cards .card:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
  -webkit-box-shadow: 0rem 4px 8px rgba(0, 0, 0, 0.5);
  box-shadow: 0rem 4px 8px rgba(0, 0, 0, 0.5);
}
.cards .card-thumbnail {
  width: 100%;
  height: 50%;
}
@media only screen and (max-width: 28.5em) {
  .cards .card-thumbnail {
    height: 60%;
  }
}
.cards .card-image {
  width: 100%;
  height: 100%;
}
.cards .card-description {
  height: 50%;
  font-weight: 300;
  text-align: center;
  padding: 0.5rem;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.cards .card-title {
  font-family: var(--nunito);
  font-size: 1.3rem;
}
@media only screen and (max-width: 28.5em) {
  .cards .card-title {
    margin-bottom: 0;
  }
}
.cards .card-text {
  font-size: 0.8rem;
  padding: 0 13px;
}
@media only screen and (max-width: 28.5em) {
  .cards .card-text {
    padding: 0 20px;
  }
}
.cards .card-github {
  position: absolute;
  bottom: 0.6rem;
  text-decoration: none;
  color: var(--color-grey-2);
}
.cards .card-github:hover {
  color: #2979d4;
}
.contact-box {
  width: 60%;
  height: 32rem;
  margin: 0 auto;
  border-radius: 10px;
  background-color: #494949;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 65em) {
  .contact-box {
    width: 70%;
    height: 30rem;
  }
}
@media only screen and (max-width: 50em) {
  .contact-box {
    width: 80%;
    height: 25rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .contact-box {
    width: 95%;
    height: 23rem;
    border-radius: 5px;
  }
}
.contact-box .info {
  width: 50%;
  position: relative;
}
@media only screen and (max-width: 65em) {
  .contact-box .info {
    width: 45%;
  }
}
@media only screen and (max-width: 28.5em) {
  .contact-box .info {
    display: none;
  }
}
.contact-box .info-box {
  width: 75%;
  position: absolute;
  top: 10%;
  left: 10%;
  color: #fff;
  font-size: 0.9rem;
}
@media only screen and (max-width: 65em) {
  .contact-box .info-box {
    width: 90%;
  }
}
.contact-box .info-group {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 2.5rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media only screen and (max-width: 50em) {
  .contact-box .info-group {
    margin-bottom: 2rem;
  }
  .contact-box .info-group h2 {
    font-size: 1.6rem;
  }
}
.contact-box .info-group .text {
  width: 100%;
  margin-left: 1rem;
  margin-bottom: 0;
}
.form {
  width: 55%;
  margin: 0 auto;
  padding: 3rem 1rem 1rem 1rem;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#5e3df3),
    to(rgba(30, 13, 109, 0.787))
  );
  background-image: linear-gradient(
    to bottom,
    #5e3df3,
    rgba(30, 13, 109, 0.787)
  );
}
@media only screen and (max-width: 28.5em) {
  .form {
    width: 100%;
    padding: 2rem;
  }
}
.form__group {
  width: 90%;
  margin: 0 auto;
  position: relative;
}
@media only screen and (max-width: 28.5em) {
  .form__group {
    width: 100%;
  }
}
.form__group:not(:last-child) {
  margin-bottom: 1rem;
}
@media only screen and (max-width: 65em) {
  .form__group:not(:last-child) {
    margin-bottom: 1.5rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .form__group:not(:last-child) {
    margin-bottom: 1rem;
  }
}
.form__group:last-child {
  text-align: center;
  margin-top: 2rem;
}
@media only screen and (max-width: 65em) {
  .form__group:last-child {
    margin-top: 0rem;
  }
}
.form__icon {
  position: absolute;
  top: 0.75rem;
  left: 0.5rem;
  color: rgba(0, 0, 0, 0.5);
}
@media only screen and (max-width: 65em) {
  .form__icon {
    top: 0.65rem;
  }
}
.form__input {
  width: 100%;
  font-size: 1rem;
  padding: 0.6rem 1.8rem;
  color: inherit;
  font-family: inherit;
  border-radius: 3px;
  background-color: #fff;
  border: none;
  border-radius: 5px;
}
@media only screen and (max-width: 50em) {
  .form__input {
    padding: 0.5rem 1.5rem 0.5rem 1.8rem;
  }
}
@media only screen and (max-width: 28.5em) {
  .form__input {
    padding: 0.5rem 1.5rem 0.5rem 2rem;
  }
}
.form__input:focus {
  outline: none;
  -webkit-box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.3);
  box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.3);
  background-color: #daf2ff;
}
.form__input:focus:invalid {
  background-color: #f8d9d9;
}
.form__input::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}
.form input.large {
  display: inline-block;
}
.form input.small {
  display: none;
}
@media only screen and (max-width: 28.5em) {
  .form input.small {
    display: inline-block;
  }
  .form input.large {
    display: none;
  }
}
.form textarea {
  width: 100%;
  height: auto;
}
@media only screen and (max-width: 50em) {
  .form textarea {
    height: 8rem;
  }
}
#main-footer .nav__link {
  text-decoration: none;
  color: #fff;
}
#main-footer .media {
  width: 40%;
  margin: 0 auto;
}
#main-footer .media .fab {
  color: #fff;
}
#main-footer .media .fab:hover {
  color: #2979d4;
}
@media only screen and (max-width: 28.5em) {
  #main-footer .media {
    width: 90%;
  }
}
