#contactbanner{
    background-color: var(--contrast-color);
    padding-top: 5rem;
    padding-bottom: 5rem;

    & p{
        color: var(--main-color);
        font-size: 1.5rem;
        margin-left: 10%;
    }

    & h1{
        margin-left: 10%;
        font-family: Winco;
        font-size: 4rem;
        font-weight: 800;
        color: var(--main-color);
        margin-bottom: 2rem;
    }
}

#contactinfo{
    margin-top: 2rem;
    margin-bottom: 2rem;

    & h2{
        margin-left: 10%;
        font-family: Winco;
        font-size: 3rem;
        font-weight: 800;
        color: var(--contrast-color);
        margin-bottom: 1rem;
    }

    > div{
        display: flex;
        width: 80%;
        margin-left: 10%;
        justify-content: space-between;

        & div {
            display: flex;
            width: 30%;
            align-items: center;
            justify-content: space-between;

            & img{
                width: 20%;
            }

            & p , a{
                font-size: 1.5rem;
                width: 70%;
            }
        }
    }
}

@media screen and (max-width: 900px) {
    #contactinfo {
        > div {
            width: 100%;
            flex-direction: column;
            margin: 0;
            align-items: center;

            & .contacttile {
                width: 90%;
                margin: 0.5rem 0;
            }
        }
    }
}

#contactform{
    margin-top: 5rem;
    margin-bottom: 5rem;
    margin-left: 10%;
    width: 80%;

    & h3{
        font-family: Winco;
        font-size: 3rem;
        font-weight: 800;
        color: var(--contrast-color);
        margin-bottom: 2rem;
    }

    >div{
        display: flex;
        justify-content: space-between;

        > div{
            width:30%;
            display: flex;
            flex-direction: column;
            
            & #name {
                    margin-bottom: 2rem;
                }

            > p {
                font-weight: bold;
            }

            > div {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;

                > div {
                    display: flex;
                    align-items: center;
                    flex-wrap: wrap;

                    & input {
                        margin-right: 0.5rem;
                        width: 1.3rem;
                    }

                }

                & .inputtextfields {
                    width: 100%;

                    & input {
                        width: 100%;
                        margin-top: 0.5rem;
                    }
                }
            }

        }

        & textarea{
            border-radius: 3rem;
            border: 1px solid var(--contrast-color);
            padding: 2rem;
            resize: vertical;
            min-height: 25rem;
            width: 50%;
        }

        & input{
            border: none;
            outline: none;
            border-bottom: 1px solid var(--contrast-color);
            font-size: 1rem;
            height: 2rem;
        }

        & input:focus {
            border-bottom: 2px solid var(--accent-color);
        }

        & .inputtextfields input{
            display: none;
            flex-direction: column;
        }
    }


}

@media screen and (max-width: 900px) {
    #contactform {
        margin: 0;
        width: 100%;


        & h3 {
            width: 90%;
            padding: 0 5%;
        }

        > div {
            flex-direction: column;
            align-items: center;

            > div {
                width: 90%;

                & input {
                    margin-bottom: 1.5rem;
                }

                & .inputtextfields input {
                    width: 100%;
                }

            }

            & textarea {
                width: 70%;
                margin-bottom: 1.5rem;
                border-radius: 1rem;
            }

        }

        & button {
            margin: 0 0 2rem 2rem;
        }
    }
}