/*********************** CSS Reset **************************/
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

@font-face {
	font-family: 'Unicorn';
	src: url('UnicornParty.ttf'); /* IE9 Compat Modes */
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them 
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}*/

body {
  background-color: var(--accent-color);
  background-size: 20px 20px;
  background-image:
    linear-gradient(to right, var(--compli-2-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--compli-2-color) 1px, transparent 1px);
  background-position: left;
  font-family: Inter;
  color: white;
  overflow: hidden;
}

/* Selection */
::selection {
  background: var(--compli-color);
}

a {
  color: inherit;
  transition: all 200ms;
}

a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/************************* Variables ***************************/
:root {
  --light-color: #9c9c9c;
  --accent-color: #fe0cfd; 
  --accent-2-color: #13fd76; 
  --compli-color: #13fd76;
  --compli-2-color: #4a75ff;
  --grey-color: #7c7c7c;
}

/************************* Header Stylings *********************/

header {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 99;
  pointer-events: none;
}

header svg:nth-of-type(1) {
  fill: transparent;
  position: absolute;
  top: 0;
  right: 0;
  margin: 40px;
}

header img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 400px;
}

.logo {
  width: 10%;
  margin: 40px 40px;
}

@media only screen and (max-width: 435px)  {
  header svg:nth-of-type(1) {
    width: 70px;
    top: -70px;
    margin: 0;
  }
  header img {
    width: 250px;
  }
}

@media only screen and (min-width: 1940px) {
  header svg:nth-of-type(1) {
    width: 280px;
    height: 280px;
  }
  header circle {
    cx: 140 !important;
    cy: 140 !important;
    r: 140 !important;
  }
}

/************************ Menu Stylings *************************/
.burger {
  right: 50px;
  top: 50px;
  left: unset;
  height: 40px;
  width: 40px;
  pointer-events: auto;
  cursor: pointer;
}

.menu {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  background: var(--compli-color);
}

.tapsi-visual {
  background: #000;
  background-size: 20px 20px;
  background-image:
    linear-gradient(to right, var(--compli-2-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--compli-2-color) 1px, transparent 1px);
  background-position: center;
  width: 40%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.menu .nav-menu {
  margin: 0 0 40px 0;
}

.menu ul li {
  font-size: 45px;
  font-weight: 600;
  letter-spacing: -4px;
}

.menu .social {
  display: flex;
  gap: 50px;
}

.menu ul li img {
  height: 50px;
}

/*** Newsletter ***/
.newsletter {
  border-top: 2px solid white;
  padding-top: 40px;
}

.newsletter label {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -1px;
}

.newsletter .submit-box {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.newsletter input {
  padding: 16px 20px;
  margin: 10px 0;
  border-radius: 6px;
  border: 0;
}

.newsletter #email {
  width: 40%;
}

.newsletter #submit {
  background-color: var(--compli-2-color);
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms;
}

.newsletter #submit:hover {
  background-color: #222;
}

.newsletter a {
  color: var(--accent-2-color);
  font-weight: 600;
  font-size: 14px;
}

.menu img.tiff {
  width: 220px;
  margin-bottom: 20px;
}

@media only screen and (max-width: 435px)  {
  .burger {
    right: 20px;
    top: 20px;
    height: 30px;
    width: 30px;
    margin: 20px;
  }
  .tapsi-visual {
    background-size: 20px 20px;
    width: 100%;
    height: 20%;
    bottom: 0;
  }
  .menu {
    position: absolute;
    background: var(--compli-color);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }
  .menu ul li {
    font-size: 20px;
    letter-spacing: -2px;
  }
  .menu img.tiff {
    width: 180px;
  }
  .menu .social {
    gap: 30px;
  }  
  .menu ul li img {
    height: 30px;
  }
  .newsletter p {
    margin-bottom: 0;
  }
  .newsletter label {
    font-size: 16px;
    letter-spacing: -1px;
  }
  .newsletter .submit-box {
    margin-bottom: 0;
  }
  .newsletter input {
    padding: 10px 16px;
  }
  .newsletter #email {
    width: 100%;
  }
  .newsletter a {
    font-size: 12px;
  }
}

@media only screen and (max-width:900px) {
  .menu ul li img {
    height: 30px;
  }
  .menu ul li {
    font-size: 28px;
    letter-spacing: -3px;
  }
}

@media only screen and (min-width: 1940px) {
  .burger {
    right: 105px;
    top: 105px;
    height: 70px;
    width: 70px;
  }
  .menu ul li {
    font-size: 75px;
    letter-spacing: -7px;
  }
  .menu img.tiff {
    width: 440px;
    margin-bottom: 40px;
  }
  .menu .social {
    gap: 80px;
  }
  .menu ul {
    margin: 0 0 60px 0;
  }  
  .menu .nav-menu {
    margin: 0 0 80px 0;
  }
  .menu ul li img {
    height: 80px;
  }
  .newsletter {
    padding-top: 60px;
  }
  .newsletter label {
    font-size: 46px;
    letter-spacing: -4px;
  }
  .newsletter input {
    padding: 22px 30px;
  }
  .newsletter #email {
    width: 30%;
  }
  .newsletter a {
    font-size: 22px;
  }
}

