@import url("https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Common Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
  outline: none;
  font-family: "Jura", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Main Button */
.main-btn {
  position: absolute;
  bottom: 3rem;
  width: 12rem;
  height: 12rem;
  background-color: #1b7ab9;
  border-radius: 50%;
  border: 0.2rem dotted #fff;
  padding: 0.1rem;
  overflow: hidden;
}


.main-btn-content {
  width: 100%;
  height: 100%;
  border: 0.2rem dotted #e7be08;
  border-radius: 50%;
  transform: rotate(40deg);
  transition: transform .2s, border .2s;
}

.main-btn:hover .main-btn-content {
  transform: rotate(60deg);
  border: 0.2rem dotted #9b0e0e;
  transition: transform .2s .5s, border .2s;
}

.main-btn-line {
  position: absolute;
  top: 4rem;
  width: 3rem;
  height: 0.5rem;
  border: 0.1rem solid #fff;
}

.main-btn-line:nth-child(1) {
  transform: rotateZ(-45deg) translateX(-0.65rem);
  transform-origin: left center;
  border-right: none;
}

.main-btn-line:nth-child(2) {
  transform: rotateZ(45deg) translateX(0.65rem);
  transform-origin: right center;
  border-left: none;
}

.main-btn-line:nth-child(3) {
  transform: rotateZ(90deg) translateX(0.5rem);
  border-left: none;
}

.main-btn span {
  position: absolute;
  bottom: 3rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ripple {
  position: absolute;
  width: 0;
  height: 0;
  background-color: #e7be08;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rippleAnim 0.5s forwards;
}

@keyframes rippleAnim {
  0% {
    width: 0;
    height: 0;
  }

  100% {
    width: 210%;
    height: 210%;
  }
}

/* End Of Main Button */
/* End OF Common Styles */

/* Mouse Circle */
.mouse-circle,
.mouse-dot {
  border-radius: 50%;
  position: fixed;
  z-index: 300;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  will-change: transform, opacity;
}

.mouse-circle {
  width: 6rem;
  height: 6rem;
  border: 0.1rem solid peru;
  animation: mouseCircleAnim 10s infinite linear;
}

@keyframes mouseCircleAnim {
  0% {
    width: 6rem;
    height: 6rem;
  }

  25% {
    width: 8rem;
    height: 8rem;
  }

  35% {
    width: 4rem;
    height: 4rem;
  }

  70% {
    width: 8rem;
    height: 8rem;
  }

  100% {
    width: 6rem;
    height: 6rem;
  }
}

.mouse-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #9b0e0e;
  animation: mouseDotAnim 10s infinite linear;
}

@keyframes mouseDotAnim {
  0% {
    width: 0.5rem;
    height: 0.5rem;
  }

  55% {
    width: 1.5rem;
    height: 1.5rem;
  }

  100% {
    width: 0.5rem;
    height: 0.5rem;
  }
}

/* End Of Mouse Circle */


/* Page BG */
.bg-page {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(images/6772583-awesome-light-blue-backgrounds.jpg) center no-repeat;
  background-size: cover;
}

/* End Of Page BG */

/* Navigation */
/* Menu Icon */
.menu-icon {
  position: fixed;
  top: 0;
  right: 6rem;
  width: 12rem;
  height: 7rem;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  cursor: pointer;
  transition: opacity .2s;
}

.menu-icon-line {
  width: 4rem;
  height: 0.1rem;
  background-color: #fff;
  margin: 0.5rem 0;
  box-shadow: 0 .3rem .5rem #000;
}

.show-menu-icon {
  opacity: 1;
  visibility: visible;
}

/* End Of Menu Icon */
.navbar {
  position: fixed;
  top: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  z-index: 100;
  padding-right: 3rem;
  transition: opacity 0.5s, visibility 0.5s, transform 0.5s;
}


.nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 2.5rem;
  text-shadow: 0 .3rem .5rem #000;
}

.hide-navbar {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10rem);
}

/* End Of Navigation */


/* Section 1 */
.section-1 {
  position: relative;
  width: 100%;
  height: 100vh;
}

.section-1 .main-btn {
  left: 50%;
  bottom: -4rem;
  transform: translateX(-50%);
}


/* Logo */
.logo {
  position: absolute;
  top: 2rem;
  left: 5rem;
  font-size: 3rem;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.1rem;
}

/* End Of Logo */
/* Animated Circles */
.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.circle {
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background-color: red;
  align-self: center;
  justify-self: center;
  opacity: 0.5;
  position: relative;
  top: 0;
  left: 0;
  /* transition: left 2s, top 2s; */
  transition: transform 0.35s ease;
  /* πιο “ελαφρύ” */
  will-change: transform;
}

.circle-1 {
  background: url(images/photo-1.jpg) center no-repeat;
  background-size: cover;
  border: .5rem dotted #a14b1a;
  background-clip: content-box;
}

.circle-2 {
  background: url(images/photo-2.jpg) center no-repeat;
  background-size: cover;
  border: .5rem dashed #ffbd07;
  background-clip: content-box;
  margin-right: -10rem;
}

