@font-face {
  src: url(fonts/Noway-Regular.otf);
  font-family: noway;
}

*{
  box-sizing: border-box;
}

img {
  width: 40%;
}

.container {
  display: flex;
  flex-wrap: wrap;
}

.block {
  flex-grow: 50;
  flex-basis: 15em;
}

body {
  font-family: noway;
  padding: 2rem;
}

section:not([id]) {
  margin: 1em 0;
  padding: 0.5em 0;
  border-top: 0.15em solid #333;
}

section h3 {
  margin-bottom: 0;
}

section p {
  margin-top: 0;
}

nav a:hover, nav a:focus {
  text-decoration: none;
}

section code {
  background-color: #EEE;
  padding: 0.5em 0.75em;
  display: block;
}


/*
  INTERACTIVE ELEMENTS -------------------
*/

/* Styling for the navigation button */
.button-nav {
  display: inline-block;
  padding: 0.5em 0.75em;
  color: #FFF;
  background-color: rgb(193, 227, 254);
  border-radius: 0.25em;
  text-decoration: none;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
  font-size: 48px;
}

.button-nav:hover, .button-nav:focus {
  color: #999;
}

/* Styling for the intext link */
.intext-link {
  display: inline-block;
  margin: 1.5em 0.1em;
  color: rgba(100, 100, 100);
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 5px;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

.intext-link:hover, .intext-link:focus {
  color: rgb(153, 207, 252);
}

/* Styling for the submit button */
.sub-btn {
  display: inline-block;
  padding: 1em 3em;
  color: rgb(88, 88, 88);
  background-color: rgb(223, 223, 223);
  border-radius: 0.6em;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: background-color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

.sub-btn:hover, .sub-btn:focus {
  background-color: rgb(153, 207, 252);
  color: rgb(255, 255, 255);
}

/* Styling for the input text */
input[type=text], select {
  width: 30%;
  font-family: noway;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/*
  TEXT ELEMENTS -------------------
*/

/* Styling for the headers */
.headings h2 {
  text-transform: uppercase;
  color: rgb(153, 207, 252);
  letter-spacing: 15px;
  font-family: noway;
}

#smp {
  text-transform: uppercase;
  color: rgb(88,88,88);
  letter-spacing: 15px;
  font-family: noway;
}

.headings h4 {
  text-transform: lowercase;
  color: rgb(153, 207, 252);
  letter-spacing: 15px;
  font-family: noway;
}

/* Styling for the paragraphs */
.par {
  color: rgb(88,88,88);
  letter-spacing: 2px;
  font-family: noway;
  font-size: 10px;
}

/* Styling for bulleted lists */
#bl{
  color: rgb(88,88,88);
  letter-spacing: 2px;
  font-family: noway;
  font-size: 10px;
}

/* Styling for bulleted lists */
#nl{
  list-style-type: none;
  text-transform: uppercase;
  color: rgb(88,88,88);
  letter-spacing: 2px;
  font-family: noway;
  font-size: 10px;
}

/*
  COMBINED ELEMENTS -------------------
*/

/* Styling for main navigation */
#navbar {
  text-decoration: none;
  list-style-type: none;
  text-align: center;
  line-height: 2em;
  text-transform: uppercase;
  color: rgb(153, 207, 252);
  padding: 7em 0em;
  letter-spacing: 10px;
  font-family: noway;
  font-size: 30px;
}

#navbar a{
  text-decoration: none;
  color: rgb(153, 207, 252);
}


/* Styling for main navigation */
#products li{
  text-decoration: none;
  list-style-type: none;
  text-transform: uppercase;
  color: rgb(153, 207, 252);
  letter-spacing: 10px;
  font-family: noway;
  font-size: 24px;
}

#products h4{
  text-transform: uppercase;
  /* padding-bottom: 2em; */
  color:rgb(50,50,50);
  font-family: noway;
}

#products p{
  color:rgb(90,90,90);
  padding-bottom: 5em;
  font-family: noway;
  font-size: 12px;
}

.block {
  /* width: 200px;
  height: 200px; */
  padding: 100px 100px;
  text-align: center;
  text-transform: uppercase;
  color: white;
  letter-spacing: 8px;
  font-size: 10px;
}

#one{
  background-color: rgb(193, 227, 254);
}

#two{
  color: rgb(100,100,100);
  background-color: rgb(223, 223, 223);
}

#three{
  background-color: rgb(70, 70, 70);
}

#four{
  color: rgb(100,100,100);
  background-color: white;
}
