* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
   --color-black: #000;
  --color-white: #fff;
  --color-red: #e40726;
  --color-grey: #777;
  --color-light: #efefef;
  --color-petrol: #007478;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  width: 25vw;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
  color: var(--color-white);
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  font-size: 1em;
  font-style: italic;
  background: none;
  color: var(--color-white);
  cursor: pointer;
  display: block;
  border: 2px solid;
  border-radius: .5em;
  padding: .5em 1em;
  margin: 0.2em;
}
button:hover {
  box-shadow: 5px 5px 3px gray;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}
main{
  background-color: #007478;
  padding:0.5em;
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: relative;
  /* display: flex; */
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #007478;
}

.footer {
  border-top: 1px solid #007478;
}


.logo {
  vertical-align: middle;
  width: 15em;
  margin-bottom: 0.5;
}

.logoFooter {
  vertical-align: middle;
  width: 15em;
  margin-bottom: 0.5;
}


.section {
  padding: 3rem 0;
}

.flexbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.grid {
  --columns: 12;
  --gutter: 0.2rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
  /* background-color: #007478; */
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1 {
  font-size: 2rem;
  font-weight: inherit;
  line-height: inherit;
  color: var(--color-white);
  padding-top: 1rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: inherit;
  line-height: inherit;
  color: var(--color-white);
  padding-top: 1rem;
}

h3, h4, h5, h6 {
  font-size: inherit;
}

.bullets {
  margin-left: 1rem;
}

.bullets li {
  list-style: disk;
}

.bullets li::marker {
  color: var(--color-white);
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

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

.about, .content {
  color: var(--color-white);
  font-size: 1.2rem
  margin-left:4rem;
  margin-right:4rem
}

.content {
  margin-left: 1rem;
}

.content ul li {
  list-style: circle;
  padding-top: 0.3rem;
}

.content a{
  color: yellow;
}
.content ul li::marker {
  color: var(--color-white);
}
.footer {
  /* padding: 9rem 0 6rem; */
  line-height: 1.5em;
  background-color: var(--color-white);
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
  /* color: var(--color-white); */
}
.footer img {
  margin-left: 0.5rem;
}
.footer ul,
.footer p {
  /* background-color: #007478; */
  /* color: var(--color-white); */
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}

.link {
  color: yellow;
}
nav {
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  margin-right: 20px;
  font-size: 1.5rem;
}

nav ul li a {
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--color-grey);
}

nav a[aria-current] {
  text-decoration: underline;
}


.checkbtn {
  font-size: 2rem;
  color: var(--color-red);
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

@media (max-width: 768px) {
  .checkbtn {
    display: block;
    order: 1;
    margin-right: 20px;
  }

  nav ul {
    position: fixed;
    top: 7rem;
    right: -100%;
    background-color: var(--color-petrol);
    width: 100%;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
  }

  nav ul li {
    margin: 20px 0;
  }

  nav ul li a {
    color: var(--color-white);
    font-size: 1.7rem;
  }

  .logo {
    width: 12em;
  }
  .logoFooter {
    width: 12em;
  }

  #check:checked ~ ul {
    right: 0;
  }
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 0.5rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

  img {
    width: 15vw;
  }
  .flexbox img {
    margin: 1em 0.5em;
    padding: 0.5em;
  }
}

@media screen and (min-width: 40em) {
  img {
    width: 25;
  }

  .logo {
    width: 20em
  }
  .logoFooter {
    width: 20em
  }

  .menu a {
    font-size: 1.5em;
  }

  button {
    font-size: 1.5em;
  }
}
