/*
Theme Name: Oghistos Theme
Text Domain: Oghistos Theme
Description: Oghistos PAAEP Wordpress Theme
Version: 1.1
Author: Theofilos Vlachogkountis
Author URI: https://github.com/TheoGoudis
*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: "Roboto", "Arial", sans-seriff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: html primary-text-color;
}
@media only screen and (min-width: 769px) {
  html {
    font-size: 18px;
  }
}
@media only screen and (min-width: 1025px) {
  html {
    font-size: 20px;
  }
}
@media only screen and (min-width: 1201px) {
  html {
    font-size: 22px;
  }
}
@media only screen and (min-width: 1921px) {
  html {
    font-size: 24px;
  }
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

p {
  color: #1a1a1a;
  margin: 0;
  font-weight: 400;
}

.navbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  top: 0;
  position: fixed;
  box-shadow: 0px 0px 4px rgb(0, 0, 0);
  z-index: 10;
}
.navbar_top {
  display: flex;
  flex-direction: row;
  height: 60px;
  background-color: #3b3939;
  justify-content: center;
  align-items: center;
  gap: 130px;
  color: #e4e4e4;
  transition: height 0.6s ease-out;
}
@media only screen and (min-width: 769px) {
  .navbar_top {
    gap: 240px;
  }
}
.navbar_top :nth-child(1) {
  width: 300px;
  text-align: right;
  font-size: 1.4rem;
  font-weight: 500;
  color: inherit;
  padding: 0;
}
.navbar_top :nth-child(2) {
  width: 300px;
  text-align: left;
  font-size: 0.7rem;
  line-height: 0.7rem;
  font-weight: 400;
  color: inherit;
  position: relative;
  z-index: 3;
  padding: 0;
}
.navbar_top :nth-child(3) {
  width: 300px;
  text-align: left;
  font-size: 1.3rem;
  font-weight: 400;
  color: inherit;
  position: relative;
  z-index: 3;
  display: none;
  padding: 0;
}

.navbar_top:before {
  left: 60px;
  top: -1px;
  transform: rotateZ(45deg);
}

.navbar_top:after {
  right: 60px;
  top: -1px;
  transform: rotateZ(135deg);
}

.navbar_top:after,
.navbar_top:before {
  background: linear-gradient(to left, hsla(0deg, 0%, 0%, 0.212) 0%, hsla(0deg, 0%, 100%, 0) 100%);
  content: "";
  height: 100px;
  position: relative;
  width: 20px;
  display: none;
}
@media only screen and (min-width: 1201px) {
  .navbar_top:after,
  .navbar_top:before {
    display: block;
  }
}

#top-menu {
  height: 40px;
  z-index: 19;
  background: #5f1a25;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 130px;
}
@media only screen and (min-width: 769px) {
  #top-menu {
    gap: 240px;
  }
}
#top-menu .menu-item {
  height: inherit;
  width: 100px;
  list-style: none;
  display: flex;
}
#top-menu .menu-item :hover {
  background-color: #6d0c1c;
}
#top-menu .menu-item a {
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #e4e4e4;
  font-size: 0.8rem;
  flex: 1 1 0;
  padding: 0 10px;
}

#logo {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 50%;
  margin-left: -60px;
  width: 120px;
  height: 120px;
  background: url(assets/img/logo_shadowed.png) no-repeat center/contain;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.3));
  transition: height 0.6s ease-out, filter 1s;
}
#logo:hover {
  filter: drop-shadow(0 1px 10px rgba(255, 255, 255, 0.8));
}

.scroll.navbar .navbar_top {
  height: 40px;
  transition: height 0.6s ease-out;
}
.scroll.navbar .navbar_top :nth-child(2) {
  display: none;
  transition: transform 1s 0s;
}
.scroll.navbar .navbar_top :nth-child(3) {
  display: block;
  transition: transform 1s 0s;
}
.scroll.navbar #logo {
  height: 100px;
  transition: height 0.6s ease-out, filter 1s;
}

#logo.scroll {
  height: 100px;
  width: 100px;
}

.hero {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  padding-top: 100px;
  background-color: #3b3939;
}
.hero_post {
  width: 100%;
  height: 40vh;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: right;
}
.hero_post_txt {
  margin: 0 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  color: #e4e4e4;
  font-size: 1rem;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  gap: 1.5rem;
  height: 30vh;
  padding: 0;
}
.hero_post_txt :nth-child(1) {
  font-size: 2.6rem;
  line-height: 2.6rem;
  font-weight: 600;
  color: inherit;
  padding: inherit;
}
@media only screen and (min-width: 769px) {
  .hero_post_txt :nth-child(1) {
    font-size: 2rem;
    line-height: 2rem;
  }
}
.hero_post_txt :nth-child(2) {
  font-size: 1.5rem;
  line-height: 2.2rem;
  font-weight: 500;
  color: inherit;
  padding: inherit;
}
@media only screen and (min-width: 769px) {
  .hero_post_txt :nth-child(2) {
    font-size: 1.3rem;
    line-height: 2rem;
  }
}
.hero_post_txt :nth-child(3) {
  font-size: 1;
  line-height: 1;
  font-weight: 500;
  color: inherit;
  padding: inherit;
}
@media only screen and (min-width: 769px) {
  .hero_post_txt {
    margin: 0 10%;
  }
}
.hero_post img {
  display: none;
  height: 260px;
  border-radius: 20px;
}

.hero_button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  width: 120px;
  min-height: 42px;
  min-width: 120px;
  font-size: 14px;
  font-weight: 500;
  align-self: flex-end;
  border: none;
  text-decoration: none;
  cursor: pointer;
  color: #e4e4e4;
  background-color: #5f1a25;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);
}
@media only screen and (min-width: 1201px) {
  .hero_button {
    font-size: 16px;
    height: 52px;
    width: 150px;
  }
}
.hero_button:hover {
  background-color: #6d0c1c;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
}
.hero_button:active {
  background-color: #1a1a1a;
}

#main {
  background-color: #3b3939;
  background-image: url(assets/img/og-main-bg.png);
  background-attachment: fixed;
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-items: stretch;
  width: 100%;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-8700px);
  }
}
.supporters {
  display: flex;
  flex-direction: row;
  height: 80px;
  margin-left: 0px;
  margin-top: -40px;
  align-items: center;
  justify-content: left;
  background-color: #5f1a25;
  box-shadow: 0px 0px 4px rgb(0, 0, 0);
}
@media only screen and (min-width: 769px) {
  .supporters {
    margin-left: 80px;
  }
}
.supporters span {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 100%;
  color: #e4e4e4;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 20px;
  display: none;
}
@media only screen and (min-width: 769px) {
  .supporters span {
    display: flex;
  }
}
.supporters .slider {
  height: inherit;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.supporters .slider .slide-track {
  display: flex;
  flex-direction: row;
  width: 17400px;
  height: inherit;
  animation: scroll 160s linear infinite;
}
.supporters .slider .slide-track .slide {
  height: inherit;
  width: 150px;
  -o-object-fit: fill;
     object-fit: fill;
}
.supporters .slider:hover > .slide-track {
  animation-play-state: paused;
}
.supporters .slider:before {
  left: 0;
  top: 0;
}
.supporters .slider:after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.supporters .slider:after,
.supporters .slider:before {
  background: linear-gradient(to right, #5f1a25 0%, hsla(0deg, 0%, 100%, 0) 100%);
  content: "";
  height: inherit;
  position: absolute;
  width: 200px;
  z-index: 2;
  visibility: hidden;
}
@media only screen and (min-width: 769px) {
  .supporters .slider:after,
  .supporters .slider:before {
    visibility: visible;
  }
}

.top_article {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  margin: 40px 0px;
  background: none;
  color: #e4e4e4;
  text-align: center;
  padding: 0;
}
@media only screen and (min-width: 769px) {
  .top_article {
    margin: 80px 80px 0 80px;
  }
}
@media only screen and (min-width: 1025px) {
  .top_article {
    margin: 80px 100px 0 100px;
  }
}
@media only screen and (min-width: 1201px) {
  .top_article {
    margin: 80px 120px 0 120px;
  }
}

.video-container {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 60px 0 0 0;
}
.video-container .video-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-content: flex-start;
  padding: 0;
  left: 50%;
  background: url(assets/img/video-accent.png) no-repeat top center/contain;
  text-decoration: none;
  color: #e4e4e4;
  height: 40px;
  width: 120px;
  margin-left: -60px;
  top: -4px;
  font-size: 0.6rem;
}
@media only screen and (min-width: 1201px) {
  .video-container .video-btn {
    height: 50px;
    width: 160px;
    margin-left: -80px;
    top: -8px;
  }
}
.video-container .youtube-video {
  box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.8);
  width: 100%;
  aspect-ratio: 16/9;
}

article {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.8);
  margin: 40px 0px;
}
@media only screen and (min-width: 769px) {
  article {
    margin: 80px;
  }
}
@media only screen and (min-width: 1025px) {
  article {
    margin: 80px 100px;
  }
}
@media only screen and (min-width: 1201px) {
  article {
    margin: 80px 120px;
  }
}
article .article-head-image {
  padding: 0;
  height: 200px;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media only screen and (min-width: 769px) {
  article .article-head-image {
    height: 300px;
  }
}
@media only screen and (min-width: 1025px) {
  article .article-head-image {
    padding: 10px;
    height: 500px;
  }
}
article .article-title {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.3rem;
  text-align: center;
  margin-top: -2.1rem;
  padding: 0.8rem;
  color: #e4e4e4;
  background-color: #5f1a25;
}
article .container {
  width: 100%;
  padding: 0 1rem 1rem 1rem;
}
@media only screen and (min-width: 1025px) {
  article .container {
    padding: 0 3rem 3rem 3rem;
  }
}
article .container .article-inner-container {
  margin-top: 2rem;
  padding-top: 2rem;
}
article .container .location {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.map {
  height: 400px;
  width: 100%
}
article .container .announcment {
  border: 1px solid rgba(56, 56, 56, 0.3);
  padding: 1rem;
}
article .container .upourgos {
  border: 1px solid rgba(56, 56, 56, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 40px;
  margin-top: 6rem;
  padding: 1rem;
  font-size: 1rem;
}
article .container .upourgos .upourgos-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -90px;
  align-self: center;
  text-align: center;
  font-size: 1rem;
}
article .container .upourgos .upourgos-img img {
  height: 120px;
  width: 120px;
}
article .container .upourgos .emblem {
  justify-content: left;
  display: flex;
  flex-direction: column;
  text-align: left;
}
article .container .upourgos .emblem img {
  height: 80px;
  width: 80px;
  padding: 5px;
}
article .container .upourgos .date {
  text-align: right;
  font-weight: 600;
}
article .container .upourgos .upourgos-sig {
  text-align: center;
}
article .container .media {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  gap: 1rem;
}
article .container .media .news-article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  height: 200px;
  text-decoration: none;
}
article .container .media .news-article img {
  min-height: 150px;
  height: 150px;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-weight: 300;
  background-color: #5f1a25;
  color: #e4e4e4;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 40px 40px;
}
@media only screen and (min-width: 769px) {
  .footer {
    padding: 40px 80px;
  }
}
@media only screen and (min-width: 1025px) {
  .footer {
    padding: 40px 100px;
  }
}
@media only screen and (min-width: 1201px) {
  .footer {
    padding: 40px 120px;
  }
}
.footer .logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 400;
}
.footer .logo img {
  height: 80px;
  width: 80px;
}
.footer .social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 80px;
  gap: 0.5rem;
}
.footer .social a img {
  height: 40px;
  width: 40px;
}
.footer span {
  font-size: 0.5rem;
}

.og-center-image {
  margin: 1rem auto;
}

.page-container {
  min-height: 90vh;
  padding-top: 140px;
  background-color: #3b3939;
}
.page-container a {
  text-decoration: none;
}
.wp-block-gallery {
  margin: 40px 0px;
}
@media only screen and (min-width: 769px) {
  .wp-block-gallery {
    margin: 80px 80px 0 80px;
  }
}
@media only screen and (min-width: 1025px) {
  .wp-block-gallery {
    margin: 80px 100px 0 100px;
  }
}
@media only screen and (min-width: 1201px) {
  .wp-block-gallery {
    margin: 80px 120px 0 120px;
  }
}
.in-article-full-button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  text-decoration: none;
  cursor: pointer;
  color: #e4e4e4;
  background-color: #5f1a25;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.6);
  margin: 40px 0;
}
.in-article-full-button:hover {
  background-color: #6d0c1c;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.6);
}
.in-article-full-button:active {
  background-color: #1a1a1a;
}