/*
Theme Name: Foamcastle
Description: A theme created for foamcastle.gr
Version: 1.0
*/
@import url('./assets/css/glightbox.min.css');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

/* reset start */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* reset end */
:root {
  /* --page-bg: #fffcf5; */
  --page-bg: #fff;
  --menu-width: 486px;
  --secondary-font: Helvetica, sans-serif;
  --big-font: 100px;
  --side-padding: 50px;
  /* --menu: #ff7d1a; */
  /* --overlay: rgba(255, 109, 0, 0.11); */
  /* --gradient: linear-gradient(180deg,rgba(255,125,26,1),rgba(255,125,26,0.1)); */
  --menu: #c0d2d3;
  --overlay: rgb(131 152 152 / 29%);
  /* --gradient: linear-gradient(180deg, #6d8d8d, rgba(255, 125, 26, 0.1)); */
  --gradient: linear-gradient(180deg, #bccece, rgba(255, 255, 255, 0));
  --site-width: 1000px;
}
body {
  font-family: 'Questrial', sans-serif;
  background-color: var(--page-bg);
  color: #000;
}

h1 {
  font-size: 40px;
  margin-bottom: 30px;
}

h2 {
  font-size: 40px;
  margin-bottom: 30px;
}
h4 {
  font-size: 22px;
  margin: 15px 0 10px 0;
}
p {
  line-height: calc(1em * 2);
}
header {
  padding: 0 var(--side-padding) 22px var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main {
  padding: 70px var(--side-padding) 0 var(--side-padding);
}

.site-container {
  margin: 0 auto;
  width: 100%;
  max-width: var(--site-width);
  padding: 0 20px;
  margin-bottom: 100px;
}
.site-container a {
  text-decoration: underline;
}

.header-logo {
  height: 160px;
  margin-top: 20px;
}

#title {
  display: block;
  font-size: var(--big-font);
  margin-top: 45px;
}
#subTitle {
  font-size: 25px;
}
#menu {
  font-size:  var(--big-font);
}

#projects h1 {
  font-size: 40px;
  margin-bottom: 30px;
}
#projects h2 {
  font-size: 22px;
  margin: 15px 0 10px 0;
}
.projects-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}
.project-list-item {
  display: block;
  width: calc(98% / 3);
  margin-bottom: 100px;
}
.project-list-item figure {
  position: relative;
}
.project-list-item figure img {
  width: 100%;
  height: auto;
}
.project-list-item figure:before {
  content: "";
  position: absolute;
  background: var(--gradient) !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all .4s ease;
}
.project-list-item figure:hover:before {
  opacity: 1;
}
.project-list-item p {
  font-size: 17px;
}
.project-list-text div {
  max-width: 830px;
  margin: 0 auto;
}
.project-list-text {
  width: 100%;
  flex: 0 0 100%;
  padding: 70px 20px;
  font-size: 40px;
  line-height: 56px;
  margin: 0 auto;
}
footer {
  width: 100%;
  margin-bottom: 50px;
  margin-top: 50px;
}
footer > section:first-child {
  width: 100%;
  border-bottom: 1px solid #000;
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}
footer > section:first-child a {
  font-size:  var(--big-font);
  margin-bottom: 30px;
}
footer > section:last-child {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}
footer nav {
  display: flex;
  flex-direction: column;
}
footer nav a {
  font-size: 30px;
  margin-bottom: 20px;
}
footer nav:last-child a {
  text-align: right;
  text-transform: uppercase;
  font-size: 17px;
}
footer > section section {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
}
footer > section section a {
  font-size: 40px;
}

/* .hidden {
  display: none;
} */

