/* Global */
html body {
    background: #FFEA00;
}

.box {
    display: flex;

    margin: 1rem;
    padding: 0.5rem;

    background: #0F0F0F;
    color: white;
    box-shadow: 10px 10px;

    border-radius: 0.3rem;
}

/* Google Fonts */
.inter-regular {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.inter-title {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.inter-bold {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* Header */
.box .header {
    flex-direction: row;
}

.header img {
    display: inline-flex;

    width: 8em;
    height: 8em;

    border-radius: 128em;

    margin-right: 2rem;
}

.h-content h1 p {
    display: flex;
    flex-direction: column;
}
/* Form container */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

/* Labels */
.contact-form label {
    align-self: flex-start;
    font-size: 0.85rem;
    color: #aaa;
}

/* Inputs + textarea */
.contact-form input,
.contact-form textarea {
    width: 260px;
    padding: 0.6rem;

    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0.3rem;

    color: white;
    font-size: 0.9rem;

    transition: all 0.2s ease;
}

/* Focus glow */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 6px #FFD70055;
}

/* Character counter */
#character-limit {
    font-size: 0.75rem;
    color: #777;
    align-self: flex-start;
}

/* Button */
button {
    margin-top: 0.5rem;
    padding: 0.5rem 1.2rem;

    background: #FFD700;
    color: black;
    border: none;
    border-radius: 0.3rem;

    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

/* Hover effect */
.contact-form button:hover {
    background: #ffea55;
    transform: translateY(-1px);
}

.box.contact {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers form */
}

.box.contact h1 {
    width: 100%;
    text-align: center; /* centers text */
    margin-bottom: 1rem;
}

/* links */
a {
    color: #FFD700;
    font-family: 'Inter';
}