/**
Theme Name: Alberto Ramos
Author: Moio
Author URI: https://moio.io/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alberto-ramos
Template: astra
*/

@font-face {
    font-family: 'Roboto';
    src: url('assets/fonts/Roboto-VariableFont_wdth,wght.woff2') format('woff2');
    font-weight: 100 / 900;
    font-display: swap;
}

:root {
    --font-size: 14px;
    --font-weight: 300;
    
    @media screen and (width>=768px) {
        --font-size: 16px;
    }
    @media screen and (width>=992px) {
        --font-size: 18px;
    }
}

html, body {
    font-family: 'Roboto', sans-serif;
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    line-height: 1.2;
    /* letter-spacing: 0.03em; */
    /*p {
        font-size: 1rem;
    }*/
}


body .elementor-widget-heading {
    .elementor-heading-title {
        font-weight: 400;
        line-height: 1;
    }
}

/*------------------------------
Custom styles                
------------------------------- */

.decorated-content {
    /* Wrapper for add a decorated line before title... combined with title */

    --line-padding-left: 2rem;

    padding-left: var(--line-padding-left) !important;
    position: relative;
    
    > div:first-child > *:first-child {
        position: relative;
        &::after {
            content: '';
            display: block;
            position: absolute;
            
            top: 1.2ex;
            height: 1px;
            left: calc(-1 * var(--line-padding-left));
            width: calc(var(--line-padding-left) - 1rem);

            background: var(--ast-global-color-0);
        }
    }
    
    @media screen and (width >= 768px) {
        --line-padding-left: 3rem;
    }
    @media screen and (width >= 992px) {
        --line-padding-left: 4rem;
    }

    &.decorated-content--color-1 {
        > div:first-child > *:first-child {
            &::after {
                background: var(--ast-global-color-1);
            }
        }
    }
}

.hero---transparent-header {
    /* Need header-height */
}


.text--highlighted {
   color: var(--ast-global-color-1) !important;
}

body {
    &.elementor-page {
        .elementor-element {
            &.elementor-widget-button {
                .elementor-button {
                    padding: 0.5em 1em;
                    text-transform: uppercase;
                    font-weight: 400;
                    border-radius: 5em;
                    font-size: 1.25rem;
                }
            }
        }
    }
}

.grid-boxes-icons__wrapper {
    .elementor-element.elementor-widget-icon-box {
        .elementor-icon-box-wrapper {
            gap: 2.5rem;
        }
        .elementor-icon-box-content {
            text-align: left;
        }
        p.elementor-icon-box-description {
            color: var(--ast-global-color-1);
        }
        &:hover {
            svg * {fill: var(--ast-global-color-0);}
            p {
                color: var(--ast-global-color-0) !important;
            }
        }
    }
}




/*------------------------------
Header                
------------------------------- */

header {
    .ast-main-header-wrap {
        transition: all 1s ease;
    }

  .ast-primary-header-bar {
    border-style: none;
    span {
      color: var(--ast-global-color-1);
    }
  }
  .ast-header-sticked {
    background-color: var(--ast-global-color-0);
    transition: all 1s ease;
  }
}

/* body.ast-primary-sticky-header-active {
    header {
        .ast-header-sticked {
            background-color: var(--ast-global-color-0);
            transition: all 1s ease;
        }
    }
} */

/*------------------------------
Footer                
------------------------------- */

footer {
    .widget_nav_menu {
        nav {
            ul {
                display: flex;
                flex-wrap: wrap;
                gap: 2rem;
                justify-content: center;
                text-transform: uppercase;
                li a {
                    text-decoration: none;
                }
            }
            &.menu-main-container {
                li {
                    a {color: var(--ast-global-color-1);}
                }
            }
            &.menu-footer-legal-container {
                gap: 0;
                li {
                    a {color: var(--ast-global-color-6);}
                }
            }
        }
    }
    [data-section="section-fb-social-icons-1"] .footer-social-inner-wrap {
        padding-top: 40px;
    }
    .footer-logo img {
        width: min(60%, 400px);
    }
}

/*------------------------------
Content                
------------------------------- */

