@import url('./root.css');
@import url('./header.css');
@import url('./footer.css');

header, main{
    max-width: var(--max-width);
    margin: 0 auto;
}

main {
    padding: 0px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 25px;
    background-color: var(--bg-primary);
    
}

main p, main li {
    padding: 20px 0;
    font-weight: 500;
    color: var( --text-terciary);
    text-indent: 30px;
}

 main li {
     padding: 5px 0;    
     list-style: disc;
     list-style-position: inside;
}

main li.no-list-style {
    list-style-type: none;
    padding-left: 10px;
    text-indent: 20px;
}

.with-marker  {
    padding: 20px 0;
}

.with-marker li {
    list-style-type: disc; 
    margin-left: 15px;
    padding: 0px;
    text-indent: 10px;
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-primary);
    font-weight: 300;
    text-align: center;
    background-repeat: repeat-x, repeat-x, no-repeat; 
    background-position: top, bottom, center;
}

h2 {
    color: var(--text-primary);
    font-weight: 300;
    text-align: center;
}

h3 {
    padding-top: 10px;
    padding-left: 30px;
    color: var( --text-secundary);
    font-weight: 300;
}

#banner{
    height: 218px;
   background-image: 
        linear-gradient(180deg, #F6C0E0 0%, #FCF8DF 70%);
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center; 
}

h1.met-cem {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgMetodoCEM.png");
}

h1.fisioterapia {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico01.png");
}

h1.pilates {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico02.png");
}

h1.reflexologia {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico03.png");
}

h1.drenagemLinfatica {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico04.png");
}

h1.liberacaoMiofacial {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico05.png");
}

h1.quickMassage {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico06.png");
}

h1.biohertz {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico07.png");
}

h1.leb {
    background-image: 
        url("../img/bg_flowers/bg_flowers_in_top.png"),
        url("../img/bg_flowers/bg_flowers_in_botton.png"),
        url("../img/paginasServicos/bgServico08.png");
}

main section p, main section li {
    font-weight:normal;
    line-height: 1.7;
}

main section:first-of-type {
    flex-basis: 100%;
}

main section:not(:first-of-type) {
    flex-basis: 48%;
}

main section:not(:first-of-type) p, main section:not(:first-of-type) ul {
    background-color: #FCF8E1;
    padding: 30px;
    background-image: 
        url("../img/bg_flowers/bg_mini_flowers_out_top.png"), 
        url("../img/bg_flowers/bg_mini_flowers_out_botton.png"),
        url("../img/bg_flowers/bg_mini_flowers_out_left.png"),
        url("../img/bg_flowers/bg_mini_flowers_out_right.png"),
        linear-gradient(180deg, #FCF8DF 0%, #F9E1B9 70%);
    background-position: top, bottom, left, right; 
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}

#logo-metodo-cem {
    width: 150px;
}

@media (max-width: 768px) {
    header{
        padding-bottom: 80px; 
    }

    #banner {
        margin-top: 30px;
    }

    h1 {
        font-size: 1.5em;
         padding: 0px 12px;
    }
    h2 {
        font-size: 1.2em; 
    }

    .menuContainer #menu {
        top: 100px;
    }

    .menuContainer a:hover {
        background-color: transparent;
    }

    main{
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    section{
        margin: 0px;
    }
    main section p, section li {
         font-size: 0.9em;
    }
}
