
/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
}
:root {
  --primary-color: #183D3D;
  --secondary-color: #DDE6ED;
  --tertiary-color: #B9B4C7;
  --shadow-color: hsla(24, 53%, 45%, 0.598);
  --btn-color-1: #b2c1c1;
  --btn-color-2: #2c4a3e;
  --nav-link-color: #040D12;
  --sb-track-color: #232e33;
  --sb-thumb-color: #bbc5c5;
  --cd-btn-color-1: #b2c1c1;
  --cd-btn-color-2: #2c4a3e;
  --heading-color: #77B0AA;
  --footer-social-color: #e9873b;
}

/* DARK MODE */
.dark-mode {
  --primary-color: #D7E4C0;
  --secondary-color: #183D3D;
  --tertiary-color: #4F6F52;
  --hover-color:hsla(0, 70%, 65%, 0.757);
  --shadow-color: hsla(198, 73%, 39%, 0.735);
  --btn-color-1: #4F6F52;
  --btn-color-2: #E1F0DA;
  --nav-link-color: #C6DCBA;
  --sb-track-color: #445446;
  --sb-thumb-color: #183D3D;
  --cd-btn-color-1: #E1F0DA;;
  --cd-btn-color-2: #4F6F52;
  --heading-color: #A87676;
  --footer-social-color: #199595;
  
}



body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  color: var(--secondary-color);

}



body {
  --sb-size: 14px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--nav-link-color);
  border-radius: 0px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
  border: 2px solid #747f84;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

html {
  scroll-behavior: smooth;
}



p {
  color: var(--tertiary-color);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

#desktop-nav{
  display: flex;
  position: fixed;
  width: 100%;
  background-color: var(--nav-link-color);
  z-index: 1000;
}

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 12vh;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: var(--sb-thumb-color);
  text-decoration: none;
  text-decoration-color: var(--primary-color);
}

a:hover {
  color: var(--hover-color);
  font-size: large;
}

.logo {
  font-size: 2rem;
  color:var(--sb-thumb-color);
}

.logo:hover {
  cursor: pointer;
  color: var(--hover-color);
  font-size: x-large;
  
}


/* Toggle Switch */
.toggle-container {
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  right: 5%;
  top: 4%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: hsla(176, 20%, 84%, 0.386);
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-image: url("assets/icons8-moon-50.png");
  background-size: cover;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--btn-color-2);
}

input:focus + .slider {
  box-shadow: 0 0 1px yellow;
}

input:checked + .slider:before {
  background-image: url("assets/icons8-sun-48.png");
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/* ... */

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
  background-color: var(--nav-link-color);
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--sb-thumb-color);
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  display: block;
  top: 100%;
  right: 0;
  background-color: var(--primary-color);
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
  z-index: 1;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--sb-thumb-color);
  background-color: var(--nav-link-color);
  text-decoration: none;
  transition: all 0.3 ease-in-out;
  z-index: 1;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 20rem;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-icon span:first-child {
  opacity: 1;
}

.hamburger-icon span:first-child {
  transform: none;
}

.hamburger-nav-right{
  display: flex;
  justify-content: space-evenly;
  gap: 2rem;

}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 80vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 60vh;
}

.section__pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
}

.section__pic-container img {
  border-radius: 50% 20% / 10% 40%;
  filter: drop-shadow(1rem 1.5rem 1.95rem var(--shadow-color));
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section__pic-container img {  
  animation-name: floating;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  margin-left: 30px;
  margin-top: 5px;
}

@keyframes floating {
  0% { transform: translate(0,  0px); }
  50%  { transform: translate(0, 25px); }
  100%   { transform: translate(0, -0px); }    
}

.section__text {
  align-self: center;
  text-align: center;
}

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}



