/* || Global */

* {
  box-sizing: border-box;
}

:root { 
  --dark-black: black;
  --mid-black: #2e2e2e;;
  --white: white;
} 

html {
  font-family: "Rubik", sans-serif;
  font-size: 137.5%;
  -webkit-font-smoothing: antialiased;
  background-color: var(--dark-black);
  scroll-behavior: smooth;
}

/* || Page container */

@media (min-width: 300px) and (max-width: 500px) {
  #container {
    width: 90%;
    margin: 0 auto;
  }
}

@media (min-width: 501px) and (max-width: 800px) {
  #container {
    width: 85%;
    margin: 0 auto;
  }
}

@media (min-width: 801px) {
  #container {
    width: 75%;
    max-width: 1000px;
    margin: 2rem auto;
    display: grid;
    grid-gap: 0rem;
    grid-template-columns: 0.45fr minmax(10px, 1fr);
  }

  aside {
    margin-right: 2rem;
  }

  #title {
    margin-bottom: 1rem;
    grid-column: auto / span 3;
  }

}

/* || Sections */

section {
  padding-bottom: 16px;
}

.sticky {
  position: sticky;
  top: 0;
}

.CTA {
  padding: 1rem 0rem 0rem 0rem;
}

.spacer {
  width: 12px;
}

#footer img {
  vertical-align: middle;
   text-align: justify;
   max-width: 100px;
   border-radius: 50%;
   background-color: var(--white);
}

#overview img {
  width: 100%;
  border-radius: 16px;
  margin-top: 1rem;
}

/* || Typography */

h1 {
  color: #FFFFFF;
  -webkit-text-stroke-width: 1;
  -webkit-text-stroke-color: rgba(7, 102, 35, 0.91);
  font-family: "Rubik Glitch";
  font-size: 2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;

  & img {
    height: 80px;
    vertical-align: text-bottom;
    background: var(--white);
    border-radius: 20px;
  }
}

h2 {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 0.5rem;
  text-align: right;
}

h3 {
  color: var(--white);
  font-size: 1.414rem;
}

h4 {
  color: var(--white);
  font-size: 1rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.6rem;
}

h5 {
  color: var(--mid-black);
  font-size: 1rem;
  font-weight: 900;
  margin-block-start: 1.5rem;
  margin-block-end: 0rem;
  text-transform: uppercase;
}

h6 {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.2rem;
  color: var(--white);
  font-style: italic;
}

details, p {
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

details {
  cursor: pointer;
}

p, summary, details, input, textarea, button[type="submit"] {
  color: white;
  background-color: var(--mid-black);
  font-family: Rubik;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2rem;
}

form {
  font-weight: bold;
  border: 2px white solid;
  border-radius: 8px;
  padding: 10px;
  width: 90%;
  margin: 1rem auto 5px;

  & label {
    display: block;
    padding: 5px 0;
  }

  & input {
    height: 30px;
    margin-bottom: 0.5rem;
  }

  & textarea, input {
    width: 95%;
    outline: none;
    border-radius: 2px;
    background-color:  var(--white);
    color: var(--mid-black);
    border: transparent;
    outline: var(--white);
  }

  & button[type="submit"] {
    color: var(--white);
    background-color: var(--dark-black);
    width: 95%;
    margin-top: 15px;
    outline: none;
    border: var(--white) 1px solid;
    border-radius: 5px;
    font-size: larger;
    font-weight: bold;
    line-height: 1.75rem;

    &:hover {
     border: 1px dashed var(--white);
     color: yellow;
    }
  } 
}

a, summary {
  color: #FFFFFF;
} 

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

/* || Lists */

ul {
  list-style-type: none;
  padding-inline-start: 0;
  margin-top: 0;
}

li {
  padding-bottom: 10px;
  padding-left: 20px;
  color: #FFFFFF;
}

/* || Links */

.nav-link {
  color: var(--white);
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.nav-link:hover, summary:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--white);
}

details {
  padding-bottom: 15px;
}

/* || Buttons */

.button {
  width: 10rem;
  border-radius: 8px;
  color: var(--white);
  background-color: var(--mid-black);
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  height: 60px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 0.35em 1em;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin-top: 16px;
  margin-bottom: 8px;
}

.secondary {
  border-style: solid;
  border-color: var(--mid-black);
  color: #FFFFFF;
  background-color: transparent;

  &:hover, &:focus {
    background-color: var(--mid-black);
    color: #000000;
  }
}


.primary {
  border-style: none;
  background-color: var(--dark-black);
  color: var(--white);;
  font-weight: bold;
  font-size: larger;
  height: 100%;
  border: 1px solid var(--white);

  &:hover, &:focus{
      color: yellow;
      border: 1px dashed var(--white);
  }
}


/* || Misc */

hr {
  border: 0.5px solid;
  color: var(--mid-black);
}

.hidden {
  display: none;
}
