/**
* Theme Name:Finanza Agile
* Description:Finanza Agile WordPress theme
* Author: Syrus
* Template: syrus
* Version: 0.0.1
*/

/* @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --fa-primary-rgb: 254, 224, 118;
    --fa-primary-color: rgb(var(--fa-primary-rgb));
}

body * {
    font-family: Poppins;
}

.bg-fa-primary {
    background-color: var(--fa-primary-color) !important;
}

.text-fa-primary {
    color: var(--fa-primary-color);
}

.text-justify {
    text-align: justify;
}

.fs-sm {
    font-size: .85rem;
}

#main-navbar {
    position: sticky;
    z-index: 99998 !important;
    top: 0;
    min-height: 100px;
    background-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(2px);
    transition: all .3s;
}

#main-navbar.scrolled {
    background-color: white;
}

#main-navbar.scrolled #main-menu > .navbar-nav li a {
    color: black;
}

#main-navbar .navbar-brand > img {
    height: 60px;
}

#main-navbar #main-menu > .navbar-nav li a {
    color: white;
    font-size: 1.2em;
    font-weight: 500;
    transition: all .3s;
}

#main-navbar #main-menu.show > .navbar-nav li a {
    color: black;
}

#main-navbar #main-menu > .navbar-nav li a:hover {
    color: var(--fa-primary-color);
}

body > section {
    position: relative;
    top: -100px;
}

section.hero {
    position: relative;
    background-image: url(assets/img/hero.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}

section.hero.servizio {
    min-height: 400px;
}

section.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(0,0,0);
    background: linear-gradient(315deg, rgba(0,0,0,1) 0%, rgba(255,255,255,0) 80%);
}

section.hero.servizio::before {
    background: rgba(0,0,0, .6) !important;
}

section.hero > .container {
    z-index: 2;
}

section.hero:not(.servizio) h1 {
    font-size: 60px;
    display: inline;
}

section.hero:not(.servizio) h1 > span {
    background-color: white;
    padding: 5px 15px;
}

section.hero:not(.servizio) h1 > span:nth-child(1) {
    border-radius: 25px 25px 25px 0px;
}

section.hero:not(.servizio) h1 > span:nth-child(2) {
    border-radius: 0 0 25px 25px;
}

section.hero.servizio .badge {
    background-color: rgba(0, 0, 0, .5);
    border-radius: 25px;
    border: 1px solid white;
    font-weight: 400;
    padding: 5px 10px;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

section p {
    font-family: 'Noto Sans';
    font-size: 20px;
    letter-spacing: .5px;
    line-height: 1.5;
    font-weight: 300;
}

section.value-proposition img {
    height: 70px;
    display: block;
    /* border-radius: 50%; */
    /* overflow: hidden; */
    /* border: 1px solid var(--bs-gray-500); */
    /* padding: 2px; */
}

section.services {
    background-color: rgba(var(--fa-primary-rgb), .25);
}

section.services .card p {
    font-size: 18px;
}

section.services .card > img {
    max-height: 200px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
    transition: all .3s;
}


section.services a .card,
section.services a .card i {
    transition: all .3s;
}

section.services a .card i {
    color: var(--bs-gray-400);
}

section.services a:hover .card {
    background-color: var(--fa-primary-color);
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .3);
}

section.services a:hover .card > img{
    filter: grayscale(0);
}

section.services a:hover .card i {
    color: black;
    transform: translateX(1000%);
}

section.services img.sketch {
    position: absolute;
    width: 70px;
}

section.newsletter {
    position: relative;
    height: 250px;
    z-index: 2;
}

section.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(assets/img/newsletter-bg-yellow.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

section.newsletter h2 {
    text-shadow: 0px 0px 5px var(--fa-primary-color);
}

section.newsletter p {
    font-weight: 400;
    text-shadow: 0px 0px 5px var(--fa-primary-color);
}

section.service-details img {
    height: 60px;
}

section.service-details .border-x {
    border-left: 1px dashed var(--bs-gray-600);
    border-right: 1px dashed var(--bs-gray-600);
}

.countdown {
	background-color: rgba(0,0,0, .4);
  	width: fit-content;
  	margin-left: auto;
  	margin-right: auto;
  	padding: 10px 30px;
  	border-radius: 30px;
  	backdrop-filter: blur(2px);
  	font-size: 1.2em;
}

@media only screen and (max-width: 600px) {

    body > section {
        top: 0;
    }

    section.hero:not(.servizio) h1 {
        font-size: 50px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        color: white;
        font-weight: 700;
    }

    section.hero:not(.servizio) h1 > span {
        display: inline;
        background-color: transparent;
        padding: 0;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, .8);
    }

    
}