@import url(font.css);
:root {
  --primary-color: #76FF86;
  --white-color: #FDFFFD;
  --dark-green: #1C3A1F;

}

body,
input,
button {
  font-family: 'Poppins', sans-serif;

}

/* ===== Hero Section ===== */
.hero {
  background-color: var(--dark-green);
  background-image: url("../images/landing-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  color: var(--white-color);
  text-align: center;
  position: relative;
  font-family: Arial, sans-serif;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}

.navbar .gab-container {
  width: 20%;
}

.navbar .menu-container {
  width: 60%;
  text-align: right;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.nav-links a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.navbar .btn-container {
  width: 20%;
}

.btn-contact {
  border: 2px solid var(--primary-color);
  padding: 8px 20px;
  border-radius: 30px;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-contact:hover {
  background: var(--primary-color);
  color: var(--dark-green);
}

/* Hero Content */
.hero-content {
  /* position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%); */
  max-width: 800px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  margin: 0 auto 0;
}

.profile-pic {
  margin-bottom: 20px;
}

.profile-pic img {
  width: 300px;
  /*height: 220px; */
  /* border-radius: 50%; */
  /* border: 3px solid var(--primary-color);
  box-shadow: 0 0 25px var(--primary-color); */
  /* object-fit: cover; */
}

.hero-content h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: left;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: left;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 600;
}

.btn-container_cv {
  margin-top: 25px;
}

.btn-cv {
  font-weight: 600;
  background-color: var(--primary-color);
  color: var(--dark-green);
  border-radius: 11px;
  margin-right: 20px;
}

.btn-work {
  font-weight: 600;
  border-radius: 11px;
  margin-left: 20px;

}

/* about us */
#aboutus {
  background-image: url("../images/about-me2-min.jpg");
  background-color: var(--dark-green);
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  height: 538px;
  box-shadow: inset 0px 47px 104.6px rgba(0, 0, 0, 0.73);

}

#aboutus .about-container {
  max-width: 85%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

#aboutus .img-container {
  width: 45%;
}

#aboutus .img-container img {
  width: 200px;
}

#aboutus .text-container {
  width: 55%;
}

#aboutus .text-container h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 15px;
}

#aboutus .text-container p {
  color: var(--white-color);
  font-size: 16px;
  line-height: 26px;

}

/* skills */
#skills {
  background-image: url("../images/skills-and-tools3-min.jpg");
  background-color: var(--dark-green);
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  height: 538px;
  display: flex;
  align-items: center;
  box-shadow: inset 0px 59px 53.6px rgba(0, 0, 0, 0.41);
}

#skills .skills-container {
  max-width: 85%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

#skills .text-container {
  width: 55%;
  color: var(--white-color);
  font-size: 16px;
  line-height: 23px;
}

#skills .text-container h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
}

#skills .text-container .highlight {
  color: var(--primary-color);
  font-weight: 600;
}

#skills .img-container img {
  width: 200px;
}

/* portfolio */
#portfolio {
  background-image: url("../images/portfolio-min.jpg");
  background-color: var(--dark-green);
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 539px;
  box-shadow: inset 35px 62px 93.5px rgba(0, 0, 0, 0.57);
  padding: 75px 0;

}

#portfolio h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 10px;
}

/* footer */
#footer {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 539px;
  background-image: url("../images/contact-me-min.jpg");
  background-size: cover;
  background-position: center center;
  height: 536px;
  padding-bottom: 200px;

}

#footer .title-container {
  text-align: center;
}

#footer h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 10px;
}

#footer .title-container p {
  color: var(--white-color);
  font-size: 24px;
  margin-top: 15px;
}

#footer .contact-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

#footer .social-container {
  width: 19%;
  text-align: center;
}

#footer .social-item {
  display: flex;
  align-items: center;
  font-size: 15px;
  margin-bottom: 10px;
  color: var(--primary-color);
  text-decoration: none;
}

#footer .social-item i {
  font-size: 32px;
}

#footer .social-item p {
  margin-left: 10px;
}

#footer .form-container {
  /* background-color: rgb(46, 219, 15); */
  width: 50%;
  display: flex;
  flex-direction: column;
}

#footer .form-container p {
  color: var(--primary-color);
}

.form-container h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

input,
textarea {
  width: 40%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
  background: transparent;
  color: var(--white-color);
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: 0.3s;
}

input::placeholder,
textarea::placeholder {
  color: #aaa;
}

input:focus,
textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
}

