.contact-section {
    padding-top: 129px;
    padding-bottom: 2.85em;
    min-height: 50em;
    align-items: center;
    flex-direction: row;
    display: flex;
    justify-content: space-evenly;
}

.container form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    margin: 2em 0 0 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info span {
    color: slategray;
}

.contact-item {
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
}

.rodo {
    font-size: 1em;
    line-height: 1em;
    margin-top: 2em;
    text-align: center;
}

input, textarea {
    padding: 0.3em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#name {
    margin-right: 5em;
    margin-bottom: 2em;
}

#email {
    min-width: 18em;
}

#message {
    min-height: 15em;
    resize: none;
    
    width: 100%;
}

#submit {
    text-align: center;
    display: flex;
    margin-top: 2em;
    background-color: var(--lightbrown);
    border: 4px solid var(--brown);
    border-radius: 5px;
    color: white;
    font-size: 23px;
    padding: 0.5em 2em 0.5em 2em;
}

#submit:hover {
    background-color: var(--lighterbrown);
    cursor: pointer;
}

@media only screen and (max-width: 1300px) {
    .contact-section {
        flex-direction: column;
    }

    .contact-info {
        flex-direction: row;
    }

    .contact-item {
        margin-bottom: 0;
        margin-right: 3em;
    }

    .contact-item:last-of-type {
        margin-right: 0;
    }

    p {
        text-align: left;
    }
}

@media only screen and (max-width: 950px) {
    .credentials {
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    #name {
        margin: 0;
        margin-bottom: 1em;
    }

    #email {
        margin-bottom: 1em;
    }

    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item {
        margin-bottom: 2em;
    }
}

@media only screen and (max-width: 420px) {
    .container {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
        margin: 0;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .container:last-of-type {
        border-top: 0;
    }

    .contact-info {
        align-items: flex-start;
        margin-left: 1em;
    }
}