@charset "UTF-8";

/* MAIN */
.contact-links {
    flex: 1;
}

/* CONTACT FORM */
.contact-layout {
    padding: 20px;
    background-color: var(--bg-card);
    border: 5px solid var(--borders);
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* ASIDE */
.contact-layout aside {
    flex: 1;
    min-width: 280px;
    padding: 20px;
}

/* SECTION */
.contact-layout section {
    flex: 1.5;
    min-width: 0;
    padding: 20px;
}

/* FORM */
fieldset {
    border: none;
    padding: 5px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

fieldset form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

fieldset input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: "Inter", sans-serif;
    background-color: var(--bg-navbar);
}

fieldset textarea {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    height: 150px;
    resize: none;
    font-family: "Inter", sans-serif;
    background-color: var(--bg-navbar);
}

fieldset button {
    padding: 10px;
    background-color: var(--accent-links);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "Jetbrains Mono", monospace;
}

fieldset button:hover {
    background-color: var(--shadow-primary);
}

/* TOAST */
#form-toast {
    text-align: center;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--bg-secondary);
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--accent-primary);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}
