@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');

html {
    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
}

body {
    background-color: rgb(0, 0, 33);
    color: white;

}

header {
    background-color: rgb(18, 18, 62);
    color: white;
    height: 40px;
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nev-btn {
    display: none;
}

ul {
    display: flex;
    list-style: none;
    width: 50%;
    height: 30px;
    justify-content: space-evenly;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
}
ul a{
    text-decoration: none;
    color: white;
}
ul a:hover{
    color: rgb(128, 0, 128);
}

header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.90rem;
    padding: 15px;
}

.first {
    display: flex;
    justify-content: center;
    align-items: center;


}

.lr {
    height: 400px;
    width: 500px;
    font-family: "poppins", sans-serif;
    font-weight: 900;
    font-size: 22px;
    display: flex;
}

#intro {
    display: flex;
    justify-content: center;
    flex-direction: column;

}

.first div span {
    color: rgb(128, 0, 128);
    /* color: rgb(73, 73, 193); */

}

@keyframes typing {
    from {
        width: 0%;
    }

    to {
        width: 47%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typewriter {
    display: inline-block;
    font-size: 22px;
    font-weight: bold;
    font-family: "Poppins", sans-serif;
    border-right: 3px solid white;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    /* animation: typing 3s steps(15, end) forwards; */
    animation: typing 3s steps(15, end) forwards 1s, blink 0.7s infinite step-end 4s;

}


/* .typewriter {
    animation: typing 3s steps(15, end) forwards 1s , blink 0.7s infinite step-end 4s;
} */
#mylogo {
    position: absolute;
    left: 50%;
    /* Center horizontally */
    transform: translateX(-2%);
}

.logo {
    background-color: transparent;
    height: 15rem;
    width: 15rem;
    border-radius: 100%;
    border: 28px solid rgb(0, 0, 33);
    display: flex;
    justify-content: center;
    align-items: center;
}

.img {
    background-image: url('sorces/Tarun\ Gohil.jpg');
    background-size: cover;
    height: 14rem;
    width: 14rem;
    border-radius: 100%;
    box-shadow: 0 0 1rem white,
        inset 0 0 1rem white,
        0 0 2rem #3877ff, inset 0 0 2rem #3877ff,
        0 0 4rem #3877ff,
        inset 0 0 4rem #3877ff;
}

#downbtn {
    margin-top: 5rem;
    height: 1.6rem;
    width: 8rem;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 1rem;
    color: white;
    font-size: 0.80rem;
}

#downbtn:hover {
    box-shadow: 0 0 1rem white;
}

.second {
    font-family: 'poppins', sans-serif;
    font-weight: 300;
}

.second h1 {
    font-family: 'poppins', sans-serif;
    text-align: center;
    margin-top: 25px;
    font-size: 2rem;
}
 /* projects img  */
 #currency-img{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
    margin-top: 1rem;
 }
#currency-img img{
    height: 11rem;
    border-radius: 5px;
}
#wetherimg{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}
#wetherimg img{
    width: 40vw;
    border-radius: 8px;
}
#sportyfy-img{
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#sportyfy-img img{
    width: 50vw;
    border-radius: 8px;
}

#project,
div {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

#project,
div p {
    margin-left: 1.6rem;
}

.third h1 {
    font-family: 'poppins', sans-serif;
    text-align: center;
    text-align: center;
    margin-top: 25px;
    font-size: 2rem;
}

.forth h1 {
    font-family: 'poppins', sans-serif;
    text-align: center;
    text-align: center;
    margin-top: 25px;
    font-size: 2rem;
}


.contact-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.contact-icons p {
    margin: 0;
}

.contact-icons a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.contact-icons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.contact-icons img:hover {
    transform: scale(1.2);
}

.contact-icons a:hover {
    color: rgb(128, 0, 128);
}

/* footer */
footer {
    background-color: rgb(18, 18, 62);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.footer-links a:hover {
    color: rgb(128, 0, 128);
    text-decoration: none;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.footer-icons img {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.footer-icons img:hover {
    transform: scale(1.2);
}


/* mobile responsive */
/* large mobile */