/******************** Common ********************/
:root {
  --camo-superdark: rgb(21, 28, 21);
  --camo-dark: rgb(37, 44, 37);
  --camo-normal: rgb(45, 54, 41);
  --camo-light: rgb(253, 243, 205);
  --camo-superlight: rgb(255, 250, 233);
  --color-dark: rgb(60, 60, 60);
  --color-light: rgb(236, 236, 236);
  --color-light-dim: rgb(176, 176, 176);
  --color-link: rgb(241, 81, 27);
  --color-link-fab: rgba(241, 81, 27, .5);
  --max-width: 1200px; /* Bootstrap "xl", see also https://getbootstrap.com/docs/5.0/layout/breakpoints/ */
}

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

@font-face {
    font-family: "Roboto";
    font-weight: 100;
    font-style: normal;
    src: url("Roboto-Thin.woff2") format("woff2"),
         url("Roboto-Thin.woff") format("woff"),
         url("Roboto-Thin.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 100;
    font-style: italic;
    src: url("Roboto-ThinItalic.woff2") format("woff2"),
         url("Roboto-ThinItalic.woff") format("woff"),
         url("Roboto-ThinItalic.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 300;
    font-style: normal;
    src: url("Roboto-Light.woff2") format("woff2"),
         url("Roboto-Light.woff") format("woff"),
         url("Roboto-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 300;
    font-style: italic;
    src: url("Roboto-LightItalic.woff2") format("woff2"),
         url("Roboto-LightItalic.woff") format("woff"),
         url("Roboto-LightItalic.ttf") format("truetype");
}

/******************** Body ********************/
body {
  font-family: "Roboto", sans-serif;
  margin: 0 auto;
  padding-top: 80px;
  background-color: var(--camo-superlight);
  padding-top: 100px; /* 80px + gap to first element for small screen, 100px + logo + gap for larger screens */
}

@media all and (min-width: 769px) { /* Bootstrap "Medium", see also https://getbootstrap.com/docs/5.0/layout/breakpoints/ */
  body {
    padding-top: 220px; /* 80px + gap to first element for small screen, 100px + logo + gap for larger screens */
  }
}

/******************** Links ********************/
a {
  text-decoration: none;
  border: none;
}

nav a, nav a:link, nav a:visited, footer a, footer a:link, footer a:visited {
  color: var(--color-light);
  transition: .3s;
}

main a, main a:link, main a:visited {
  color: var(--color-link);
  transition: .3s;
}

nav a:hover, nav a:focus, nav a:active, main a:hover, main a:focus, main a:active, footer a:hover, footer a:focus, footer a:active {
  color:  var(--color-link);
}

.button-primary {
  padding: 1rem 2rem !important;
  border-radius: 6px;
  color: var(--color-light) !important;
  background-color: var(--color-link);
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 300;
}

/******************** Nav ********************/
nav {
  background-color: var(--camo-normal);
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1;
  min-height: 80px;
}

nav .container {
  display: block;
  width: 100%;
}

.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 300;
}

.menu-item a {
  display: block;
  padding: 25px;
}

.menu-logo {
  order: 0;
  padding: 25px;
}

.menu-logo-small {
  letter-spacing: .15rem;
}

.menu-logo-big {
  padding-left: 1.5rem;
  display: none;
}

.menu-logo-big img {
  position: fixed;
  top: 0px;
}

.menu-toggle {
  order: 1;
  padding: 25px;
}

.menu-item {
  order: 2;
  width: 100%;
  text-align: center;
  display: none;
}

/* Only "menu-item" + "menu-active" shall be visible when active, "menu-logo" + "menu-open/close" is handled separately */
.menu-active .menu-item {
  display: block;
}

.menu-invisible {
  display: none;
}

.menu-visible {
  display: block;
}

#fab-container {
  position: fixed;
  bottom: 40px;
  right: 20px;
  padding: 20px;
  z-index: 1;
}

#fab-link svg path {
  fill: var(--color-link-fab);
}

.fab-invisible {
  display: none;
}

.fab-visible {
  display: block;
}

@media all and (min-width: 769px) { /* Bootstrap "Medium", see also https://getbootstrap.com/docs/5.0/layout/breakpoints/ */
  nav {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  nav .container {
    display: flex;
    justify-content: center;
  }

  .menu {
    /*justify-content: center;*/
    /*flex-wrap: nowrap;*/

    /*width: calc(var(--max-width) - 150px);*/
    width: var(--max-width);
  }

  .menu-logo {
    flex: 1;
  }

  .menu-logo-small {
    display: none;
  }

  .menu-logo-big {
    display: block;
  }

  .menu-item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }

  .menu-toggle {
    display: none;
  }

  #fab-container {
    display: none;
  }

}

/******************** Main ********************/
main {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
  color: var(--color-dark);

}

main section {
  padding-bottom: 50px;
  position: relative; /* For positioning hero-text */
  min-height: 33vh;

}

.hero-img {
  object-fit: cover;
  width: 100%;
  max-height: 80vh;
  margin-top: -20px;  /* Remove "padding-top" of "body" for nav + gap to first element on small screens */
}

.hero-text {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 100;
  color: var(--color-dark);
  text-align: center;
  padding-top: 50px;
  padding-bottom: 30px;
}

