*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins' sans-serif ;
}



body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1f242d;
}

.contact h2{
    font-size: 40px;
    color: #ededed;
    text-align: center;
    margin-bottom: 10px;
}

.contact form{
    width: 600px;
    text-align: center;
}

form .input-box{
    display: flex;
    justify-content: space-between;
}

.input-box .input-field{
    width: 48.5%;
}

.field .item{
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 2px solid #0ef;
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    color: #ededed;
    margin: 12px 0;
}

.field.error .item{
    border-color: #d93025;
}

.field .item::placeholder{
    color: rgba(255, 255, 255, .3);
}

.field .error-txt{
    font-size: 14.5px;
    color: #d93025;
    text-align: left;
    margin: -5px 0 10px;
    display: none;
}

.field.error .error-txt{
    display: block;
}

form .textarea-field .item{
    resize: none;
}

form .textarea-field .error-txt{
    margin-top: -10px;
}

form button{
    padding: 12px 32px;
    background: #0ef;
    border: none;
    outline: none;
    border-radius: 6px;
    box-shadow: 0 0 10px #0ef;
    font-size: 16px;
    color: #333;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: .5s;
}

form button:hover{
    box-shadow: none ;
}




a .btn{
        padding: 12px 32px;
        background: #0ef;
        border: none;
        outline: none;
        border-radius: 6px;
        box-shadow: 0 0 10px #0ef;
        font-size: 16px;
        color: #333;
        letter-spacing: 1px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 20px;
        transition: .5s;
        display: flex;
        margin: auto;
        text-decoration: none;
        padding: 10px;
        

    
}
a .btn:hover{
    box-shadow: none;
}
a:link{
    text-decoration: none;
}


@media only screen and (max-width: 768px) {
    .contact form {
        width: 100%;
        padding: 20px;
    }

    .input-box {
        flex-direction: column;
    }

    .input-box .input-field {
        width: 100%;
    }

    form button {
        width: 100%;
        padding: 14px;
    }

    a .btn {
        padding: 12px 32px;
        background: #0ef;
        border: none;
        outline: none;
        border-radius: 6px;
        box-shadow: 0 0 10px #0ef;
        font-size: 16px;
        color: #333;
        letter-spacing: 1px;
        font-weight: 600;
        cursor: pointer;
        margin-top: 20px;
        transition: .5s;
        display: flex;
        margin: auto;
        text-decoration: none;
        padding: 10px;
        text-align: center;  /* Add this line */
    }
    
    a .btn:hover {
        box-shadow: none;
    }
    

    .contact h2 {
        font-size: 32px;
    }

    .field .item {
        padding: 16px;
    }

    .field .error-txt {
        font-size: 13px;
    }

    .textarea-field .item {
        width: 100%;
        padding: 16px;
    }
}
