/*
 Theme Name:   AG Piano
 Description:  Customization of fireweed theme for AG Piano
 Author:       Maggie Wettergreen
 Author URI:   https://maggiewettergreen.com
 Template:     fireweed
 Version:      2.0.12
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  fireweed-child
*/

body.home header{
    position: absolute;
    top: 100vh;
    transform: translateY(-100%);
    width: 100%;
    left: 0;
    transition: background 0.3s linear;
}
body header[style*="fixed"]{
    transform: translateY(0);
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .05);
}
body.home.admin-bar .wp-site-blocks{
    margin-top: -32px;
}
.entry-content>p:empty{
    display: none;
}
footer{
    margin-top: 0;
}

figure{
    position: relative;
}
#about figure::before{
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background-color: rgb(231 230 230);
    z-index: 0;
    transform: rotate(355deg);
    border-radius: 10px;
}
#about figure img{
    border-radius: 10px;
    position: relative;
}

.services .wp-block-column{
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px
}
.services figure{
    margin: -20px -20px 0 -20px!important;
    overflow: hidden;
}
.services figure::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    z-index: 2;
}
.services figure img {
    transition: transform 0.4s ease-out;
}
.services .wp-block-column:hover figure img {
    transform: scale(1.08);
}
.services .wp-block-separator{
    margin-left: 0;
    width: 50px;
    transition: width 0.3s ease-out;
}
.services .wp-block-column:hover .wp-block-separator{
    width: 100%;
}

.wp-block-gallery.is-masonry .masonry-column:first-child::before,
.wp-block-gallery.is-masonry .masonry-column:last-child::before{
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 5/1;
}
.wp-block-gallery.is-masonry figure{
    border-radius: 10px;
}



/*small laptops and large tablets and below*/
@media only screen and (max-width:1200px) {
  
}

/*small tablets and mobile*/
@media only screen and (max-width:999px) {
    body.home header .wp-block-navigation,
    body:not(.home) header .wp-block-buttons{
        display: none;
    }
    body:not(.home) header{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 100;
        background-color: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, .05);
    }
    body:not(.home){
        padding-top: 62px
    }

    .wp-block-gallery.is-masonry{
        gap: .25rem;
    }
    .wp-block-gallery.is-masonry .masonry-column>figure{
        border-radius: 5px;
        margin-bottom: .25rem!important
    }
    .wp-block-gallery.is-masonry figcaption{
        display: none;
    }


}

/*large tablets and desktop*/
@media only screen and (min-width:1000px) {

}

/*small mobile*/
@media only screen and (max-width:500px) {
  
}

/* Responsive adjustments */
@media only screen and (max-width: 768px) {

}