body{
    background-color: rgb(218, 218, 218);
}

.content{
    padding-top: 80px;
}


.section{
    display: flex;
    background-color: white;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
    border-radius: 30px;
}

.first_section_left_side,
.map_section_left_side,
.social_media_section_left_side{
    /*background-color: aqua;*/
    display: flex;
    flex: .6;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 10px 10px;
}

.first_section_ferlex_logo{
    width: 100%;
}

.text_p{
    font-size: 16px;
    margin: 0 0 0 0;
    text-align: center;
}

@media (max-width: 299px){

    .ferlex_map{
        height: 50px;
    }


    .section{
        margin-bottom: 0px;
        flex-direction: column;
        margin-left: 5px;
    }
}

@media (min-width: 300px) and (max-width: 499px){

    .ferlex_map{
        height: 100px;
    }


    .section{
        margin-bottom: 0px;
        flex-direction: column;
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (max-width: 500px){

    .section{
        padding: 20px;
    }

    .text_p{
        font-size: 15px;
        margin-bottom: 20px;
    }

    .section_title{
        font-size: 20px;
    }

    .ferlex_map{
        height: 200px;
    }
}

@media (min-width: 501px) and (max-width: 750px){
    .text_p{
        font-size: 13px;
    }

    .section_title{
        font-size: 20px;
    }

    .ferlex_map{
        height: 220px;
    }

    .section{
        margin-bottom: 20px;
    }
}

@media (min-width: 751px) and (max-width: 1000px){
    .text_p{
        font-size: 17px;
    }

    .section_title{
        font-size: 25px;
    }

    .ferlex_map{
        height: 300px;
    }
}

@media (min-width: 1001px) and (max-width: 1300px){
    .text_p{
        font-size: 24px;
    }
    
    .section_title{
        font-size: 30px;
    }

    .ferlex_map{
        height: 400px;
    }
}

@media (min-width: 1301px){
    .text_p{
        font-size: 28px;
    }

    .section_title{
        font-size: 40px;
    }
}

.first_section_right_side,
.map_section_right_side,
.social_media_section_right_side{
    /*background-color: blueviolet;*/
    display: flex;
    flex: 1;
    align-items: center;
    
}

.first_section_ferlex_video{
    width: 100%;
    height: 90%;
    padding-right: 20px;
    padding-left: 10px;
}

.section_title{
    text-align: center;
    vertical-align: middle;

}

#merchandise_section{
    display: grid;
    row-gap: 10px;
    column-gap: 10px;
    background-color: white;
    
    border-radius: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

#merchandise_section img{
    width: 100%;
    background-color: rgb(238, 238, 238);
    border-radius: 15px 15px  0 0;
    display: block;
}

.text_flex{
    display: flex;
    flex-direction: column;
    flex: 1;

}

#merchandise_section p{
    margin: 0 0 0 0;
    text-align: center;
    display: block;
    background-color: rgb(238, 238, 238);
    border-radius: 0 0 15px 15px;
    
}

#brands_section{
    display: grid;
    background-color: white;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
}

#brands_section img{
    width: 100%;
    text-align: center;
}

#map_section{
    align-items: center;
}

.ferlex_map{
    width: 100%;
    padding: 10px 10px 10px 10px;

}


#social_media_section{
    margin-bottom: 40px;
}

.social_media_section_left_side{
    flex: 1;
}

.test{
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.product_background{
    position: relative;
    width: 100%;
    padding: 0 0 0 0;
}

.social_media_section_right_side p{
    display: block;
}

.social_media_section_right_side_grid{
    display: grid;
    justify-items: center;
    width: 100%;
}

#facebook_button_follow_us{
    margin-top: 10px;
    background-color: #3c5a9a;
    width: 100px; /*minimum width of a button*/
    z-index: 0;
}

#facebook_button_follow_us:hover{
    background-color: #5f8ef3;
}


#schedule_section_text{
    text-align: left;
}

#catalog_button{
    background-color: #ff0000;
    text-align: center;
    padding-right: 0px;
    padding-left: 0px;
    margin-top: 10px;
    width: 100px; /*minimum width of a button*/
}

#catalog_button:hover{
    background-color: #ff3b3b;
}


@media (min-width: 401px) and (max-width: 800px){

    #merchandise_section{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        justify-items: center;
    }

}

@media (max-width: 500px){
    #facebook_button_follow_us,
    #catalog_button{
        width: 80px;
        height: 30px;
        font-size: 12px;
        padding-left: 0;
    }

    #facebook_button_follow_us .facebook_icon{
        width: 30px;
    }
}

@media (max-width: 400px){

    
    .content{
        padding-top: 40px;
    }

    #merchandise_section{
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: center;
    }

    #brands_section{
        grid-template-columns: 1fr 1fr ;
    }

}