.card-blog{
    margin:0 !important;
    padding:0 !important;
    height: auto;
}

.grid-cards{
    padding: 120px;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}


.uc_carousel {
    .uc_image_carousel_content_holder {
        padding-inline: 1rem;
    }
}


.single-post{
    font-family: 'Roboto', sans-serif;
    /*
    font-size: var(--font-size);
    font-weight: var(--font-weight);
    */
    .entry-content > p{
        max-width: 800px;
        justify-content: center;
        margin-top: 40px;
    }

    .ast-terms-links, a{
        text-transform: uppercase;
    }
    
    .entry-title, h1{
        font-size: 86px;
    }
    
    .menu-text {
    	text-transform: none;
    }
    
}


body.archive {

	--hero-height: 150px;
	#content.site-content{
		position: relative;
		padding-top: var(--hero-height);

		&::before{
			content: "";
			display: block;
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: var(--hero-height);
			background-image: url(assets/images/alberto-ramos_hero-1.webp);
			background-repeat: no-repeat;
			background-position: center right;
			background-size: cover;
			z-index: 1;	
			opacity: 1;
			visibility: visible;

		}

	}

	@media screen and (width >= 768px) {
        --hero-height: 200px;
    }
    @media screen and (width >= 992px) {
        --hero-height: 500px;
    }

}

/* Gravity Forms */
body .gform_wrapper[class*="gform-theme--"] {
    container-type: inline-size;
    padding: 2rem;
    border: 1px solid var(--ast-global-color-0);
    max-width: 100%;
    font-size: var(--font-size);
    font-weight: var(--font-weight);

    form {
        display: flex;
        flex-direction: column;
    }

    label {
        display: flex;
        flex-direction: column;
        font-size: 20px;
        font-weight: 400;
        text-transform: uppercase;
        color: var(--ast-global-color-0);
        a {
            text-decoration: underline;
        }
    }
    
    legend, label{
        display:inline-block;
        

        span{
            visibility: hidden;
        }
    }

    label a:hover{
        color:var(--ast-global-color-6);
    }



    input {
        border: none;
        border-bottom: 1px solid var(--ast-global-color-0);
        background-color: transparent;
        border-radius: 0px;
        box-shadow: none;
        outline: none;
    }

    textarea{
        border: none;
        border-bottom: 1px solid var(--ast-global-color-0);
        height: 1.5em !important;
        min-height: 1.5em !important;
        max-height: 1.5em !important;
        resize: none;
        overflow-y: hidden;
        background-color: transparent;
        box-shadow: none;
        outline: none;
        border-radius: 0px;
    }

    input[type="submit"] {
        border-radius: 5em !important;
        color: var(--ast-global-color-1) !important;
        background-color: var(--ast-global-color-0) !important;
        border: 1px solid var(--ast-global-color-0) !important;
        text-transform: uppercase !important;
        padding: 1em 2.5em !important;
        &:hover {
            color: var(--ast-global-color-0) !important;
            background-color: transparent !important;
            border: 1px solid var(--ast-global-color-0) !important;
        }
    }

    input[type="checkbox"]{
        border: 2px solid var(--ast-global-color-0) !important;
    }
    
    .ginput_container_consent {
        label {
            text-transform: none !important;
        }
    }
    @container (max-width: 400px) {
        .gfield{
            grid-column: 1/-1;
        }
    }
}

img.attachment-full{
    animation: girar 15s linear infinite;
}

@keyframes girar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Fix map oversize */
.custom-map__wrapper {
    position: relative;
}


/*Open a modal in "Servicios" section */

.popmake div{
	padding-bottom: 20px;
}
.popmake .wp-block-list{
	line-height: 1.5;
	li{
		font-size: 1.5em !important;
	}
}

.popmake h2{
    color: #DBF7E9;
    text-align: center;
}


.popmake-overlay{
	backdrop-filter: blur(5px);
}

.popmake button.pum-close{
	padding: 0em 3em 0em 3em !important;
	border-radius: 5em !important;
}

.popmake button.pum-close:hover{
	background-color: var(--ast-global-color-1);
	color: var(--ast-global-color-0);
}