main{
    #contact-container{
        width: 100%;
        background-color: #000000;
        padding: 5rem;

        #contact-methods{
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            gap: 3rem;
            background-color: #ffffff;
            padding: 3rem;
            margin-left: auto;
            margin-right: auto;
            width: min(900px, 100%);
            text-align: center;

            .contact-method{
                color: #dd0000;
                text-decoration: none;
                flex: 1;
                padding: 1rem;
                border: 1px solid transparent;
                border-radius: 8px;
                transition: border-color 0.2s ease, background-color 0.2s ease;

                .icons{
                    display: flex;
                    justify-content: center;
                    gap: 0.5rem;

                    img, svg{
                        color: #000000;
                        height: 40px;
                    }
                }

                h3{
                    margin: 0.85rem 0 0.5rem;
                }

                p{
                    color: #000000;
                    margin: 0;
                    overflow-wrap: anywhere;
                }
            }

            .contact-method:hover{
                border-color: #dd0000;
                background-color: #fff5f5;
            }
        }
    }
}

@media (max-width: 900px){
    main{
        #contact-container{
            padding: 2rem 1rem;

            #contact-methods{
                flex-direction: column;
                width: 100%;
                padding: 1.5rem 1rem;
                gap: 1rem;
            }
        }
    }
}

@media (max-width: 700px){
    body.contact-page{
        padding: 0 0 4.75rem;

        footer{
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: auto;
            padding: 0.7rem 1rem;
            flex-direction: column;
            justify-content: center;
            gap: 0.3rem;
            text-align: center;
            font-size: 0.92rem;
        }
    }
}
