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

/* HTML5 semantic elements */

body {

  /* width: auto; */
  /* height: auto; */
  max-width: 90%;
  /* max-height: 800px; */
  margin: 0 auto;
  font-family: Verdana, sans-serif;
  /* font-family: 'Times New Roman', Times, serif; */

  font-size: 16px;
  line-height: 1.5;

  /* background-color: darkgrey; */
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  align-content: center;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 2px solid #333333;

  /* background-color: bisque; */

}

nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px;

  /* background-color: chartreuse; */

}

article {
  display: flex;
  /* width: auto; */
  /* max-width: 100px; */
  /* flex-direction: row; */
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px auto;

  /* background-color: palegreen; */

}

section {
  display: flex;
  /* width: auto; */
  /* max-width: 100px; */
  /* flex-direction: row; */
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px auto;

  /* background-color: aquamarine; */

}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px auto;

  /* background-color: #777; */

}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 2px solid #333333;

  /* background-color: DodgerBlue; */

}

p {

  max-width: 700px;
  margin: 20px 20px;
}

h1,
h2,
h3,
h4,
h5 {


  font-family: Georgia, serif;

}


/* ============================================================= */
/*  Layout ===================================================== */

/* Makes an element a flex container */
.flx {
  display: flex;
}

.flx-col {
  flex-direction: column;
}

.flx-row {
  flex-direction: row;
}

/* Inline-level flex container */
.inline-flx {
  display: inline-flex;
}

/* Centers items both horizontally and vertically */
.flx-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Places items with space between them */
.flx-between {
  display: flex;
  justify-content: space-between;
}

/* Forces an element to behave as a block element */
.block {
  display: block;
}

/* Forces an element to behave as inline */
.inline {
  display: inline;
}

/* Hides an element */
.hidden {
  display: none;
}

/* positioning within <div> ============================================ */

/* center a <div> horizonal and vertical */
.centerHV {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* move left */
.flxL {
  display: flex;
  justify-content: flex-start;
}

/* move right */
.flxR {
  display: flex;
  justify-content: flex-end;
}

/* ========================== */
/*  Spacing ================= */

/* Small top margin */
.mgt1 {
  margin-top: 0.5rem;
}

/* Medium top margin */
.mgt2 {
  margin-top: 1rem;
}

/* Small bottom margin */
.mgb1 {
  margin-bottom: 0.5rem;
}

/* Medium bottom margin */
.mgb2 {
  margin-bottom: 1rem;
}

/* Small right margin */
.mgr1 {
  margin-right: 0.5rem;
}

/* Medium right margin */
.mgr2 {
  margin-right: 1rem;
}

/* Small left margin */
.mgl1 {
  margin-left: 0.5rem;
}

/* Medium right margin */
.mgl2 {
  margin-left: 1rem;
}



/* Small padding */
.pd1 {
  padding: 0.5rem;
}

/* Medium padding */
.pd2 {
  padding: 1rem;
}

/* ================== */
/* Sizing & Alignment */

/* Full width (100%) */
.w-100 {
  width: 100%;
}

/* Max width container for readable text blocks */
.max-w-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ================================ */
/* images ========================= */

/* center an img */
.center-img {
  display: block;
  max-width: 93%;
  height: auto;
  margin: 0 auto;
}

img {

  max-width: 93%;
  height: auto;
  display: block;
  /* margin: 50px 0 50px 0; */
}

/* ==================================== */
/* Text alignment ===================== */

.center-txt {
  display: block;
  text-align: center;
}

.txtR {
  text-align: right;
}

.txtL {
  text-align: left;
}

/* ================================== */
/* Typography ======================= */

/* Bold text */
.bold {
  font-weight: bold;
}

/* Italic text */
.italic {
  font-style: italic;
}

/* Slightly smaller text */
.small {
  font-size: 0.875rem;
}


/* ================================== */
/*  Colors ========================== */

/* Light background */
.bg-light {
  background: #d6d4d4;
}

/* Dark background with automatic light text */
.bg-dark {
  background: #333;
  color: white;
}

/* Muted gray text */
.txt-muted {
  color: #777;
}

/* ========================================== */
/*  Buttons ================================= */

/* Simple button */
.btn {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  background: #eee;
  cursor: pointer;
}

/* Hover effect for button */
.btn:hover {
  background: #777;
}

/* notes ======================================= */
/* notes ======================================= */
/* notes ======================================= */

notes {

  /* display ======================= */

  display: block;
  /* display: inline; */
  /* display: flex; */
  /* display: grid; */
  /* display: none; */
  /* display: inline-block; */

  /* Element_width ============== */

  width: auto;
  /* width:800px; */
  /* width: 100%; */

  /* Maximum_Element_Width =============*/

  max-width: 800px;
  /* max-width: 100%; */
  /* max-width: 0fr; */

  /* flexbox ======================= */

  display: flex;

  flex-direction: row;
  /* default is row */
  flex-direction: column;


  /* spacing around items */
  justify-content: center;
  justify-content: flex-end;
  justify-content: flex-start;
  justify-content: space-around;
  justify-content: space-between;
  justify-content: space-evenly;

  /* alignment of items */
  align-items: center;
  align-items: flex-end;
  align-items: flex-start;
  align-items: stretch;
  align-items: baseline;

  /* comes into play 
    with mutiple lines */
  align-content: space-between;
  align-content: space-around;
  align-content: center;
  align-content: flex-end;
  align-content: flex-start;

  gap: 20px;

  flex-wrap: wrap;
  flex-wrap: nowrap;

  /* default for flex most of the time */

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;


  /* typography ======================= */

  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.5;
  color: #333;

  text-align: center;
  text-align: left;
  text-align: right;

  letter-spacing: 0em;

  text-decoration: dashed;
  text-decoration: dotted;
  text-decoration: line-through;
  text-decoration: underline;


  /* backgrounds and borders =================== */

  background: scroll;
  background-color: #f5f5f5;
  background-image: url(file.png);
  border: 1px solid #ccc;
  border-radius: 8px;

  /* positioning ================================== */

  position: relative;
  position: absolute;
  position: fixed;
  position: sticky;

  top: 0;

  left: 0;

  z-index: 10;


}