nav a[href="/about-me"] {
    text-decoration: var(--activePageTextDeco);
    text-underline-offset: var(--activePageTextUnderline);
}

#content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;

    padding-bottom: 50px;
}

h1 {
    display: none;
}

h2 {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: var(--secondary);
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 40px;
    margin: 0;
    margin-bottom: 5px;
}

h3 {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: var(--secondary);
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 30px;
    margin: 0;
    margin-top: 2rem;
}

p {
    text-shadow: 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000, 0 0 20px #000000;
    color: white;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 16px;
    margin: 0;
}

#contactImageContainer {
    width: fit-content;
}

#contactImage {
    width: 15vw;
    min-width: 280px;
    border: 8px solid #f381e1;
    border-radius: 7px;
    background-color: #f381e1;
}

#contactContainer {
    margin-top: 2rem;
}

.image-icon {
    width: 75px;
    background-color: black;
}

#contacts {
    width: 50vw;
    min-width: 900px;
}

#contactContainer {
    display: flex;
    flex-direction: row;
}

#contactInfoContainer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-left: 277px;
    height: 2rem;
}

.contactInfo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 32px;
}

.contactInfo p {
    font-weight: bold;
}

#contactTextContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 50px;
    gap: 15px;
}

#contactTextContainer p {
    font-size: 20px;
    font-weight: unset;
    text-shadow: unset;
    line-height: 1.35;
    background-color: rgba(0,0,0,0.7);
}

#socialsContainer {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.socialMedia {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.header {
    width: inherit;
    margin-top: 2rem;
}

.contact-img-icon {
    width: 50px;
    background-color: black;
}

.contact-form-container-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form-container {
    color: var(--primary);
    background-color: black;
    font-family: 'Arial', sans-serif;
    border: 8px solid #f381e1;
    margin-top: 2rem;
    padding: 40px;
    border-radius: 10px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 50vw;
    box-sizing: border-box;

    transition: height 1s;
}

.contact-form-container #contact-message-editor .ql-editor {
    padding: 0;
    height: 210px;
}

.contact-form-container #contact-message-editor {
    margin-bottom: 2rem;
    margin-top: 1rem;
    height: 250px;
}

.contact-form-container ::-webkit-scrollbar {
  width: 8px;
}

/* Track */
.contact-form-container ::-webkit-scrollbar-track {
  /*box-shadow: inset 0 0 5px grey;*/
  border-radius: 10px;

}

/* Handle */
.contact-form-container ::-webkit-scrollbar-thumb {
  background: #bcb1de;
  border-radius: 10px;
}

#contact-form {
    opacity: 1;
    transition: 0.5s;
    height: 640px;
}

.contact-form-container .ql-editor.ql-blank::before {
    font-size: 20px;
    font-weight: unset;
    text-shadow: unset;
    font-style: unset;
}

.contact-form-container .ql-editor p {
    color: black;
    font-size: 20px;
    font-weight: unset;
    text-shadow: unset;
}

.contact-form-container form {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    justify-content: center;
    font-size: 20px;
}

.contact-form-container label {
    margin-right: 15px;
}

.contact-form-input {
    background-color: var(--primary);
    color: black;
    font-size: 20px;
    border-radius: 5px;
    border: unset;
    height: 2rem;
    padding: 15px;
    margin-bottom: 2rem;
    margin-top: 1rem;
    font-family: 'Arial', sans-serif;
    resize: none;

    /*box-sizing: border-box;*/
    border: 2px solid transparent;
}

.contact-form-input:focus-within {
    outline: 1px solid var(--primary);
    outline-offset: 2px;
}

.error.contact-form-input:focus-within {
    border-color: transparent;
}

#message-confirm {
    font-size: 30px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: white;
    opacity: 0;
    transition: 0.5s;
    /*visibility: hidden;*/
    /*padding: 2rem 0;*/
}

.contact-form-container .submit {
    background-color: #f381e1;
    padding: 15px;
    border-radius: 5px;
    border: unset;
    font-size: 20px;
    width: 200px;
    margin-left: auto;
    cursor: pointer;
}

.submit.sending {
    background-color: #d762c4;
    color: #34022d;
}

.contact-form-container .submit:hover {
    background-color: #dc6bca;
}

.contact-form-container .submit:active {
    background-color: #cc5aba;
}

#contact-spinner {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s;
}

#contact-message-status {
    font-weight: unset;
    color: red;
    position: absolute;
}

.contact-label-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-label-container .error {
    color: red;
    font-weight: bold;
}


.contact-form-input.error {
    border: 2px solid red;
}

.loader {
    width: 30px;
    height: 30px;
    border: 5px solid #f381e1;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}

@keyframes bblFadInOut {
  0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em }
  40% { box-shadow: 0 2.5em 0 0 }
}


@media (max-width: 1000px) {
    #contacts {
        width: 80vw;
        min-width: unset;
    }

    .header {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    #contactContainer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #contactImage {
        width: 20vw;
        min-height: unset;
    }

    #contactTextContainer {
        margin-left: unset;
        margin-top: 15px;
    }

    #contactInfoContainer {
        flex-direction: column;
        height: unset;
        gap: 1rem;

        margin: 2rem 0;
    }

    .contactInfo {
        justify-content: unset;
        margin: unset;
    }

    #socialsContainer {
        flex-direction: row;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    #socialsContainer p {
        display: none;
    }

    .image-icon {
        width: 10vw;
        max-width: 100px;
    }

    .contact-form-container {
        width: 90vw;
    }

    .contact-form-container {
        padding: 5vw;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .contact-form-container #contact-message-editor {
        margin-bottom: 2rem;
        margin-top: 1rem;
        height: 250px;
    }

    /*.contact-form-container .submit {*/
    /*    margin: 0 auto;*/
    /*}*/
}

@media (max-width: 800px) {
    #contactImage {
        width: 60vw;
    }

    .image-icon {
        width: 18vw;
    }

    .contact-form-container button {
        margin: 0 auto;
    }
}