@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Josefin+Sans:wght@100;200;300;400;500;600;700&display=swap");

body {
  background: #101010;
  color: rgb(255 255 255);
  font-family: "Josefin Sans", sans-serif;
}

section {
  padding: 120px 15%;
}

* {
  padding: 0;
  margin: 0;
  letter-spacing: 1.2px;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-behavior: smooth;
  scroll-padding-top: 3.5rem;
}

.waves1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.waves1 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 228px;
}

.waves1 .shape-fill {
  fill: #ffffff;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 25px 15%;
  transition-duration: 0.3s;
}

header.sticky {
  padding: 12px 15%;
  background: rgb(156, 102, 0);
}

a:visited {
  text-decoration: none;
  color: white;
}

.home-text h3 {
  text-align: center;
  margin-top: 100px;
  font-weight: 300;
  font-size: large;
}

.blue-anchor {
  text-decoration: none;
  color: white;
}

.logo {
  color: rgb(255 255 255);
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 1px;
}

.navbar {
  display: flex;
}

.navbar a {
  color: rgb(255 255 255);
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 20px;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.wave svg {
  position: relative;
  display: block;
  width: calc(100% + 4px);
  height: 229px;
}

.wave .shape-fill {
  fill: #d88c00;
}
.spacer {
  aspect-ratio: 1160/330;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.spacer2 {
  aspect-ratio: 1160/330;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.layer1 {
  background-image: url("media/layer1.svg");
}

.reveal {
  position: relative;
  transform: translateY(100px);
  -webkit-transform: translateY(100px);
  -moz-transform: translateY(100px);
  -ms-transform: translateY(100px);
  -o-transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.reveal.active {
  transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  opacity: 1;
}

a:hover {
  color: orange;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}

.footer {
  color: rgba(158, 157, 157, 0.692);
  text-align: center;
  font-size: 1.1em;
  user-select: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.home {
  background-image: url(media/animated-bg.svg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  position: relative;
  display: grid;
  align-items: center;
}

.home-text h4 {
  text-align: center;
  font-size: 25px;
  margin-bottom: 10px;
  color: grey;
}

.home-text h1 {
  text-align: center;
  font-size: 100px;
  margin-bottom: 19px;
}

.home-text span {
  color: #d88c00;
}

.home-text h3 {
  font-size: 25px;
}

.about {
  display: flex;
  align-items: center;
}

.about-content {
  display: inherit;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: 3px solid rgb(168 109 0);
  background-image: url(media/animated-bg-info.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 30px;
  padding: 5%;
  box-shadow: 8px 8px 0px rgba(146, 97, 7, 0.62);
}

.about-text {
  margin-left: 110px;
}

.about img {
  height: 30vh;
  width: auto;
  margin-right: 30px;
  border: 2px #d88c00 dashed;
  border-radius: 50%;
  border-bottom-style: solid;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.about h2 {
  font-size: 40px;
  color: rgb(216, 140, 0);
}
.about p {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 30px;
}

.project a{
  color: orange
}

.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-content {
  background: black;
  padding: 20px;
  width: 80vw;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  height: 70vh;
}

.modal-content iframe{
  height: 70vh;
}

.modal.show {
  opacity: 1;
  pointer-events: all;
}

.close {
  position: absolute;
  top: 100px;
  right: 85px;
  font-size: 25px;
  cursor: pointer;
  background-color: orange;
  border-radius: 20px;
  display: flex;
  padding: 10px;
}

.close:hover{
  background-color: rgb(185 125 13);
  transition: ease 0.35s;
}

.about-text a {
  display: inline-block;
  background: rgb(216, 140, 0);
  color: white;
  border: 2px solid transparent;
  font-weight: 600;
  padding: 7px 20px;
  border-radius: 30px;
  transition: ease 0.35s;
}

.about-text a:hover {
  background-color: rgb(168, 109, 0);
  transition: ease 0.35s;
  -webkit-transition: ease 0.35s;
  -moz-transition: ease 0.35s;
  -ms-transition: ease 0.35s;
  -o-transition: ease 0.35s;
}

.skills h2 {
  font-size: 40px;
  color: rgb(216, 140, 0);
  text-align: center;
}

.skills-logos img {
  width: auto;
  height: 4rem;
}

.skills-logos img:hover {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.336));
  -webkit-filter: drop-shadow();
}

.skills-logos {
  margin-top: 30px;
  justify-content: space-around;
  text-align: center;
  display: flex;
}

.skills-content {
  align-items: center;
  justify-content: space-around;
  border: 4px solid rgb(168 109 0);
  background-image: url(media/animated-bg-info2.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 30px;
  padding: 5%;
  box-shadow: 8px 8px 0px rgba(146, 97, 7, 0.62);
}

.project-title h2 {
  font-size: 45px;
  color: rgb(216, 140, 0);
  text-align: center;
}

.project {
  margin-top: 20px;
  display: grid;
  align-items: center;
}

.bullet-point {
  color: rgb(216, 140, 0);
}

.project-content {
  display: inherit;
  align-items: center;
  justify-content: space-around;
  border: 3px solid rgb(168 109 0);
  background-image: url(media/animated-bg-info.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 30px;
  padding: 5%;
  box-shadow: 8px 8px 0px rgba(146, 97, 7, 0.62);
}

.project-description {
  font-weight: 300;
}

.project-name {
  margin-bottom: 10px;
}

.repo-link {
  margin-top: 20px;
}

.hr-divider { 
  border-top: 1px solid rgb(216, 140, 0);
  border-color: rgb(121, 78, 0);
  margin-top: 15px;
} 


.gh-img {
  width: 30px;
  height: auto;
  margin-right: 10px;
}

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

.contact-form {
  background-image: url(media/animated-bg-info2.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border: 4px solid rgb(168 109 0);
  border-radius: 30px;
  padding: 5%;
  box-shadow: 8px 8px 0px rgba(146, 97, 7, 0.62);
}

.contact {
  display: block;
  padding-top: 30px;
  margin-top: 95px;
}

.contact-form h2 {
  color: rgb(216, 140, 0);
  font-size: 50px;
  font-weight: bold;
  text-align: center;
}

.contact-arrow {
  position: relative;
  height: 60px;
}

.contact-arrow img {
    width: 40px;
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: moveDown 2s infinite ease-in-out;
}

@keyframes moveDown {
    0% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(0);
    }
    100% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.contact-form p {
  color: white;
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 22px;
  margin-bottom: 4.1rem;
  font-weight: 300;
  margin-top: 20px;
  text-align: center;
}

header .menu-hamburger {
  display: none;
  position: absolute;
  top: 12px;
  right: 40px;
  width: 30px;
}

.contact-links {
  margin-top: 10px;
  text-align: center;
}

.contact-links a {
  margin: 0px 10px;
  font-size: 20px;
}

.jobs .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid rgb(168, 109, 0);
  background-image: url(media/animated-bg-info.svg);
  background-size: cover;
  border-radius: 30px;
  padding: 5%;
  box-shadow: 8px 8px 0px rgba(146, 97, 7, 0.62);
}

.jobs-title {
  text-align: center;
  margin-bottom: 20px;
}

.jobs-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #d88c00;
}

.timeline {
  position: relative;
  padding-left: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  width: 2px;
  background: #d88c00;
}

.job-item {
  position: relative;
}

.job-item:first-child{
  margin-bottom: 50px;
}

.job-dot {
  position: absolute;
  left: -45px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d88c00;
}

.job-date {
  position: relative;
  top: 7px;
  color: #d88c00;
  font-size: 1rem;
  text-align: end;
  left: 410px;
  top: 20px;
}

.job-content {
  padding-left: 15px;
  max-width: 600px;
}

.job-name {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.job-title {
  font-size: 1.2rem;
  color: #d88c00;
  margin-bottom: 8px;
}

.job-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

@media screen and (max-width: 1220px) {
  .about-text {
    margin-left: 40px;
  }

  .about-text p {
    font-size: 20px;
  }
}

@media screen and (max-width: 1140px) {
  .about-text {
    margin-left: 15px;
  }

  .about img {
    width: 22vh;
    height: auto;
  }

  .about-text p {
    font-size: 20px;
  }

  .skills-logos img {
    height: 2.4rem;
  }

  .job-date{
    position: absolute;
    left: 220px;
    top: 30px;
    width: fit-content;
  }
}

@media screen and (max-width: 820px) {
  section {
    padding: 70px 10%;
  }

  header .menu-hamburger {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    background-color: rgb(0 0 0 / 35%);
    align-content: center;
    justify-content: center;
    justify-items: center;
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    margin-left: -100%;
    transition: margin-left 0.5s ease;
    -webkit-transition: margin-left 0.5s ease;
    -moz-transition: margin-left 0.5s ease;
    -ms-transition: margin-left 0.5s ease;
    -o-transition: margin-left 0.5s ease;
  }

  .navbar.mobile-menu {
    margin-left: 0;
  }

  .navbar li {
    margin: 25px 0;
  }

  .navbar a {
    font-size: 25px;
    font-weight: 400;
  }

  .about img {
    width: 20vh;
    height: 20vh;
  }

  .home h1 {
    font-size: 55px;
  }

  .skills-content {
    justify-content: center;
  }

  .skills-logos {
    display: block;
  }

  .about-text {
    font-size: 20px;
    text-align: left;
  }

  .contact {
    margin-top: 0px;
  }
  .contact-form h2 {
    font-size: 45px;
  }
  .contact-form p {
    font-size: 20px;
  }
  .contact-form p {
    font-size: 25px;
  }

  .contact-form a {
    font-size: 17px;
  }

  .spacer {
    aspect-ratio: 410/230;
  }
}

@media screen and (max-width: 700px) {
  .about img {
    display: none;
  }

  .about-text {
    text-align: center;
  }

  .job-date{
    font-size: 12px;
    left: 15px;
    top: -20px;
  }

  .timeline{
    padding-top: 30px;
  }

  .close {
    top: -11px;
    right: 20px;
    font-size: 15px;
    border-radius: 10px;
  }
}

@media screen and (max-width: 440px) {
  .about-text h2 {
    font-size: 35px;
  }

  .about-text p {
    font-size: 17px;
  }
  .about-text a {
    font-size: 10px;
  }

  .contact-arrow img {
    width: 35px;
  }
  .contact-form h2 {
    font-size: 35px;
  }
  .contact-links {
    margin-top: 0px;
  }
  .contact-form p {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .contact-form a {
    font-size: 10px;
    margin-left: 0px;
  }

  .footer {
    font-size: 11px;
  }

  .home-text h3 {
    font-size: 20px;
  }
  .spacer {
    aspect-ratio: 150/120;
  }
}

@media screen and (max-width: 300px) {
  section {
    padding: 30px 6%;
  }
}