HTML CSSResult Skip Results Iframe
EDIT ON
*, *:before, *:after {
  box-sizing: border-box;
}

body {
  margin: 40px;
  font-family: 'Roboto', sans-serif !important;
  background-color: #fff;
  color: #444;
}

.col-md-8{
  padding-left: 0px !important;
}
h1, p {
  margin: 0 0 1em 0;
  line-height: 1.5em;
}

.wrapper {
  /* max-width: 940px; */
  margin: 0 20px;
  display: grid;
  grid-gap: 10px;
}

.header img,.header h1{
    float: left;
}

.header h1{
    text-align: center;
    width: 80%;
    font-size: 55px;
    font-family: 'Lucida Calligraphy', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.container h1,.container h2{
    color:#800606;
    /* width:100%;
    border:2px solid #7E0A0B;
    border-radius:5px; */
}
.sidebar {
    float: left;
    width: 19.1489%;
  }

  .content {
    float: right;
    width: 79.7872%;
  }

@media screen and (min-width: 500px) {

  /* no grid support? */
  .sidebar {
    float: left;
    width: 19.1489%;
  }

  .content {
    float: right;
    width: 79.7872%;
  }

  .wrapper {
    margin: 0 auto;
    /* grid-template-columns: 1fr 3fr; */
  }
  
  .header, .footer {
    grid-column: 1 / -1;
    /* needed for the floated layout */
    clear: both;
  }

}

@media only screen and (max-width: 768px){
    .header h1{
        width:60%;
    }
.container {
    width: 90%;
}
}

@media (min-width: 768px)
{
.container {
    width: 95% !important;
}
.wrapper > *{
  font-size:24px !important;
}
}

@media (min-width: 1200px)
{
.container {
    width: 100% !important;
}
}

.wrapper > * {
  /*background-color: #444;*/
  color: #444;
  padding: 20px;
  font-size: 100%;
  /* needed for the floated layout*/
  margin-bottom: 10px;
  /*border: 2px solid #444;*/
}

.wrapper header,.wrapper footer{
    background-color: #800606;
    color: #fff;
}

/* We need to set the widths used on floated items back to auto, and remove the bottom margin as when we have grid we have gaps. */
@supports (display: grid) {
  .wrapper > * {
    width: auto;
    margin: 0;
  }
}

Resources