/*
  1. Use a more-intuitive box-sizing model.
*/
*, *::before, *::after {
    box-sizing: border-box;
  }
  /*
    2. Remove default margin
  */
  * {
    margin: 0;
  }
  /*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
  }
  /*
    5. Improve media defaults
  */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    object-fit: contain;
  }
  /*
    6. Remove built-in form typography styles
  */
  input, button, textarea, select {
    font: inherit;
  }
  /*
    7. Avoid text overflows
  */
  p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
  }
  /*
    8. Create a root stacking context
  */
  #root, #__next {
    isolation: isolate;
  }

/* full height sections */
  html, body {
    height: 100%;
    margin: 0;
  }

  section {
    height: 100vh;
  }

/* font */

body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    font-size: 16px;
}

/* style */




body {
    padding-top: 85px;
    margin-left: 180px;
    margin-right: 180px;

    background-color: #f0f4f4;
    color: rgba(38,51,51,.75);
}

body > h1 {
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
}

a, a:visited {
    color: rgba(38,51,51,.75);
    text-decoration: none;
}

a:hover {
    border-bottom: 1px solid white;
}

main {
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
}

nav {
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}

nav > ul {
    list-style-type: none;
    display: flex;
    flex: 1;
}

nav > ul > li {
    float: left;
    flex: 1;
}

hr {
    border: none;
    border-top: 1px solid white;
    height: 5px;
}

.main {
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 34px;
    grid-row-gap: 0px;

    font-size: 1.5em;
    text-align: center;
}

.main1 { grid-area: 1 / 1 / 2 / 2; }
.main2 { grid-area: 1 / 2 / 2 / 3; }

.main > * > p {
    padding-bottom: 1.5em;
    
}

.main > * > h2 {
    padding-bottom: 0.5em;
}

.main > * > img {
    margin-bottom: 1em;
}

.main > * img + p {
    font-size: 0.7em;
    padding: 0;
    padding-bottom: 0.5em;
}

.cv {
    
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 34px;
    grid-row-gap: 0px;
    font-size: 1em; 
}

.cv1 { grid-area: 1 / 1 / 2 / 2; }
.cv2 { grid-area: 1 / 2 / 2 / 3; }

section > h1 {
    font-size: 2em;
    padding-bottom: 0.5em;
}

.cv > * > p {
    padding-bottom: 1em;
}

.cv > * > h2 {
    padding-bottom: 0.5em;
}

.cvyear {
    font-weight: bold;
}

.network > p {
    font-size: 1.5em;
}

.adr {
    justify-content: center;
    padding-top: 100px;
    display: flex;
} 

.adr > * > p {
    padding-bottom: 1em;
}

.adr > img {
    margin-left: 10px;
}