@import url("https://use.typekit.net/wax4mji.css");
body {
    font-size: 24px;
    font-family: "refrigerator-deluxe", sans-serif;
    font-weight: 400;
    font-style: normal;
    height: 100vh;
    margin:0;
    position:relative;
}

header{
    position:relative;
    top:0;
    width:100%;
    display:flex;
    background-color: #000;
    color:#fff;
    padding:1em;
}

nav{
    margin-left: auto;
    margin-right: 2.5em;
    margin-bottom: 1em;
    display: flex;
    align-items: flex-end;
}
/*Header link behavior*/
nav>a, nav>a:link{
    border:rgb(220, 220, 220) solid 2px;
    color: rgb(220, 220, 220);
    font-size: 50px;
    padding: 0.375rem 0.75rem;
    margin-left:.33em;
    text-decoration: none;
}
.my-button, .my-button:link{
  border:rgb(220, 220, 220) solid 3px;
  background-color: #000;
  color: rgb(220, 220, 220);
  font-size:1.25em;
  padding: 0.375rem 0.75rem;
  margin-left:.33em;
  text-decoration: none;
}
button {
    font-family: "refrigerator-deluxe", sans-serif;
    display: inline-block;
    background-color: #000000;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
    line-height: 1.5em;
    min-height: 80px;
    display: block;
    width: 50%;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

nav>a:hover, .my-button:hover{
    background-color:#ffffff;
    color:  #000;
    text-decoration: underline;
    border-top-color: rgb(200, 200, 200);
    border-left-color: rgb(200, 200, 200);
    border-right-color:#484848;
    border-bottom-color:#484848;
    box-shadow: 0px 0px 6px rgb(200, 200, 200);

}

nav>a:active, .my-button:active {
    font-weight: normal;
    color:#000;
    background-color: #fff;
    box-shadow: inset 1px 1px 5px #8b8b8b;
 }
/*TODO- add states for the non-nav a tags*/
main{
    margin: .5em 6em .5em 6em;
    max-width:1900px;
}
h1{
  font-size:2.5em;
  margin: .5em 0;
}
h1 span{
  display: block;
  font-size: .5em;
}
p{
    margin-left: 1em;
    padding: 0.5em;
}

p a:link{
    color:#000;
    text-decoration: none;
    font-weight: bold;
    background-color:#dddddd;
}
p a:visited{
    color:#606060;
    font-weight: 400;
}
p a:hover{
    font-weight: bold;
    text-decoration: underline;
}
p a:active{
    font-weight: bold;
    color: #fff;
    background-color: #000;
}
p a:focus{
    font-style: italic;
}
ul{
    list-style: none;
    display:flex;
    margin-left: auto;
    justify-content: space-between;
}
li{
  list-style: none;
}
img{
    width:100%;
    height: auto;
}
footer{
    background-color: rgb(128, 128, 128);
    display:flex;
    align-items: flex-end;
}

footer ul li {
    padding: .25em;
    margin: .25em;
    height: 40px;
    width: 40px;
    background-repeat: no-repeat;
    content: "";
    display: block;
}
.flex-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-container div{
  width:40%
}
.flex-container div:first-child{
  width: 100%;
  text-align: center;
}
.flex-container ul {
  list-style: none;
  display:inline-flex;
  margin: 0;
  margin-top:.75em;
  justify-content: space-between;
  padding-inline-start: 0;
}
.flex-container p{
  margin-top:0;
  padding-top:0;
}
.branding{
    padding: 1em;
}

.branding span{
    display:block;
    font-family: "refrigerator-deluxe", sans-serif;
    font-weight : bold;
    font-size : 97px;
    line-height : 73.23px;
}
.branding-imgReplace{
    display:block;
    box-sizing: border-box;
    min-height: 131px;
    min-width:240px;

    overflow: hidden;
    text-indent:-999px;
    background-image: url("../images/branding/header-branding.png");
    background-size: cover;
    background-repeat: no-repeat;
    
}

header .branding-imgReplace a{
    background-image: url("../images/branding/header-branding.png");
}
/*
section .branding-imgReplace{
    background-image: url("../images/branding/branding-blackOnWhite.svg");
    width: 33%;
}
section .branding span {
    font-size : 169px;
    line-height : 127.05px;
}
*/
