@font-face {font-family: "Tovari Sans"; src: url('/themes/frama/TovariSans.ttf');}

body {
  background: url(/themes/frama/img/bg-sky.jpg) no-repeat fixed top center #182424;
  background-size: cover;
  background-position:50% ;
  margin: 0px;
  font-family: BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-size: 1.3rem;
}

header{
  display: inline-block;
  background: #dd6418;
  padding: 1.5rem 1.75rem .5rem;
  border-radius: .5rem;
  color: #fff;
  font-size: 2.4rem;
  font-family: Tovari Sans,sans-serif;
  text-transform: uppercase;
  font-style: normal;
  line-height: 3.5rem;
  margin: -4rem auto 3rem 1rem;
  transform: rotate(-2deg);
  font-size: 4rem;
}

nav {
  font-family: Tovari Sans,sans-serif;
  font-size: 1.6rem;
  position: absolute;
  padding: 0px 0px 0px 745px;
  rotate: 2deg;
  width: 200px;
  }
  

@media (max-width: 1000px) {
  nav {
    position: relative;
    padding: 0px 0px 0px 0px;
    rotate: 0deg;
    width: 100%;
  }
  nav::before {
    content: "☰";
    background-color: #dd6418;
    color: #fff;
    margin: 5px 0px 0px 85%;
    padding: 8px 20px;
    border-radius: .5rem;
    display: inline-block;
    transform: rotate(2deg);
  }
    nav ul {
    display: none;
  }
  nav:hover ul {
    display: block;
  }

}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color:  #725794;
  border-radius: .5rem;
}

nav ul ul {
  list-style-type: none;
  margin: 0px 2rem;
  padding: 0px ;
  background-color:  #725794;
  border-radius: .5rem;
  transition: background-color 2s;
}

nav li a {
  display: block;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: .5rem;
}

nav li a.active {
  background-color:  #725794;
  color: white;
}

nav li a:hover:not(.active) {
   background-color: #dd6418;
   color: white;
}

section{
  background: #edf1f7;
  border-radius: 1.75rem;
  padding: 1.75rem 8rem;
  
  margin: 5rem auto;
  position: relative;
  max-width: 80ch;
  z-index: 1;
}

@media (max-width: 700px) {
  section{
    padding: 1.75rem 2rem;
    margin: 4rem auto;
  }
}

section img {
    max-width: 100%;
    max-height: 500px;
    padding: 5px;
    height: auto;
    margin: auto;
}

@media (max-width: 800px) {
  section img {
      max-width: 100%;
      height: auto;
      margin: 2px;
  }
}

/* ====== Gallery ====== */
.gallery {

  }

.gallery img {
  width: 190px;
  max-height: 190px;
  padding: 6px;
  margin: 8px;
  vertical-align: middle;
  background-color: #fff;
  border: 0px solid #dd6418;
  object-fit: contain;
}

.gallery img:hover{
  border: 0px solid #fff;
  box-shadow: 5px 5px 5px #aaaaaa;
}

@media (max-width: 800px) {
.gallery img {
  width: 190px;
  max-height: 190px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
}

h1{font-size: 2.4rem;}
h2{font-size: 2.4rem; color: #0b1c54;}
h3{font-size: 2.1rem; color: #725794;}

h1, h2, h3 {
  font-family: Tovari Sans,sans-serif;
}

code{
  background-color: #111;
  font-variant: normal ;
  font-family: monospace;
  display: block;
  color: white;
  padding: 10px;
  margin:20px;
  border: 1px solid #444;
}

mark {
  background: #dd6418;
  border-radius: .5rem;
  color: #fff;
  font-style: normal;
  padding: 3px 6px;
}

table, td, th {
    border: 1px solid #725794;
    padding: 4px;
}
th {
    background-color: #725794;
    color: #fff;
    padding: 7px;
}
table {
    width: 100%;
    border-collapse: collapse;
}

@media (max-width: 850px) {
  code{
    padding: 5px;
    margin:0px;
  }
}

footer {
  font-size: 0.9rem;
  color: #00000088;
  }

.framalibre-notice {
  display: flex;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}

.framalibre-notice:not(:last-child) {
  margin-bottom: 3rem;
}

.framalibre-notice > div {
  padding: 1.25rem;
}

.framalibre-notice > div:first-of-type {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 25%;
}

.framalibre-notice img {
  max-width: 70%;
}

.framalibre-notice > div:last-of-type > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.framalibre-notice a {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  color: #cc4e13;
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid #cc4e13;
  background-color: transparent;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.framalibre-notice a:hover {
  color: #fff;
  background-color: #cc4e13;
  border-color: #cc4e13;
}

@media (max-width: 768px) {
  .framalibre-notice {
    flex-direction: column;
  }
}

/* Responsive layout for printing */
@media print{
  nav{display: none}
  section{padding: 2px;} 
}
