/* ======= Google font import -poppins ====== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
/* ====== Colors ======= */

:root {
    --red: #A50029;
    --white: #ffff;
    --black: #000;
    --gray: #858585;
    --light-gray: #F2F2F2;
    --main-width: 1500px;
}

body{
    height: 100vh;
    position: relative;
}

.contact_us{
    padding-top: 100px;
    margin: 0 3%;
    .title {
        text-align: center;
        h4{
            font-size: 30px;
            color: var(--red);
            font-weight: 700;
        }
    }
    .info_contact{
        display: flex;
        /* overflow: hidden;
        height: 400px; */
        .digalog_info{
            text-align: justify;
            span a{
                color: var(--red);
                text-decoration: none;
            }
        }
        .detail_info .icon img{
            width: 55px;
            height: 55px;
            
        }
        .image_info img{
            width: 400px;
            padding-left: 20px;
        }
        .detail_info{
            margin-top: 20px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            .icon{
                display: flex;
                margin-bottom: 25px;
            }
            .text_info{
                padding: 0px 20px;
                h5{
                    color: var(--red);
                }
                span{
                    font-size: 13px;
                }
            }
        }
        
    }

    .detail_box{
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin: 2rem 0;
        .message_box{
            width: 60%;
            padding: 2rem;
            background-color: var(--light-gray);
            h4{
                text-align: center;
                color: var(--red);
                font-weight: 700;
                padding-bottom: 1rem;
            }
            .form-group{
                padding-bottom: 1rem;
            }
        }
        .right_info{
            width: 38%;
            .top-info{
                padding: 2rem;
                height: 60%;
                background-color: var(--light-gray);
                h4{
                    color: var(--red);
                }
                .media{
                    display: flex;
                    align-items: center;
                    padding-top: 1rem;
                    img{
                        width: 30px;
                    }
                    p {
                        font-size: 16px;
                        margin-left: 1rem;
                        margin-bottom: 0;
                    }
                }
            }
            .map{
                margin-top: 2%;
                height: 38%;
            }
        }
    }
}

@media (min-width: 1582px ){
    .contact_us{
       margin: 0 10%;
    }
}

@media (max-width: 952px ){

    /* .info_contact {
        width: 100%;
        padding: 15px;
        .digalog_info{
            width: 50%;
            text-align: justify;
        }
        .image_info .image_car{
            width: 100%;
        }

        
    } */

}

@media (max-width: 858px ){

    .contact_us {
        .info_contact {
            display: block;
            .digalog_info {
                text-align: justify;
                width: 100%;
            }
            .image_info img {
                width: 100%;
                padding-left: 0px;
                height: 100%;
                object-fit: contain;
            }
        }
        .detail_box {
            display: block;
            width: 100%;
            justify-content: space-between;
            margin: 2rem 0;
            .message_box {
                width: 100%;
                padding: 2rem;
                background-color: var(--light-gray);
            }
            .right_info {
                margin-top: 1rem;
                width: 100%;
                .map {
                    margin-top: 2%;
                    height: 300px;
                }
            }
        }
    }
}


@media (max-width: 600px){

    .contact_us {
        .info_contact {
            display: block;
            .detail_info {
                margin-top: 20px;
                display: grid;
                grid-template-columns: 1fr;
            }
            .image_info{
                width: 100%;
                .image_car {
                    width: 100%;
                }
            }
        }
    }

}