/*
Theme Name: Maggie's Portfolio
Theme URI: 
Author: Maggie Odvody
Author URI: 
Description: 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maggies-portfolio
Tags: 
*/

figure.image-scroll {
	height: auto;
    overflow: hidden scroll;
    width: 100%;
	aspect-ratio: 16 / 11;
}

figure.image-scroll img {
	width: 100%;
	height: auto !important;
}

.wp-block-button .wp-block-button__link {
	transition: .3s ease;
	
	&:hover, &:focus, &:active {
		background-color: var(--wp--preset--color--dark-green) !important; 
	}
}

.wp-block-navigation-item:hover {
	opacity: 50% !important;
}

.attachment-post-thumbnail:hover{
	opacity: 50% !important;
}

@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.approach {
        flex-basis: 45% !important;
    }
}

@media (max-width: 480px) {
    .wp-block-column.approach.is-layout-flow.wp-block-column-is-layout-flow {
        flex-basis: 100% !important;
    }
}

@media (max-width: 480px) {
	 .wp-block-group body {
		 font-size: 16px; /* Smaller font size for mobile */
	 }
}

@media (max-width: 781px) {
	 .wp-block-group body {
		 font-size: 22px; /* Smaller font size for tablet */
	 }
}
