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

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

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;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: black;
}

.material-symbols-outlined {
    font-size: 44px !important;
}

.btn-goback {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    margin: 10px 0 0 15px;
}

#structure {
    height: calc(100% - 40px);
    width: calc(100% - 40px);
    margin: 20px;
    background-color: var(--pagina-inicial-fundo);
    padding: 5px 0 60px 0;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25);
}

#painting {
    display: flex;
    flex-direction: row;
    justify-content: center;
    max-height: 100%;
    gap: 40px;
    margin: 0 100px;
}

#container-picture {
    display: flex;
    justify-content: center;
    transition: 0.3s;
    top: 0;
}

#painting-picture {
    max-height: 80vh;
    max-width: 50vw;
    border: 10px solid black;
    border-radius: 10px;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.25);
    object-fit: cover;
}

#painting-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 500px;
}

#title {
    font-size: 2rem;
    margin: 0 0 0 0;
}

#size {
    font-size: 0.9rem;
    margin: 8px 0 0 0;
}

#description {
    font-size: 1rem;
    margin: 8px 0 0 0;
    white-space: pre-line;
    font-family: var(--titulo-fonte);
}

.painting-availability {
    background-color: silver;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin: 0 0 10px 0;
}


/* tablet */
@media only screen and (max-width: 1150px) and (min-width: 601px){
    #painting-picture {
        max-width: 30vw;
    }
}


/* celular */
@media only screen and (max-width: 600px){
    
    #structure {
        width: calc(100% - 20px);
        margin: 10px;
    }
    
    .btn-goback {
        height: 30px;
        width: 30px;
    }

    .material-symbols-outlined {
        font-size: 34px !important;
    }

    #painting {
        flex-direction: column;
        gap: 20px;
        margin: 0 15px;
    }

    #container-painting {
        margin-top: 15px;
    }

    #painting-picture {
        max-width: calc(100% - 22px);
    }


}