body{
    color: #fff;
    background-color: rgb(41, 41, 41);
    margin: 0;
    padding: 0;
}

nav{
    display: flex;
    justify-content: center;
    background-color: black;
    padding: 2%;
    
}

nav a{
    margin-left: 25px;
    font-size: 25px;
    text-decoration: none;
    color: #fff;
    position: relative;
}

nav a::after{
    content: " ";
    position: absolute;
    width: 0%;
    height: 1px;
    bottom: 0;
    background-color: blue;
    left: 0;
}

nav a:hover{
    color: blue;
}

nav a:hover::after{
    animation: line;
    animation-duration: 2s;
}

.hero{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 350px;
}

.hero h1{
    font-size: 100px;
    position: relative;
}
.hero h1::after{
    content: " ";
    position: absolute;
    width: 0%;
    height: 5px;
    bottom: 0;
    background-color: #fff;
    left: 0;
}

.hero h1:hover::after{
    animation-name: line;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

@keyframes line {
    0%{
        width: 0;
        left: 0;
    }
    50%{
        width: 100%;
        left: 0;
    }
    100%{
        width: 0%;
        left: 100%;
    }
    
}


.hero h2{
    font-size: 30px;
    margin-top: 0;
    left: 0;
}

hr{
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 10px;
}

.second {
    display: flex;
    margin: 10%;
    margin-top: 0;
    margin-bottom: 25px;
    padding: 5%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn{
    text-decoration: none;
    background-color: aqua;
    padding: 8px;
    border-radius: 8px;
    color: #5a5454;
}

.about {
  padding: 60px 20px;
}

.about-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.about-text h2,
.about-skills h2 {
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #8b8b8b;
}

.about-skills ul {
  list-style: none;
  padding: 0;
}

.about-skills li {
  background: #474747;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 6px;
}



p{
    line-height: 2;
}
.cat{
    display: flex;
}
.card{
    
    margin: 2%;
    padding: 25px;
    width: 25%;
    border: 2px solid black;
    border-radius: 18px;
    
    
}
.card img{
    width: 100%;
    height: 50%;
}
.card h1{
    font-size: 45px;
    margin-bottom: 0;
}
.card p{
    font-size: 20px;
    margin-top: 0;
}

.skills{
    margin-left: 35px;
}


.contact-form {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  color: #000;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form textarea {
  height: 120px;
  resize: none;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #0056b3;
}


.footer {
  background: #111;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer h3 {
  margin-bottom: 10px;
}

.footer p {
  font-size: 14px;
  color: #ccc;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin-bottom: 8px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  color: #fff;
}

.footer-right a {
  display: block;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}
