/* geral */
html {
    font-family: 'Open sans', 'sans-serif';
    color: #373A3C;
}

a {
    transition: .5s;
}

/* sidebar */
#sidebar {
    position: fixed;
    height: 100%;
    width: 300px;
    background-color: #006599;
    padding-top: 40px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

#sidebar h1 {
    color: #FFF;
    font-size: 32px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

#sidebar a {
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
}

#sidebar a:hover {
    color: #F4EF5E;
}

#sidebar li {
    padding: 20px;
}

.sidebar-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
}

.logo-doceria {
    width: 60px;
    height: 60px;
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

/* hamburger menu */
.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1100;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #006599;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* conteudo */
.content {
    position: absolute;
    left: 300px;
    width: calc(100% - 300px);
    transition: left 0.3s ease-in-out, width 0.3s ease-in-out;
}

/* overlay para fechar menu ao clicar fora */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
}

.content h1, .content h2 {
    color: #006599;
    margin-bottom: 30px;
}

.content h1 {
    font-size: 48px;
}

.content h2 {
    font-size: 35px;
}

section {
    padding-left: 50px;
}

/* bem vindo */
#sessao-bemvindo {
    padding-left: 0;
}

.sessao-bemvindo-content {
    padding-left: 50px;
}

#sessao-bemvindo .banner {
    height: 500px;
    background-image: url('../img/banner.png');
    background-position: center;
    background-size: cover;
}

#sessao-bemvindo h1 {
    margin-top: 70px;
}

#sessao-bemvindo::after, #sessao-sobre::after {
    content: "";
    display: block;
    clear: both;
    margin-bottom: 100px;
}

.sessao-minibanner {
    width: 300px;
    height: 400px;
    background-image: url('../img/banner3.jpg');
    background-position: center;
    background-size: cover;
    float: left;
}

.sessao-descricao {
    position: absolute;
    left: 370px;
    padding-right: 30px;
}

.sessao-descricao p {
    line-height: 2;
    font-size: 16px;
    margin-bottom: 30px;
    margin-left: 25px;
}

.sessao-bemvindo-btn, form input[type=submit] {
    background-color: #006599;
    color: #FFF;
    text-decoration: none;
    padding: 20px 40px;
    transition: .5s;
    display: block;
    width: 100px;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-left: 25px;
}

.sessao-bemvindo-btn:hover, form input[type=submit]:hover {
    background-color: #2790C6;
}

/* sessao sobre */
#sessao-sobre .sessao-minibanner {
    float: right;
    margin-right: 50px;
    background-image: url('../img/banner4.jpg');
}

#sessao-sobre .sessao-descricao {
    position: absolute;
    left: 25px;
    width: calc(100% - 400px);
}

/* galerias */
.banner-galeria {
    background-position: center;
    background-size: cover;
    display: inline-block;
    height: 200px;
}

#sessao-doces1, #sessao-doces2, #sessao-doces3 {
    padding-right: 50px;
    margin-bottom: 50px;
}

.doces1-imgs {
    width: 18.8%;
    margin-left: .5%;
    margin-right: .5%;
}

#img1 {
    background-image: url('../img/galeria1.jpg');
    margin-left: 0;
}

#img2 {
    background-image: url('../img/galeria2.jpg');
}

#img3 {
    background-image: url('../img/galeria3.jpg');
}

#img4 {
    background-image: url('../img/galeria4.jpg');
}

#img5 {
    background-image: url('../img/galeria5.jpg');
    margin-right: 0;
}

.doces2-imgs {
    width: 32.3%;
    margin-left: .5%;
    margin-right: .5%;
}

#img6 {
    background-image: url('../img/galeria6.jpg');
    margin-left: 0;
}

#img7 {
    background-image: url('../img/galeria7.jpg');
}

#img8 {
    background-image: url('../img/galeria8.jpg');
    margin-right: 0;
}

