/* Store Norske Skriftkompani - Unified Stylesheet */

*, *::before, *::after {
  box-sizing: border-box;
}

/* Prevent all bold text */
strong, b, h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

* {
  font-weight: normal !important;
}

body {
  margin: 25px;
  background: #fff;
  font-size: 60px;
  font-family: skandia, sans-serif;
  color: #2e2e2e;
  line-height: 1.3;
  max-width: 100%;
}

.logo {
  display: block;
  margin-bottom: 21px;
  width: 250px;
  height: auto;
}

.logo:hover {
  filter: brightness(0) saturate(100%) invert(23%) sepia(89%) saturate(5847%) hue-rotate(235deg) brightness(98%) contrast(103%);
}

.menu {
  margin-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav-btn, .buy-btn {
  text-decoration: none;
  background: #0c40ff;
  cursor: pointer;
  color: #fff;
  font-family: skandia, sans-serif;
  padding: 22px 30px;
  border: none;
  border-radius: 20px;
  font-size: 60px;
  line-height: 1.3;
  text-align: left;
  display: inline-block;
}

.nav-btn:hover, .buy-btn:hover {
  background: #000;
}

.nav-btn:focus, .buy-btn:focus {
  outline: 3px solid #0c40ff;
  outline-offset: 3px;
}

/* Specimen blocks for typefaces page */
.specimen-block {
  margin: 84px 0;
}

.specimen-link {
  display: block;
  margin: 30px 0 20px 0;
}

.specimen-link:hover img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(89%) saturate(5847%) hue-rotate(235deg) brightness(98%) contrast(103%);
}

.specimen-img {
  display: block;
  max-width: 100%;
  height: auto;
  width: auto;
}

.pdf-link {
  display: block;
  color: #000;
  text-decoration: none;
  margin-bottom: 5px;
  font-size: 60px;
  line-height: 1.3;
}

.pdf-link:hover {
  color: #0c40ff;
}

.buy-btn {
  margin-top: 14px;
  margin-bottom: 40px;
}

/* Content blocks for information and licensing pages */
.content-block {
  margin-top: 84px;
  margin-left: 14%;
  font-size: 28px;
  line-height: 1.4;
  max-width: 60%;
}

.content-block a {
  text-decoration: none;
  color: #0c40ff;
}

.content-block a:hover {
  color: #000;
}

.content-block ol {
  margin-left: 1.2em;
}

.content-title {
  font-size: 28px;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 24px;
}

.content-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 0px;
}

.image-caption {
  font-size: 20px;
  line-height: 1.4;
  margin-top: 0;
}

.content-block p + .content-image {
  margin-top: 28px;
}

.content-block + .specimen-block {
  margin-top: 120px;
}

/* EULA and Privacy blocks */
.eula-block, .privacy-block {
  margin-top: 84px;
  margin-left: 14%;
  max-width: 60%;
}

.eula-title, .privacy-title {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 24px;
  margin-top: 0;
  line-height: 1.4;
}

.eula-content, .privacy-content {
  font-size: 20px;
  line-height: 1.4;
  word-break: break-word;
}

/* Footer */
.footer-menu {
  margin-top: 120px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-btn {
  text-decoration: none;
  background: #0c40ff;
  cursor: pointer;
  color: #fff;
  font-family: skandia, sans-serif;
  padding: 22px 30px;
  border: none;
  border-radius: 20px;
  font-size: 60px;
  line-height: 1.3;
  text-align: left;
  display: inline-block;
}

.footer-btn:hover {
  background: #000;
}

.footer-btn:focus {
  outline: 3px solid #0c40ff;
  outline-offset: 3px;
}

.typefaces-list {
  margin-top: 84px;
  font-size: 28px;
  line-height: 1.4;
}

.typeface-link {
  text-decoration: none;
  color: #0c40ff;
}

.typeface-link:hover {
  color: #000;
}


.company-info {
  margin-top: 40px;
  line-height: 1.3;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.content-block ul li {
  margin-bottom: 39px !important;
  padding-bottom: 0 !important;
  line-height: 1.4 !important;
}
/* Mobile styles */
@media (max-width: 900px) {
  body {
    margin: 8px;
    font-size: 28px;
  }
  
  .logo {
    margin-bottom: 12px;
    width: 117px;
  }
  
  .menu {
    margin-bottom: 56px;
    gap: 2px;
  }
  
  .nav-btn, .buy-btn {
    font-size: 25px;
    padding: 10px 14px;
    border-radius: 9px;
  }
  
  .specimen-block {
    margin: 39px 0;
  }
  
  .specimen-link {
    margin: 14px 0 0 0;
  }
  
  .specimen-img {
    display: block;
    margin-bottom: 10px;
    padding-top: 0 !important;
  }
  
  /* Scale all SVGs by multiplying their inline max-width by 1.6 */
  .specimen-img[style*="36%"] { max-width: 57.6% !important; }
  .specimen-img[style*="40%"] { max-width: 64% !important; }
  .specimen-img[style*="42%"] { max-width: 67.2% !important; }
  .specimen-img[style*="44%"] { max-width: 70.4% !important; }
  .specimen-img[style*="46%"] { max-width: 73.6% !important; }
  .specimen-img[style*="48%"] { max-width: 76.8% !important; }
  .specimen-img[style*="50%"] { max-width: 80% !important; }
  .specimen-img[style*="52%"] { max-width: 83.2% !important; }
  .specimen-img[style*="54%"] { max-width: 86.4% !important; }
  .specimen-img[style*="56%"] { max-width: 89.6% !important; }
  .specimen-img[style*="58%"] { max-width: 92.8% !important; }
  .specimen-img[style*="60%"] { max-width: 96% !important; }
  
  .specimen-link::after {
    content: none;
  }
  
  .pdf-link {
    font-size: 25px;
    margin-bottom: 2px;
  }
  
  .pdf-link:last-of-type {
    margin-bottom: 0;
  }
  
  .buy-btn {
    margin-top: 7px;
    margin-bottom: 14px;
  }
  
  .content-block {
    margin-top: 39px;
    margin-left: 0;
    font-size: 20px;
    max-width: 96%;
  }
  
  .content-title {
    font-size: 20px;
  }
  
.content-image {
  margin-bottom: 0px;
}
  
  .image-caption {
    font-size: 14px;
  }

.content-block p + .content-image {
  margin-top: 20px;
}

.content-block + .specimen-block {
  margin-top: 60px;
}
.content-block ul li {
  margin-bottom: 20px;
}
  .eula-block, .privacy-block {
    margin-top: 39px;
    margin-left: 0;
    max-width: 96%;
  }
  
  .eula-title, .privacy-title {
    font-size: 20px;
  }
  
  .eula-content, .privacy-content {
    font-size: 20px;
  }
  
  .footer-menu {
    margin-top: 56px;
    gap: 2px;
  }
  
  .footer-btn {
    font-size: 25px;
    padding: 10px 14px;
    border-radius: 9px;
  }
  
  .typefaces-list {
    margin-top: 39px;
    font-size: 20px;
  }
}

/* Print styles */
@media print {
  .nav-btn, .buy-btn, .footer-btn {
    background: transparent;
    color: #0c40ff;
    border: 2px solid #0c40ff;
  }
}