
html {
  font-size: 100%;
}

.container {
  max-width: 1300px; 
  margin: 0 auto;
}

/*header*/
header {
  width: 100%;
  align-items: center;
  background-color: #171816;
  width: 100%;
  padding-top: 14px;
  padding-bottom: 18px;
  position: fixed;
}

.flex {
  display: flex;
  justify-content: space-between;
  padding-left: 1rem;
  padding-right: 1rem;
}


a {
  text-decoration: none;
  color: #dbecec;
}

ul {
  padding-left: 0;
}

h1 {
  font-family: 'milkshakeregular';
  font-size: 2rem;
  font-weight: 400;
  color: #dbecec;
  margin: 0;
  padding: 0 20px;
}

.menu-btn {
  fill: #dbecec;
  height: 2rem;
}

h2 {
  font-family: Arial Black,Arial Bold,Gadget,sans-serif; 
  font-size: 1rem;
  color: #c6552c;
  text-transform: uppercase;
  
}

h3 {
  font-family: 'milkshakeregular';
  font-size: 1.87rem;
  font-weight: 400;
  color: #dbecec;
  line-height: 1; 
}

p {
  font-family: 'B612', sans-serif;
  padding: 0;
}

/* header */

.header {
  background-color: #171816;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  width: 100%;
  height: 70px;
  z-index: 3;
}

