* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    height: 100vh;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
    overflow: hidden;
}

nav {
    background: rgba(255, 255, 255, 0.05);
    height: 8vh;
    width: 100%;
    position: relative;
    top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
}

.logo {
    display: flex;
    margin-left: 15px;
    /* -webkit-text-stroke: 1px #0ac0fd; */
    font-size: 2rem;
    font-weight: 700;
    color: #0ac0fd;

}

.switchBtn {
    display: flex;
    margin-right: 25px;
    align-items: center;
    width: auto;
    height: 100%;
    /* -webkit-text-stroke: 1px #0ac0fd; */


}

.switchBtn button {
    width: 150px;
    height: 60%;
    font-size: 1rem;
    border: none;
    background: transparent;
    color: #0ac0fd;
}

.switchBtn button:hover {
    cursor: pointer;
    transform: scale(1.1);
}

@media (max-width : 1000px) {
    .logo {
        font-size: 1.5rem;
    }

    .switchBtn button {
        font-size: 0.8rem;
    }
}

@media (max-width : 715px) {
    .logo {
        font-size: 1.2rem;
    }
}

@media (max-width : 415px) {
    .logo {
        font-size: 1rem;
    }

    .switchBtn button {
        font-size: 0.8rem;
    }
}

@media (max-width : 365px) {
    .logo {
        font-size: 0.7rem;
    }

    .switchBtn button {
        font-size: 0.5rem;
    }
}

.main {
    width: 100%;
    height: 92vh;
}

.main-h {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.main-h h1 {
    letter-spacing: 18px;
    animation: glow-text 3s ease-in-out 2s infinite;

}

@keyframes glow-text {
    50% {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.493), 0 0 20px rgba(0, 255, 255, 0.534), 0 0 30px rgba(0, 255, 255, 0.589);
    }
}

.hero {
    width: 40%;
    min-height: 45%;
    margin: auto;
    margin-top: 100px;
    background-color: black;
    border-radius: 10px;
        padding: 20px;
    animation: glow 5s ease 2s infinite;
}

@keyframes glow {
    0% {
        box-shadow: 0 -10px 25px rgba(0, 255, 255, 0.466);
    }

    25% {
        box-shadow: 10px 0 25px rgba(0, 255, 255, 0.5);
    }

    50% {
        box-shadow: 0 10px 25px rgba(0, 255, 255, 0.418);
    }

    75% {
        box-shadow: -10px 0 25px rgba(0, 255, 255, 0.527);
    }

    100% {
        box-shadow: 0 -10px 25px rgba(0, 255, 255, 0.438);
    }

}

.hero h3 {
    display: flex;
    justify-self: center;
    padding-top: 25px;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 2px;
    border-bottom: 1px solid cadetblue;
}

.input {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding-top: 40px;
}

.input input {
    width: 65%;
    height: 38px;
    font-size: 20px;
    border: 2px solid cadetblue;
    background: transparent;
    padding-left: 5px;
    border-radius: 10px;
    color: white;
}

input:focus {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.336), 0 0 20px rgba(0, 255, 255, 0.404), 0 0 30px rgba(0, 255, 255, 0.589);
    outline: none;
    border: none;

}

.input button {
    background: black;
    border: 2px solid cadetblue;
    color: rgb(216, 216, 216);
    border-radius: 30px;
    width: 100px;
    font-size: 16px;
    height: 38px;
}

.input button:hover {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.336), 0 0 20px rgba(0, 255, 255, 0.404), 0 0 30px rgba(0, 255, 255, 0.589);
    cursor: pointer;
    border: none;
}

.hero p {
    display: flex;
    justify-self: center;
    margin-top: 60px;
    font-size: 1.7rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid #0ff;
    width: 0;

}

@keyframes typing {
    from {
        width: 0ch;
    }

    to {
        width: var(--chars);
    }

}

@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #0ff;
    }
}

@media (max-width : 768px) {
    .main-h h1 {
        font-size: 26px;
        letter-spacing: 11px;
    }
}

@media (max-width : 480px) {
    .main-h h1 {
        font-size: 20px;
        letter-spacing: 7px;
    }
}

@media (max-width : 350px) {
    .main-h h1 {
        font-size: 16px;
        letter-spacing: 5px;
    }
}
@media (max-width: 992px) {
    .hero {
        width: 70%;
        margin-top: 80px;
    }
}

@media (max-width: 600px) {
    .hero {
        width: 90%;
        height: 55%;
        margin-top: 50px;
        padding: 15px;
    }

    .hero h3 {
        font-size: 18px;
        text-align: center;
    }

    .input {
        flex-direction: column;
        gap: 15px;
    }

    .input input {
        width: 100%;
        font-size: 16px;
    }

    .input button {
        width: 50%;
        font-size: 16px;
        height: 40px;
        margin: auto;
    }

    .hero p {
        font-size: 1rem;
        text-align: center;
        margin-top: 30px;
    }
}