html {
  scroll-behavior: smooth;
}
body {
  background-color: #eed7c5;
  font-family: "Roboto Condensed", sans-serif;
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

main {
  z-index: 5;
}

h1 {
  font-family: "Anton";
}
section {
  padding-top: 50px;
}
section#Home,
section#experience,
section#contact {
  height: 100vh;
}

/* NAV BAR */

#NavBar {
  background-color: #7f5539;
  justify-content: center;
  align-items: center;
  height: 10vh;
}

#NavBar li a {
  color: #e6ccb2;
  justify-content: center;
  align-content: center;

  font-family: "Anton";
}
#NavBar li a:hover {
  color: #ffffff;
  text-decoration-line: underline;
}

/* Heading */

.heading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

div#name1 {
  /* font-size: 8rem; */
  color: #c97c5d;
  font-family: "Anton", sans-serif;
  z-index: 1;
  margin-left: 8vw;
  position: absolute;
}
div#name2 {
  /* font-size: 8rem; */
  color: #b36a5e;
  font-family: "Anton", sans-serif;
  z-index: 2;
  margin-left: 8.5vw;
  position: absolute;
}

.slide-right p {
  animation: 2s slide-right 2s forwards;
  transform: translate(-300%);
}

@keyframes slide-right {
  to {
    transform: translateX(0);
  }
}

.slide-right2 p {
  animation: 2s slide-right 2.5s forwards;
  transform: translateX(-300%);
}

@keyframes slide-right {
  to {
    transform: translateX(0);
  }
}

.flex-item {
  flex: 1 1 0px;
  justify-content: center;
  text-align: center;
  align-items: center;
}

#profile-picture {
  filter: drop-shadow(0 0 0.75rem #c89f9c);
  width: 30vw;
  animation: 2s slide-left 2.5s forwards;
  transform: translate(300%);
}
@keyframes slide-left {
  to {
    transform: translateX(0);
  }
}

/* About me */
.about-container {
  flex-direction: column;
}

.about-title {
  color: #b36a5e;
  margin: 25px auto;
  text-align: center;
  text-decoration: underline;
}

.carousel-item img {
  margin: 0;
  filter: drop-shadow(0 0 0.75rem #c89f9c);
  padding: 20px;
  width: 40vh;
  height: 40vh;
}

.about-description {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0px auto;
  justify-content: center;
  align-items: center;
  background-color: #c89f9c;
  border-radius: 20px;
  filter: drop-shadow(0 0 0.75rem #c89f9c);
}

.about-description li {
  padding: 10px;
}

/* Projects */

.project-container {
  flex-wrap: wrap;
}

.rectangle {
  height: 150px;
  width: 70vw;
  background-color: #7f5539;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-title {
  color: #e6ccb2;
  overflow: hidden;
  white-space: nowrap;
}
.project-head {
  margin: 0;
}

.card-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.card-item1 {
  animation: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  background-color: #c89f9c;
  box-shadow: 4px 4px 4px #7f5539;
}
.card-item2 {
  animation: floating1;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  background-color: #c89f9c;
  box-shadow: 4px 4px 4px #7f5539;
}

/* .card-item{
    flex: auto;
    background: #b4bac0;
    margin: 60px 100px;
} */

@keyframes floating {
  from {
    transform: translate(0, 0px);
  }
  65% {
    transform: translate(0, 10px);
  }
  to {
    transform: translate(0, -0px);
  }
}
@keyframes floating1 {
  from {
    transform: translate(0, 10px);
  }
  65% {
    transform: translate(0, 0px);
  }
  to {
    transform: translate(0, 10px);
  }
}

/* experience */

.job-box {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: auto auto;
  justify-content: center;
  background-color: #c89f9c;
  padding: 0 10px;
  border-radius: 25px;
  filter: drop-shadow(0 0 0.75rem #c89f9c);
}

.job-body {
  text-align: left;
}

.job-title {
  font-weight: bold;
}

/* Contact */

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 900px;
  flex-direction: column;
}
.icon-flex {
  display: flex;
  flex-direction: row;
  margin: 100px;
}
#contact svg path:hover {
  fill: #7f5539;
}

.contact-title {
  font-size: 150px;
  color: #c97c5d;

  -webkit-animation: floating-text 2s ease alternate infinite;
  -moz-animation: floating-text 2s ease alternate infinite;
  -ms-animation: floating-text 2s ease alternate infinite;
  -o-animation: floating-text 2s ease alternate infinite;
  animation: floating-text 2s ease alternate infinite;
}

/* Animated Circles CSS */

.circles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 100px;
  height: 100px;
  background: #c97c5d;
  animation: animate 25s linear infinite;
  bottom: calc(-150px - 40vh);
}

