
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
body{
        background-color: #222222;
        font-family: FontAwesome;
        margin: 0px;
      }


/* Style the header with a grey background and some padding */
.header {
  overflow: hidden;
   

  padding: 30px 100px;
  margin-bottom: 50px;
}


/* Style the header links   background-color: #222222;*/
.header a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
   font-family: 'Roboto', sans-serif;
        font-style: normal;
        font-weight: normal;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
font-family: 'Rock Salt', cursive;
  font-size: 30px;
  font-weight: bold;
  color: white;
}

/* Change the background color on mouse-over */
.header a:hover {
  background-color: #555555;
  color: white;
}

/* Style the active/current link*/
.header a.active {
  
  color: white;
}

/* Float the link section to the right */
.header-right {
  float: right;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .header a {
    float: none;
    display: block;
    text-align: left;
  }
  .header-right {
    float: none;
  }
}

/* Footer custom */

/* Style the header with a grey background and some padding */
.custom {
  overflow: hidden;

 text-align: center;
  padding: 0px 100px;
  margin-bottom: 50px;
}


/* Style the header links   background-color: #222222;*/
.custom a {
   float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 16px;
  line-height: 25px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.custom a.logo {
  font-size: 30px;
  font-weight: bold;
  color: white;
}

/* Change the background color on mouse-over */
.custom a:hover {
  background-color: #555555;
  color: white;
}

/* Style the active/current link*/
.custom a.active {
  
  color: white;
}

/* Float the link section to the right */
.custom-right {
  float: right;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 500px) {
  .custom a {
    float: none;
    display: block;
    text-align: left;
  }
  .custom-right {
    float: none;
  }
}






main {
 background: red;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  resize: both;
  overflow: auto;
}



/* Footer */

  #footer {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    position: relative;
    margin: 0;
    line-height: 1em;
    padding: 1.5em;
    background: #39454b;
    color: rgba(185, 186, 187, 0.5);
    overflow: hidden;
  }

    #footer > * {
      margin-bottom: 0;
    }

    #footer a {
      color: inherit;
    }

      #footer a:hover {
        color: #b9babb;
      }

    #footer ul.menu {
      margin: 0;
    }

      #footer ul.menu li {
        border-left-color: rgba(185, 186, 187, 0.2);
        font-size: 0.9em;
      }

    @media screen and (max-width: 1000px) {

      #footer {
        -moz-flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -moz-justify-content: center;
        -webkit-justify-content: center;
        -ms-justify-content: center;
        justify-content: center;
        line-height: 1.5em;
        text-align: center;
        padding: 2em 1em 2em 1em;
      }

        #footer > * {
          margin: 0 0 1em 0;
        }

    }

    @media screen and (max-width: 300px) {

      main {
 background: red;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  resize: both;
  overflow: auto;
}



      #footer ul.menu li {
        border-left: none;
        display: block;
        line-height: inherit;
        margin: 0.25em 0 0 0;
        padding: 0.25em 0 0 0;
      }

        #footer ul.menu li:first-child {
          margin-top: 0;
          padding-top: 0;
        }

    }