@import url('typo.css');
@import url('footer.css');

/*
----------------------- GLOBAL -----------------------
*/

/* HTML */
html,
body {
    height: 100%;
    font-weight: 300;
}

/*
:focus{
    outline: unset;
}
*/

input,
textarea {
    border: 1px solid #c2c2c2;
    outline: none;
    border-radius: 3px;
    padding: 3px;
    background-color: #e4e4e4;
}

body {
    display: flex;
    /**/
    flex-direction: column;
    /**/
    margin: 0 auto;
    background-color: rgb(235, 235, 235);
}

/*
----------------------- ICONS -----------------------
*/

.icon {
    margin: 0 2px;
}

.icon .icon-box {
    height: 15px;
    width: 15px;
    background: transparent;
    line-height: 15px;
    text-align: center;
    font-size: 1.8rem;
    border-radius: 5px;
    transition-duration: 0.3s;
}

.nav-menu .menu-btn {
    color: white;
}

/*
----------------------- HEADER -----------------------
*/

header {
    display: flex;
    margin: 0 auto;
    width: 100%;
    background-color: #242424;
    -webkit-box-shadow: 0px 3px 10px -9px rgba(0, 0, 0, 0.81);
    -moz-box-shadow: 0px 3px 10px -9px rgba(0, 0, 0, 0.81);
    box-shadow: 0px 3px 10px -9px rgba(0, 0, 0, 0.81);
}

header .topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 980px;
    min-height: 120px;
    margin: auto;
}

/* LOGO */

header div#logo {
    display: block;
    margin: 0;
    max-width: 200px;
    width: 50%;
    min-width: 100px;
}

/* MENU */

div.menu-section {
    display: flex;
    height: 60px;
}

div.right-block {
    width: 230px;
    margin: 0;
}

div.search-panel {
    display: flex;
    line-height: 2.5rem;
    background-color: transparent;
    /*#e4e4e4*/
    border: 1px solid #585858;
    border-radius: 12px;
    margin-bottom: 15px;
    justify-content: flex-end;
    height: 24px;
}

div.search-panel:focus-within {
    outline: none;
    border-color: #295FB6;
}

.input-search {
    /* campo texto */
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: #ececec;

}

.input-search:focus {
    background-color: transparent;
    color: #ececec;
}

.search-button {
    /* botão buscar */
    background-color: transparent;
    border: none;
    padding: 0;
    margin-right: 8px;
    color: #797979;
}

.menu {
    display: flex;
    margin-top: 5px;
    justify-content: flex-end;
}

.menu-item {
    margin-left: 2rem;
    display: block;
}

.menu-btn {
    padding: 1rem;
    font-size: 2rem;
    line-height: 2.7rem;
    /*text-transform: uppercase;*/
    color: rgb(240, 240, 240);
}

.menu-btn:hover {
    color: #ffffff;
    transition-duration: .3s;
}

/*
----------------------- SLIDER -----------------------
*/

.slider {
    display: block;
    align-content: center;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;

}

.slick-prev:before,
.slick-next:before {
    color: black;
}

.slick-slide img {
    width: 100%;
}

/*
----------------------- BODY -----------------------
*/

/* CONTEUDO */

.main-container {
    flex: 1 0 auto;
    /* display: block;
    height: 100%;*/
}

section.content {
    display: block;
    align-content: center;
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
    margin-top: 1rem;
    background: white;
    padding: 4rem;
    box-sizing: border-box;
    border-radius: 3px;
    -webkit-box-shadow: 10px 3px 10px -9px rgba(0, 0, 0, 0.90);
    -moz-box-shadow: 1px 3px 10px -9px rgba(0, 0, 0, 0.90);
    box-shadow: 1px 3px 10px -9px rgba(0, 0, 0, 0.90);
}

/*
.login {
    flex: auto;
    height: 100%;
}


.box-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;

}

.l-form-box {
    display: block;
    width: 500px;
    height: 448px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    padding: 48px 40px 36px;
    text-align: center;
}

/*
----------------------- EFEITOS -----------------------
*/

/*UNDERLINE HOVER*/

.underline-hover {
    display: inline-block;
    position: relative;
}

.underline-hover::before {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    /*transform-origin: bottom center;*/
    transform-origin: bottom center;
    transition: transform 0.25s ease-out;
    -webkit-box-shadow: 0px 0px 2px 2px rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 10px 2px rgb(255, 255, 255, 0.1);
}

.underline-hover:hover::before,
.underline-hover:focus::before {
    transform: scaleX(1);
    transform-origin: bottom center;
}

/* GLOW BTN*/

.glow-btn:hover,
.menu-btn:focus,
.fab:focus {
    text-shadow: 0px 0px 1px #2a6dff,
        0px 0px 2px #2a6dff,
        0px 0px 5px #2a6dff,
        0px 0px 15px #2a6dff;
    outline: none;
}

/* GLOW BOX*/

footer.glow-box:hover,
footer.glow-box:focus,
.button:focus {
    -webkit-box-shadow: 0px 0px 2px 2px #2a6dff,
        0px 0px 5px 5px #2a6dff;
    box-shadow: 0px 0px 10px 2px #2a6dff,
        0px 0px 10px 2px #2a6dff;
    outline: none;
}

textarea:focus,
input:focus

/*div.search-panel:focus-within*/
    {

    /*-webkit-box-shadow: 0px 0px 4px 3px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 4px 3px rgba(0,0,0,1);
    box-shadow: 0px 0px 4px 3px rgba(0,0,0,1);*/
    background-color: white;
}

/*
----------------------- MEDIAQUERY BREAKPOINTS -----------------------
*/

@media (max-width: 760px) {

    html {
        font-size: 60%;
    }
}

/*
----------------------- MENU TOOGLE STARTS -----------------------
*/

@media (max-width: 520px) {

    nav {
        display: none;
    }

    div.search-panel {
        display: none;
    }

    .menu-section {
        cursor: pointer;
    }

    .menu-toogle {
        position: absolute;
        width: 30px;
        height: 10px;
        margin-right: 0px;
        top: 15px;
        right: 15px;
        text-align: center;
    }

    .menu-item {
        margin-left: 0;
    }

    .one,
    .two,
    .three {
        background-color: #fff;
        height: 4px;
        width: 100%;
        margin: 5px auto;
        transition-duration: 0.3s;
    }

    /*
FULLSCREEN MENU TOOGLE MOBILE
*/
    .menu-section.on {
        /* CRIA LAYER DO MENU MOBILE */
        cursor: pointer;
        position: absolute;
        top: 0;
        left: 0;

        width: 100vw;
        height: 100vh;

        background-color: rgba(20, 20, 20, 0.98);

        z-index: 10;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    div.search-panel.on {
        /* CLASSE ON PARA DIV BUSCA NO MENU MOBILE */
        display: flex;
    }

    .menu-section.on nav {
        /* CLASSE ON PARA NAV NO MENU MOBILE */
        display: block;
    }

    /*
    TRANSFORMA MENU HAMBURGUER EM "X"
    */
    .menu-section.on .menu-toogle .one {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-section.on .menu-toogle .two {
        opacity: 0;
    }

    .menu-section.on .menu-toogle .three {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .menu-section.on nav ul {
        padding: 0;
        text-align: center;
        display: block;
    }

    .menu-section.on nav ul a {
        transition-duration: 0.5s;
        font-size: 4rem;
        line-height: 7rem;
        display: block;
    }
}