@font-face {
  font-family: 'Exo2';
  src: url('../fonts/Exo2-BlackExpanded.otf') format('OpenType');
}
:root{
  --fontColor: #4D5EAA;
  --footerHeight: 70px;
  --footerTopMargin: 50px;
}
*{
  //  outline: dotted red 1px;
    box-sizing: content-box;
    padding: 0;
    margin: 0;
}
body{
  max-width: 800px;
  margin: auto;
  font-family: Exo2;

  display: flex;
  flex-direction: column;

}
#Wrapper{
     min-height: calc(99vh - var(--footerHeight) - var(--footerTopMargin));
}
header{
  align-content: space-around;
  flex-wrap: wrap;
  justify-content: space-around;
}
header{
    margin: auto;
    background: grey;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: url('../img/Checkered_Header_BG.png');
    background-repeat: repeat;
    background-size: 33.3% 100%;
    background-position: center;
    height: 266px;
}
footer{
    margin-top: var(--footerTopMargin);
    height: var(--footerHeight);
    display: flex;
    justify-content: space-around;
    line-height: var(--footerHeight);
}
footer a{
    color: var(--fontColor);
}
footer a img{
    height: 50px;
}
footer a img:hover{
    position: relative;
    top: -2px;
    left: -2px;
    box-shadow: 0px 0px 38px 5px #252525;
}


#PopUp_Wrapper{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: rgba(100, 100, 100, .75);
    align-items: center;
    justify-content: center;
}
#PopUp_Wrapper.show{
    display: flex;
}
#PopUp{
    background: white;
    border: 1px solid black;
//    border-top: 30px solid black;
    max-width: 400px;
    box-shadow: 15px 13px 17px 4px #323232;
}
#PopUp img{
  cursor: pointer;
}
#PopUp_TopBar{
	background-color: black;
	text-align: end;
	font-size: 20px;
	padding: 8px;
	cursor: pointer;
}
#PopUp_TopBar div {
	background: #FFF;
	display: inline-flex;
	padding: 0px 5px;
	text-align: center;
}
#PopUp_Body{
  padding: 20px;
  text-align: justify;
  text-align-last: center;
}