.circles li:nth-child(1) {
  left: 25%;
  width: 200px;
  height: 200px;
  animation-delay: 0s;
  animation-duration: 20s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(2) {
  left: 10%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
  animation-duration: 25s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(3) {
  left: 70%;
  width: 40px;
  height: 40px;
  animation-delay: 0s;
  animation-duration: 20s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 15s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
  animation-duration: 20s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(6) {
  left: 75%;
  width: 300px;
  height: 300px;
  animation-delay: 0s;
  animation-duration: 25s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(7) {
  left: 35%;
  width: 100px;
  height: 100px;
  animation-delay: 0s;
  animation-duration: 30s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(8) {
  left: 50%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 35s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(9) {
  left: 20%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
  animation-duration: 40s;
  border-radius: 50%;
  background: #c97c5d;
}

.circles li:nth-child(10) {
  left: 85%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 45s;
  border-radius: 50%;
  background: #c97c5d;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-300vh) rotate(360deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-300vh) rotate(720deg);
    opacity: 0;
  }
}

@-webkit-keyframes floating-text {
  0% {
    -webkit-transform: translateY(0.1em);
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.3em 0.2em rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.5em 0.5em rgba(0, 0, 0, 0.3);
  }
}
@-moz-keyframes floating-text {
  0% {
    -moz-transform: translateY(0.1em);
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.3em 0.2em rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.5em 0.5em rgba(0, 0, 0, 0.3);
  }
}
@-ms-keyframes floating-text {
  0% {
    -ms-transform: translateY(0.1em);
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.3em 0.2em rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.5em 0.5em rgba(0, 0, 0, 0.3);
  }
}
@-o-keyframes floating-text {
  0% {
    -o-transform: translateY(0.1em);
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.3em 0.2em rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.5em 0.5em rgba(0, 0, 0, 0.3);
  }
}
@keyframes floating-text {
  0% {
    transform: translateY(0.1em);
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.3em 0.2em rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 0 0 0.5em rgba(255, 255, 255, 0.4),
      0 0 0.2em rgba(0, 0, 0, 0.3), 0 0.5em 0.5em rgba(0, 0, 0, 0.3);
  }
}

/* Media Queries */

@media screen and (max-width: 480px) {
  .about-title {
    font-size: 5vw;
  }
  #NavBar li a {
    font-size: 10px;
  }
  .project-title {
    font-size: 70px;
  }

  .job-title {
    font-size: 10px;
  }
  .job-title-des {
    font-size: 1rem;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .about-title {
    font-size: 5vw;
  }
  #NavBar li a {
    font-size: 18px;
  }
  .project-title {
    font-size: 70px;
  }
  .job-title {
    font-size: 20px;
  }
  .job-title-des {
    font-size: 1rem;
  }
  .job-body {
    font-size: 14px;
  }
  .card {
    margin: 15px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .about-title {
    font-size: 4vw;
  }
  .about-description {
    font-size: 14px;
    width: 50vw;
  }
  .job-box {
    width: 75vw;
  }
  .job-title {
    font-size: 25px;
  }
  .job-title-des {
    font-size: 1.25rem;
  }
  #NavBar li a {
    font-size: 3.5vw;
  }
  .project-title {
    font-size: 80px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .about-title {
    font-size: 5vw;
  }
  .about-description {
    font-size: 15px;
    width: 40vw;
  }
  .job-box {
    width: 75vw;
  }
  .job-title {
    font-size: 30px;
  }
  .job-title-des {
    font-size: 1.5rem;
  }
  #NavBar li a {
    font-size: 3.5vw;
  }
  .project-title {
    font-size: 80px;
  }
}
@media screen and (min-width: 1201px) {
  .about-title {
    font-size: 5vw;
  }
  .about-description {
    font-size: 16px;
    width: 40vw;
  }
  .job-box {
    width: 75vw;
  }
  .job-title {
    font-size: 30px;
  }
  .job-title-des {
    font-size: 1.5rem;
  }
  #NavBar li a {
    font-size: 40px;
  }
  .project-title {
    font-size: 80px;
  }
}
