 * {
    padding: 0;
    margin: 0;
    list-style: none;
    font-family: "Bitter", sans-serif;
    cursor:default;
}


body::selection {
    color: white;
    background: #000;
    
}

.firstPage {
    width: 100%;
    height: auto;
    background: #bed3e0;
}


.wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 14px solid white;
  box-sizing: border-box;
  overflow-y: auto;  
  overflow-x: hidden;
  background: #bed3e0;
  z-index: 10;
}
Header {
    
    position: fixed;
    
    top: 14px;
    right: 14px;
    left: 14px;
    width: 97%;
    padding: 1%;
    padding-right:3% ;
    box-sizing: border-box;
    display: flex;
    justify-content:space-between;
    
    
}

Header ul {
    display: flex;
    gap: 10px;

}

Header ul hr {
    background: #000;
    width: 0.6px;
    height: 25px;
    margin: 2px;
    transform: translateY(8px);
    opacity: 0.4;

}

Header :nth-child(1) img {
    position: relative;
    width: 50px;
}

Header :nth-child(1) li {
    font-size: small;
    margin-top: 3px;
    padding-left: 10px;

}

Header :nth-child(2) img {
    width: 30px;
}

Header :nth-child(2) li {
    font-weight: 700;
    font-size:small;
    margin-top: 3px;
}
#anim li a{
    
    text-decoration: none;
      color: #000;
}
Header ul li {
    font-size: large;
    letter-spacing: 4px;
    padding-top: 13px;
}

#menu :nth-child(3) {
    overflow: hidden;
}

#toslide {
    z-index: 2;
    animation: beside 1s linear forwards;

}

@keyframes beside {
    0% {
        transform: translateX(-100px);
        opacity: 0.1;
    }

    10% {
        transform: translateX(-20px);
        opacity: 0.3;
    }

    30% {
        transform: translateX(-10px);
        opacity: 0.5;
    }

    50% {
        transform: translateX(-5px);
        opacity: 0.7;
    }

    70% {
        transform: translateX(-3px);
        opacity: 0.8;
    }

    90% {
        opacity: 0.9;
        transform: translateX(-2px);
    }

    100% {
        opacity: 1;
        transform: translateX(0px);
    }

}

main {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.avaani {
    width: Auto;
    height: auto;

}

.avaani img {

    margin-top: 10%;
    margin-right: 12%;
    width: 50%;
    animation: bord 2s ease-out 1 forwards;
    animation-delay: .7s;
}

@keyframes bord {
    0% {
        border: 5px solid black;
        border-radius: 50%;
    }

    30% {
        padding: 4%;
        border: 5px solid black;
        border-radius: 50%;
    }

    60% {
        padding: 4%;
        border: 5px solid black;
        border-radius: 50%;
        border-bottom-left-radius: 2%;
        border-top-right-radius: 3%
    }

    100% {
        padding: 4%;
        border: 5px solid black;
        border-radius: 50%;
        border-bottom-left-radius: 2%;
        border-top-right-radius: 3%
    }
}

.common {
    max-width: 97vw;
    height: auto;
    background: #bed3e0;
    padding: 3% 10% 10% 10%;
    display: flex;
    flex-direction: column;
    gap: 30%;

}

.intro {

    color: black;
    padding: 12% 10% 7% 10%;
    gap: 20px;
}

.intro h1 {
    font-size: 70px;
    font-weight: 400;
    padding: 10px 0px 10px 0px;
}

.intro h1 span {

    font-weight: 700;
}

.intro h1 span:hover {
    text-decoration-line: underline;
    transition-delay: 1s;
}

.intro p {
    padding-left: 3px;
    font-size: 1.3rem;
    line-height: 1.5;

}

.line {
    padding-left: 20px;
    width: 500px;
    display: flex;
    justify-content: center;
}

#hr2 {
    border: none;
    height: 250px;
    width: 1.5px;
    background: #000;
}

.secondPage {

    display: flex;
    flex-direction: row;

}

.secondPage .secondPage h1 {
    font-size: 3rem;
}

.secondPage p {
    width: auto;
    padding-top: 2.2%;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.secondPage img {
    width: 300px;
}

.thirdPage h1 {
    font-size: 3rem;
}
.forthpage{
    padding-bottom: 2% ;

}
.forthpage h1 {
    font-size: 3rem;
}

.project {
    padding: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pro1 {
    display: flex;
    border-bottom: 2px solid black;
    border-radius: 2%;
}

.pro1 img {

    width: 15%;
    height: auto;
    padding: 4% 15% 8% 0%;
}
 
.content h2 {
    font-weight: 320;
    font-size: 2.6rem;
    padding: 2.5%;
}

.content p {
    font-size: large;
    word-spacing: 1;
    font-weight: 400;
    line-height: 1.8;
    padding: 2.5%;
}

.link a {
    padding: 2.5%;
}

.fa-github {
    padding-left: 2.5%;

    color: black;
}

.fa-linkedin {
    padding: 3%;
     width: 10%;
    color: black;
}
.aboutme {
    padding: 5%;
}

#about1 {
    padding: 0% 0% 2% 0%;
    font-size: 1.4rem;
    line-height: 1.5;
}

#scrl {
    opacity: .5;
    padding: 2%;
}

