/*!
Theme Name: TBWA
Theme URI: https://friends-tbwa.ro
Author: Friends TBWA
Author URI: https://friends-tbwa.ro
Description: 100% custom theme.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Text Domain: tbwa
*/

@font-face {
    font-family: 'TBWA Grotesk';
    src: url('assets/fonts/TBWAGrotesk-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TBWA Grotesk';
    src: url('assets/fonts/TBWAGrotesk-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TBWA Grotesk';
    src: url('assets/fonts/TBWAGrotesk-SemiBold.woff2') format('woff2'),
    url('assets/fonts/TBWAGrotesk-SemiBold.woff') format('woff'),
    url('assets/fonts/TBWAGrotesk-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


body {
    font-family:'TBWA Grotesk';
    -webkit-font-synthesis: none;
    font-synthesis: none;
}

.elementor-widget-heading .elementor-heading-title,.elementor-widget-text-editor {
    font-family:'TBWA Grotesk' !important;
}


#slogan {
    background:black;
    display:none;
    line-height:1;
    padding-top:2rem;
}

body.home #slogan {
    font-size: 9rem;
    color:white;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
}

#slogan-content {
    display: flex;
    animation: scroll 13s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

header {
    background:black;
    padding-top:2rem;
    padding-bottom:2rem;
}

header .logo {
    height:40px;
}

header ul {
    margin-bottom:0;
}

header ul li {
    list-style-type:none;
    margin-bottom:0;
}

header ul li a.nav-link,header ul li.lang-item a {
    display:block;
    color:#FAFAFA;
    font-size:1.5rem;
    margin-right:1.5rem;
    line-height:1;
    font-weight:400;
    letter-spacing: -.025rem;
}

header ul li a.nav-link:hover,header ul li a.nav-link:focus {
    color:white;
    text-decoration:underline;
}

header ul li.lang-item a {
    text-transform:uppercase;
    margin-right:0rem;
    margin-left:0.5rem;
    text-decoration:none;
    font-size:1.4rem;
    font-weight:500;
    margin-top:2px;
}

header ul li.current-lang a {
    text-decoration:underline;

}

footer {
    padding-top:3rem;
    padding-bottom:3rem;
    background:black;
    color:white;
}

footer h2 {
    color:#FFD429;
    font-size: 2.6rem;
    letter-spacing: -0.1rem;
    font-weight:bold;
}

footer p {
    font-size: 25px;
    letter-spacing: -0.5px;
}

footer p a {
    color:white;
    text-decoration:none;
    position: relative;
    transition: color .5s;
    display:inline-block;
    padding:0;
    line-height:1.2;
    z-index:2;
}

footer p a:hover {
    color:black;

}

footer p a:hover:before {
    width: 100%;
}

footer p a:before {
    content: "";
    position: absolute;
    background: #FFD429;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width .5s;
    z-index: -1;
}

footer .copywrite {
    color:#9b9b9b;
    font-size:1.1rem;
}

#menu-footer ul {
    margin:0px;
    padding:0px;
    list-style-type:none;
    margin-bottom:3rem;
}

#menu-footer ul li a {
    color:white;
    text-decoration:none;
    position: relative;
    transition: color .5s;
    display:inline-block;
    font-size: 2.6rem;
    letter-spacing: -0.1rem;
    font-weight:bold;
    line-height:1;
    text-transform:capitalize;
    z-index:2;
}

#menu-footer ul li a:hover {
    color:black;
}

#menu-footer ul li a:hover:before {
    width: 100%;
}

#menu-footer ul li a:before {
    content: "";
    position: absolute;
    background: #FFD429;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width .5s;
    z-index: -1;
}

#menu-subfooter ul {
    margin:0px;
    padding:0px;
}

#menu-subfooter ul li {
    display:block;
}

#menu-subfooter ul li a {
    color:#9b9b9b;
    font-size:1.1rem;
    margin-right:1.5rem;
}

#menu-subfooter ul li a:hover {
    color:#FFD429;
}

.portfolio img {
    width:100%;
    height:300px;
    object-fit: cover;
    margin-bottom:.5rem;
}

.portfolio a,.portfolio a:hover {
    color:black;
    text-decoration:none;
}

.portfolio h1 {
    font-size:1.2rem;
    letter-spacing: -0.02rem;
    line-height:1;
    margin:0;
    padding:0;
    margin-bottom:0.15rem;
}

.portfolio h2 {
    font-size:1.6rem;
    letter-spacing: -0.05rem;
    line-height:1;
    font-weight:bold;
    margin:0;
    padding:0;
    margin-bottom:0.25rem;
}

.portfolio h3 {
    font-size:1rem;
    letter-spacing: -0.02rem;
    line-height:1;
    margin:0;
    padding:0;
    color:#222;
}

/* RESPONSIVE MOBILE */
@media (max-width: 990px) {

    body.home #slogan {
        font-size: 5rem;
    }

    header {
        padding:1.5rem 0rem;
    }

    header .logo {
        height:25px;
    }

    footer {
        padding:1rem;
    }

    #mobile-menu-btn {
        color:white;
        font-size:1rem;
    }

    .header-menu {
        z-index: 100;
        position: absolute;
        background: white;
        width: 100%;
        left: 0;
        padding-left: 1.6rem;
        padding-top:2rem;
        padding-bottom:2rem;
        margin-top: 1.5rem;
    }

    header ul li a.nav-link, header ul li.lang-item a {
        margin-right: 1.5rem;
        margin-bottom:1rem;
        color:black;
    }

    header ul li.lang-item {
        display:inline-block;
        margin-top:.5rem;
    }

    header ul li.lang-item a {
        margin-left:0;
        margin-right: .5rem;
    }

    header ul li a.nav-link:hover,header ul li a.nav-link:focus {
        color:black;
        text-decoration:underline;
    }
}

