.contact-success {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 1.4rem;
}

.contact-error {
    margin: 0.3rem 0 0;
    color: #ffd4df;
    font-size: 1.4rem;
    line-height: 1.3;
}
.section-footer {
    max-width: 100%;
    background-color: var(--main-color);

    padding: 2rem;

    font-size: 1.8rem;

    justify-items: center;
    align-items: center;
}

.author-message {
    justify-self: center;
    align-self: center;
}

.author-message p {
    max-width: 25rem;

    margin: 0 auto;

    color: #fff;

    text-align: center;
}

.signature {
    display: block;

    width: 25rem;
    max-width: 100%;
    height: auto;

    margin: 1rem auto 0;
}



   /* HEADINGS */


.section-footer .small-heading {
    color: #fff;
}



   /* LINKS */


.links {
    list-style: none;

    margin: 0;
    padding: 0;

    gap: 0.5rem;
}

.link {
    position: relative;

    display: inline-block;

    color: #fff;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -0.2rem;

    width: 100%;
    height: 0.15rem;

    background-color: var(--accent-color);

    transform: scaleX(0);
    transform-origin: left;

    transition:
        transform 0.25s ease;
}

.link:hover,
.link:focus-visible {
    color: var(--accent-color);
}

.link:hover::after,
.link:focus-visible::after {
    transform: scaleX(1);
}

.link:focus-visible {
    outline:
        2px solid
        var(--accent-color);

    outline-offset: 0.4rem;
}



   /* GIRL */


.girl {
    position: relative;

    align-self: end;

    display: block;

    width: 15rem;
    max-width: 100%;
    height: auto;

    z-index: 2;

    user-select: none;
    -webkit-user-drag: none;
}



   /* SOCIAL */


.social-links {
    align-self: center;
}

.instagram-link {
    display: flex;

    align-items: center;

    gap: 0.5rem;

    color: #fff;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.25s ease;
}

.instagram-link:hover,
.instagram-link:focus-visible {
    color: var(--accent-color);
}

.instagram-link:focus-visible {
    outline:
        2px solid
        var(--accent-color);

    outline-offset: 0.4rem;
}

.instagram-logo {
    flex-shrink: 0;
}



   /* CONTACT FORM */


.contact-form {
    width: 100%;
    max-width: 30rem;

    align-self: start;

    margin-bottom: 1rem;
}

.input-form {
    width: 100%;

    gap: 0.5rem;
}



   /* FORM INPUTS */


.form-input {
    width: 100%;

    background-color: #fff;

    border: none;
    border-radius: var(--small-border-radius);

    color: #333;

    font-family: inherit;
    font-size: 1.4rem;

    padding: 0.7rem 0.8rem;

    transition:
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.form-input::placeholder {
    color: #82767d;
}

.form-input:focus {
    outline: none;

    box-shadow:
        inset 0 0 0 2px
        var(--accent-color);
}


/* Normal inputs */

.email,
.name,
.surname {
    min-height: 3.4rem;
}

/* Name row */

.personal-name {
    width: 100%;
    gap: 1rem;
}

.form-field {
    width: 50%;
    min-width: 0;
}

.name,
.surname {
    width: 100%;
}


/* Message */

.message {
    display: block;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    min-height: 10rem;
    max-height: 20rem;

    resize: vertical;
}



   /* BOTCHECK */


.hidden-botcheck {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    margin: -1px !important;
    padding: 0 !important;

    overflow: hidden !important;

    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}



   /*  TURNSTILE */


   .cf-turnstile {
    width: 100%;
    margin-top: 0.7rem;
}

.cf-turnstile iframe {
    max-width: 100%;
}



   /* SUBMIT BUTTON */


.submit-form {
    display: flex;

    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 3.8rem;

    margin-top: 0.5rem;

    padding: 0.6rem 1rem;

    background-color: var(--accent-color);

    border:
        2px solid
        var(--accent-color);

    border-radius: var(--small-border-radius);

    color: #fff;

    font-family: inherit;
    font-size: 1.35rem;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.submit-form:hover,
.submit-form:focus-visible {
    background-color: transparent;

    color: #fff;

    transform: translateY(-0.1rem);
}

.submit-form:focus-visible {
    outline:
        2px solid
        #fff;

    outline-offset: 0.3rem;
}



   /* LINE + COPYRIGHT */


.line {
    grid-column: 1 / -1;

    width: 95%;
    height: 0.2rem;

    margin-top: 1rem;

    justify-self: center;

    background-color: #fff;
}

.copyright {
    grid-column: 1 / -1;

    width: 100%;
    margin: 0;
    padding-top: 1rem;

    justify-self: center;

    color: #fff;
    font-size: var(--small-text-font-size);
    text-align: center;
}

