html
{
  background-color: #fff;
}

body 
{
  max-width: 100%;
  font-family: Verdana, sans;
}

#header
{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: start;
}

#header > *
{
  align-self: center;
}

#header img
{
  max-width: 100vw;
  height: auto;
}

#main
{
  margin-left: auto;
  display: flex;
  flex-flow: row wrap;
  position: relative;
}

#body
{
  text-align: justify;
  display: flex;
  flex-direction: column;
}

#contact
{
  display: flex;
  justify-content: space-between;
  margin: 0px 12px;
}

#contact > *
{
  align-self: center;
  white-space: nowrap;
}

#phone
{
  color: #fd4b82;
  font-weight: bold;
  font-size: 1.15em;
}

#buttons
{
  display: flex;
  min-height: 66px;
  margin-top: 16px;
}

#buttons > *
{
  margin: 8px;
}

#social > a
{
  display: inline-block;
  height: 32px;
}

footer
{
  font-size: 0.8em;
}

a:link
{
  color: #888;
}

@media (max-width: 393px)
{
  #buttons
  {
    order: 3;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  
  #brushes
  {
    position: relative;
    order: 4;
    margin-top: -10vw;
  }
  
  #contact
  {
    flex-direction: column;
  }
  
  #contact > *
  {
    margin: 8px 0px;
  }
}

@media (max-width: 979px)
{
  #header
  {
    flex-direction: column-reverse;
    align-items: start;
  }
  
  #brushes
  {
    width: 50%;
  }
  
  #awards
  {
    order: 1;
  }
  
  #text
  {
    order: 2;
  }
  
  #contact
  {
    order: 3;
  }
  
  footer
  {
    order: 100;
    text-align: end;
    width: 98%;
    z-index: 100;
  }
}

@media (max-width: 979px)
{
  body
  {
    max-width: 100%;
  }
  
  #buttons
  {
    flex-direction: row;
  }
  
  #brushes
  {
    flex-grow: 1;
  }
  
  #contact
  {
  }
 
  #body
  {
    width: 100%;
  }
  
  #text, #awards
  {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 400px) and (max-width: 979px)
{
  #buttons
  {
    padding: 0 8px 0 0;
  }
  
  #awards
  {
    min-width: 70vw;
  }
}

@media (min-width: 980px)
{
  body
  {
      margin: auto auto auto 15vw;
  }
  
  #buttons
  {
    order: 3;
    margin-left: 4%;
  }
  
  #awards
  {
    margin: 40px 0px;
  }
  
  #smear
  {
  margin-left: 2vw;
  }

  #brushes
  {
    order: 1;
    max-width: 230px;
    margin-top: 280px;
  }
  
  #body
  {
    order: 2;
    max-width: 40%;
    margin-left: 20px;
  }
  
  #buttons
  {
    flex-direction: column;
  }
  
  footer
  {
    position: absolute;
    right: 0.5cm;
    bottom: 1em;
  }
}

#brushes
{
  align-self: end;
}

#brushes > img
{
  float: right;
}

#awards
{
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-evenly;
}

#awards > *
{
  max-width: 22%;
  height:auto;
}

#text
{
    padding: 4% 12px;
    max-width: 12cm;
    min-height: 6.5cm;
}