.doces3-imgs {
    width: 23.9%;
    margin-left: .5%;
    margin-right: .5%;
}

#img9 {
    background-image: url('../img/galeria9.jpg');
    margin-left: 0;
}

#img10 {
    background-image: url('../img/galeria10.jpg');
}

#img11 {
    background-image: url('../img/galeria11.jpg');
}

#img12 {
    background-image: url('../img/galeria12.jpg');
    margin-right: 0;
}

/* contato */
#form-contato {
    width: 500px;
}

#form-contato input[type=text], #form-contato input[type=email], #form-contato textarea {
    display: block;
    border: 1px solid #006599;
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
    font-size: 16px;
    font-family: 'Open sans', sans-serif;
}

#form-contato input[type=text]:focus, #form-contato input[type=email]:focus, #form-contato textarea:focus {
    border-color: #2790C6;
}

#form-contato textarea {
    height: 150px;
}

#form-contato ::placeholder {
    color: #2790C6;
}

#form-contato input[type=submit] {
    margin-left: 0;
    font-size: 16px;
    width: 180px;
}

/* footer */
footer {
    height: 100px;
    padding-top: 150px;
    color: #006599;
}

footer p {
    text-align: center;
    font-weight: bold;
}

/* whatsapp flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* hidden text */
.hidden-text {
    display: none;
}

/* localizacao */
#sessao-localizacao {
    margin-bottom: 50px;
}

#sessao-localizacao iframe {
    max-width: 100%;
}

/* Media Queries para Responsividade */
@media (max-width: 1024px) {
    .content h1 {
        font-size: 36px;
    }

    .content h2 {
        font-size: 28px;
    }

    .sessao-descricao {
        left: 350px;
        padding-right: 20px;
    }

    .sessao-minibanner {
        width: 250px;
        height: 350px;
    }

    #sessao-sobre .sessao-descricao {
        width: calc(100% - 350px);
    }

    .doces1-imgs {
        width: 18.5%;
    }

    .doces2-imgs {
        width: 32%;
    }

    .doces3-imgs {
        width: 23.5%;
    }

    #form-contato {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    #sidebar {
        transform: translateX(-300px);
    }

    #sidebar.active {
        transform: translateX(0);
    }

    .content {
        left: 0;
        width: 100%;
    }

    .hamburger {
        display: block;
    }

    .overlay.active {
        display: block;
    }

    section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sessao-bemvindo-content {
        padding-left: 20px;
    }

    #sessao-bemvindo .banner {
        height: 300px;
    }

    .sessao-minibanner {
        width: 100%;
        height: 300px;
        float: none;
        margin-bottom: 20px;
    }

    .sessao-descricao {
        position: static;
        padding-right: 0;
        margin-left: 0;
    }

    .sessao-descricao p {
        margin-left: 0;
    }

    .sessao-bemvindo-btn {
        margin-left: 0;
    }

    #sessao-sobre .sessao-minibanner {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }

    #sessao-sobre .sessao-descricao {
        position: static;
        width: 100%;
        margin-left: 0;
    }

    .banner-galeria {
        height: 150px;
    }

    .doces1-imgs, .doces2-imgs, .doces3-imgs {
        width: 48%;
        margin: 1% 1%;
    }

    #img1, #img6, #img9 {
        margin-left: 1%;
    }

    #img5, #img8, #img12 {
        margin-right: 1%;
    }

    #form-contato {
        max-width: 100%;
    }

    #sessao-localizacao iframe {
        height: 300px;
    }

    footer {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 28px;
    }

    .content h2 {
        font-size: 24px;
    }

    .banner-galeria {
        width: 100% !important;
        margin: 1% 0 !important;
    }

    #sessao-bemvindo .banner {
        height: 200px;
    }

    .sessao-minibanner {
        height: 200px;
    }

    #sessao-localizacao iframe {
        height: 250px;
    }

    .whatsapp-float img {
        width: 50px;
        height: 50px;
    }
}