main .container {
  max-width: var(--max-width);
  min-width: minmax(87%, var(--max-width));
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

@media all and (min-width: 1200px) { /* Can not use var(--max-width) here */
  main .container {
    margin: 0 auto;
  }
}

main p {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  line-height: 1.4rem;
}

main h1 {
  font-weight: 300;
  padding-bottom: 1.3rem;
  font-size: 1.6rem;
  letter-spacing: .05rem;
  text-align: center;
}

main h2 {
  font-weight: 200;
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  font-size: 1.3rem;
  letter-spacing: .05rem;
  text-align: center;
}

dt {
  font-size: 1.2rem;
  font-weight: 300;
  padding-bottom: .5rem;
  letter-spacing: .05rem;
}


dd {
  font-weight: 300;
  padding-bottom: 1.8rem;
}

dd p {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

main ul {
  list-style: disc;
  margin-left: 2rem;
}

main li {
  padding-top: 0.5rem;

}

main lh {
  margin-left: -2rem;
}

main small {
  font-size: 0.85rem;
}

table {
  border-collapse: separate;
  border-spacing: 0 7px;
  border: 0px;
  width: min(100%, 768px);
}

tr:nth-child(even) {
  background-color: var(--camo-light);
}

th {
  text-align: left;
}

td {
  text-align: right;
  padding-top: 3px;
  padding-bottom: 3px;
  white-space: nowrap;
}

@media all and (min-width: 769px) { /* Bootstrap "Medium", see also https://getbootstrap.com/docs/5.0/layout/breakpoints/ */
  main h1 {
    text-align: left;
  }

  main h2 {
    text-align: left;
  }

  .hero-img {
    margin-top: -120px;  /* Remove "padding-top" of "body" for nav + logo + gap on larger screens */
  }

  .hero-text {
    position: absolute;
    bottom: 150px;
    font-size: 2rem;
    line-height: 2.4rem;
    font-style: italic;
    color: var(--color-light);
    background-color: rgba(10,10,10,0.3);
    border-radius: 15px;
    padding: 30px;
    margin-left: 50px;
  }

  main h1 {
    padding-top: 1.3rem;
  }
}

/******************** news ********************/
section.news {
  padding-top: 40px;
  background-color: var(--camo-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

section.news h1 {
  text-transform: uppercase;
  padding-bottom: 3rem;
}

div.news {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
}

.news-card-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 20px;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--camo-normal);
  max-width: 85%;
  min-width: 320px;
}

.news-card-head-1 {
  background-color: var(--camo-superlight);
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-card-head-1 h1 {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--camo-normal);
  letter-spacing: 0;
}

.news-card-img-1 {
  object-fit: cover;
  width: 100%;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.news-card-content-1 {
  color: var(--color-light);
  padding: 1rem;
}

.news-card-content-1 p {
  padding-bottom: 1rem;
  line-height: 1.5rem;
}

.news-card-content-1 small {
  font-size: .8rem;
  font-weight: 600;
}



/******************** courses ********************/
/* Overview Mobile */
.ovm {

}

/* Overview Desktop */
.ovd {
  display: none;
}

img.course {
  border-radius: 50%;
  border: 8px solid var(--color-link);
  width: 300px;
  height: 300px;
}

section.start {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1.start {
  font-weight: 300;
  font-style: italic;
  padding-top: .5rem;
  padding-bottom: .5rem;
}

h2.start {
  font-size: 1.2rem;
  font-weight: 300;
}

p.start {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

section.course {
  padding-top: 40px;
}

.course h1 {
  text-transform: uppercase;
  padding-bottom: 1rem;
  text-align: center;
}

.container .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: 768px
}

.container .card h1 {
  text-transform: uppercase;
  padding: 0px;
  color: var(--camo-normal);
}

.container .card p {
  padding: 0px;
}

img.aside-img {
  border: 8px solid var(--color-link);
  border-radius: 50%;
  margin-bottom: 1rem;
  width: 100%;
}


@media all and (min-width: 769px) { /* Bootstrap "Medium", see also https://getbootstrap.com/docs/5.0/layout/breakpoints/ */
  .ovm {
    display: none;
  }

  /* Overview Desktop */
  .ovd {
    display: block;
  }

  img.aside-img {
    shape-outside: circle();
    max-width: 40vw;
    margin-left: 2rem;
    float: right;
  }
}




/******************** footer ********************/
footer {
  width: 100%;
  background-color: var(--camo-normal);
  display: flex;
  justify-content: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

footer .container {
  width: var(--max-width);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  color: var(--color-light);
  font-size: 1.05rem;
  line-height: 1.4rem;
  padding-top:  50px;
  padding-bottom: 20px;
  font-weight: 100;
}

footer section {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  /*width: 260px;*/
  max-width: 260px;
  min-width: 180px;
}

footer h1 {
  font-size: 1.3rem;
  font-weight: 200;
  padding-bottom: 1.3rem;
  text-transform: uppercase;
}

footer ul > li {
  padding-bottom: 0.5rem;
}

footer p {
  padding-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer ul.social {
  padding-top: 1.2rem;
}

footer ul.social li {
  display: inline;
  padding-right: 0.8rem;
}

/******************** SVG ********************/
svg path {
  fill: var(--color-light-dim);
  transition: .3s;
}

svg:hover path {
  fill: var(--color-link);
  transition: .3s;
}

svg:focus path {
  fill: var(--color-link);
  transition: .3s;
}

svg:active path {
  fill: var(--color-link);
  transition: .3s;
}
