
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(#726d6d, #000000);
    height: 100px;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 2;
    overflow: hidden;
}

.nav a {
    margin-top: 8px;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: red;
}

#contact:hover {
    color: chartreuse;
    background-color: black;
}

#contact {
    height: 40px;
    border-radius: 20px;
    border: none;
    width: 100px;
    background-color: red;
    color: white;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#name {
    font-size: 2.5rem;
    color: red;
    padding-top: 15px;
}


@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px 0;
    }

    #name {
        font-size: 20px;
        padding-top: 10px;
        text-align: center;
    }

    .nav a {
        font-size: 16px;
        margin-top: 10px;
    }

    #contact {
        width: auto;
        font-size: 10px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 10px;
    }

    #name {
        font-size: 18px;
    }

    .nav a {
        font-size: 14px;
        margin-top: 8px;
    }

    #contact {
        font-size: 10px;
        padding: 4px 8px;
    }
}
.container {
    text-align: center;
    background: white;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 300px 0px 0px 400px;
    align-items: center;
    justify-content: center;
}
h1 {
    margin-bottom: 20px;
    color: #333;
}

.input-section {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
    justify-content: center;
}
@media (max-width: 100px) {
    .container{
        align-items: center;
        justify-content: center;
        margin-left: 350px;
    }
}

input[type="text"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
}
@media screen {
    
}

.container button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    
}

.container button:hover {
    background-color: #0056b3;
}

.answer-section {
    font-size: 18px;
    color: #555;
    min-height: 30px;
}
