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

p {
  line-height: 2;
}

/* Logo */

a:link {
  text-decoration: none;
  border-bottom: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.logo {
  z-index: 20;
  position: fixed;
  margin:14px;
}

.logo img {
  height:99px;
  transition:.4s;
}

/* Navigation menu */

nav {
  z-index: 10;
  padding:12px 8px;
  font-family:'Raleway';
  position:fixed;
  width:100%;
  transition:.6s;
}

nav.scrolled {
  background:#fff;
  box-shadow: 0px 4px 4px 0px rgba(50, 50, 50, 0.1);
}

nav.scrolled + .logo img {
  height: 50px;
}

nav ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
}

nav ul a {
  text-decoration: none;
  color:rgb(177, 2, 2);
  margin:0 32px;
  font-size:14px;
  text-transform: uppercase;
}

/* Header */

header {
  height:100vh;
  display: flex;
  align-items: end;
  justify-content: flex-end;
  background:url(../images/header-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

header h1 {
  font-family: "Raleway";
  color:#fff;
  font-size:10vw;
  margin: 10px;
  /*text-transform: uppercase;*/
}

/* Sections */

section {
  height:400px;
  display: flex;
}

.sectionFollow {
  height:160px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.sectionFollow .social-media {
  font-size: 32px;
}

.sectionFollow .follow-me:after {
  content:'';
  position: absolute;
  left:0; right: 0;
  width:150px;
  height:44px;
  margin: 0 auto;
}

section h3 {
  font-family: "Raleway";
  font-size:32px;
  padding: 16px 0;
}

i {
  transition: .4s;
  padding: 0 8px;
  cursor: pointer;
  color: black;
}

i:hover {
  transform:scale(1.3);
  text-decoration: none;
}

section:nth-child(2n) {
  flex-direction: row-reverse;
  background:#0f141a;
  color:#fff;
}

section p {
  font-family: 'Roboto Slab';
}

section .description,
section .image {
  display: flex;
  flex-direction: column;
  flex:1;
  padding:32px;
  justify-content: center;
}

section .image img {
  height:340px;
}

section .image {
  border-radius: 160px;
  overflow: hidden;
  transition: 1s;
}

section .image:hover {
  transform: scale(1.04);
}

picture img {
  display: flex;
  width: 100%;
  height: auto;
}

/* Footer */

footer {
  padding:32px 0;
  background:#000;
  color:#eee;
  font-family: 'Raleway';
  text-align: center;
}

.menu-btn {
  display: none;
}


/* Media Queries */

@media(max-width:900px) {
  header h1 {
    font-size: 10vw;
  }

  nav {
    display: flex;
    height:100vh;
    transform:scaleY(0) translateY(1200px);
    background:rgba(255, 255, 255, 0.8);
    transition: 500ms;
    opacity: 0.9;
  }

  nav.active {
    transform:scaleY(1) translateY(0px);
  }

  nav ul {
    margin:0 auto;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }

  nav ul li {
    padding: 22px 0;
  }

  nav li a {
    font-size:20px;
    position: relative;
  }

  nav li a:after {
    content:'';
    position: absolute;
    left:0;
    right:0;
    height:24px;
    width:60%;
    margin: 0 auto;
    border-bottom: 1px solid black;
  }

  /* Follow Me Section */

  .section-follow .follow-me:after {
    width:120px;
    height:36px;
  }

  /* Sections */

  section h3 {
    font-size:24px;
  }

  section {
    flex-direction: column;
    height:auto;
    text-align: center;
  }

  section:nth-child(2n) {
    flex-direction: column;
  }

  section .image img {
    border-radius: 20px;
    margin:0 auto;
    width: 95%;
    height: auto;
  }

  picture img {
    margin:0 auto;
    width: 100%;
    height: auto;
  }

  /* Menu Icon */
  .menu-btn {
    z-index:10;
    color: rgb(177, 2, 2);
    display:block;
    position: fixed;
    right:16px; top: 16px;
    font-size:64px;
    transition:.4s;
    font-family:'Roboto Slab';
    cursor: pointer;
    transform:rotate(0deg);
  }

  .menu-btn.active {
    transform:rotate(45deg);
  }
}