.circle-3 {
  background: url(images/photo-3.jpg) center no-repeat;
  background-size: cover;
  border: 1rem double #9b0e0e;
  background-clip: content-box;
  margin-left: -10rem;
}

.circle-4 {
  background: url(images/photo-4.jpg) center no-repeat;
  background-size: cover;
  border: .7rem double #fff;
  background-clip: content-box;
  margin-right: -10rem;
}

.main-circle {
  position: absolute;
  width: 45rem;
  height: 45rem;
  overflow: hidden;
  border-radius: 50%;
  transition: width 0.2s, height 0.2s;
}

.main-circle:hover {
  width: 75rem;
  height: 75rem;
}

.main-circle img {
  width: 100%;
  height: 100%;
  mix-blend-mode: hard-light;
  position: relative;
  top: 0;
  left: 0;
  /* transition: left 2s, top 2s; */
  transition: transform 0.35s ease;
  will-change: transform;
}

/* End Of Animated Circles */

/* Featured Text */
.featured-text {
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
  width: 0;
  word-wrap: break-word;
  line-height: 2.5;
  position: sticky;
  top: 0;
}

.featured-text-1 {
  margin: 0 auto 0 10rem;
}

.featured-text-2 {
  margin: 0 10rem 0 auto;
}

/* End Of Featured Text */
/* End Of Section 1 */

/* Section 2 */
.section-2 {
  position: relative;
  padding: 10rem 10rem 15rem 10rem;
  margin-top: 10rem;
}

/* Section 2 Heading */
.section-2-heading {
  font-size: 2rem;
  font-weight: 300;
  color: #fff;
  text-transform: uppercase;
  position: absolute;
  top: 50%;
  left: 10rem;
  transform: translateY(-50%);
  width: 0;
  word-break: break-all;
  line-height: 4;
}

/* End Of Section 2 Heading */

/* About Me Text */
.about-me-text {
  width: 80%;
  margin: auto;
}

.about-me-text span {
  font-family: "Poppins", sans-serif;
  font-size: 8.5rem;
  font-weight: bold;
  color: #aaa;
  letter-spacing: .5rem;
  line-height: 1.1;
  text-shadow: 0 0 1rem #9b0e0e;
  position: relative;
  mix-blend-mode: color-dodge;
}

@keyframes aboutMeTextAnim {
  0% {
    color: #aaa;
    top: 0;
  }

  10%,
  90% {
    color: #ffffffdb;
    top: 2rem;
  }

  100% {
    color: #aaa;
    top: 0;
  }
}

/* End Of About Me Text */

/* Section 2 Main Button */


/* End Of Section 2 Main Button */
/* End Of Section 2 */

/* Section 4 */
.section-4 {
  position: relative;
  height: 100vh;
  margin: 14rem auto 8rem auto;
  /* margin-bottom: 8rem; */
}

/* Form */
.form-heading {
  font-family: "Poppins",
    sans-serif;
  font-size: 6rem;
  font-weight: 400;
  color: #d1b63d;
  letter-spacing: 0.3rem;
  margin-bottom: 3rem;
  transition: opacity 0.3s;
}

.contact-form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-form-input {
  width: 60rem;
  padding: 0.5rem;
  margin: 1rem 0;
  background-color: rgba(255, 255, 255, .1);
  border: 0.1rem solid #fff;
  font-size: 1.7rem;
  font-weight: bold;
  color: #aaa;
  letter-spacing: 0.1rem;
  height: 5rem;
}

.contact-form-textarea {
  height: 20rem;
  resize: none;
}

.form-submit-btn {
  width: 20rem;
  height: 5rem;
  background-color: #cfaf1f;
  border: none;
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.1rem;
  transition: background-color 0.2s;
  align-self: flex-start;

}


