main section#contact {
    width: 100vw;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    background-image: linear-gradient(to bottom, #00f1b2, #00f5a4, #00f893, #00fb80, #00fd69, #00fc7f, #00fb91, #00f9a2, #00f0cd, #00e4ed, #00d6fe, #00c5ff);
}

main section#contact .hero {
    width: 60vw;
    margin-top: 2em;
    padding: 0.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

main section#contact .text-part {
    width: 80%;
    max-width: 80%;
    margin-bottom: 1em;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

main section#contact .action-part {
    width: 80%;
    max-width: 80%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

main section#contact .action-part form {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

main section#contact .action-part form .contact-action {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
}

main section#contact .action-part form .contact-action>div {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
}

main section#contact .action-part form .contact-action>div.contact-type {
    border: dashed 3px #afff98;
    display: flex;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

main section#contact .action-part form .contact-action div.contact-item {
    padding: 0.3em;
    background-color: #afff97;
    border-radius: 8px;
    margin: 0.2em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

main section#contact .action-part form .contact-action div.contact-item p {
    margin: auto;
}

/* Responsive styles for mobile phones */
@media (max-width: 900px) {

    main section#contact .hero {
        width: 96vw;
        margin-top: 2em;
    }

    main section#contact .action-part {
        width: 90%;
        max-width: 90%;
    }
}

/* Responsive styles for mobile phones */
@media (max-width: 1200px) and (min-width: 900px) {
    main section#contact .hero {
        width: 90vw;
    }

    main section#contact .hero h2 {
        font-size: 4em;
    }

    main section#contact .hero p {
        font-size: 2em;
        margin-top: 5px;
    }
    
    main section#contact textarea ,
    main section#contact input {
        font-size: 2em;
    }


    main section#contact button {
        max-width: 50%;
        font-size: 2em;
    }
}