button {
  background: var(--primary-color);
  border: none;
  padding: 12px 25px;
  border-radius: 11px;
  color: var(--dark-green);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.form-container button:hover {
  background: var(--primary-color);
}

.social-container_mobile {
  display: none;
}

/* popup*/
div.popup-close {
  color: var(--white-color) !important;
}

.popup-body p {
  margin: 0 !important;
  display: inline-block;
  text-align: left;
  width: 51%;
}

.popup-form input,
.popup-form textarea {
  border: 1px solid var(--primary-color) !important;
  width: 100%;
}

.popup-form input::placeholder,
.popup-form textarea::placeholder {
  color: var(--primary-color);

}

.popup-form .popup-send {
  background: var(--primary-color);
  border: none;
  padding: 12px 25px;
  border-radius: 11px;
  color: var(--dark-green);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

/* submition success */
.form-message {
  display: none;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #76ff86;
  color: #1c3a1f;
}

.form-message.error {
  background-color: #ff6b6b;
  color: #fff;
}

.form-success-message {
  text-align: center;
  color: var(--primary-color);
  animation: fadeIn 0.5s ease-in-out;
  background-color: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(17px);
  width: 44%;
  padding: 38px;
}

.form-success-message p {
  font-size: 20px;
  font-weight: 600;

}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media only screen and (max-width: 480px) {

  /* landing */
  .navbar {
    flex-direction: column;
  }

  .navbar .gab-container {
    display: none;
  }

  .navbar .nav-links {
    gap: 22px;
  }

  .navbar .menu-container {
    width: 100%;
    text-align: center;
  }

  .navbar .btn-container {
    width: 100%;
    margin-top: 30px;
  }

  .hero {
    height: auto;
    padding-bottom: 50px;
  }

  .profile-pic img {
    width: 230px;
  }

  .hero-content h2 {
    text-align: center;
  }

  .hero-content h1 {
    text-align: center;
    padding: 0 4px;
    line-height: 35px;
  }

  .hero-content p {
    padding: 10px;
    margin-bottom: 20px;
  }

  .btn-container_cv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 0 auto;
  }

  .btn-cv {
    margin: 0 0 20px 0;
  }

  .btn-work {
    margin: 0;
  }

  /* about us */
  #aboutus {
    background-image: url("../images/about-m.jpg");
  }

  #aboutus .img-container {
    display: none;
  }

  #aboutus .text-container {
    width: 90%;
  }

  /* skills */
  #skills {
    background-image: url("../images/skills-m.jpg");
  }

  #skills .text-container {
    width: 100%;
  }

  /* portfolio */
  #portfolio {
    background-image: url("../images/portfolio-m.jpg");
  }

  #portfolio iframe {
    width: 300px;
  }

  /* footer */
  #footer {
    background-image: url("../images/contact-m.jpg");
    padding: 40px 0;
  }

  #footer .social-container {
    display: none;
  }

  #footer .title-container p {
    line-height: 30px;
  }

  #footer .form-container {
    width: 100%;
    text-align: center;
  }

  .form-container input,
  .form-container textarea {
    width: 64%;
  }

  #footer .social-container_mobile {
    display: flex;
    text-align: center;
    justify-content: space-evenly;
    margin-top: 50px;

  }

  #footer .contact-container {
    flex-direction: column;
  }

}

/* Large screens */
/* ===== Ultra-Wide Desktop (2560x1219) ===== */
@media screen and (min-width: 2000px) {

  html,
  body {
    font-size: 18px;
    /* slightly larger base font */
  }

  /* General containers */
  .hero,
  #aboutus,
  #skills,
  #portfolio,
  #footer {
    margin: 0 auto;
  }

  /* Navbar */
  .navbar {
    padding: 60px 0;
  }

  .nav-links {
    gap: 60px;
  }

  .nav-links a {
    font-size: 20px;
  }

  .btn-contact {
    font-size: 18px;
    padding: 12px 28px;
    border-width: 3px;
  }

  /* Hero */
  .hero-content {
    max-width: 1100px;
  }

  .profile-pic img {
    width: 400px;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 48px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 22px;
    line-height: 1.8;
  }

  .btn-container_cv a {
    font-size: 18px;
    padding: 14px 32px;
  }

  /* About */
  #aboutus .text-container h2 {
    font-size: 42px;
  }

  #aboutus .text-container p {
    font-size: 20px;
    line-height: 34px;
  }

  /* Skills */
  #skills .text-container h2 {
    font-size: 42px;
  }

  #skills .text-container {
    font-size: 20px;
    line-height: 30px;
  }

  /* Portfolio */
  #portfolio {
    height: 750px;
  }

  #portfolio h2 {
    font-size: 42px;
  }

  #portfolio iframe {
    width: 900px;
    height: 500px;
  }

  #portfolio .btn-container {
    margin-top: 35px;
  }

  /* Footer */
  #footer {
    padding-top: 100px;
  }

  #footer h2 {
    font-size: 40px;
  }

  #footer .title-container p {
    font-size: 28px;
  }

  .form-container h3 {
    font-size: 22px;
  }

  .form-container input,
  .form-container textarea {
    width: 50%;
    font-size: 18px;
    padding: 16px 20px;
  }

  .form-container button {
    font-size: 18px;
    padding: 14px 30px;
  }

  #footer .social-item i {
    font-size: 42px;
  }

  #footer .social-item p {
    font-size: 18px;
  }
}