:root {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.5; /* This should not be necessary if deleted from main css */
  margin-bottom: 0.5em;
}

h1 {
  font-size: 26px;
}

h2 {
  font-size: 24px;
  
}

h3 {
    font-weight: 600;
    font-size: 20px;
}

h4 {
    font-weight: 600;
    font-size: 17px;
}

.bold {
    font-weight: 700;
    font-size: 24px;
}

p {
  margin: 0;
  display: inline-block;
}

.smalltext {
    font-weight: 400;
    font-size: 14px;
}

@media only screen and (min-width: 640px) {
    :root {
        font-size: 20px;
    }

    h1 {
      font-size: 36px;
    }
    
    h2 {
      font-size: 32px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 20px;
        margin-bottom: .5em;
    }
    
    .bold {
        font-size: 32px;
    }
    
    .smalltext {
        font-size: 17px;
    }
}

@media only screen and (min-width: 1200px) {
    :root {
        font-size: 20px;
    }
    h1 {
       font-size: 40px;
    }
    h2 {
      font-size: 34px;
    }
    
    h3 {
        font-size: 30px;
    }
    
    h4 {
        font-size: 20px;
        margin-bottom: .5em;
    }
    
    .bold {
        font-size: 34px;
    }
    
    .smalltext {
        font-size: 18px;
    }
}
