@import url('https://fonts.googleapis.com/css?family=Lato:400,700');
/* reseter */

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

/* SMARTPHONE VERSION and FALLBACK for browsers that don't support grid*/

h1,
h2,
h4,
a,
li {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: black;
}

.container {
  position: relative;
  width: 95%;
  margin: 0 auto;
}

h1 {
  font-size: 2.3em;
}

h2 {
  font-size: 1.1rem;
  font-weight: 800;
}

h3 {
  font-size: 2.3rem;
}

h4 {
  font-size: 1.1rem;
}

/*---- header -----*/

header {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 95%;
  margin: 0 auto;
  padding-top: 2rem;

}

.education {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 95%;
  margin: 0 auto;
  margin-top: 7rem;
  padding: .5rem 1.3rem .5rem 3.8rem;
  line-height: 2;
}

/* ----content------- */

.logo {
  width: 40px;
  margin-right: 1rem;
  vertical-align: middle;
}

.subtitle-web {
  margin-top: 35rem;
  background-color: #fff;
}

.subtitle-photography {
  background-color: #fff;
}

article {
  background-color: #fff;
}

img {
  width: 100%;
  height: 100%;
}

figure {
  position: relative;
}

figcaption {
  position: absolute;
  display: block;
  width: 100%;
  text-align: left;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-48%, -50%);
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
}

figcaption a {
  color: #fff;
  font-weight: 800;
}

figure img {
  -webkit-filter: brightness(.5);
  filter: brightness(.5);
}

.content-element {
  background-color: #fff;
  height: 16rem;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  padding: 2rem 0;
}

.subtitle-web h2 {
  display: inline-block;
  padding: 1rem 0;
}

.subtitle-photography h2 {
  display: inline-block;
  padding: 1rem 0;
}

/* -----footer----------- */

.main-footer {
  padding-top: 1.4rem;
  padding-bottom: 9rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  background-color: #fff;
}

.fab {
  margin-left: .5rem;
}

/* END SMARTPHONE / FALLBACK ------------------*/

/* ---MEDIA QUERIES-----breakpoint 550px-------- */

@media only screen and (min-width: 550px) {
  .container {
    width: 70%;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 3rem;
  }
  header {
    padding-top: 2rem;
    width: 70%;
    max-width: 600px;
  }
  .education {
    width: 70%;
    max-width: 600px;
    padding-top: 3rem;
  }
  .subtitle-web {
    margin-top: 33rem;
  }
}

/* ---MEDIA QUERIES-----breakpoint 1000px-------- */

@media only screen and (min-width: 1000px) {
  .header-wrapper {
    z-index: -1;
    position: fixed;
    top: 3rem;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
  }
  header {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .education {
    position: relative;
    width: 31.33%;
    margin: 0;
    padding: 0;
    line-height: 2;
  }
  .container {
    margin-top: 26rem;
    width: 90%;
    max-width: 1400px;
    display: -ms-grid;
    display: grid;
    grid-template-rows: repeat(6, auto);
    grid-template-columns: repeat(3, 31.33%);
    grid-column-gap: 3%;
  }
  .content-web {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3/4;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1/4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: #fff;
  }
  .content-photography {
    -ms-grid-row: 5;
    -ms-grid-row-span: 1;
    grid-row: 5/6;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1/4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: #fff;
  }
  figcaption a:hover {
    text-decoration: underline;
  }
  .contact a:hover {
    text-decoration: underline;
  }
  .logo:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .3s ease all;
    -o-transition: .3s ease all;
    transition: .3s ease all;
  }
  .fab:hover {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .3s ease all;
    -o-transition: .3s ease all;
    transition: .3s ease all;
  }

  .subtitle-web {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2/3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1/4;
    background-color: #fff;
  }
  .subtitle-photography {
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    grid-row: 4/5;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1/4;
    background-color: #fff;
  }
  .subtitle-web {
    margin: 0;
  }
  .content-element {
    width: 31.33%;
    margin: 0;
  }
  .main-footer {
    padding-top: 1.4rem;
    margin-bottom: 5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    background-color: #fff;
    -ms-grid-row: 6;
    -ms-grid-row-span: 1;
    grid-row: 6/7;
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1/4;
  }
  .fab {
    margin-left: .5rem;
  }
}
