section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    max-width: 1200px;
    margin: auto;    
}

main {
    position: relative;
}

h1 {
    font-size: 2em;
    font-weight: 100;
    letter-spacing: .6em;
    padding-top: 1.5em;
    padding-bottom: 1em;
}

h2 {
    font-size: 1.5em;
    font-weight: 100;
    padding-bottom: 1em;
}

h3 {
    font-size: 1em;
    padding-bottom: 0.25em;    
}

h1, h2, h3 {
    margin-bottom: 0;
}

h3 + p {
    text-decoration: underline;
}

#header {
    text-align: center;
    margin: auto 2em;
}

.chapter {
    margin: auto 1em 4em 2em;
}

i {
    margin-right: .5em;
}

p {
    margin: .2em auto
}

hr {
    border: none;
    background-color: lightgray;
    height: 1px;
}

ul {
    margin-bottom: 1.5em;
}

/*Particles background */
#particles-js {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    /* background-color: transparent;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%; */
}

/*Switch for particles background */
.bg-switch {
    position: absolute;
    left: calc(50% - 30px);
    display: flex;
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    z-index: 1;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  @media only screen and (orientation:landscape) and (min-width:576px) {
    h1 {
        font-size: 3em;
        padding-top: 1em;
    }
    
    .bg-switch {
        left: 50px;
    }

    .bg-switch:before {        
        content: 'Particles';
        color: #605C5C;
        font-size: 20px;
        font-weight: lighter;
        margin-right: 10px;
    }

    .resume { 
        display: grid;
        grid-template-columns: 30% 70%;
        margin-top: 3em;
    }

    #resumeLeft {
        border-right: 1px solid lightgray;
    }
}

/* Hide particles when printing */
@media print {
    #particles-js {
        display: none !important;
    }
}