/* LinkedIn Button */
.linkedin-icon {
  width: 70%;
  height: 70%;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.social-links {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.linkedin-btn {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: #1b7ab9;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 2.8rem;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 0 1rem #1b7ab9;
  border: 0.2rem solid #fff;
}

.linkedin-btn:hover {
  background-color: #9b0e0e;
  transform: scale(1.1);
  box-shadow: 0 0 2rem #9b0e0e;
}

/* End Of LinkedIn Button */
/* End Of Section 4 Heading */


/* Section 5 - Tech Stack */
.section-5 {
  margin-top: -10rem;
  position: relative;
  padding: 10rem 10rem 15rem 10rem;
}

.section-5 .main-btn {
  left: 50%;
  bottom: -4rem;
  transform: translateX(-50%);
}

.tech-container {
  position: relative;
  padding: 10rem 2rem;
  min-height: 40vh;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.85);
  text-align: center;
  border-radius: 3rem;
  opacity: 0.75;
  width: 70%;
}

.section-5 .section-heading {
  font-size: 4rem;
  font-weight: 600;
  color: #e7be08;
  margin-bottom: 6rem;
  letter-spacing: 0.3rem;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 3rem;
  max-width: 100rem;
  margin: 0 auto;
}

.tech {
  background-color: rgba(255, 255, 255, 0.05);
  border: 0.1rem solid #fff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 2rem #000;
}

.tech:hover {
  background-color: #1b7ab9;
  transform: scale(1.05);
  box-shadow: 0 0 3rem #1b7ab9;
}

/* End Of Section 5 */

/* Form Validation */
.message {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f55e5e;
  text-transform: uppercase;
  letter-spacing: .1rem;
  margin: 0 auto 1rem 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.error.message {
  visibility: visible;
  opacity: 1;
}

/* End Of Form Validation */


/* Responsive Design */

@media (max-width: 1500px) {

  .circle {
    width: 15rem;
    height: 15rem;
  }

  .main-circle {
    width: 45rem;
    height: 45rem;
  }

  .main-circle:hover {
    width: 55rem;
    height: 55rem;
  }

  .main-circle img {
    width: 160%;
    height: 160%;
  }

  .section-5 {
    margin-bottom: 15rem;
  }

  .about-me-text span {
    font-size: 11rem;
  }

  .section-4 {
    margin-bottom: 15rem;
  }
}

@media (max-width: 1350px) {
  .main-btn {
    width: 12.5rem;
    height: 12.5rem;
  }

  .circle {
    display: none;
  }

  .about-me-text span {
    font-size: 8rem;
  }

  .section-4 {
    margin-bottom: 10rem;
  }
}

@media (max-width: 1150px) {
  html {
    font-size: 55%;
  }

  .mouse-circle .mouse-dot {
    display: none;
  }

  .navbar-link {
    margin: 0 2rem;
  }

  .main-circle {
    width: 40rem;
    height: 40rem;
  }

  .about-me-text span {
    font-size: 7rem;
  }
}

@media (max-width: 900px) {
  .menu-icon {
    right: 2rem;
  }

  .mouse-circle {
    display: none;
  }

  .mouse-dot {
    display: none;
  }

  .nav-bar-link {
    font-size: 1.5rem;
    margin: 0 1rem;
  }

  .featured-text-1 {
    margin: 0 auto 0 5rem;
  }

  .featured-text-2 {
    margin: 0 5rem 0 auto;
  }

  .section-heading {
    left: 5rem;
  }

  .section-2-heading {
    left: 5rem;
  }

  .about-me-text span {
    font-size: 5.5rem;
    color: #ccc;
  }
}

@media (max-width: 700px) {
  html {
    font-size: 50%;
  }

  .contact-form-input {
    width: 50rem;
  }
}

@media (max-width: 650px) {
  .logo {
    font-size: 2rem;
    top: 12rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar {
    justify-content: center;
    padding: 0;
    font-size: 2rem;
    margin-top: 2rem;
  }

  .main-circle {
    width: 35rem;
    height: 35rem;
  }

  .section-1 .main-btn {
    bottom: -rem;
  }
}

@media (max-width: 600px) and (max-height: 520px) {
  html {
    font-size: 45%;
  }

  .logo {
    font-size: 1.7rem;
    top: 13rem;
    left: 50%;
    padding: 5rem auto 5rem auto;
    transform: translateX(-50%);
  }

  .section-5 {
    margin-bottom: -2rem;
  }

  .section-4 {
    margin-bottom: 5rem;
  }

  .navbar {
    justify-content: center;
    padding: 0;
    margin-top: 2.2rem;
  }

  .mouse-circle {
    display: none;
  }

  .mouse-dot {
    display: none;
  }
}

@media (max-width: 550px) {
  html {
    font-size: 40%;
  }

  .main-circle img {
    width: 180%;
    height: 180%;
  }

  .section-5 {
    margin-bottom: -5rem;
  }

  .section-4 {
    margin-bottom: 0rem;
  }

  .tech-container {
    width: 235px;
  }

  .contact-form-input {
    width: 40rem;
  }
}

@media (max-width: 400px) {
  html {
    font-size: 35%;
  }

  .logo {
    font-size: 2rem;
    top: 12rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .tech-container {
    width: 235px;
  }

  .navbar {
    justify-content: center;
    padding: 0;
    font-size: 2rem;
    margin-top: 2.2rem;
  }

  .main-circle {
    width: 38rem;
    margin-top: -20rem;
  }

  .main-circle:hover {
    width: 42rem;
  }

  .main-circle img {
    width: 200%;
    height: 200%;
  }

  .section-2 {
    margin-top: -10rem;
  }

  .featured-text {
    position: relative;
    top: -10rem
  }

  .section-2 {
    margin-top: -24rem;
    margin-bottom: -9rem;
  }

  .section-4 {
    position: relative;
    margin-top: 15rem;
  }

  .form-wrapper {
    margin-top: -14rem;
    margin-bottom: -5rem;
  }

  .section-5 {
    margin-bottom: -12rem;
  }

  .section-1 .main-btn {
    bottom: 20rem;
  }

  .form-heading {
    font-size: 5rem;
  }
}