@import url("https://fonts.googleapis.com/icon?family=Material+Icons");

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

body{
  background-color: #F4F4F4;
}


/* Header */
/* Start */
.header {
  display: block;
  width: 100%;
  height: 60px;
  text-align: right;
  background-color: #1F3B4D;  
}

.header > input, 
.header > label {
  display: none;
}

h1{
  position: absolute;
  z-index: 10;
  top: 13px;
  left: 10px;
  color: white;
  font-size: 160%;
  font-family: sans-serif;
}

.header > .nav {
  display: inline-block;
  width: 100%;
  padding: 16px;
}

.header > .nav > .pages{
  display: inline-block;
  width: 68%;
  text-align: right;
}

.header > .nav > .pages > li {
  display: inline-block;
  padding: 0 4px;
}

.header > .nav > .pages > li > a {
  color: white;
  font-family: sans-serif;
  font-size: 100%;
  text-transform: uppercase;
  text-decoration: none;
}
/* Header */
/* End */



.introduction {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: flex-start;  
}

.introduction .about_me {
  flex: 1 1 60%;
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  max-width: 800px; 
  margin-right: 20px;
}

.introduction .about_me p {
  margin-bottom: 10px;
  font-size: 16px;
}

.introduction .about_me h2 {
  margin: 8px 0 4px 0;
  font-size: 30px;
}

.introduction .image_wrapper {
  flex: 1 1 40%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start; 
}

.introduction img {
  width: 100%;
  height: auto;
  max-height: 600px; 
  padding: 16px 0 0 0;
}




@media (min-width: 1000px) {
  .introduction .image_wrapper {
    flex: 0 1 40%;
    justify-content: center;
    align-items: flex-start;  
  }

  .introduction img {
    width: auto;
    max-height: 600px;
    height: auto;
  }
}




@media screen and (max-width: 700px) {
  
  /* Header */
  /* Start */
  .header > #nav + label + .nav{
    display: none;
    width: 250px;
    padding: 16px;
    background-color: lightgrey;
  }

  .header > #nav:checked + label + .nav{
    display: block;
  }

  .header > .nav > .pages {
    display: block;
    width: 100%;
    text-align: left;
  }

  .header > .nav > .pages > li {
    display: block;
    margin: 16px 4px 0 12px;
    font-size: 130%;
  }  
    
  .header > .nav {
    position: absolute;
    top: 48px;
    right: 0;
    z-index: 100;
    text-align: left;
  }   

  .header > label {
    display: inline-block;
    width: 48px;
    height: 48px;
    padding: 16px;
    color: white;
  }

  .header > .nav > .pages > li > a {
    color: black;
  }
  /* Header */
  /* End */

  
  
  
   .introduction {
    flex-direction: column;  
  }

  .introduction .about_me {
    flex: 1 1 100%;  
  }

  .introduction .image_wrapper {
    flex: 1 1 100%;  
    display: flex;
    justify-content: center;  
  }

  .introduction img {
    width: 80%;    
    height: auto;  
  }
  p {
    width: 98%;
    margin: 0 0 10px 5px;
  }
  
  .introduction .about_me h2 {
  margin: 5px 0 5px 5px;
}
}