/*!**************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scss/style.scss ***!
  \**************************************************************************************************************/
@font-face {
  font-family: "JFopen";
  src: url(../fonts/jf-openhuninn-1.1.ttf) format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "reef";
  src: url(../fonts/Reef.otf) format("opentype");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "JFopen", sans-serif;
  line-height: 1.6;
  min-width: 390px;
}

h1, h2, h3 {
  font-family: "Montserrat", "reef";
}

h1 {
  font-weight: 900;
}

h2 {
  font-weight: 800;
}

h3 {
  font-weight: 700;
  margin-top: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: sticky;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 251, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 100%;
  color: #FFFFFB;
  background: #006284;
}
header nav ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
header nav a {
  font-family: "Montserrat";
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
}
header nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #006284;
  left: 0;
  bottom: 2px;
  transition: 0.3s;
}
header nav a:hover::after {
  width: 100%;
}
header nav .lang-btn {
  background: transparent;
  border: 1.5px solid #006284;
  color: #006284;
  padding: 4px 10px;
  margin-left: 1rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: "Montserrat";
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
header nav .lang-btn:hover {
  background: #006284;
  color: #FFFFFB;
  transform: scale(1.05);
}
header nav .lang-btn:active {
  transform: scale(0.95);
}
@media (max-width: 600px) {
  header nav a {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  header nav .lang-btn {
    margin-left: 0.5rem;
  }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  min-height: 100vh;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1;
  align-items: center;
}
.hero-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 251, 0.5);
  z-index: 2;
}
.hero-img .hero-img-box {
  flex: 1;
  width: 98%;
  margin-top: 0.5rem;
  overflow: hidden;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
body.animation-start .hero-img .hero-img-box {
  opacity: 1;
  transform: translateY(0);
}
body.animation-start .hero-img .hero-img-box.top {
  transition-delay: 0.2s;
}
body.animation-start .hero-img .hero-img-box.mid {
  transition-delay: 0.5s;
}
body.animation-start .hero-img .hero-img-box.bottom {
  transition-delay: 0.8s;
}
.hero-img .hero-img-box.top {
  background-image: url(../images/Antartic.webp);
  background-position: 50% 60%;
}
.hero-img .hero-img-box.mid {
  position: relative;
  width: 65%;
  right: 1%;
  align-self: flex-end;
  background-image: url(../images/Fourteen.webp);
}
.hero-img .hero-img-box.bottom {
  background-image: url(../images/Dolphin.webp);
  background-position: 50% 65%;
}
.hero-text {
  position: relative;
  justify-content: flex-start;
  transform: translateX(-30%) translateY(-35%);
  min-width: 50%;
  z-index: 3;
  opacity: 0;
  transition: all 0.8s ease-out;
}
body.animation-start .hero-text {
  opacity: 1;
  transition-delay: 0.5s;
}
.hero-text h1 {
  font-size: 5rem;
  line-height: 5rem;
  margin-bottom: 0.5rem;
}
.hero-text h1 .highlight {
  display: inline-block;
  color: #006284;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease;
}
body.animation-start .hero-text h1 .highlight {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.8s;
}
.hero-text p {
  color: #474A57;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.8s ease;
}
body.animation-start .hero-text p {
  opacity: 1;
  transition-delay: 1.2s;
}

@media (max-width: 700px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
    transform: translate(0, 0);
    padding: 0 1rem;
  }
  .hero-text h1 {
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 1rem;
  }
}
@media (max-height: 500px) {
  .hero-img-box {
    flex: none;
    height: 120px;
  }
  .hero-text {
    max-width: 100%;
    transform: translateX(-30%);
    padding: 0 1rem;
  }
  .hero-text h1 {
    font-size: 4rem;
    line-height: 4rem;
    margin-bottom: 1rem;
  }
}
@media (max-width: 700px) and (max-height: 500px) {
  .hero-text {
    max-width: 100%;
    transform: translate(0, 0);
    padding: 0 1rem;
  }
  .hero-text h1 {
    font-size: 3.5rem;
    line-height: 4rem;
    margin-bottom: 1rem;
  }
}
.about {
  margin: 3rem 5rem 1rem 5rem;
  padding: 1.5rem 1rem 2rem 1rem;
  background-color: #FFFFFB;
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.2);
  color: #006284;
  border-radius: 25px;
}
.about h2 {
  font-family: "Montserrat";
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  justify-content: center;
}
.about p {
  padding: 0 2rem;
}
.about .desktop-only {
  display: block;
}
.about .mobile-only {
  display: none;
}
@media (max-width: 500px) {
  .about .desktop-only {
    display: none;
    text-align: left;
  }
  .about .mobile-only {
    display: block;
  }
}