.header  ul:not(.sign-in-subscribe a) {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.header li a:not(.sign-in-subscribe a)  {
  display: block;
  text-decoration: none;
}

.header > li a:hover,
.header .menu-btn:hover {
  background-color: rgba(0, 0, 0, 0.10);
}

.header .logo {
  display: block;
  float: left;
  text-decoration: none;
}


/* menu */


.header .menu {
  background-color: #171816;  
  clear: both;
  max-height: 0;
  color: #dbecec;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  width: 100vw;
  height: 100vh;
  transition: max-height .5s ease-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* .menu {
  display: flex;
  flex-direction: column;
  align-items: center;
} */


/* menu icon */

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 20px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #fff;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}


/* menu btn */
.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  max-height: 650px;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}




/*banner*/

.banner {
  background-image: url(../img/banner-bg.png);
  background-position: bottom center;
  background-size: cover;
  height: 487px; 
}



.line {
  width: 30px;
  height: 3px;
  background: white;
  margin: 5px;
}

nav {
  position: relative;
}

.menu-btn {
  cursor: pointer;
  z-index: 10;
}



/*navigation*/
/*
nav div ul {
  display: flex;
  flex-wrap: wrap;
}*/





.header ul ul li {
 list-style: none;
}

.header > ul > ul {
  margin-left: 0;
}

.header  li {
  font-family: 'B612', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding-top: 15px;
  padding-bottom: 15px;
  text-decoration: none;
}

.header  ul a:hover {
 font-style: italic;
}


.menu > ul a:not(.sign-in-subscribe a) {
  text-decoration: none;
  font-size: 1.125rem;
  margin: 10px 0;
  text-decoration: none;
}

.header  hr {
  border-top:2px solid #35342e; 
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
}


svg {
  fill: #dbecec;
  height: 2rem;
  margin-right: 0;
  padding-top: 0;
}




li:hover a{
  color: #dbecec;

}

li:hover svg {
  color:#dbecec;
}

/*
li:hover ul {
  display: block;
}
*/

.sign-in-subscribe  {
  display: flex;
  justify-content: flex-start;
  font-family: 'B612', sans-serif;
  text-transform: uppercase;
}

.sign-in-subscribe a:hover {
  background-color: #dbecec;
  color: #171816;
  font-style: normal; 
}


.sign-in-subscribe a {
  border: 1px solid #dbecec;
  padding: 10px;
}

.sign-in-subscribe li:nth-child(2) {
  margin-left: 20px;
}

/*overlays*/

.overlay {
  position: relative;
}


.square-block {
  position: absolute;
  background-color: #dbecec;
  padding: 1rem;
  height:429px;
  max-width: 495px;
  top: -429px;
  text-align: center;
  z-index: 1;  
}

.square-block > hr {
  border-top:3px solid  #c6552c;
  width: 17.5px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 15px;
  
}

.square-block > h3 {
  color: #171816;
  font-size: 2.4rem;
  padding-top: 20px;
  line-height: 1.5;
  text-align: center; 
}

.square-block > p {
  text-align: center;
  padding-bottom: 40px;
  color: #171816;
}

.quick-references {
  background-image: url(../img/black-felt.png);
  background-color: #171816;
  position: absolute;
  top: 65px;
  max-width: 495px;
  padding: 1rem;
  /*width: calc(100% - 2rem);*/
  width: 100%;
  z-index: 1;
}


.quick-references > h2 {
  padding-bottom: 15px; 
}


/*main*/
.article {
  background-image: url(../img/black-felt.png);
  background-color: #171816;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 68px;
}


.article .container > div:nth-child(2)  p {
  font-family: 'B612', sans-serif;
  font-size: 1rem;
  color: #dbecec;
  padding-left: 0px;
}

.article .container div:nth-child(2) h2 {
  padding-top: 75px;
}

.article .container div:nth-child(2) h3 {
  padding-bottom: 33px;
}

.read-article {
  margin-top: 25px;
}

.read-article a {
  font-family: 'B612', sans-serif;
  font-size: 1.125rem;
  color:  #dbecec;
  padding: 15px;
  border-top: 1px solid #dbecec; 
  border-bottom: 1px solid #dbecec;  
  text-transform: uppercase;
  text-align: center;
}


.read-article a:hover {
  background-color: #dbecec;
  color: #171816;
  font-style: normal;
}


.guides {
  background-color: #dbecec;  
  padding-bottom: 74px;
  overflow: hidden;
  padding-left: 1rem;
  padding-right: 1rem;
}


.guides  div ul  {
  font-family: 'B612', sans-serif;
  font-size: 1rem;
  color: #111110;
  padding-left: 1rem;
  padding-right: 1rem;
}

.see-the-guides {
  margin-top: 25px;
  
}

.see-the-guides a {
  font-family: 'B612', sans-serif;
  font-size: 1.125rem;
  color: #171816;
  border-top: 1px solid #c6552c; 
  border-bottom: 1px solid #c6552c;
  text-transform: uppercase;
  padding: 15px;
  text-align: center;
}


.see-the-guides a:hover {
  background-color: #c6552c; 
  color: #dbecec;
  font-style: normal;
}

img {
  /* display: flex; */
  padding-top: 112px;
  position: relative; 
  margin-left: -80px;
  max-width: 180%;
  /*align-content: center; */
 
  
}

/*footer*/

footer {
  background-image: url(../img/black-felt.png);
  background-color: #171816;
  padding-top: 40px;
  padding-bottom:40px;
  padding-left: 1rem;
  padding-right: 1rem;
}

footer p {
  text-align: right;
  color: #dbecec;
  font-family: 'B612', sans-serif;
  font-style: italic;
  font-size: 0.8rem;
}

.footer-words {
  font-family: Arial Black,Arial Bold, Gadget,sans-serif; 
  font-size: 4.3rem;
  font-weight: bold;
  font-style: normal;
  text-align: right;
  color: #171816;
  line-height: 1;
  padding-bottom: 20px;
}


/* Responsive */
@media (min-width: 768px) {

  .header ul:not(.sign-in-subscribe a) {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
}

  .header li {
    float: left;
  }

  .header .menu > li:nth-of-type(1) {
      flex-grow: 1;
  } 

  .sign-in-subscribe {
      flex-grow: 1;
  }
  
  
  .header .logo{
        line-height: 1;
  }
  
  
  .menu > li a:not(.sign-in-subscribe a) {
    padding: 0px 30px;
    font-size: 1.125rem;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: 0px;
    text-align: right;
    text-decoration: none;
  }

  .sign-in-subscribe  {
    justify-content: flex-end;
  }
  
  
  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  
  .header .menu-icon {
    display: none;
  }
  
  .header .menu {
    flex-direction: row;
    height: 20px;
  }
  
  .sign-in-subscribe a:hover {
    background-color: #dbecec;
    color: #171816;
    font-style: normal; 
  }
  
  
  .sign-in-subscribe a {
    border: 1px solid #dbecec;
    padding: 10px;
  }
  
  .header  li {
    padding-bottom: 0;
  } 


/*header*/
header {
  display: flex;
  justify-content: space-between;
	padding-left: 1.5rem;
	padding-right: 0.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

header > div {
  display: flex;
  justify-content: space-between;

}

.menu {
  display: flex !important;
  padding-bottom: 0;
  align-items: center;
  justify-content: space-between;
  height: 20px;
}

nav li {
  display: flex;
  padding-top: 0;
  padding-bottom: 0;
}


h1 {
  display: flex;
  align-items: center;
}
/*
nav > ul  > li > ul {
  display: flex;
}


nav > ul li {
  display:flex !important;
  padding-bottom: 0;
}
*/

nav {
  display:flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

nav hr {
  display: none;
}

.sign-in-subscribe {
  padding-bottom: 0px;

}

.menu-btn {
  display:none;
}

/*main*/

.overlay {
  min-width: 566px;
}

.square-block {
  max-width: 495px;
  height: 495px;
  margin-left: 0;
  top: -450px;
  left: 20%;
  padding: 2rem;
  width: 80%;
}

.square-block > h3 {
  padding-top: 20px;
  font-size: 3rem;
  
}

.quick-references {
  max-width: 495px;
  left: 20%;
  top: -30px;
  width: 80%;

}

.article {
  padding-top: 40px;
  padding-bottom: 125px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.article h2 {
  padding-top: 130px; 
}

.article > .container {
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
}

.article > .container > div {
  width: calc((100% - 1.5rem) / 2);
}

.article > .container > .overlay {
  align-self: flex-start;
}

.guides {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.guides > .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 150px;
}

.guides > .container > div {
  width: calc((100% - 1.5rem) / 2);
  
}

img {
  padding-top: 0px;
  position: static; 
  margin-left: 0px;
  max-width: 100%;
}

/*footer*/

footer {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.footer-words {
  font-size: 9.3rem;
  text-transform: uppercase;
  padding-bottom: 40px;
  line-height: 0.8;
}

footer p {
  text-align: left; 
}
 
}