#side-menu {
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: var(--overlay);
  transition: opacity .3s ease;
}
#side-menu > section {
  width: var(--menu-width);
  top: 0px;
  right: calc( 0% - var(--menu-width));
  height: 100vh;
  position: absolute;
  background: var(--menu);
  padding: 100px;
  display: flex;
  align-items: center;
  transition: all .3s ease;
}
#side-menu nav {
  display: flex;
  flex-direction: column;
}
#side-menu nav a:hover {
  color: #3d3838;
}
#side-menu nav:first-child {
  margin-bottom: 40px;
}
#side-menu nav:first-child a {
  font-size: 40px;
  margin-bottom: 40px;
}
#side-menu nav:last-child a {
  text-transform: uppercase;
  font-size: 17px;
  margin-bottom: 20px;
}
#side-menu.menu-open {
  left: 0;
}
#side-menu.menu-open > section {
  right: 0;
}

#close-menu {
  position: absolute;
  top: 20px;
  right: 30px;
  background: transparent;
  cursor: pointer;
  border: none;
  outline: none;
}
#close-menu svg{
  width: 35px;
  height: 35px;
}

.credits h2 {
  font-size: 30px;
  margin: 0 0 10px 0;
}
.credits {
  font-size: 17px;
}
.project-content h1 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 10px;
}
.project-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.project-description {
  margin: 0 100px;
  font-size: 30px;
  font-weight: 400;
  width: 100%;
  max-width: 560px;
  font-size: 30px;
  line-height: 42px;
}
.project-website {
  font-size: 20px;
  text-decoration: underline;
  font-weight: 700;
  /* font-family: var(--secondary-font); */
}
.project-content .tags {
  margin-bottom: 80px;
}
.project-content .tags:empty {
  display: none;
}
.project-content .tags a {
  font-size: 17px;
}
.project-content .tags a:hover {
  text-decoration: underline;
}
.project-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 150px;
}
.gallery-link {
  margin: 0 0 50px 0;
}
.gallery-link img {
  width: 100%;
  height: auto;
}
.gallery-orientation-landscape {
  width: 100%;
  flex: 0 0 100%;
  /* height: auto; */
}
.gallery-orientation-portrait {
  width: 49%;
  flex: 0 0 49%;
  /* height: auto; */
}
.posts-navigation {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 20px 0 100px 0;
}
.posts-navigation a {
  font-size: 20px;
  text-decoration: underline;
}
.glightbox-mobile .goverlay,
.goverlay {
  background: #fffcf5;
}
.glightbox-clean .gclose path, .glightbox-clean .gnext path, .glightbox-clean .gprev path {
  fill: #000;
}
.glightbox-clean .gclose:hover, .glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover,
.glightbox-clean .gclose, .glightbox-clean .gnext, .glightbox-clean .gprev {
  background-color: transparent;
}

body.page-contact-us {
  background: var(--gradient);
}


.article-full {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.article-full p {
  line-height: 1.8;
}

.list {
  list-style-type: disc;
  list-style-position: inside;
  line-height: 22px;
}

@media (max-width: 781px) {
	.hide-on-mobile {
		display: none;
	}
	.has-large-font-size.page-into-text,
	.page-into-text {
		font-size: 17px !important;
	}
}

@media screen and (max-width: 950px) {
  :root {
    --big-font: 70px;
  }
  .project-list-item {
    width: calc(98% / 2);
  }
}
@media screen and (max-width: 740px) {
  :root {
    --big-font: 40px;
    --side-padding: 20px;
  }
  .header-logo {
    width: 80%;
    margin: 0 auto;
    display: block;
  }
  header {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .project-list-item {
    width: 100%;
  }
  footer > section:last-child {
    flex-wrap: wrap;
  }
  footer > section:last-child > * {
    align-items: center;
  }
  .project-content {
    flex-wrap: wrap;
  }
  .project-description {
    font-size: 17px;
    line-height: 20px;
    max-width: 100%;
    margin: 40px 0;
  }
  .project-gallery {
    margin-top: 40px;
  }
  .gallery-orientation-portrait {
    width: 100%;
    flex: 0 0 100%;
  }
  footer>section:first-child {
    flex-direction: column;
    align-items: center;
  }
  footer>section:last-child {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  footer>section:last-child nav:first-child,
  footer>section:last-child nav:last-child {
    order: 1;
  }
  footer>section:last-child > section {
    order: 2;
    gap: 40px;
  }
}