/* Importação de fontes: Irish Grover Bebas Neue, Rubik, Oswald, Bungee Spice, Roboto Slab*/
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bungee+Spice&family=Irish+Grover&family=Oswald:wght@200..700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

*{
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
    box-sizing: border-box;
}
body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: white;
}

@media (min-width: 360px){

    /* Header----- */
    header{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100px;
        border-bottom: solid 2px;
        background-color: rgb(120, 60, 0);
        position:relative;
        top: 0px;
        padding: 10px;
        z-index: 1;
    }
        #logo{
            width: 100px;
        }
        #menu:hover{
            opacity: 0.5;
            cursor: pointer;
        }
        #div_slogan h3{
            font-family:'Courier New', Courier, monospace;
            text-shadow: 5px 5px 1px black;
        }
        #nav_page{
            display: none;
            position: absolute;
            top: 70%;
            right: 0%;
        }
        #ul_navegation{
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            list-style: none;
            font-family: 'Segoe UI';
            background-color: rgb(185, 185, 185);
            padding: 10px;
            margin-right: 10px;
        }
        #ul_navegation li{
            background-color: rgb(80, 64, 20);
            padding: 5px 20px;
            margin: 2px;
        }
        #ul_navegation li:hover{
            background-color: rgb(70, 70, 70);
            cursor: pointer;
        }
        #ul_navegation li a{
            color: white;
            text-decoration: none;
        }
        #ul_navegation li a:hover{
            text-decoration: underline;
            cursor: pointer;
        }
    /* ----- Header */
    

    /* Main----- */
    main{
        width: 100%;
    }
        .section_main{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-items: center;
            position: relative;
            padding: 30px 10px;
        }
        .section_main:nth-child(odd){
            grid-template-areas: "h3 h3" "p img";
            grid-template-columns: 2fr 1fr;
            background-color: rgba(120, 60, 0, 0.8);
        }
        .section_main:nth-child(even){
            grid-template-areas: "h3 h3" "img p";
            grid-template-columns: 1fr 2fr;
            background-color: rgba(120, 60, 0, 0.6);
        }
        .section_main h3{
            grid-area: h3;
            font-family: "Oswald";
            font-size: 32px;
            padding: 10px;
            margin-bottom: 10px;
        }
            .section_main img{
                width: 200px;
                grid-area: img;
            }
            .section_main p{
                grid-area: p;
                font-family: "Times new roman";
                text-align: left;
                font-size: 20px;
                background-color: rgba(0,0,0,0.5);
                border-radius: 10px;
                padding: 10px 20px;
                margin: 20px 0px;
            }
        #section_catalogos{
            display: flex;
            flex-direction: column;
        }
            #section_catalogos #ul_catalogos{
                display: grid;
                grid-template-rows: 1fr 1fr 1fr 1fr;
                grid-template-columns: 1fr 1fr;
                justify-content: center;
                gap: 10px;
                width: 100%;
                list-style: none;
                background-color: white;
                border-radius: 7px;
                border: outset 10px black;
                padding: 10px;
                margin: 10px;
            }
                #section_catalogos #ul_catalogos li{
                    width: 100%;
                    background-color: rgb(56, 56, 56);
                    border-style: dashed;
                    border-width: 1px;
                    padding: 3px;
                }
                #section_catalogos #ul_catalogos li:hover{
                    background-color: rgb(15, 49, 158);
                    border-style: dashed;
                    border-width: 1px;
                    padding: 3px;
                    transition-duration: 1s;
                    cursor: pointer;
                }
                #section_catalogos .section_catalogo{
                    display: none;
                    margin-top: 10px;
                }
                    .section_catalogo ul{
                        display: flex;
                        flex-direction: row;
                        flex-wrap: wrap;
                        justify-content: center;
                        list-style: none;
                    }
                        .section_catalogo ul li{
                            border: inset 2px;
                            box-sizing: content-box;
                            background-color: rgb(187, 187, 187);
                            margin: 5px 0px;
                        }
                            .section_catalogo ul li figure img{
                                width:250px;
                            }
                            .section_catalogo ul li figure figcaption{
                                font: normal 18px 'Franklin Gothic Medium';
                                color: black;
                                background-color: white;
                                padding: 2px;
                            }
        #section_contatos{
            display: flex;
        }
            #section_contatos #table_contatos{
                width: 200px;
                margin: 10px auto;
                font-family: Courier;
            }
                #section_contatos #table_contatos td{
                    width: 50px;
                    text-align: center;
                }
                    #section_contatos #table_contatos td img{
                        width: 30px;
                    }
    /* ----- Main */

    /* Footer----- */
    footer{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 12px;
        border-top: solid 2px;
        background-color: rgb(120, 60, 0);
        position:relative;
        padding: 10px;
    }
        #div_copyright{
            display: flex;
            flex-direction: row;
            justify-content: start;
            align-items: center;
            gap: 10px;
        }
        #div_whatsapp{
            position: fixed;
            bottom: 10px;
            right: 10px;
        }
            #img_whatsapp:hover{
                opacity: 0.5;
                cursor: pointer;
            }
    /* ----- Footer */
}

@media (min-width:768px){
        header #nav_page #ul_navegation{
            flex-direction: row;
        }
    .section_main{
        display: grid;
        grid-template-rows: 50px 1fr;
        padding: 30px 100px;
    }
    .section_main:nth-child(odd){
        grid-template-columns: 4fr 1fr;
    }
    .section_main:nth-child(even){
        grid-template-columns: 1fr 4fr;
    }
    .section_main:nth-child(odd) p{
            margin-right: 10px;
        }
        .section_main:nth-child(even) p{
            margin-left: 10px;
        }
    #section_catalogos #ul_catalogos{
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    }
        #section_catalogos #ul_catalogos li{
            font-size: 20px;
        }
}
