/*post*/

.contact-form,
.contact-form * {
    box-sizing: border-box;
}

.contact-form {
    margin-left: auto;
    margin-right: auto;
}


.contact-form {
    max-width: 520px;
    margin: 40px auto;
    padding: 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
    font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.contact-form button:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.contact-form button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* status message */
.contact-status {
    max-width: 520px;
    margin: 20px auto 0;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
}

.contact-status:has(:not(:empty)) {
    background: #f6f6f6;
}

/* honeypot */
.contact-form .hp {
    display: none;
}


.contact-notice {
    max-width: 520px;
    margin: 0 auto 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
}

.contact-notice.success {
    background: #e8f5e9;
    color: #1b5e20;
}

.contact-notice.error {
    background: #fdecea;
    color: #b71c1c;
}


/*
.animation-container {
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vw;
    
}

canvas {
    display:block;
    width:100%;
    height: 100%;
}

#hyperbolic-text-container {
    z-index:-1;
    background: rgba(0,0,0,0.5);
}
    */
/*
#ball {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;  // Чтобы он был поверх других элементов 
}


#ball {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}
*/