/* ===================================
    Crafto - Web agency
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
/* variable */
:root {     
    --base-color: #dd204c;
    --medium-gray:#6F7071;
    --dark-gray:#1C1D1F; 
    --alt-font: 'Inter', sans-serif;
    --primary-font: 'Inter', sans-serif;
}
body {
    font-size: 17px;
    line-height: 32px;
}
.top-space-margin {
    margin-top: 120px;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-weight: 500;
    font-size: 18px;
}
header .navbar-brand img {
    max-height:56px;
}
header .btn.btn-switch-text.btn-medium > span {
    padding: 11px 30px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a img {
    border-radius: 0;
}
/* btn  */
.btn.btn-base-color {
    color: var(--dark-gray);
}
.btn.btn-box-shadow.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:active {
    color: var(--dark-gray);   
}
/* letter spacing */
.bg-base-color-transparent {
    background-color: rgba(221, 32, 76, 0.9);
}
/* banner title: scala con la viewport, "Wesmart" occupa ~90% della larghezza */
.banner-title {
    font-size: 23vw;
    word-break: normal;
    letter-spacing: -0.06em;
    white-space: nowrap;
}
/* scritta "about" in home: sotto al testo, allineata al bordo destro della finestra (non del container) */
.about-title-box {
    top: calc(100% - 30px);
    margin-right: calc((100% - 100vw) / 2 + 30px);
}
@media (min-width: 768px) {
    .about-section {
        padding-bottom: 200px;
    }
}
@media (min-width: 1200px) {
    .about-section {
        padding-bottom: 250px;
    }
}
@media (min-width: 1400px) {
    .about-section {
        padding-bottom: 300px;
    }
}
/* scritta "projects" in home: bordo sinistro calcolato sulla finestra (100cqw = larghezza della row) */
.projects-title-row {
    container-type: inline-size;
}
.projects-title-box {
    margin-left: calc(80px - (100vw - 100cqw) / 2 - 12px);
}
/* dimensione in vw: parola + badge finiscono sempre prima del bottone "Esplora i progetti" */
.projects-title-box .projects-title {
    font-size: 15vw;
    line-height: 1;
    letter-spacing: -0.057em;
}
/* badge sovrapposto all'angolo in alto a destra della "s", centro all'altezza delle minuscole */
.projects-badge-box {
    right: -170px;
    top: calc(0.3em - 95px);
}
/* badge rotante wesmart (element wesmart-badge) */
.wesmart-badge {
    position: relative;
    width: 190px;
    height: 190px;
}
/* badge su "work together": centrato sull'angolo in alto a sinistra della parola */
.together-badge-box {
    left: -95px;
    top: -85px;
}
.wesmart-badge svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.wesmart-badge-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54.7%;
    height: auto;
    transform: translate(-50%, -50%);
}
.wesmart-badge text {
    font-family: var(--primary-font);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.wesmart-badge .wesmart-badge-bold {
    font-weight: 700;
}
.wesmart-badge-dark .wesmart-badge-bg circle {
    fill: #23272a;
}
.wesmart-badge-dark .wesmart-badge-bg .wesmart-badge-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
}
.wesmart-badge-dark text {
    fill: #fff;
}
/* variante chiara: disco bianco, scritta nera, logo rosso */
.wesmart-badge-light .wesmart-badge-bg circle {
    fill: #fff;
}
.wesmart-badge-light .wesmart-badge-bg .wesmart-badge-line {
    fill: none;
    stroke: rgba(0, 0, 0, 0.15);
}
.wesmart-badge-light text {
    fill: var(--dark-gray);
}
/* letter spacing */
.ls-minus-20px {
    letter-spacing: -20px;
}
.ls-minus-13px {
    letter-spacing: -13px;
}
.mt-minus-12 {
    margin-top: -12%;
}
/* word break normal */
.word-break-normal {
    word-break: normal;
}
/* bg color */
.bg-sherpa-blue {
    background-color: #333436;
}
/* page title */
.page-title-extra-large h1 {
    font-size: 5rem;
    line-height: 5rem;
}
/* team style */
.team-style-05 img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.team-style-05:hover img {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
}
.team-style-08 figure img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.team-style-08:hover figure img {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
}
.team-style-08 figure figcaption .social-icon a {
    background-color: var(--base-color);
}
.team-style-08 figure figcaption .social-icon a:hover {
    color: var(--dark-gray);
}
/* blog comment */
.blog-classic .card .blog-image img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.blog-comment li .btn-reply:hover {
    color: var(--text-dark-gray);
}
/* tag */
.tag-cloud a {
    background-color: var(--white);
}
/* portfolio-image */
.portfolio-simple .grid-item .portfolio-image img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.portfolio-simple .portfolio-box:hover .portfolio-image img {
    opacity: 1;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
}
/* popular post sidebar */
.popular-post-sidebar li figure {
    width: 190px;
    height: auto;
}
.popular-post-sidebar li .media-body {
    padding-left: 40px;
}
/* social icon style 06 */
.social-icon-style-06 li {
    position: relative;
}
.social-icon-style-06 li:before {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--medium-gray);
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    opacity: .5;
}
.social-icon-style-06 li:last-child:before {
    display: none;
}
/* footer */
footer .footer-logo img {
    max-height: 56px;
}
footer .nav-link {
    color:  var(--dark-gray);
}
.footer-navbar li a:hover {
    color: var(--dark-gray);
}
/* media query responsive */
@media (min-width: 992px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
        padding: 15px 25px;
    }
}
@media (min-width: 768px) {
    /* heading tag */
    h1 {
        font-size: 5rem;
        line-height: 5rem;
    }
    h2 {
        font-size: 3.75rem;
        line-height: 3.75rem;
    }
    h3 {
        font-size: 3.125rem;
        line-height: 3.125rem;
    }
}
@media (max-width: 1399px) {
    header .btn.btn-switch-text.btn-medium > span {
        padding: 11px 22px;
    }
}
@media (max-width: 1199px) {
    .projects-title-box .projects-title {
        font-size: 13vw;
    }
    .wesmart-badge {
        width: 150px;
        height: 150px;
    }
    .projects-badge-box {
        right: -130px;
        top: calc(0.3em - 75px);
    }
    .together-badge-box {
        left: -75px;
        top: -65px;
    }
    .ls-minus-20px {
        letter-spacing: -15px;
    }
    header .btn.btn-switch-text.btn-medium > span {
        padding: 6px 11px;
    }
    .navbar .navbar-nav .nav-link {
        padding: 10px 12px;
    }
    footer .nav-link {
        padding: 2px 8px;
    }
}
@media (max-width: 991px) {
    .about-title-box {
        margin-right: 0;
    }
    .wesmart-badge {
        width: 130px;
        height: 130px;
    }
    .projects-title-box .projects-title {
        font-size: 11vw;
    }
    .projects-badge-box {
        right: -110px;
        top: calc(0.3em - 65px);
    }
    .together-badge-box {
        left: -65px;
        top: -55px;
    }
    .ls-minus-20px {
        letter-spacing: -10px;
    }
    .top-space-margin {
        margin-top: 100px;
    }
    header .btn.btn-switch-text.btn-medium > span {
        padding: 9px 24px;
    }
}
@media (max-width: 767px) {
    .process-step-style-10.hover-box:hover .hover-content {
        bottom: 0;
    }
    .ls-minus-20px {
        letter-spacing: -4px;
    }
    .ls-minus-13px {
        letter-spacing: -5px;
    }
}
@media (max-width: 575px) {
    .popular-post-sidebar li figure {
        width: 100%;
    }
    .popular-post-sidebar li .media-body {
        padding-left: 0;
        padding-top: 25px;
    }
}