@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600&display=swap');

body {
  /* font-family: Work Sans; */
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  font-size: 1rem;
  line-height: 1.5;

  background-color: #ffffff;
  color: #333333;
  margin: 40px auto 40px auto;
  width: 100%;
}

em, i {
  font-style: italic; /* Ensures italics are applied */
}


h1 {
  font-size: 1rem;
  font-weight: 500;
}

h2 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

h3 {
  font-size: 0.8rem;
  color: rgba(100, 100, 100, 80);
  font-weight: 200;
}

p, ul, li {
  font-size: 0.8rem;
  font-weight: 400;
  /* margin-bottom: 20px; //Adds 20px space below each paragraph */
}

.credits {
  font-size: 0.5rem;
  font-style: italic;
  text-align: right;
}

a {
  color: #000000;
  text-decoration: none;
  transition: background-color 0.5s;
  /* position: relative; //Required to position the hover text */
  /* font-size: 2rem; //Adjust font size as needed */
}

a.highlighted {
  background-color: rgba(229, 222, 228, 100);
}

/* a.selected {
  background-color: rgba(229, 222, 228, 100);
} */

/* a.name {
  letter-spacing: 5px;
} */

h3 a.highlighted {
  color: rgba(100, 100, 100, 80);
  font-weight: 200;
  background-color: rgba(229, 222, 228, 100);
}

a:hover {
  background-color: rgba(229, 222, 228, 100);
}

/* Only "I" is visible initially */
/* a.hover-text::after {
  content: "R I N I"; // Remaining letters to show on hover 
  position: absolute;
  // left: 5px; Adjust as needed to place letters right after "I" 
  // top: 0; 
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  white-space: nowrap;
  font-size: inherit; // Keep the font size consistent 
  color: #000000;
} */

/* Show the full text "IRINI" when hovering */
/* a.hover-text:hover::after {
  opacity: 1;
} 
*/

header {
  /* position: fixed; //Keeps the header fixed at the top */

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-left: 40px;
  padding-right: 40px;

  margin-bottom: 40px;
}

header nav a {
  margin-left: 10px;
}

/* moving the layer of the title and navigation on top of the animation */
h1,
nav {
  z-index: 2;
}

/* window on which the animation will move */
.win {
  position: fixed;
  top: -65px;
  left: -620px;
}

.animation1 {
  background-image: url(../assets/animations/sequel-exp-v9.gif);
  width: 38em;
  height: 14em;
  /*   width: 620px;
  height: 200px; */
  animation: moving 120s linear forwards;
  animation-iteration-count: infinite;
  background-position: center;
  background-size: cover;
  position: absolute;
}

/* Additional animation if needed */
/* .animation2 {
  background-image: url(assets/animations/sequel-exp-v9.gif);
	width: 38em;
  height: 14em;
  animation: moving 120s linear 80s;
	animation-iteration-count: infinite;
	background-position: center;
	background-size: cover;

	position: absolute;
} */

/* distance that the animation will cover based on keyframes */
@keyframes moving {
  0% {
    transform: translateX(0px);
  }

  100% {
    transform: translateX(120em);
  }
}

/* Rows of artworks. 6 columns of different widths on each row */
.hero {
  padding-left: 40px;
  padding-right: 40px;
}

.row {
  display: flex;
  align-items: flex-start;
  text-align: left;
  margin-top: 20px;
}

.column_1 {
  width: 11.3%;
}
.column_2 {
  width: 8.3%;
}
.column_3 {
  width: 16.6%;
}
.column_4 {
  width: 42.2%;
}
.column_5 {
  width: 16.6%;
}
.column_6 {
  width: 5.3%;
}

.column_2,
.column_3,
.column_4,
.column_5 {
  margin-right: 10px;
}

.column_2,
.column_5 {
  padding-top: 3px;
}

/* Position relative in order to rely the positioning of the overlay on the column */
.column_4 {
  position: relative;
}

/* Experimenting with rounding the corners of the images when hovering */
/* .column_4 img {
  border-radius: 0px;
  transition: border-radius 0.7s ease-out;
}

.column_4:hover img {
  border-radius: 30px;
} */

/* Adding a thin, transparent layer of color over the images when hovering */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(229, 222, 228, 0.4);
  opacity: 0;
  transition: opacity 0.7s ease-out;
}

.column_4:hover .overlay {
  opacity: 1;
}

/* footer with social networks' links
and copyrights */
footer {
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
}

.social-networks,
.copyright {
  text-align: center;
  padding-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 400;
}

/*            */
/*            */
/* About page */
/*     &      */
/*  Projects  */
/*            */
/*            */

/* A single central column
with all the 'about' information */
.about, .projects {
  align-items: center;
  text-align: left;
  margin: 20px auto 200px auto;
  max-width: 640px; /*42.2%; 640px;*/
  padding-left: 40px;
  padding-right: 40px;
}

.projects {
  margin: 20px auto 0px auto;
}

.projects p {
  margin-bottom: 20px;
}

.projects img,video {
  margin-bottom: 5px;
}

.projects h3 {
  margin-bottom: 20px;
}

.bio p {
  margin-bottom: 20px;
}
/* tagging the photographer 'stathis' */
.stathis {
  margin-top: 20px;
}

.email,
.stathis {
  font-weight: 500;
  font-style: italic;
  text-align: right;
}

/* .projects img {
  margin-top: 20px; 
  margin-bottom: 0px;
} */

.projects {
  margin-bottom: 0px;
}

/* Experimenting with an overlay/distortion of the profile photo */
/* .photo {
  position: relative;
} 

 .over {
  position: absolute;
  top: 0;
  left: 0;
	width: 100%;
  height: 100%;
  
  opacity: 0;
 	transition: opacity 0.9s ease-in;
} 

 .photo:hover .over{
  opacity: 0.3;
} */

/*                */
/*                */
/* Responsiveness */
/*                */
/*                */

/* If window less than 350px width 
remove the external empty columns */
@media (max-width: 1150px) {
  .column_1 {
    width: 0%;
  }
  .column_2 {
    width: 10%;
  }
  .column_3 {
    width: 20%;
  }
  .column_4 {
    width: 50%;
  }
  .column_5 {
    width: 20%;
  }
  .column_6 {
    width: 0%;
  }
}

/* If window less than 960px width 
display the artworks vertically */
@media (max-width: 960px) {
  .row {
    display: block;
    align-items: flex-start;
    text-align: left;
    margin-top: 20px;
    overflow: hidden;
  }

  .column_2,
  .column_3,
  .column_4,
  .column_5 {
    width: 100%;
  }

  .column_3,
  .column_4 {
    margin-bottom: 10px;
  }
}

/* If window less than 590px, 
align the navigation text to the right */

@media (max-width: 590px) {
  nav {
    text-align: right;
  }
}



/* If window less than 350px width 
fix the header and lower the animation */
@media (max-width: 350px) {
  header {
    display: block;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  header nav a:first-child {
    margin-left: 0px;
  }

  .win {
    top: 0px;
  }
}