.title {
  
  font-size: 3rem;
  text-align: center;
  
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/* ICON SECTION */

.icon {
  cursor: pointer;
  height: 3rem;
  filter: drop-shadow(0 0 0.5rem #ffffff);
}

.icon:hover {
  transform: scale(1.2);
}

/* BUTTON SECTION*/

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight:bolder;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;

}

.btn-color-1,
.btn-color-2 {
  border: var(--secondary-color) 0.1rem solid;
}

.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1 {
  background: var(--btn-color-1);
  color: var(--btn-color-2);
  
}

.btn-color-1:hover {
  background: var(--btn-color-2);
  color: var(--btn-color-1);
  border: var(--sb-thumb-color) 0.1rem solid;
  transform: scale(1.15);
  
}

.btn-color-2 {
  background: var(--btn-color-2);
  color: var(--btn-color-1);
  animation: animate-border 1s ease-in-out infinite;
  animation-direction: alternate;
  border: #692fa8 0.2rem solid;
}
@keyframes animate-border {
  0% {
    border-top-color: #ae4949;
    
  }
  15% {
    border-top-color: #f21151;
    border-right-color: #cc0f6a;
  }
  30% {
    border-right-color: #cc0f6a;
  }
  40%{
    border-right-color: #d50f75;
    border-bottom-color: #f70683;
  }
  50% {
    border-bottom-color: #f70683;
    border-left-color: #be0ad6;
  }
  70% {
    border-bottom-color: #fc07d3;
    border-left-color: #e20bc2;
  }
  85% {
    border-left-color: #a231b0;
  }
  100% {
    border-left-color: #a906f5;
    border-top-color: #d019e0;
    
  }
}

.btn-color-2:hover {
  border: #692fa8 0.1rem solid;
  transform: scale(1.15);
  background: var(--btn-color-1);
  color: var(--btn-color-2);
}

.btn-container {
  gap: 1rem;
}


/* ABOUT SECTION */

#about {
  position: relative;
  padding-top: 0;
}


.about-containers {
  margin-top: 2rem;
}

.about-details-container {
  display: flex;
  justify-content: center;
  gap: 0 2rem;
  flex-direction: row;
}

.about-details-container {
  display: flex;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: var(--primary-color);
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.2rem solid;
  border-color: rgb(0, 0, 0);
  text-align: center;
  height: max-content;
  
}

.details-container p{
  text-align: center;
  text-wrap: nowrap;
}

.about-pic {
  border-radius: 2rem;
}

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
  z-index: 100;
}
.arrow-carousel {
  position: absolute;
  right: -3rem;
  bottom: 0;
  z-index: 100;

}


.section-container {
  display: flex;
  justify-content: center;
  gap: 4rem;
  height: 80%;
}
.section__pic-container img{
  height: 400px;
  width: 400px;
  padding-right: 2rem;
  
}


/* Coding Platform SECTION */
/* Add some basic styling to the links and container */
#coding-platforms{
  height: fit-content;
  position: relative;
}
.platform-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.platform-link {
  margin: 10px;
  padding: 10px;
  border: 0.15rem solid var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.platform-links a{
  border-radius: 20%;
  background-color: var(--cd-btn-color-2);
  color: var(--cd-btn-color-1);
  
}

.platform-links a:hover{
  background-color: var(--cd-btn-color-1);
  color: var(--cd-btn-color-2);
  transform: scale(1.1);
}

.platform-link img {
  width: 1.5rem;
  margin-right: 10px;
}



.dashboard-container {
  display: none; /* Hide the dashboard container by default */
  padding: 20px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.iframe-container {
  margin-top: 10px;
  position: relative;
  
}
/* Add a class to increase the height of the iframe container */
.iframe-container.expanded {
  height: 600px;
  
}

.iframe-container iframe {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px rgba(255, 0, 255, 0.4), 0 0 50px rgba(0, 255, 255, 0.2), 0 0 70px rgba(0, 0, 255, 0.5);

}




/* EXPERIENCE SECTION */

#experience {
  position: relative;
  
}

.experience-sub-title {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.article-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}

article {
  display: flex;
  width: 10rem;
  gap: 0.5rem;
}

article .icon {
  cursor: default;
}

/* PROJECTS SECTION */

#projects {
  position: relative;
  z-index: 1;
  margin:0 7rem 0 5rem;
  height: fit-content;
  width: auto;

  
}

/* carousel */
/* .carousel{
  height: 70vh;
  left: 10%;
  right: 10%;
  width: 75vw;
  overflow:hidden;
  position: relative;
  display: flex;
  justify-content: center;
  


}
.carousel .list .item{
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
  object-fit: cover;
}
.carousel .list .item img{
  width: 100%;
  height: 100%;
  object-fit:cover;
}
.carousel .list .item .content{
  position: absolute;
  top: 10%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 10px 10px #0004;
  
  background: rgba(35, 34, 34, 0.887);
  
}
.carousel .list .item .author{
  font-weight: bold;
  letter-spacing: 0.2rem;
  margin-left: 2rem;
  
  
}
.carousel .list .item .title{
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.3em;
  color: #f1683a;
  text-align: left;
  margin-left: 1rem;
  
}
.carousel .list .item .des{
  margin-left: 1rem;
  
}


.carousel .list .item .buttons{
  display: grid;
  grid-template-columns: repeat(2, 8.125rem);
  grid-template-rows: 3rem;
  gap: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.carousel .list .item .buttons button{
  width: 5rem;
  height: 2rem;
  border: 0.15rem solid var(--secondary-color);
  border-radius: 20%;
  background-color: var(--cd-btn-color-2);
  color: var(--cd-btn-color-1);
  cursor: pointer;
  font-family: Poppins;
  font-weight: 700;
  
}
.carousel .list .item .buttons button:hover{
  background-color: var(--cd-btn-color-1);
  color: var(--cd-btn-color-2);
  transform: scale(1.1);
}

/* thumbail */
/* .thumbnail{
  position: absolute;
  bottom: 2rem;
  left: 50%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
}
.thumbnail .item{
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
}
.thumbnail .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: blur(0.1rem);
}
.thumbnail .item .content{
  color: #fff;
  position: absolute;
  top: 4rem;
  bottom: 0.5rem;
  left:  0.5rem;
  right:  0.5rem;
}
.thumbnail .item .content .title{
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: hsl(60, 82%, 39%) 1px 0 10px;
  backdrop-filter: blur(0.4rem);
}
.thumbnail .item .content .description{
  font-weight: 300;
  font-size: small;
  text-align: center;
  text-shadow: hsl(60, 82%, 39%) 1px 0 10px;
  backdrop-filter: blur(0.4rem);
} */ 


