*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    h1{
        font-family:"Special Gothic Expanded One", sans-serif;
        color: #2C2C2C;
    }
    p{
        font-family:  "Karla", sans-serif;
    }
    header{
        align-items: center;
        background-color: #0085ff;
        display: flex;
        margin-bottom: 30px;
        border-bottom: 4px solid #ff6b00;
        box-shadow: 5px 5px 9px rgba(0, 0, 0, 0.219);

        .logo{
            flex: 50%;
            margin: 10px 0px 0px 190px;
            #logoimg{
                width: 100px;
            }
        }
        nav{
            flex: 50%;
            display: flex;
            text-align: center;
 
            div{
                transform: scale(1);
                transition: transform .7s;
                flex: 50%;
                margin-right: 50px;
                border-radius: 50%;
            }
            
                img{
                     border-radius: 50%;
                        box-shadow: 1px 1px 9px rgba(0, 0, 0, 0.137);
                    width: 40px;
                    
                }

                p{
                    font-size: 12px;
                }

                div:hover{
                    transform: scale(1.2);
                    transition: transform .5s;
                }

            }


            a{
                margin: 10px;
                text-decoration: none;
                color: white;
                font-size: 20px;
                letter-spacing: 1px;
                padding: 2px;
            }
        }
    }

    #menu2{
        display: none;
        background-color: #0085ff;
        text-align: center;
        padding: 20px;
        
        li{
            list-style: none;
            display: inline;
            margin: 5px;
            padding: 5px;
            font: 10px;
        }
        a{
            text-decoration: none;
            color: white;

        }

        a:hover{
            border-bottom: 2px solid white ;
        }
    }


    #broker{
        display: none;
        text-align: center;
        margin-right: 40px;
        background-color: #0085ff;
        border: none;
        color: white;

        img{
            width: 35px;
            border-radius: 50%;
            box-shadow: 1px 1px 9px rgba(0, 0, 0, 0.164);
        }
    }

    main{
        max-width: 1100px;
        margin: auto;
        padding: 30px;
        align-items: center;
        position: relative;

        .principal{
            display: flex;

            .imgPrincip{
                background-image: url(../designer/logo11.png);
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                flex: 50%;
                margin: 2px;
                text-align: center;
                img{
                    width: 350px;
                }
            }

            .conteudo_1{
                flex: 50%;
                margin: 2px;

                h1{
                    text-align: center;
                    text-transform: uppercase;
                    font-size: 40px;
                }

                h2{
                    text-align: center;
                    margin-bottom: 20px;
                }

                p{
                    text-align: justify;
                    line-height: 29px;
                    margin-bottom: 10px;
                    text-indent: 30px;
                    font-size: 17px;
                }
            }
        }

        .secundario{
            max-width: 1100px;
            display: flex;
            flex-flow: row wrap;
            justify-content: center;
            align-items: center;
            margin-top: 50px;
    
        }

        .conteier{
            position: relative;
            width: 300px;
            height: 450px;
            margin: 20px;
        }

        .conteier:hover .flip {
            transform: rotateY(180deg);
        }
        
        .flip{
            position: absolute;
            width: 100%;
            height: 100%;
            cursor: pointer;
            transform-style: preserve-3d;
            transition: .5s;
        }

        .frente,.tras{
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.116);
            backface-visibility: hidden;
            
            

            .titulo{
                background-color: #0085ff;
                display: flex;
                align-items: center;
                border-radius: 8px;
                color: white;
                padding: 10px;

                img{
                    width: 50px;
                   margin-left: 15px;
                    margin-right: 5px;
                }
                
                h1{
                    font-family: "Funnel Sans", sans-serif;;
                    font-size: 20px;
                    letter-spacing: 5px;
                    margin-left: 10px;
                    color: white;
                }

            }

            .dizeresFrente,.dizeresTras{
                padding: 30px;
                line-height: 25px;
                text-align: justify;
                font-size: 15px;
            }
        }

        .tras{ 
            h1{
                color: white;
            }
            transform: rotateY(180deg);
            .titulo{
                background-color: #ff6b00;
            }
            
            li{
                line-height: 35px;
                text-align: start;
            }
        }

        .botao{
            text-align: center;
            margin: 30px;

            a{
                
                text-decoration: none;
                color: white;
            }

            h1{
                background-color: #0085ff;
                color: white;
                display: inline-block;
                padding: 20px;
                border-radius: 10px;
                font-size: 20px;
                letter-spacing: 10px;
                transition: 1s;
                animation: aumentar 2s linear infinite;
            }

            h1:hover{
                background-color: #ff6b00;
            }

        }
    }

    @keyframes aumentar {

        from,to{
                
                    scale: 100%;
        }
        50%{
            
            scale: 110%;
        }
                
    }

footer{
    flex-flow: row wrap;
    text-align: center;
       border-top: 4px solid #0085ff;
        display: flex;
        background-image: url(../imgs/fundo/pedacos.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 250px;
    h1{
        font-family: "Oswald", sans-serif;
        font-size: 30px;
        font-weight: bolder;
        margin: 10px;
    }


    .Contatcos, .redesSociais, .apoios{
        padding: 10px;
        margin: 15px;
        flex: 30%;

        div{
            display: flex;
            align-items: center;
        }
        img{
            width: 40px;
            display: block;
            margin: 5px;
        }
        a{
            text-decoration: none;
            color: #2C2C2C;
        }
    }
}