/************* MENU END *****************/


/************************* Info Box Stylings ********************/
.afsp-info-box {
  position: fixed;
  top: 0;
  left: 0;
  width: fit-content;
  margin: 40px 0 0 50px;
  z-index: 98;
}

.afsp-info-box ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.afsp-info-box h5 {
  font-size: 16px;
  letter-spacing: -0.5px;
  line-height: 16px;
  margin-bottom: 12px;
}

.afsp-info-box h5 span {
  font-weight: 600;
}

.afsp-info-box h4 {
  text-shadow: 2px 2px var(--compli-2-color);
}

.afsp-info-box img {
  margin-top: 10px;
  width: 180px;
}

.afsp-info-box a:hover {
  color: var(--compli-color);
}

/************************* Content Stylings *********************/

.floating-box {
  position: absolute;
  height: 200px;
  width: 200px;
  background: var(--accent-2-color);
  background-size: 10px 10px;
  animation-name: box;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  transition: all 400ms;
}

.floating-box-2 {
  position: absolute;
  height: 30px;
  width: 30px;
  background: var(--accent-2-color);
  background-size: 10px 10px;
  animation-name: box-2;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  transition: all 400ms;
}

.floating-box:hover {
  background-color: var(--compli-2-color);
  background-image:
    linear-gradient(to right, var(--accent-2-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--accent-2-color) 1px, transparent 1px);
}

.floating-box-2:hover {
  border: 10px solid var(--accent-color);
}

#chronicle .floating-box {
  background-color: var(--compli-2-color);
  height: 100px;
  width: 100px;
}

.tapsi-visual .floating-box {
  height: 40px;
  width: 40px;
  background-color: var(--accent-color);
}

@keyframes box {
  0%   {left: 15%; top: 10%;}
  20%  {left: 5%; top: 35%;}
  40%  {left: 35%; top: 30%;}
  60%  {left: 65%; top: 60%;}
  80%  {left: 75%; top: 15%;}
  100% {left: 15%; top: 10%;}
}

@keyframes box-2 {
  0%   {left: 75%; top: 60%;}
  10%  {left: 60%; top: 55%;}
  35%  {left: 10%; top: 10%;}
  65%  {left: 15%; top: 40%;}
  75%  {left: 35%; top: 95%;}
  100% {left: 75%; top: 60%;}
}

.content {
    padding: 0 40px 20px 20px;
    margin-top: 400px;
    width: 60%;
    position: absolute;
    bottom: 0;
    right: 0;
}

#chronicle .content {
  overflow-y: scroll;
  height: 80%;
  padding-bottom: 100px;
  overflow-x: hidden;
}

#chronicle #menu .content {
  overflow-y: unset;
  height: unset;  
  padding-bottom: 20px;
}

.top-overlay {
  height: 80px;
  width: 180%;
  position: sticky;
  top: -2px;
  transform: translateX(-40px);
}

.bottom-overlay {
  height: 80px;
  width: 180%;
  background: linear-gradient(transparent, #111);
  position: sticky;
  bottom: -2px;
  transform: translateX(-40px);
}

#what-is, #what-is-mobile {
  text-shadow: 6px 6px #000;
}

#what-is-mobile {
  display: none;
}

#what-is-panorama, #chronicle-title {
  text-shadow: 6px 6px #000;
}

.main-what-is {
  position: relative;
  max-height: 45vh;
  overflow-y: scroll;
  overflow-x: hidden;
  margin-bottom: 15px;
  padding-right: 10px;
}

h1 {
    font-size: 70px;
    font-weight: 600;
    letter-spacing: -8px;
    line-height: 70px;
    margin-bottom: 10px;
}

h4 {
  font-size: 26px;
  font-weight: 600;
  line-height: 26px;
}

h5 {
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 10px;
}

p {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 10px;
}

.bold-p {
  font-weight: 800;
}

figcaption {
    font-size: 12px;
    background: #07002c26;
    padding: 10px 14px 14px 14px;
    border-radius: 0;
}

figcaption::before {
    content: "✱";
    font-size: 18px;
    margin-right: 5px;
    line-height: normal;
}