/* Project section */
/* Responsive grid container for project cards */
.project-grid {
  display: grid;
  gap: 30px;
  justify-content: center;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}
/* On screens wider than 768px, show multiple cards per row */
@media (min-width: 768px) {
  .project-grid {
      grid-template-columns: repeat(auto-fit, minmax(350px, 0fr));
  }
}
/* On smaller screens, stack cards */
@media (max-width: 767px) {
  .project-grid {
      grid-template-columns: 0fr;
  }
}

/* Project card styles */
.project-card {
  width: 350px;
  height: 470px;
  background: var(--primary-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-color);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  color: var(--secondary-color);
  text-align: center;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--shadow-color);
}
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.project-card:hover img {
  transform: scale(1.08);
}
.project-card .content {
  padding: 20px;
}
.project-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--heading-color);
}
.project-card p {
  font-size: 1rem;
  color: var(--tertiary-color);
  margin-bottom: 20px;
}

/* Button container and button styles */
.buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.buttons a {
  background: var(--btn-color-2);
  color: var(--btn-color-1);
  text-decoration: none;
  padding: 5px 1px;
  border: solid 1px var(--btn-color-1);
  border-radius: 2rem;
  font-weight: bold;
  width: 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.buttons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transition: left 0.4s ease-in-out;
}
/* When hovering over the card, only the button’s pseudo-element animates */
.project-card:hover .buttons a::before {
  left: 100%;
}
.buttons a:hover {
  background: var(--btn-color-1);
  color: var(--btn-color-2);
}

.buttons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -110%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.494);
  transform: skewX(-20deg);
  transition: left 0.5s ease-in-out;
}

/* On hover, the shine moves from left to right */
.project-card:hover .buttons a::before {
  left: 110%;
}

/* Reversing the effect when hover ends */
.buttons a:hover::before {
  left: -110%;
}
/* arrows

.arrows #prev{
  position: absolute;
  top:50%;
  left: 1%;
  z-index: 1000;
  width: 3rem;
  height: 3rem;
  max-width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrows #next{
  position: absolute;
  top: 50%;
  left: 95%;
  z-index: 1000;
  width: 3rem;
  height: 3rem;
  max-width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrows button{
  border-radius: 50%;
  background-color: #445446;
  border: #4af80b 1px solid;
  color: #fafafa;
  font-family: monospace;
  font-weight: bold;
  transition: .5s;
}
.arrows button:hover{
  background-color: #1be0dd;
  border: #000000 1px solid;
  color: #000;
}

/* animation */
/* .carousel .list .item:nth-child(1){
  z-index: 1;
}

/* animation text in first item */
/* 
.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
  to{
      transform: translateY(0px);
      filter: blur(0px);
      opacity: 1;
  }
}
.carousel .list .item:nth-child(1) .content .title{
  animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
  animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
  animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
  animation-delay: 1.8s!important;
} */ 
/* create animation when next click */
/* .carousel.next .list .item:nth-child(1) img{
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
  to{
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(1){
  overflow: hidden;
  animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
  z-index: 100;
}
@keyframes showThumbnail{
  from{
      width: 0;
      opacity: 0;
  }
}
.carousel.next .thumbnail{
  animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
  from{
      transform: translateX(150px);
  }
}

/* running time */
/* 
.carousel .time{
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background-color: #f1683a;
  left: 0;
  top: 0;
}

.carousel.next .time,
.carousel.prev .time{
  animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
  from{ width: 100%}
  to{width: 0}
} */


/* prev click */

