/* COLORS 

VIOLET: #6741d9
GRAY: #343a40
LIGHT GRAY: #f1f3f5

BACKGRAY: #e9ecef

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  /* 1rem = 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  color: #343a40;
}

html,
body {
  overflow-x: hidden;
}

*:focus {
  outline: none;
}

/* HOVER TEXTS */

.span3:hover {
  color: #ced4da;
  text-decoration: 0.2rem dashed underline;
  text-underline-offset: 1rem;
  cursor: default;
}

.h1,
.h3,
.p3 {
  opacity: 0;
  transform: translateX(9rem);
  transition: all 1.2s ease-in-out;
}

.h1.active,
.h3.active,
.p3.active {
  opacity: 1;
  transform: translateX(0);
}

/* ΓΡΑΜΜΗ  Η1 */
.h1::after {
  content: "";
  position: absolute;
  bottom: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 0.3rem;
  background: linear-gradient(to right, transparent, #6741d9, transparent);
  animation: underlineMove 2s ease-in-out infinite alternate;
}

@keyframes underlineMove {
  0% {
    transform: translateX(-50%) scaleX(0);
    opacity: 0;
  }
  50% {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) scaleX(1.5);
    opacity: 1;
  }
}

/* ΓΡΑΜΜΗ  P1 */

