@font-face {
  font-display: swap;
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/barlow-semi-condensed-v1-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/barlow-semi-condensed-v1-latin-500.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Barlow Semi Condensed";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/barlow-semi-condensed-v1-latin-700.woff2") format("woff2");
}

/* RESET & BASE STYLES */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  display: block;
  position: relative;
  overflow-x: hidden;
  margin: 0;
  color: #ffffff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 400;
  line-height: 1.15;
  background-color: #ffffff;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

body.main {
  background-color: #b2b69b;
}

a {
  outline: none;
  color: #ffffff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: #f1f1f1;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #fff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

p {
  font-size: 17px;
  color: #fff;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 4px;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal;
}

.text-center {
  text-align: center;
}

.main {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-image: url("./img/nunopi-sage-green.jpg");
  background-size: 128px 128px;
  background-position: top left;
  background-repeat: repeat;
  background-color: #b2b69b;
}

.main-section {
  display: block;
  padding: 60px 20px 40px 20px;

  @media only screen and (min-width: 600px) {
    padding: 60px 25px 50px 25px;
  }

  @media only screen and (min-width: 900px) {
    padding: 100px 8% 60px 8%;
  }
}

.main-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.main-heading h1 {
  display: block;
  width: 86px;
  height: 86px;
}

.main-heading h1 a {
  display: block;
  width: 112px;
  height: 112px;
  font-size: 0;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: transparent;
  background-image: url("./img/nunopi-logo.png");
}

.main-heading h2 {
  display: inline-block;
  margin-top: 40px;
  padding: 0 4px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.15;
}

.main-footer {
  position: absolute;
  bottom: 10px;
}

.main-heading p,
.main-footer p {
  display: inline-block;
  padding: 0 4px;
  margin-bottom: 4px;
}