* {
  box-sizing: border-box;
  margin: 0;
}
body {
  font-family: "Lato", arial, sans-serif;
  color: #454545;
  background: #dae3e7;
  /* margin: 0; */
  background: no-repeat url(../img/bg-mr.svg);
  background-position: center;
  background-size: cover;
}

.main,
footer,
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main {
  min-height: calc(100vh - 10vh - 250px);
  margin: 0 1rem;
  justify-content: space-between;
}

header {
  height: 250px;
  border-top: 10px solid #778492;
  /* display: flex;
  justify-content: flex-end;
  align-items: center; */
}

footer {
  height: 10vh;
  background: #32383e;
  color: #dae3e7;
  padding: 1em;
  font-size: 0.8em;
  justify-content: space-around;
}

/* footer div:not(:last-of-type) {
  padding-bottom: 1em;
} */

footer a {
  font-weight: bold;
  color: #dae3e7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  color: #778492;
}

h1 {
  font-weight: 700;
}

h2 {
  font-weight: normal;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.profile-image {
  padding: 1.3em 0 0.7em;
}

.profile-image img {
  max-height: 120px;
  border-radius: 50%;
}

p {
  max-width: 30rem;
  line-height: 1.45em;
  text-align: center;
}

.introduce {
  font-size: larger;
  padding: 1.2em 0;
}

.introduce a {
  padding: 0 4px;
  color: inherit;
  text-decoration: none;
  border-bottom: 3px dotted #8a8a8a;
}
.introduce a:hover {
  background-color: #454545;
  color: #dae3e7;
  border-bottom: 3px solid #0077b5;
  -webkit-transition: background-color 1000ms
    cubic-bezier(0.18, 0.89, 0.32, 1.28);
  -ms-transition: background-color 1000ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
  transition: background-color 1000ms cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

ul.social {
  padding: 5vh 0;
  list-style-type: none;
  display: flex;
}

.social li {
  padding: 1em;
}

.social svg {
  width: 1.5rem;
  height: 1.5rem;

  fill: #a8b4c2;
}

.linkedin:hover {
  fill: #0077b5;
}

.twitter:hover {
  fill: #1da1f2;
}
.github:hover {
  fill: #4078c0;
}

/* MediaQueries */
@media screen and (min-width: 640px) {
  /* .profile {
    display: inline-block;
  } */
  header {
    height: 200px;
  }
  .main {
    min-height: calc(100vh - 10vh - 200px);
  }
  .profile {
    margin: auto;
    background-color: rgba(255, 255, 255, 0.5);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 10px rgba(136, 136, 136, 0.1);
  }
  .profile-image {
    margin-right: 2em;
  }
  footer {
    flex-direction: row;
    justify-content: space-between;
  }
  .introduce {
    font-size: 2em;
  }
}

/*  
** FONTS
*/

/* lato-regular - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/lato-v17-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v17-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v17-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v17-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v17-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v17-latin-regular.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/lato-v17-latin-700.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v17-latin-700.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v17-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v17-latin-700.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v17-latin-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v17-latin-700.svg#Lato")
      format("svg"); /* Legacy iOS */
}
/* lato-900 - latin */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/lato-v17-latin-900.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/lato-v17-latin-900.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/lato-v17-latin-900.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/lato-v17-latin-900.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/lato-v17-latin-900.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/lato-v17-latin-900.svg#Lato")
      format("svg"); /* Legacy iOS */
}

/* montserrat-regular - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/montserrat-v15-latin-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/montserrat-v15-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v15-latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/montserrat-v15-latin-regular.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/montserrat-v15-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v15-latin-regular.svg#Montserrat") format("svg"); /* Legacy iOS */
}
/* montserrat-700 - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/montserrat-v15-latin-700.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/montserrat-v15-latin-700.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v15-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/montserrat-v15-latin-700.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/montserrat-v15-latin-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v15-latin-700.svg#Montserrat") format("svg"); /* Legacy iOS */
}