.p1 {
  opacity: 0;
  filter: blur(1rem);
  transform: translateY(1rem);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.p1.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

/* Η3 */

.third-section-text {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
}

.h3-type {
  display: inline-block;
  overflow: hidden;
  border-right: 0.2rem solid #fdfdff;
  white-space: nowrap;
  width: 0;
  opacity: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.h3-type.active {
  animation: typingH3 2.7s steps(22, end) forwards,
    blinkH3 0.6s step-end infinite;
  opacity: 1;
}

@keyframes typingH3 {
  from {
    width: 0;
  }
  to {
    width: 16ch;
  }
}

@keyframes blinkH3 {
  50% {
    border-color: transparent;
  }
}

/* HEADER HOVER */
.nav a:hover {
  text-decoration: underline dotted !important;
  text-underline-offset: 0.6rem;
  transition: all 0.3s ease-in !important;
}

/* PORTFOLIO HOVER */

.fourth-section img:hover {
  transform: perspective(100rem) rotateY(15deg);
}

.h4:hover::before {
  top: 0%;
  left: 50%;
  transition: all 1.5s ease-in-out;
}

.h4:hover::after {
  top: 110%;
  left: 50%;
  transition: all 1.5s ease-in-out;
}

.h4 {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease-in-out;
  font-family: serif;
}

.h4.active {
  opacity: 1;
  transform: scale(1.05);
}

figcaption span:hover {
  background-color: #6741d9;
  color: #e9ecef;
  transition: all 0.6s ease-in-out;
}

/* BLOG HOVER */

.h5 {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease-in-out;
}

.h5.active {
  opacity: 1;
  transform: scale(1.05);
}

.h5:hover::before {
  top: 50%;
  left: -150%;
  transition: all 1.5s ease-in-out;
}

.h5:hover::after {
  top: 50%;
  right: -300%;
  transition: all 1.5s ease-in-out;
}

.blog-image,
.blog-home-img {
  transition: filter 0.3s ease;
}

.blog-image:hover,
.blog-home-img:hover,
.about-image-certification:hover {
  filter: brightness(0.6);
  cursor: pointer;
}

a span:hover {
  color: #6741d9;
  transition: all 0.6s ease-in-out;
}

.blogarticles a:hover {
  color: #6741d9 !important;
  transition: all 0.6s ease-in-out;
}

/* CONTACT HOVER */

.h6 {
  opacity: 0;
  transform: scale(0.8);
  transition: all 1s ease-in-out;
  text-shadow: 0.2rem 0.1rem 0.4rem rgba(0, 0, 0, 0.356);
}

.h6.active {
  opacity: 1;
  transform: scale(1.05);
}

.h6:hover::before {
  top: 70%;
  left: 30%;
  transition: all 1.5s ease-in-out;
}

.contact a:hover {
  color: #6741d9 !important;
  transition: all 0.5s ease-in;
}

.submit:hover {
  background-color: #6763ff;
  transition: all 0.5s ease-in;
  cursor: pointer;
}

/* FOOTER HOVER */

.footer a:hover {
  color: #6763ff !important;

  transition: all 0.5s ease-in;
}

.footer-social:hover {
  color: #6763ff;
  transition: all 0.5s ease-in;
}

/* HEADER */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5rem;
  background-image: linear-gradient(to left, #160e2ef3, #322461);
}

.headerimg img {
  width: auto;
  height: 10rem;
}

.menulist {
  display: flex;
  font-size: 2.2rem;
  gap: 4.4rem;
}

.nav ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a,
.nav a:link,
.nav a:visited {
  color: #ced4da;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-weight: 800;
  transition: color 0.3s ease;
}

/* FIRST SECTION */

.first-section {
  justify-content: center;
  align-items: center;
  display: flex;
  background-color: #e9ecef;
  padding: 5rem;
  font-family: "Roboto", sans-serif;
}

.first-section-image {
  flex: 0 0 40%;
}

.website-image {
  width: 100%;
  display: flex;
}

.website-image {
  opacity: 0;
  filter: blur(1rem);
  transform: translateY(1rem);
  transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.website-image.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.first-section-text {
  flex: 0 0 60%;
}

.h1 {
  color: #6741d9;
  justify-self: center;
  padding: 2.2rem;
  font-size: 2.8rem;
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  opacity: 0;
  animation: slideIn 1s ease-out forwards;
}

.p1 {
  line-height: 2.2rem;
  padding: 1.3rem;
  font-size: 2.2rem;
  font-weight: 500;
  font-family: serif;
}

/* THIRD SECTION */

.third-section {
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 5rem;
  padding-bottom: 10rem;
  color: #f1f3f5;
  font-family: "Roboto", sans-serif;

  background: linear-gradient(-45deg, #8153ca, #4b269b, #311b72, #7e3ee6);
  background-size: 400% 400%;
  animation: purpleGradientAnimation 8s ease infinite;
}

@keyframes purpleGradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.h3 {
  justify-self: center;
  padding: 2rem;
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 1rem 1rem 1rem rgb(0, 0, 0);
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.4rem;
}

.p3 {
  line-height: 2.2rem;
  padding: 1rem;
  font-size: 2.6rem;
  font-weight: 500;
  text-shadow: 1rem 1rem 1rem rgb(0, 0, 0);
}

.servicescheckmark {
  color: #f1f3f5;
  font-size: 3.2rem;
  position: relative;
  top: 1rem;
  padding-left: 1rem;
}

.service-detail {
  display: block;
  font-size: 1.4rem;
  color: #e6e6e6;
  margin-left: 1.8rem;
  margin-top: 1.2rem;
}

.offer-button {
  display: flex;
  justify-self: center;
  background: linear-gradient(135deg, #6041d1, #8f66ff);
  align-items: center;
  color: rgb(219, 219, 219);
  padding: 1.6rem 2rem;
  border-radius: 2rem;
  font-size: 3rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 7rem;
  transition: background-color 0.3s ease;
}

.offer-button:hover {
  background: linear-gradient(135deg, #5138aa, #684abd);
  transition: all 1s ease-in-out;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2.2rem);
  }
}

.offer-button {
  animation: bounce 2s infinite;
}

/* FOURTH SECTION */

.fourth-section {
  padding: 5rem;
}

.h4 {
  display: flex;
  justify-self: center;
  font-size: 9rem;
  color: #343a40e8;
  cursor: default;
  position: relative;
  z-index: 1;
}

.h4::before {
  content: "";
  display: block;
  width: 66rem;
  height: 1rem;
  background-color: #6041d1;
  border-radius: 1rem;
  position: absolute;
  top: 0%;
  left: 0%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.h4::after {
  content: "";
  display: block;
  width: 65rem;
  height: 1rem;
  background-color: #b0b0b1;
  border-radius: 1rem;
  position: absolute;
  top: 110%;
  left: 95%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.fourth-section img {
  width: 100%;
  padding: 2rem;
  transition: transform 0.5s ease, width 0.5s ease;
  transform-style: preserve-3d;
  perspective: 100rem;
}

figcaption {
  display: flex;
  justify-self: center;
  gap: 1.5rem;
  color: #f1f3f5;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}

figcaption span {
  padding: 1rem 1rem;
  cursor: default;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 1rem;
  font-family: "Roboto", sans-serif;
  box-shadow: 0rem 0.5rem 0.4rem rgba(0, 0, 0, 0.767);
  border-radius: 1rem;
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 5rem;
  gap: 2rem;
}

.webdevelopment {
  background-color: #00adb5;
}

.design {
  background-color: #f08a5d;
}

.responsive {
  background-color: #b809cf94;
}

.seo {
  background-color: #1065ce;
}

.qr {
  background-color: #fa1212;
}

.menu {
  background-color: #3b20d3;
}

.logo {
  background-color: #e9b937;
}

.hosting {
  background-color: #375785;
}

main {
  padding-bottom: 5rem;
}

.cta-button {
  overflow: hidden;
  display: flex;
  justify-self: center;
  background-color: #6041d1;
  align-self: center;
  color: white;
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: rgb(76, 7, 187);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(88, 0, 230, 0.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 1rem rgba(88, 0, 230, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(88, 0, 230, 0.5);
  }
}

.cta-button {
  animation: pulse 2.5s infinite;
}

/* ASIDE */

.blog {
  background-color: #e9ecef;
  padding: 5rem;
  font-family: serif;
  padding-bottom: 10rem;
}

.h5 {
  font-size: 7rem;
  display: flex;
  justify-self: center;
  position: relative;
  z-index: 1;
  cursor: default;
}

.h5::before {
  content: "";
  display: block;
  width: 30rem;
  height: 1rem;
  background-color: #6041d1;
  border-radius: 1rem;
  position: absolute;
  top: 50%;
  left: -80%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.h5::after {
  content: "";
  display: block;
  width: 30rem;
  height: 1rem;
  background-color: #b0b0b1;
  border-radius: 1rem;
  position: absolute;
  top: 50%;
  right: -230%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.blogposts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.p5 {
  padding-top: 2rem;
}

.p5 img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.link-text {
  font-size: 2rem;
  font-weight: 400;
}

.link-text,
a,
.link-text a:link,
.link-text a:visited {
  text-decoration: none;
  color: #343a40;
}

/* CONTACT */

.contact {
  padding: 12rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-image: linear-gradient(to right, #ddddddee, #6741d986),
    url("contact.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
}

.h6 {
  font-size: 6rem;
  padding-bottom: 3rem;
  background: linear-gradient(90deg, #6741d9, #6763ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
  cursor: default;
}

.h6::before {
  content: "";
  display: block;
  width: 20rem;
  height: 1rem;
  background-color: #6041d1;
  border-radius: 1rem;
  position: absolute;
  top: 70%;
  left: 10%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.p6 {
  font-size: 2.6rem;
  padding: 1rem;
  font-weight: 600;
  padding-bottom: 2rem;
}

.p6 a,
.p6 a:link,
.p6 a:visited {
  color: #343a40;
}

.contact-icon {
  color: #6741d9;
  font-size: 3.2rem;
  position: relative;
  top: 1rem;
  font-weight: 600;
}

.form {
  width: 100%;
  padding: 1rem;
  font-size: 2.2rem;
  border: none;
  border-radius: 0.5rem;
  background-color: #cfccd18a;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.582);
}

.name,
.email,
.message {
  font-size: 1.8rem;
  width: 100%;
  padding: 1rem;
  margin-bottom: 2rem;
  background-color: #ccc1d856;
}

.submit {
  display: flex;
  justify-self: center;
  background-color: #6741d9;
  padding: 1rem 5rem;
  color: #f1f3f5;
}

label {
  font-size: 2rem;
  font-weight: 600;
  color: #343a40;
  padding-bottom: 1rem;
}

#thank-you-message {
  font-size: 3.2rem;
  font-weight: 600;
}

.thank-you-text {
  padding-top: 5rem;
  font-size: 3.2rem;
  font-weight: 400;
}

/* FOOTER */

.footer {
  padding: 5rem;
  gap: 4rem;
  justify-items: flex-start;
  background-color: #322066;
  font-size: 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  font-family: serif;
}

.footer-image {
  width: 100%;
  height: 20rem;
  object-fit: contain;
}

.footer-header {
  text-transform: uppercase;
  color: #adb2b8;
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.1rem;
  justify-self: center;
  padding-top: 3rem;
  padding-bottom: 1rem;
}

.footer a,
.footer a:link,
.footer a:visited {
  color: #ced4da;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-pages {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer-social {
  color: #ced4da;
  font-size: 3.2rem;
  padding: 0.5rem;
  flex-direction: row;
}

/* BLOG HOME */

.mainblog {
  padding-top: 5rem;
}

.blogarticles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 4rem;
  align-items: center;
  justify-items: center;
}

.blogarticles img {
  width: 50rem;
  height: 30rem;
}

.blogarticles a {
  color: #343a40 !important;
  font-size: 3rem;
}

/* ARTICLE */

.article {
  display: flex;
  flex-direction: column;
  padding: 5rem;
  gap: 2.4rem;
  background-color: #f3f3f3;
}

.header-post {
  font-size: 3rem;
  color: #6741d9;
  font-family: "Roboto", sans-serif;
}
/*

.header-post:hover {
  transform: scale(1.05);
  transition: all 0.5s ease;
  cursor: default;
} */

.post-image {
  width: 70%;
  display: flex;
  justify-self: center;
  border-radius: 1rem;
}

.hpost {
  font-size: 2.6rem;
  font-family: "Roboto", sans-serif;
}

.hpost-small {
  font-size: 2.2rem;
}

.ppost {
  font-size: 2rem;
  font-family: serif;
}

.contact-post {
  color: #6763ff;
}

.contact-post:hover {
  color: #322066;
  transition: 1s ease;
}

/* ABOUT */

.about-page {
  background: linear-gradient(-45deg, #e7e7e7, #e5dcfc, #d7e3fd, #ffffff);
  background-size: 300% 300%;
  animation: grayFlow 5s ease-in-out infinite;
}

@keyframes grayFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.about-article {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 35fr 65fr;
  padding: 5rem;
  font-family: serif;
}

.about-image {
  width: 30vw;
  box-shadow: 0rem 1rem 1rem rgba(0, 0, 0, 0.767);
  border-radius: 1rem;

  transition: all 0.4s ease;
  filter: brightness(1);
}

.about-image:hover {
  filter: brightness(1.03);
  box-shadow: 0rem 1.5rem 2rem rgba(0, 0, 0, 0.6);
}

.about-second {
  padding: 2rem;
}

.about-second {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 2s ease, transform 2s ease;
}

.about-second.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image-certification {
  width: 100%;
  box-shadow: 0rem 1.5rem 1rem rgba(0, 0, 0, 0.767);
}

.about-image-certification:hover {
  transform: perspective(100rem) rotateY(5deg);
  transition: 0.5s ease;
}

.header-about {
  font-size: 3.2rem;
  padding-bottom: 2rem;
  justify-self: center;
  font-family: "Roboto", sans-serif;
  text-shadow: 0.2rem 0.1rem 0.4rem rgba(0, 0, 0, 0.356);
}

.about-p {
  padding-bottom: 2rem;
}

.about-icon {
  font-size: 5rem;
  color: #4726aa;
  padding: 2rem;
}

.about-icon-text {
  font-size: 2rem;
  color: #4726aa;
  text-shadow: 0.2rem 0.1rem 0.4rem rgba(0, 0, 0, 0.493);
}

.deksiotites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  justify-items: center;
  padding: 5rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;

  transition: all 0.4s ease;
}

.icon-wrapper:hover {
  transform: perspective(100rem) rotateY(15deg);
  filter: brightness(1.4);
}

.deksiotites {
  display: grid;
  grid-template-columns: 50fr 50fr;
}

/* menu img */

.menu-pictures {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.menu-image {
  width: 100%;
}

.menu-image {
  cursor: pointer;
  max-width: 100%;
  height: auto;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.overlay-img {
  max-width: 97%;
  max-height: 97%;
  border-radius: 1rem;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.3s ease;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 6rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.close-btn:hover {
  color: #7e3ee6;
  transition: 0.5s ease;
}

/* Animation */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.menu-image {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.menu-image.show {
  opacity: 1;
  transform: translateY(0);
}

/* cookies */

#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #222222d2;
  color: #fff;
  padding: 1.5rem 5rem 1.5rem 1.5rem;
  text-align: center;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-self: center;
  z-index: 1000;
  font-size: 1.8rem;
}

#cookie-banner button {
  margin-top: 1rem;
  margin-left: 10rem;
  padding: 0.8rem 1.6rem;
  background-color: #421d97;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 0.5rem;
  font-size: 1.8rem;
}

#cookie-banner button:hover {
  background-color: #361474;
  transition: 1s ease;
}

#cookie-banner .close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

#cookie-banner .close-btn:hover {
  color: #bbb;
}

/* katalogoi button */

.katalogoi-button {
  display: flex;
  justify-self: center;
  background-color: #402b8a;
  align-self: center;
  color: rgb(231, 231, 231);
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin: 2rem;
}

.katalogoi-button:hover {
  background-color: rgb(94, 11, 230);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(88, 0, 230, 0.5);
  }
  70% {
    transform: scale(1.03);
    box-shadow: 0 0 1.5rem rgba(88, 0, 230, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(88, 0, 230, 0.5);
  }
}

.katalogoi-button {
  animation: pulse 2.5s infinite;
}
