:root {
    /* FONTES */
    --titulo-fonte: 'Raleway', sans-serif;

    /* CORES */
    --pagina-inicial-borda: #f3f3f3;
        
        /* area quadros */
        --pagina-inicial-fundo: #ffffff; 
        --borda-quadro: black;
}


body {
    margin: 0;
    padding: 0;
    font-family: var(--titulo-fonte);
    background-color: var(--pagina-inicial-borda);
    box-shadow: inset 0px 0px 45px -2px rgba(0,0,0,0.78);
    min-height: 100vh;
}

h1 {
    margin: 0;
}

p {
    margin: 0;
}

a {
    padding: 0;
    margin: 0;
    text-decoration: 0;
}

#structure {
    height: calc(100% - 40px);
    width: calc(100% - 80px);
    margin: 20px;
    background-color: var(--pagina-inicial-fundo);
    padding: 30px 20px;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#structure-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 500px 0;
}

#paintings {
    display: inline-flex;
    margin: 0 100px 50px 100px;
    column-gap: 20px;
    align-items: center;
    overflow-y: auto;
    max-width: 100%;
}

.painting-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
}


.painting-link {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    color: transparent;
}


.painting-img-container > img {
    border-style: solid;
    border-width: 4px;
    border-radius: 8px;
    border-color: transparent;

    height: 100%;
    max-height: 300px;
    object-fit: cover;
    
}

.painting-img-container img:hover {
    border-color: var(--borda-quadro);
    cursor: pointer;
}

.material-symbols-outlined {
    font-size: 40px !important;
    font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' -25,
    'opsz' 48
}

.button-viewall {
    display: inline-flex;
    height: fit-content;
    width: fit-content;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    background-color: transparent;
    gap: 5px;
    font-weight: bold;
    cursor: pointer;
}


/* tablet */
@media only screen and (max-width: 1150px) and (min-width: 601px){
    
}


/* celular */
@media only screen and (max-width: 600px){
    
    body {
        background-color: unset;
        box-shadow: unset;

    }

    #structure-shadow {
        background-color: var(--pagina-inicial-borda);
        box-shadow: inset 0px 0px 45px -2px rgba(0, 0, 0, 0.78);
    }

    #container-homepage-header {
        margin: 200px 0 0 0;
        padding: 50px 0 0 0;
        background: linear-gradient(to bottom, transparent 0%, #000000 90%);
    }

    #structure {
        width: calc(100% - 30px);
        margin: 0 5px;
        padding: 10px;
        /* background-color: var(--pagina-inicial-borda);
        box-shadow: inset 0px 0px 45px -2px rgba(0, 0, 0, 0.78); */
    }

    #container-logo {
        margin: 0;
        width: 100%;
    }

    #logo {
        margin: 0 !important;
    }

    #logo img {
        width: 180px !important;
        filter: drop-shadow(1px 1px 0px white);
    }
    
    #logo p {
        color: rgb(175 175 175) !important;
        text-shadow: 0 0 black !important;
    }

    .item-navbar a {
        color: #ffffff !important;
    }

    #paintings {
        max-width: 100%;
        height: 250px;
        column-gap: 10px;
        position: relative;
        width: 100%;
        column-gap: 0;
    }

    .painting-itemfotofundo {
        position: fixed;
        top: 0;
        left: 0;
        z-index: -5;
        width: 100%;
    }

    .painting-item {
        height: calc(100% - 7px);
    }

    .painting-img-container {
        height: calc(100% - 8px);
    }

    .painting-itemfotofundo > a {
        display: none;
    }

    .painting-itemfotofundo > div {

    }
    .painting-itemfotofundo > div > img {
        border: 0;
        border-radius: 0;
        height: auto;
        max-height: unset;
        width: 100%;
    }

    .painting-img-container > img {
        height: 100%;
    }

    .button-viewall {
        position: sticky;
        top: 0;
        right: 0;
        height: 100%;
        width: 100%;
        justify-content: end;
        background: linear-gradient(to right, transparent 0%, #ffffffc7 80%);
    }

    .icon-instagram {
        filter: invert(1);
    }
}