@media (max-width: 768px) {
  .about {
    margin: 2rem 1.5rem 1rem 1.5rem;
    padding: 2rem 1rem 3rem 1rem;
  }
}
.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 2rem;
  color: #FFFFFB;
}
@media (max-width: 500px) {
  .skills {
    flex-direction: column;
    align-items: center;
  }
}
.skills div {
  flex: 0 1 250px;
  min-width: 300px;
  text-align: center;
  background-color: #006284;
  border-radius: 35px;
  padding: 1rem 2rem;
  transition: all 0.4s ease-in-out;
}
@media (max-width: 820px) {
  .skills div {
    width: 100%;
    max-width: 230px;
    flex: none;
  }
}
.skills div h4 {
  cursor: pointer;
  position: relative;
  display: inline-block;
  transition: all 0.4s ease;
}
.skills div h4::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #FFFFFB;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.skills div ul {
  text-align: left;
  list-style: circle;
  padding-left: 1.2rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.skills div.active h4 {
  color: #FFFFFB;
  margin-bottom: 1rem;
}
.skills div.active h4::after {
  width: 100%;
}
.skills div.active ul {
  max-height: 500px;
  opacity: 1;
}
.skills div:hover {
  background-color: rgb(44, 129, 157);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.projects {
  padding: 3rem 2rem;
}
.projects h2 {
  display: flex;
  text-align: center;
  justify-content: center;
  margin: 1rem 0 1.5rem 0;
  color: #006284;
  font-size: 2.5rem;
}
.projects h3 {
  font-family: "Montserrat", "JFopen";
  font-size: 1.5rem;
  color: #006284;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  margin: 0;
  text-align: center;
}
.projects .project-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}
.projects .project-card {
  position: relative;
  overflow: hidden;
  border-radius: 35px;
  padding: 1rem;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.projects .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}
.projects .project-card .project-img {
  width: 100%;
  height: 320px;
  background-size: cover;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
}
.projects .project-card .project-img .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 98, 132, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.projects .project-card .project-img .overlay .view-project {
  text-align: center;
  color: #FFFFFB;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
.projects .project-card .project-img .overlay .view-project p {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.projects .project-card .project-img .overlay .view-project .icon-group {
  display: flex;
  gap: 1rem;
}
.projects .project-card .project-img .overlay .view-project .icon-group .icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  color: #FFFFFB;
  font-size: 1.5rem;
  border: 2px solid #FFFFFB;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.projects .project-card .project-img .overlay .view-project .icon-group .icon-circle:hover {
  background-color: #FFFFFB;
  color: #006284;
  transform: scale(1.1);
}
.projects .project-card .project-img.todo {
  background-image: url(../images/Todo.png);
}
.projects .project-card .project-img.cv {
  background-image: url(../images/computer.png);
}
.projects .project-card .project-img:hover .overlay {
  opacity: 1;
}
.projects .project-card .project-img:hover .overlay .view-project {
  transform: translateY(0);
}
.projects .project-card .project-detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease-out, opacity 0.3s ease, padding 0.5s ease;
  padding: 0 1.5rem;
}
.projects .project-card .project-detail p {
  font-size: 0.95rem;
  color: #474A57;
  line-height: 1.6;
}
.projects .project-card .project-detail strong {
  color: #006284;
}
.projects .project-card.active .project-detail {
  max-height: 500px;
  opacity: 1;
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  width: 100%;
  background: linear-gradient(#FFFFFB, #006284);
}
.contact p {
  font-size: 1.3rem;
  color: #006284;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.contact a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  background-color: #006284;
  border-radius: 30px;
  padding: 0.8rem 1rem;
  width: 230px;
  box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.1);
  color: #FFFFFB;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
  transition: all 0.3s ease;
}
.contact a::before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -30px;
  transition: all 0.3s ease;
}
.contact a:hover {
  background-color: #FFFFFB;
  color: #006284;
  transform: translateY(-3px);
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.2);
  padding-left: 3rem;
}
.contact a:hover::before {
  left: 20px;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay .modal-card {
  background: #FFFFFB;
  padding: 1rem 2rem;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay .modal-card .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #474A57;
}
.modal-overlay .modal-card h3 {
  color: #006284;
  margin-bottom: 0.5rem;
}
.modal-overlay .modal-card p {
  color: #474A57;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-options .option-link, .modal-options .copy-btn {
  font-family: "JFopen";
  font-size: 0.9rem;
  letter-spacing: 0.05rem;
  padding: 1rem;
  border-radius: 25px;
  height: 50px;
  border: 1px solid #ddd;
  background: #FCFAF2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  transition: all 0.2s;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem;
  background: #006284;
  color: rgba(255, 255, 251, 0.5);
  font-size: 0.8rem;
}
.footer p:first-child {
  grid-column: 1;
  text-align: left;
}
.footer p:last-child {
  grid-column: 2;
  text-align: center;
  white-space: nowrap;
}
