@font-face {
  font-family: "MDR Web";
  font-style: normal,bold,italic;
  /* font-weight: 500; */
  src: url("../fonts/mdr_display_sans-web.woff2") format("woff2"),
    url("../fonts/mdr_display_sans-web.woff") format("woff");
}
@font-face {
  font-family: "MDR-bold";
  font-style: bold;
  font-weight: 700;
  src: url("../fonts/MDR-Unica-Bold.woff") format("woff")
}
@font-face {
  font-family: "MDR-italic";
  font-style: italic;
  src: url("../fonts/MDR-Unica-Italic.woff") format("woff")
}
@font-face {
  font-family: "MDR-roman";
  font-style: normal;
  src: url("../fonts/MDR-Unica-Roman.woff") format("woff")
}
:root {
  --contentWidthMin: 870px;
  --contentLetterSpaing: 0.01em;
  --contentLineHeight: 1.75em;
  --contentHeight: 85vh;
  --contentTopMargin: 10vh;
  --contentFontSize: 1.4em;
  --headingSize: 1.9em;
  --footerSize: 1em;
  --contentSpacing: 2vh;
  --footerSpacing: 0.75vh;
  --allLeftPadding: 5%;
  --footerLineHeight:1.25em;
  --footerListMargin:0%;
}

body {
  font-family: "MDR-roman";
  margin: 0;
  padding: 0;
  /* background-color: #f0f0f0; */
  color: black;
}

h1 {
  font-family: "MDR Web";
  font-size: var(--headingSize);
}

/* Container styling */
.container {
  /* max-width: var(--contentWidthMax); */
  width: var(--contentWidthMin);
  height: var(--contentHeight);
  margin: auto;
  overflow: hidden;
  background-color: white;
  margin-top: var(--contentTopMargin);
  line-height: var(--contentLineHeight);
  border-left: 1px solid black;
  border-right: 1px solid black;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Content styling */
.content {
  font-size: var(--contentFontSize);
  font-weight: 500;
}

.block {
  /* background-color: #e9e9e9; */
  padding: 1%;
  padding-top: 0px;
  padding-left: var(--allLeftPadding);
  margin-bottom: var(--contentSpacing);
  letter-spacing: var(--contentLetterSpaing);
}

.block>span:nth-of-type(1) {
  font-family: "MDR-bold";
  font-weight: bold;
}

.block>span.it {
  font-family: "MDR-italic";
  font-style: italic;
}

/* Footer styling */
.footer {
  padding-left: var(--allLeftPadding);
}

.logo{
  background-image:url("../img/MDR-Masthead_black.svg");
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
 /* background: skyblue; */
 height:30px;
 width: 100%;
 margin: 0;
 padding: 0px;
 margin: 0px;
 margin-bottom: calc(var(--footerSpacing) * 2);

}
.footer h1 {
  margin: 0;
  padding: 0px;
  margin: 0px;
  margin-bottom: var(--footerSpacing);
}

.footer p {
  font-size: var(--footerSize);
  margin: 0px;
  margin-bottom: calc(var(--footerSpacing) * 2);
  /* line-height: var(--footerLineHeight); */
}

.socials {
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.socials>li:nth-of-type(1){
  /* background-color: red; */
  margin-bottom: var(--footerListMargin);
}
ul.socials>li {

  line-height: var(--footerLineHeight) !important;
  /* margin-bottom: var(--footerListMargin); */
}

.socials a {
  color: black;
  text-decoration: none;
}

/* Hover effects */
.socials a:hover {
  text-decoration: underline;
}
@media (max-device-width:600px) {

  :root {
      --contentFontSize: 1em!important;
  }

}

@media (max-device-width: 870px) {
  :root {
        --footerSize: 1em;
    --headingSize: 1.9em;
  --contentSpacing: 0.5em;
      --allLeftPadding: 2%;
    --contentWidthMin: 85vw;
    --contentFontSize: 2.6vw;
    --contentTopMargin: 4vh;
    --contentLineHeight: 1.4em;
    --contentHeight: fit-content;
    --footerSpacing: 0.5em;
    --footerLineHeight:1.1em;
    --footerListMargin:0.5em;

  }

  .container{
      overflow-y: scroll;
    border:none;
  }
  .footer{
    margin-top: calc(5 * var(--contentSpacing));
    margin-bottom: 5%;
  }

  h1{
      margin-bottom: 4%!important;
  }
}
