/*
	Theme Name: Andrea El-Akshar WP Theme
	Description: Andrea El-Akshar
	Version: 3.0.1
	Author: heiko sachs
*/
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/Alegreya-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/Alegreya-Italic.ttf") format("truetype");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 500;
  src: url("fonts/Alegreya-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: italic;
  font-weight: 500;
  src: url("fonts/Alegreya-MediumItalic.ttf") format("truetype");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: normal;
  font-weight: 600;
  src: url("fonts/Alegreya-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Alegreya Sans";
  font-style: italic;
  font-weight: 600;
  src: url("fonts/Alegreya-BoldItalic.ttf") format("truetype");
}
html {
  font-size: 100%;
  font-family: "Alegreya Sans", sans-serif;
}

h1 {
  font-size: 1.625rem;
  font-weight: 400;
}

h2 {
  font-size: 1.3125rem;
}

h3 {
  font-size: 1.1875rem;
}

p {
  font-size: 1.1875rem;
}

body {
  background-color: #000;
  color: #fff;
}
body #burger .line {
  background-color: #fff;
}
body a,
body a:hover,
body a:active,
body a:visited {
  color: #fff;
}
body .header-inner {
  background-color: #000;
}

.single {
  background-color: #fff;
  color: #000;
}
.single #burger .line {
  background-color: #000;
}
.single a,
.single a:hover,
.single a:active,
.single a:visited {
  color: #000;
}
.single .header-inner {
  background-color: #fff;
}
.single nav {
  background-color: #fff;
}

header nav {
  padding: 2rem;
}

header .title-and-burger {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 2rem;
}
@media (max-width: 841px) {
  header .title-and-burger {
    margin: 0 1rem;
  }
}
header .title-and-burger a {
  text-decoration: none;
}
header .title-and-burger .logo-title {
  font-weight: 300;
  font-size: clamp(16px, 4vw, 25px);
}

header .logo {
  margin-left: 2rem;
  margin-right: 2rem;
  padding: 10px 0 0;
  max-width: 500px;
  height: 150px;
}
@media (max-width: 841px) {
  header .logo {
    margin-left: 1rem;
    margin-right: 1rem;
    height: 100px;
    max-width: calc(100% - 50px - 2rem);
  }
}
header .logo img {
  max-height: 100%;
  vertical-align: top;
}

#burger {
  position: absolute;
  transform: translate(8px, 21px);
  right: 0;
  top: calc(50% - 25px);
  margin-right: 1rem;
  z-index: 9;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

#burger .line {
  position: absolute;
  display: block;
  left: 10px;
  width: 30px;
  height: 2px;
  transition: 0.2s ease-out;
  transform-origin: center;
}
#burger .line:nth-child(1) {
  top: 12px;
}
#burger .line:nth-child(2) {
  top: 20px;
}
#burger .line:nth-child(3) {
  top: 28px;
}

.burger-open header #burger .line:nth-child(1) {
  transform: translateY(8px) rotate(-45deg);
}
.burger-open header #burger .line:nth-child(2) {
  opacity: 0;
}
.burger-open header #burger .line:nth-child(3) {
  transform: translateY(-9px) rotate(45deg);
}
.burger-open header nav {
  display: block;
}

@media (max-width: 841px) {
  header {
    position: relative;
    height: 150px;
  }
  header nav {
    display: none;
    position: absolute;
    top: 150px;
    width: 100%;
    height: calc( 100vh - 150px + 20px);
    overflow: auto;
    background-color: #000;
  }
  .header-inner {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 99;
    width: 100%;
    max-width: 100vw;
    height: 150px;
    background-color: #ccc;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  }
  .scroll-down:not(.burger-open) .header-inner {
    transform: translateY(-100%);
    opacity: 0;
  }
}
@media (max-width: 841px) {
  header {
    height: 100px;
  }
  header nav {
    top: 100px;
    height: calc( 100vh - 100px + 20px);
  }
  .header-inner {
    height: 100px;
  }
}
@media (min-width: 840px) {
  header {
    position: fixed;
    width: 300px;
    height: 100vh;
    overflow: hidden;
  }
  header nav {
    position: absolute;
    top: 150px;
    width: 350px;
    height: calc(100% - 150px + 20px);
    overflow: scroll;
  }
  header #burger {
    display: none;
  }
}
@media (min-width: 1200px) {
  header {
    width: 450px;
  }
  header nav {
    width: 500px;
  }
}
header nav a {
  cursor: pointer;
  text-decoration: none;
}
header nav ul {
  padding-left: 0;
  list-style: none;
}
header nav ul ul {
  padding-left: 1rem;
}
header nav li {
  font-size: 1.625rem;
  line-height: 1.6em;
}
header nav li li {
  font-size: 1.3125rem;
}
header nav li:last-child {
  margin-bottom: 2rem;
}
header nav .sub-menu {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.2s linear;
  opacity: 1;
}
header nav .active > .sub-menu {
  max-height: 1500px;
}

.current-menu-item > a, .current-menu-ancestor > a {
  font-weight: bold;
}

main {
  padding: 2rem 1rem;
  max-width: 1000px;
}

@media (min-width: 840px) {
  main {
    margin-top: 150px;
    margin-left: 300px;
  }
}
@media (min-width: 1200px) {
  main {
    margin-left: 450px;
  }
}
.single-post .wp-block-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.blocks-gallery-item__caption {
  display: none;
}

footer {
  margin-top: auto;
  padding: 1em 0;
  padding: 1rem;
}

@media (min-width: 840px) {
  footer {
    margin-left: 300px;
  }
}
@media (min-width: 1200px) {
  footer {
    margin-left: 450px;
  }
}
body {
  opacity: 0;
  animation: fade-in-body 0.3s linear forwards;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@keyframes fade-in-body {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* clear */
.clear:before,
.clear:after {
  content: " ";
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  *zoom: 1;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

a:focus {
  outline: 0;
}

a:hover,
a:active {
  outline: 0;
}

input:focus {
  outline: 0;
  border: 1px solid #04A4CC;
}

/*------------------------------------*\
    HELPER
\*------------------------------------*/
/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-webkit-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

::-moz-selection {
  background: #04A4CC;
  color: #FFF;
  text-shadow: none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #FFF;
  border: 1px solid #F0F0F0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.wp-block-image img {
  height: auto;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  .ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
    content: "";
  }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr, img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 0.5cm;
  }
  p,
h2,
h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
h3 {
    page-break-after: avoid;
  }
}

/*# sourceMappingURL=style.css.map */
