@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Roboto+Slab:wght@700&display=swap");

html {
  scroll-behavior: smooth;
}

/* Fade-in effect */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-in;
}
.visible {
  opacity: 1;
}

/* Body style */
body {
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
}

/* Heading styles */
h1,
h2,
h3 {
  font-family: "Merriweather", serif;
  margin: 0;
}
h2 {
  color: #007bff;
  font-size: xx-large;
}
h3 {
  color: #97caff;
  font-size: x-large;
}

/* Link styles */
a {
  color: #79b0ec; /* soft blue */
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s ease, transform 0.3s ease;
}

a:visited {
  color: #79b0ec;
}

a:hover {
  color: #ffffff;
  transform: translateY(-1.5px);
  text-decoration-color: #ffffff;
}

/* List and paragraph styles */
li,
p {
  line-height: 1.7;
  margin-top: 8px;
  font-weight: 500 !important;
  font-size: 18px !important;
}

/* Row and layout styles */
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.column {
  padding-right: 3%;
}

/* Main section styles */
main {
  padding: 20px 10%;
}

/* Section styles */
section {
  margin-bottom: 20px;
  background: #28282b;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
}

/* Job and education styles */
.job,
.education {
  margin-bottom: 10px;
}

/* Footer styles */
footer {
  text-align: center;
  padding: 10px;
  background: #007bff;
  color: #fff;
  border-radius: 15px 15px 0 0;
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.lightbox:target img {
  transform: scale(1);
  opacity: 1;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}
.modal-content {
  position: relative;
  background-color: black;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}
.modal-content,
.close {
  animation: zoom 1.6s;
}
@keyframes zoom {
  from {
    transform: scale(0.5);
  }
  to {
    transform: scale(1);
  }
}
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 40px;
  font-weight: bold;
  transition: 0.4s;
}
.close:hover,
.close:focus {
  color: #999;
  cursor: pointer;
}

/* Slide styles */
.mySlides {
  display: none;
}
/* Styles for previous and next buttons in image slideshow */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: #fff !important;
  font-weight: bold;
  font-size: 40px;
  transition: 0.6s ease;
  user-select: none;
}
/* Styles for previous and next buttons on hover */
.prev:hover,
.next:hover {
  color: rgb(160, 160, 160) !important;
}
/* Styles for next button */
.next {
  right: 0;
}
/* Styles for slide number text */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/* Styles for caption container */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

/* Styles for images with hover shadow effect */
img.hover-shadow {
  transition: 0.5s;
}
/* Styles for images */
.images {
  width: 200px;
  height: 140px;
  border-radius: 5%;
  transition: filter 0.5s ease;
  cursor: pointer;
}
/* Styles for images on hover */
.images:hover {
  filter: brightness(50%);
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
}
/* Styles for featured link elements */
.featured-link {
  border: 4px solid #0077ff;
  box-shadow: 0 15px 30px rgba(0, 119, 255, 0.5);
  transition: transform 0.4s ease;
  width: 260px;
  height: 200px;
}
/* Styles for featured link elements on hover */
.featured-link:hover {
  transform: scale(1.1);
}

/* Caption styles */
.image-caption-container {
  text-align: center;
  position: relative;
  margin-top: 8px;
}
figcaption {
  padding: 7px 0;
  text-align: center;
  font-family: "Arial", sans-serif;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Misc styles */
.inline {
  display: inline-block;
}
/* Styles for section titles */
.section-title {
  font-size: 1.75em;
  margin-bottom: 10px;
}
/* Styles for dates */
.date {
  font-size: 16px;
  color: #888;
  margin-bottom: 15px;
}
/* Styles for service lists */
.service-list {
  list-style-type: disc;
  padding-left: 20px;
  max-width: 800px;
}
/* Styles for project descriptions */
.project-description {
  max-width: 950px;
}
/* Styles for service list items */
.service-item {
  font-size: 16px;
  margin-bottom: 10px;
}
/* Styles for key skills */
.key-skills {
  font-size: 18px;
  margin-top: 15px;
  max-width: 950px;
}
/* Styles for parent container */
.parent {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: 10px;
  padding: 10px;
}
/* Styles for buttons on hover */
.button:hover {
  filter: brightness(50%);
  transform: scale(1.1);
}
/* Styles for buttons */
a.button {
  color: black;
  background-color: white;
  text-decoration: none;
  border: none;
  padding: 10px 20px;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  margin: auto;
  transition: filter 0.5s ease, transform 0.4s ease;
}

/* Styles for YJA element */
.YJA {
  margin-bottom: 10px;
  border-radius: 10px;
  border: solid white 3px;
}

/* Styles for h4 elements */
h4 {
  display: block;
  text-align: center;
  font-size: xx-large;
  margin: 0;
  padding-bottom: 10px;
  padding-top: 5px;
  cursor: pointer;
  text-decoration: none;
}

/* Styles for the hero section */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #007bff;
  transition: opacity 0.5s ease;
  position: relative;
  z-index: 1;
  opacity: 1;
}

/* Styles for the hero profile container */
.hero-profile {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: row;
}

/* Styles for the hero about text */
.hero-about-text {
  max-width: 600px;
  font-size: 1.3rem;
  line-height: 1.5;
  font-weight: 100;
  margin: 10px;
}

/* Media query for screens smaller than 1230px */
@media (max-width: 1230px) {
  /* Adjust text size and width */
  .hero-about-text {
    font-size: 1.1rem;
    max-width: 530px;
  }
}

/* Media query for screens smaller than 992px */
@media (max-width: 992px) {
  /* Adjust image size and margin */
  .icon {
    width: 300px !important;
    height: 300px !important;
  }

  .e-card {
    width: 360px !important;
    height: 360px !important;
  }

  .hero-section {
    height: 125vh;
  }

  /* Adjust text size */
  .hero-about-text {
    font-size: 1.05rem;
  }

  /* Change flex direction for mobile */
  .hero-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
  /* Adjust main section padding */
  main {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* Media query for screens smaller than 576px */
@media (max-width: 576px) {
  /* Adjust text size */
  .hero-about-text {
    font-size: 0.9rem;
  }
  /* Adjust contact info styles */
  .contact-info {
    font-size: 0.9rem;
    padding: 15px;
  }

  /* Adjust contact info link styles */
  .contact-info a {
    display: block;
    margin: 5px 0;
  }
}

.contact-info {
  width: 90%;
  max-width: 600px;
  margin: 40px auto;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  background-color: #1e1e22;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-top: 5px solid #79b0ec;
  font-size: 1.1rem;
}

.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.contact-info .contact-location {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.contact-links a {
  background-color: #2c2c32;
  color: #79b0ec;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.contact-links a:hover {
  color: #fff;
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.5);
}

/* From Uiverse.io by MikeAndrewDesigner */
.e-card {
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
  position: relative;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.infotop {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
}

.icon {
  width: 380px;
  height: 380px;
  border-radius: 50%;
}

.wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(
    744deg,
    #af40ff,
    #d0cfff 25%,
    #ffffff 40%,
    #5b42f3 60%,
    #00ddeb
  );
}

.wave:nth-child(2),
.wave:nth-child(3) {
  top: 210px;
}

.playing .wave {
  border-radius: 40%;
  animation: wave 3000ms infinite linear;
}

.wave {
  border-radius: 40%;
  animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
  animation-duration: 4000ms;
}

.wave:nth-child(2) {
  animation-duration: 50s;
}

.playing .wave:nth-child(3) {
  animation-duration: 5000ms;
}

.wave:nth-child(3) {
  animation-duration: 45s;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