@media only screen and (max-width: 435px)  {
  .content {
    width: 95%;
    height: 74%;
    bottom: 50%;
    transform: translate(-50%,50%);
    position: absolute;
    left: 50%;
    margin-top: 0;
    overflow: hidden;
    padding: 20px 14px 20px 20px;
  }
  #what-is {
    display: none;
  }
  #what-is-mobile {
    display: block;
  }
  h1 {
    font-size: 50px;
    letter-spacing: -5px;
    line-height: 52px;
  }
  p {
    font-size: 14px;
  }
  figcaption {
    font-size: 10px;
  }
  figcaption::before {
    font-size: 14px;
    line-height: 10px;
  }
  .afsp-info-box {
    margin: 40px 0 0 40px;
    width: 60%;
  }
  .afsp-info-box h5 {
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0;
    margin-bottom: 0;
  }
  .afsp-info-box h4 {
    font-size: 18px;
  }
  .afsp23-poster {
    width: 150px;
  }
  .floating-box {
    height: 120px;
    width: 120px;
  }
}

@media only screen and (max-width: 375px) {
  p {
    font-size: 12px;
    line-height: 18px;
  }
}

@media only screen and (min-width: 1940px) {
  .content {
    padding: 0 40px 40px 40px;
  }
  h1 {
    font-size: 110px;
    letter-spacing: -11px;
    line-height: 110px;
  }
  p {
    font-size: 26px;
    line-height: 40px;
  }
  figcaption {
    font-size: 22px;
  }
  figcaption::before {
    font-size: 32px;
  }
  .afsp-info-box h5 {
    font-size: 32px;
    font-weight: 500;
    line-height: 34px;
    margin-bottom: 14px;
  }
  .afsp-info-box h4 {
    font-size: 46px;
    line-height: 52px;
  }
  .afsp23-poster {
    width: 660px;
  }
}


/******************** CHRONICLE Stylings *********************/
#chronicle {
  background-color: var(--grey-color);
  background-size: 10px 10px;
}

#chronicle-tapsi {
  display: none;
  background: url(/afsp25/13.jpg);
  z-index: 0;
  background-size: inherit;
  background-position: center;
}



#chronicle-title {
  margin-bottom: -26px; 
  text-shadow: 6px 6px var(--accent-2-color); 
}

.hronia {
  display: grid;
  gap: 10px;
  grid-template-columns: 3fr 1fr;
  padding-top: 50px;
}

.hronia-2 {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 3fr;
  padding-top: 50px;
}

.hronia-3 {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr 2fr;
  padding-top: 50px;
}

.hronia-4 {
  display: grid;
  gap: 10px;
  grid-template-columns: 2fr 1fr 1fr;
  padding-top: 50px;
}

.afsp5 {
  margin-bottom: 10px;
}

.afsp5 .double-poster img {
  width: 180px;
}

.chronicle-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  height: 20%;
  padding: 20px 40px 0 20px;
  overflow-x: scroll;
}

.chronicle-nav::-webkit-scrollbar {
  display: none;
}

.chronicle-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 20px;
}

.chronicle-nav ul li {
  background-color: var(--accent-color);
  padding: 6px 12px;
  font-size: 10px;
  box-shadow: 4px 4px white;
}

.chronicle-nav ul a:hover li {
  background-color: var(--accent-2-color);
  color: #fff;
}

.chronicle-nav .line {
  background-color: transparent;
  border-top: 3px solid #222;
  margin-top: 12px;
  border-radius: 0;
  padding: 4px;
  box-shadow: none;
}

#afsp7 a {
  color: var(--compli-2-color);
}

.bat {
  width: 90px;
  transform: rotate(12deg);
  align-self: flex-end;
  margin-top: -50px;
  display: none;
}

@media only screen and (max-width: 435px) {
  #chronicle-tapsi {
    background: url(/afsp24_graphics/ταψί/ταψί\ top\ left.jpg);
    background-size: cover;
    background-position: center;
    height: 100%;
  }
  .top-overlay {
    opacity: 0;
  }
  #chronicle .content {
    height: 74%;
  }
  .hronia, .hronia-2, .hronia-3, .hronia-4 {
    display: flex;
    flex-flow: column;
    margin-bottom: 70px;
  }
  .hronia-3, .hronia-4 {
    margin-bottom: 10px;
  }
  .hronia-2 img, .hronia-3 img, .hronia-3 .double-poster {order: 2;}
  #afsp8 .double-poster img:nth-of-type(2) {
    display: none;
  }
  .hidden-poster {
    display: block !important;
  }
  .afsp5 .double-poster img {
    margin-bottom: 10px;
    width: 100%;
  }
  .hronia-3 img:nth-of-type(2) {
    margin-bottom: 10px;
  }
  .podcast {
    margin-top: -10px;
    margin-bottom: 70px;
  }
  .chronicle-nav {
    display: none;
  }
  .bat {
    display: block;
  }
}

@media only screen and (min-width: 1940px) {
  .afsp5 .double-poster img {
    width: 100%;
  }
  .chronicle-nav ul li {
    font-size: 14px;
  }
}

/***************** CHRONICLE END *******************/


/******** Webkit Scrollbar **********/
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #ffffff47; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #2222227d; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #000000d2; 
}