/* .carousel.prev .list .item:nth-child(2){
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}
@keyframes outFrame{
  to{
      width: 150px;
      height: 220px;
      bottom: 50px;
      left: 50%;
      border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(1){
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
  pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
  animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
  to{
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
  }
}
@media screen and (max-width: 678px) {
  .carousel .list .item .content{
      padding-right: 0;
  }
  .carousel .list .item .content .title{
      font-size: 30px;
  }
} */

.more-projects {
  display: grid;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.more-projects a {
  border: 0.15rem solid var(--secondary-color);
  border-radius: 20%;
  background-color: var(--cd-btn-color-2);
  color: var(--cd-btn-color-1);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.more-projects a:hover {
  background-color: var(--cd-btn-color-1);
  color: var(--cd-btn-color-2);
  transform: scale(1.2);
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: fit-content;
}

.container-contact {
	height: fit-content;
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  position: relative;
}

svg {
	height: 23rem;
	margin-right: 4rem;
  
}

#envelope {
  animation: float 2s ease-in-out infinite;
}

#star1, #star2, #star3, #star4, #star5, #star6 {
  animation: blink 1s ease-in-out infinite;
}
#star2 { animation-delay: 100ms; }
#star3 { animation-delay: 500ms; }
#star4 { animation-delay: 700ms; }
#star5 { animation-delay: 300ms; }
#star6 { animation-delay: 200ms }

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

@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: .5;
  }
  100% {
    opacity: 1;
  }
}



form {
	min-width: 25rem;
  justify-content: center;
  align-items: center;
	
	.title-contact {
		font-family: 'Pacifico', cursive;
		color: var(--heading-color);
		font-size: 2rem;
    justify-content: center;
	}
	
  .form-control {
    background-color: var(--cd-btn-color-1);
		border-radius: 2rem;
    border: none;
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
		
    &.thick {
      height: 3.3rem;
      padding: .5rem 3.5rem;
    }
		
		&:focus {
			background-color: var(--cd-btn-color-1);
			border: none;
			box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.11);
		}
  }
	
  #title-contact{
    text-align: center;
    padding-inline-end: 30%;
    
  }
	.message .form-control {
			padding: .5rem 3.5rem;
	}

  .form-group{
    margin-bottom: 1rem;
    
  }
	
  ::placeholder {
    font-family: 'Quicksand', sans-serif;
		font-weight: 600;
    font-size: 1rem;
    color: var(--shadow-color);
    position: relative;
    text-align: start;
  }
	
  input,
  textarea {
		font-family: 'Quicksand', sans-serif;
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
  }
	
  .icon {
    color: #57565c;
    height: 1.3rem;
    position: absolute;
    left: 1.5rem;
    top: 1.1rem;
  }
}

.btn.btn-primary {
  font-family: 'Quicksand', sans-serif;
	font-weight: bold;
  height: 2.5rem;
  line-height: 2.5rem;
  padding: 0 3rem;
  border: 0;
  border-radius: 3rem;
  background-image:linear-gradient(131deg, #ffd340, #ff923c, #ff923c, #ff923c);
  background-size: 300% 100%;
  transition: all 0.3s ease-in-out;
}

.btn.btn-primary:hover:enabled {
  box-shadow: 0 0.5em 0.5em -0.4em #ff923cba;
  background-size: 100% 100%;
  transform: translateY(-0.15em);
}

/* FOOTER SECTION */

footer {
  height: fit-content;
  margin: 0 1rem;
  display: grid;
  position: relative;
  
}

footer p {
  text-align: center;
}

.social-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  z-index: 1000;
}
.social-icons a:nth-child(1),
.social-icons a:nth-child(3),
.social-icons a:nth-child(5) {
  
  color: var(--footer-social-color);
  font-size: 34px;
  margin: 0 10px;
  text-decoration: none;
  animation: bounce 4s infinite alternate; /* Add bounce animation */
}
.social-icons a:nth-child(2),
.social-icons a:nth-child(4) {
  color: var(--footer-social-color);
  font-size: 34px;
  margin: 0 10px;
  text-decoration: none;
  animation: bounce 2.5s infinite alternate; /* Add bounce animation */
}

.social-icons a:hover {
  color: #e9b107; /* Change color on hover */
  animation: wiggle 0.2s infinite; /* Add wiggle animation on hover */
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

@keyframes wiggle {
  0% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
  100% { transform: rotate(0); }
}

#about-mode{
  display: relative;
  padding-top: 8vh;
  height: 0vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

#experience-mode{
  display: relative;
  padding-top: 10vh;
  height: 0vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

#coding-platforms-mode{
  display: relative;
  padding-top: 10vh;
  height: 0vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

#projects-mode{
  display: relative;
  
  padding-top: 10vh;
  height:0vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