#scrl span {
    display: inline-block;
    animation: wave 1.2s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


#scrl span:nth-child(1) {
    animation-delay: 0s;
}

#scrl span:nth-child(2) {
    animation-delay: 0.2s;
}

#scrl span:nth-child(3) {
    animation-delay: 0.4s;
}

#scrl span:nth-child(4) {
    animation-delay: 0.6s;
}

#scrl span:nth-child(5) {
    animation-delay: 0.8s;
}

#scrl span:nth-child(6) {
    animation-delay: 0.9s;
}

.hr3 {
    width: 2.5px;
    margin-bottom: 5%;
    margin-left: 3.5%;
}

.extra {
    word-wrap: normal;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 2% 0% 2% 0%;
}

.aboutH {
    font-family: "Caveat", cursive;
    font-size: 2rem;
}

.fifthpage {
    width: auto;
    padding-bottom: 0%;
}

.fifthpage h1{
    font-size: 3rem;
}

.material{
    padding: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.links ul{
    display: flex;
    gap: 2%;
}


.forms {
  display: flex;
  justify-content: center;
  align-items: center;
}

#contact-form {
  width: 100%;
  max-width: 450px;
  background: transparent;
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px 0;
}

#contact-form h2 {
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

#contact-form input,
#contact-form textarea {
  border: none;
  border-bottom: 1.5px solid black;
  background: transparent;
  padding: 12px 5px;
  font-size: 1rem;
  font-family: "Bitter", sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: #286f6c;
}

#contact-form textarea {
  resize: none;
}

#contact-form button {
  margin-top: 15px;
  align-self: flex-end;
  width: 120px;
  padding: 10px;
  font-size: 1rem;
  border: 1.5px solid black;
  background: transparent;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
}

#contact-form button:hover {
  background: #286f6c;
  color: white;
  transform: translateY(-2px);
}

#form-status {
  margin-top: 15px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: #000;
  opacity: 0.8;
}

.mnnu ul li a{
    text-decoration: none;
    color: black;
    line-height: 1.5;
    font-size: larger;
}
.mnnu ul li:hover{
    text-decoration: underline;
    font-weight: bold; 
}


@media (max-width: 768px) {
    
    .wrap {
        position: absolute;
        z-index: 10;
        border: 7px solid rgb(255, 255, 255); 
        
    }
    
    Header {
        
    position: fixed;
    top: 7px;
    right: 7px;
    left: 7px;
    width: 92%;
    padding: 1%;
    backdrop-filter: blur(4px);
    padding-right:3% ;
    box-sizing: border-box;
    display: flex;
    justify-content:space-between;
    
    }
   
    main {
        
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .intro {
        padding: 20% 5% 5% 5%; 
    }

    .intro h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .intro p {
        font-size: 1rem; 
        padding-left: 0;
        margin-top: 10px;
    }

    .avaani {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 5%;
    }

    .avaani img {
        width: 60%; 
        margin: 0;
        padding: 5%; 
    }

    .line {
        display: none; 
    }

    .common {
        padding: 10% 5%; 
        gap: 5%;
    }

    .secondPage {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .secondPage img {
        width: 200px; 
        margin-bottom: 20px;
    }

    .secondPage h1,
    .thirdPage h1,
    .forthpage h1,
    .fifthpage h1 {
        font-size: 2rem; 
        margin-bottom: 20px;
    }

    .secondPage p {
        font-size: 1rem;
        padding-top: 0;
        text-align: left;
    }

    .project {
        padding: 0;
    }

    .pro1 {
        flex-direction: column; 
        text-align: left;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .pro1 img {
        width: 50%; 
        height: auto;
        padding: 0;
        margin: 0 auto 15px auto; 
    }

    .content h2 {
        font-size: 1.6rem; 
        padding-left: 0;
    }

    .content p {
        font-size: 0.95rem; 
        line-height: 1.6;
        padding: 10px 0;
    }

    .links {
        padding: 10px 0;
    }
    
    .fa-github {
        padding-left: 0;
        margin-right: 15px;
    }
    
    .aboutme {
        padding: 0;
    }

    #about1 {
        font-size: 1.1rem;
    }

    .extra {
        font-size: 1rem;
    }

    .aboutH {
        font-size: 1.6rem;
    }

    .hr3 {
        margin-left: 0;
        margin-top: 10px;
    }

    .material {
        flex-direction: column; 
        align-items: flex-start;
        padding: 0;
        gap: 30px;
    }

    .links ul {
        gap: 20px;
        padding-left: 0;
    }
    
    .mnnu {
        width: 100%;
        text-align: left;
    }

    .mnnu ul {
        display: flex;
        flex-direction: column; 
    }
    
    .forms {
        width: 100%; 
        max-width: none;
        justify-content: flex-start;
    }

    #contact-form {
        max-width: 100%;
        padding: 15px 5px;
    }

    #contact-form button {
        align-self: center; 
    }
}


@media (max-width: 480px) {
    .intro h1 {
        font-size: 2rem;
    }
}


