/* 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=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap");

* {
  margin: 0;
  padding: 0;
  color:white;
}

body {
  /* font-family: "Poppins", sans-serif; */
  font-family: "Roboto Mono", monospace;
  background-color: black;
  
}

html {
  scroll-behavior: smooth;
}

p{
  color: rgb(174, 169, 169);
}

/* TRANSITION */


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

/* DESKTOP NAV */

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

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

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

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

a:hover {
  color: aqua;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.logo {
  font-size: 2rem;
  color:aqua
}

.logo:hover {
  cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
  display: none;
}

.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: black;
  transition: all 0.3 ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

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

.menu-links.open {
  max-height: 300px;
}

.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;
}

.title{
  color:white
}

/* SECTIONS */

section {
  padding-top: 4vh;
  height: 96vh;
  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: 80vh;
}

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

.profile-picture {
  border-radius: 20rem;
  border-color: aqua;
}


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

.section__text p {
  font-weight: 600;
}

.section__text__p1 {
  text-align: center;
  color:aqua
}

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

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

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

/* ICONS */

.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

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

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

.btn-color-1,
.btn-color-2 {
  border: rgb(155, 146, 146) 0.1rem solid;
}

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

.btn-color-1,
.btn-color-2:hover {
  background: rgb(53, 53, 53);
  color: white;
}

.btn-color-1:hover {
  background: rgb(0, 0, 0);
}

.btn-color-2 {
  background:grey;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

/* ABOUT SECTION */

#about {
  position: relative;
}

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

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

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

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

.arrow {
  position: absolute;
  right: -5rem;
  bottom: 2.5rem;
}

.details-container {
  padding: 1.5rem;
  flex: 1;
  background: rgb(136, 135, 135);
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  text-align: center;
}

.details-container p{
  color:black
}

.details-container h3{
  color:white
}

.section-container {
  gap: 4rem;
  height: 80%;
}

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

/* SLILLS SECTION */

.skills-container {
  max-width: 800px;
  margin: 50px auto;
  background: #7d7878;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex-wrap: wrap;
}

h1 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #220202;
}

.skill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: rgb(255, 255, 255);
  color:rgb(20, 1, 1);
  animation: bounce 3s infinite ease-in-out;
}

.skill .icon img {
  width: 40px;
  margin-right: 10px;
}

.skill span {
  flex: 1;
  text-align: left;
  padding-left: 10px;
  font-size: 16px;
  color:black
}

.progress-bar {
  flex: 4;
  background-color: #ccc;
  height: 8px;
  border-radius: 5px;
  overflow: hidden;
  margin: 0 10px;
  position: relative;
}

.progress {
  height: 100%;
  background-color: aqua;
  border-radius: 5px;
  position: relative;
  transition: width 0.5s ease;
}

.progress .progress-text {
  position: absolute;
  top: -25px;
  right: 0;
  font-size: 12px;
  color: black;
}
@keyframes bounce{
  0% {
    transform: scale(0);
    opacity: 1;
  }
  50% {
    transform: scale(1.05) translateY(-10px); /* Slight bounce upward */
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Heading Styles */
.soft-skills-heading {
  font-size: 3em;
  font-weight: bold;
  color: #8d8585;
  margin-bottom: 20px;
  text-align: center;
}

/* Container Styles */
.container-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin: 0 auto;
  flex-wrap: wrap; /* Responsive for smaller screens */
}

/* Card Styles */
.card {
  background-color: black;
  color: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 45%;
  box-sizing: border-box;
  animation: bounceAndFade 3s infinite ease-in-out; /* Infinite animation */
  text-align: center;
}

/* List Styles */
ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 10px;
}

.tick-mark {
  color: aqua;
  margin-right: 10px;
  font-size: 1.2em;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
  .container-row {
    flex-direction: column;
  }

  .card {
    width: 100%;
  }
}

/* Animation Keyframes */
@keyframes bounceAndFade {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05) translateY(-10px); /* Slight bounce upward */
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


#tools {
  text-align: center;
  margin: 40px 0;
}

.tools-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tool {
  background-color: #222;
  color: #fff;
  text-align: center;
  width: 120px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeIn 3s ease-in-out infinite; /* Infinite animation */
  animation-delay: 0s; /* Delay for the first item */
}

.tool img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.tool span {
  margin-top: 10px;
  font-size: 14px;
}

.tool:hover {
  transform: scale(1.1);
}

/* Keyframes for the fade-in effect */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Stagger the appearance of each tool */

.tool{
  animation-delay: 1s;
}

.tools h2 {
  font-size: 3em;
  font-weight: bold;
  color: #8d8585;
  margin-bottom: 20px;
  text-align: center;
}



#certifications {
  text-align: center;
  margin: 50px 0;
}

#certifications h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
}

.certification {
  background-color: #222;
  color: #fff;
  padding: 15px;
  margin: 15px auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.certification-header {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.certification-details {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 15px;
}

.credential-btn {
  background-color: aqua; /* Bootstrap primary color */
  color: #000;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.credential-btn:hover {
  background-color: #0bb5e0; /* Slightly darker on hover */
}


/* PROJECTS SECTION */

#projects {
  position: relative;
  padding: 2rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  margin-top: 1.5rem;
  padding: 1rem;
}

.color-container {
  border: 1px solid rgb(163, 163, 163);
  background: rgb(250, 250, 250);
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
}

.project-img {
  border-radius: 2rem;
  width: 300px;
  height: 150px;
}

.project-title {
  margin: 1rem 0;
  color: black;
  font-size: 1.2rem;
}

.btn-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  
}

.project-btn {
  color: rgb(12, 0, 0);
  background: #000;
  border: 1px solid rgb(163, 163, 163);
  background: transparent;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.project-btn:hover {
  background: rgb(163, 163, 163);
  color: white;
}
.details-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: rgb(214, 211, 211);
  border: 1px solid rgb(163, 163, 163);
  border-radius: 10px;
  max-width: 400px;
  max-height: 400px; /* Ensures consistent height for all containers */
}

/* CONTACT */

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

.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163);
  background: (250, 250, 250);
  margin: 2rem auto;
  padding: 0.5rem;
}

.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}

.contact-info-container p {
  font-size: larger;
}

.contact-icon {
  cursor: default;
}

.email-icon {
  height: 2.5rem;
}

/* FOOTER SECTION */

footer {
  height: 26vh;
  margin: 0 1rem;
}

footer p {
  text-align: center;
}
