/* Form styles */
label {
    display: block;
    margin: 0 auto 6px 3px;
    text-align: left;
    font-weight: 500;
    color: var(--MAIN-COLOR);
}

input[type="text"],
input[type="email"] {
    max-width: 400px;
    min-width: 150px;
}

textarea {
    max-width: 800px;
    min-width: 150px;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
}

input[type="submit"] {
    display: block;
    margin-top: 20px;
    margin-left: 25%;
    background-color: var(--MAIN-COLOR);
    color: var(--MAIN-BGCOLOR);
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: var(--MAIN-BGCOLOR);
    color: var(--MAIN-COLOR);
    border: var(--MAIN-COLOR) 1px solid;
    padding: 11px 19px;
}

.container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.container > * {
    width: 100%;
}

/* Contact info styles */
.contact-table {
    margin: 30px 0 10px 30px;
    border-collapse: collapse;
}

@media (max-width: 768px) {
    .contact-table {
        text-align: center;
    }
}

.contact-table td {
    padding: 10px 40px 10px 0;
    width: 100%;
}

.contact-table td span {
    text-align: center;
    margin: auto;
}

.contact-table tr:last-child td {
    border-bottom: none;
}

.contact-table td:first-child {
    font-weight: 600;
    color: var(--MAIN-COLOR);
}

table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

#my_email {
    word-break: break-all;
}

.circle {
    position: absolute;
    border-radius: 50%;
    animation: growAndFade 10s linear forwards;
}

.contact-table tr td i {
    padding-left: 6px;
}

@keyframes growAndFade {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
