html, body { height: 100%; }
body {
  margin: 0; 
  font-family: 'Open Sans', sans-serif;
  background-color: #f4f4f4;
  overflow-x: hidden; 
  width: 100%; 
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  z-index: 1;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0; 
}

.navbar li {
  margin: 10px; 
  font-size: 24px;
}

.navbar a {
  display: block;
  padding: 10px 0; 
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.aboutme {
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgb(179, 41, 41) 100%);
  padding: 20px;
  margin-top: 90px; 
  align-items: center;
  justify-content: center;
  text-align: center;
} 

.aboutme img{ 
  border-radius: 50%;
  width: 350px;
}

.name { 
  font-size: 48px;
}

.about {
  font-size: 24px;
}

.html-item, .css-item ,.js-item { 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-right: 50px;
}

.html-label, .css-label, .js-label {
   flex: 0 0 140px; 
   text-align: right; 
  }

.skills {
  background: linear-gradient(180deg, rgb(179, 41, 41) 0%, darkblue 100%);
  color: white;
  font-size: 24px;
  font-weight: bold;
  padding: 10px;
  width: 100%;
}

.progress-container { 
  width: 100%;
  background-color: grey;
  height: 30px;
  border-radius: 7px;
  max-width: 500px;
  margin-right: 100px;
}

.progress-container .progressbarhtml { 
  width: 0%;
  height: 100%;
  border-radius: 7px;
  animation: progress-animationhtml 5s forwards;
}

.progress-container .progressbarcss { 
  width: 0%;
  height: 100%;
  border-radius: 7px;
  animation: progress-animationcss 5s forwards;
}

.progress-container .progressbarjs { 
  width: 0%;
  height: 100%;
  border-radius: 7px;
  animation: progress-animationjs 5s forwards;
}

.progress-container #progress-value{
    position: relative;
    left: 102%;
    bottom: 25px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}


@keyframes progress-animationhtml { 
  0% { width: 0%; background-color: orange; box-shadow: 0 0 20px orange;}
  100% {width: 100%; background-color: orange; box-shadow: 0 0 20px orange;}
}


@keyframes progress-animationcss { 
  0% { width: 0%; background-color: cyan; box-shadow: 0 0 20px cyan;}
  100% {width: 65%; background-color: cyan; box-shadow: 0 0 20px cyan;}
}


@keyframes progress-animationjs { 
  0% { width: 0%; background-color: yellow; box-shadow: 0 0 20px yellow;}
  100% {width: 15%; background-color: yellow; box-shadow: 0 0 20px yellow;}
}

.projects { 
  color: #fff;
  background: linear-gradient(180deg, darkblue 0%,  #6f00ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.titlep{
  font-size: 42px;
  font-weight: bold;
    padding: 20px;
    margin-bottom: 100px;
}

.projcard{ 
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 100px;
  text-align: center;
  align-items: stretch;
  padding-bottom: 50px;
}

.project1 { 
  box-shadow: 0 0 50px rgba(199,87,87,1);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}

.project2 { 
  box-shadow: 0 0 50px rgba(199,87,87,1);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}

.project3 { 
  box-shadow: 0 0 50px rgba(199,87,87,1);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
}

.project1, .project2, .project3 {
  max-width: 300px;
  padding: 20px;
  background: rgba(128, 128, 128, 0.575);
  min-height: 300px;
  position: relative;
}

.buttonproject1,
.buttonproject2,
.buttonproject3 {
  margin-top: auto;
  padding-top: 20px;
}

.buttonp1, .buttonp2, .buttonp3 { 
  padding: 1em 2em;
  background: #111;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s;
  width: 200px;
}

.buttonp1:hover, .buttonp2:hover, .buttonp3:hover {
  transform: translateY(-2px);
}

.project1title, .project2title, .project3title {
  font-size: 24px;
  font-weight: bold;
}

.plicon {
  font-size: 42px;
  align-items: center;
  justify-content: center;
}

a { 
  text-decoration: none;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
}

.contact { 
  color: #fff;
  background: linear-gradient(180deg, #6f00ff 0%,  #DC6C01 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.titlec{
  margin-top: 150px;
  font-size: 48px;
  padding: 20px;
}

@keyframes boxShadowColorChange {
  0%   { box-shadow: 0 0 15px rgb(255, 0, 0); }     /* Red */
  10%  { box-shadow: 0 0 15px rgb(255, 128, 0); }   /* Orange */
  20%  { box-shadow: 0 0 15px rgb(255, 255, 0); }   /* Yellow */
  30%  { box-shadow: 0 0 15px rgb(128, 255, 0); }   /* Light green */
  40%  { box-shadow: 0 0 15px rgb(0, 255, 0); }     /* Green */
  50%  { box-shadow: 0 0 15px rgb(0, 255, 128); }   /* Turquoise */
  60%  { box-shadow: 0 0 15px rgb(0, 255, 255); }   /* Cyan */
  70%  { box-shadow: 0 0 15px rgb(0, 128, 255); }   /* Light blue */
  80%  { box-shadow: 0 0 15px rgb(0, 0, 255); }     /* Blue */
  90%  { box-shadow: 0 0 15px rgb(128, 0, 255); }   /* Violet */
  100% { box-shadow: 0 0 15px rgb(255, 0, 0); }     /* Back to Red */
}

.inputsc{
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

#name, #e-mail{
  box-shadow: 0 0 20px;
  border: none;
  border-radius: 24px;
  height: 30px;
  width: 200%;
  padding: 15px 20px ;
  background: rgba(128, 128, 128, 1);
  color: white;
  animation: boxShadowColorChange 5s linear infinite;
}

input::placeholder{
  color: white;
}

.btncc{
  padding: 15px;
}

.sendd { 
  padding: 1em 2em;
  background: #111;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s;
  width: 200px;
  animation: boxShadowColorChange 5s linear infinite;
}
.sendd:hover {
  transform: translateY(-4px);
}
#afterclick{
  font-size: 28px;
  color: white;
  margin-top: 10px;
}
#afterclick p{
  padding: 5px;
  color: white;
  text-shadow: 0 0 40px black;
}


li a:hover {
  color: rgb(179, 41, 41);
  transition: 0.5s;
}