/*
Theme Name: Darwiz Arts
Theme URI: http://darwizarts.com.br/
Author: Filipe Soares
Author URI: https://filipesoares.netlify.app
Description: Tema do portifólio de Darwiz Bagdeve
Version: 1.0
Text Domain: darwiz
*/


:root {
    /* -- tipo 1 -- */
    /* --primary: #026981;
    --primary-hover: #539cc7;
    --primary-dark: #014A5B;
    --light: #fff;
    --light-2: #F4F9FA;
    --light-3: #DEEAED;
    --light-hover: #F4F9FA;
    --dark: #173036;
    --dark-2: #2D4C53;
    --dark-3: #47646B; */


    /* -- tipo 2 -- */
    --primary: #16a5dc;
    --primary-hover: #539cc7;
    --primary-dark: #138BB9;
    --light: #fff;
    --light-2: #F4F9FA;
    --light-3: #DEE9ED;
    --light-hover: #F4F9FA;
    --dark: #172D36;
    --dark-2: #2D4853;
    --dark-3: #47616B;


    /** tipo 3 */
    /* --primary: #0984c3;
    --primary-hover: #076B9E;
    --primary-dark: #076B9E;
    --light: #fff;
    --light-2: #F4F8FA;
    --light-3: #DEE8ED;
    --light-hover: #F4F8FA;
    --dark: #172B36;
    --dark-2: #2D4653;
    --dark-3: #475F6B; */
}



body{
    /*background-image: url(assets/img/bg.webp);
    background-repeat: repeat;
    background-size: contain; */
    color: var(--dark);
}

a{
    color: var(--primary);
    text-decoration: none;
}

a:hover{

}

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

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

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

.bg-light-2{
    background-color: var(--light-2)!important;
}

.bg-light-3{
    background-color: var(--light-3)!important;
}

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

.bg-dark-2{
    background-color: var(--dark-2)!important;
}

.bg-dark-3{
    background-color: var(--dark-3)!important;
}

.btn-primary{
    background-color: var(--primary)!important;
    border: none!important;
}

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

a.text-primary:hover{
    color: var(--primary-dark)!important;
}

.text-light{
    color: var(--light)!important;
}

.text-dark{
    color: var(--dark)!important;
}

.text-dark-2{
    color: var(--dark-2)!important;
}

.text-dark-3{
    color: var(--dark-3)!important;
}

.form-control{
    border-color: var(--light-3);
    border-radius: 3px;
}

.form-control:focus{
    box-shadow: 0 0 0 .25rem rgb(213 213 213 / 25%);
    border-color: var(--primary);
}

.btn{
    border-radius: 3px;
}

.btn-primary:hover, .btn-primary:focus{
    background-color: var(--primary-dark)!important;
}

.border{
    border-color: var(--light-3)!important;
}

header{
    position: sticky;
    top: 0;
    height: 52px;
    display: block;
    width: 100%;
    z-index: 3;
}

/* .admin-bar-showing header{
    top: 46px;
} */

#logo img{
    max-width: 250px;
}

#hero{
    background-image: url(assets/img/darubg3.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: calc(100vh - 52px);
    display: block;
    position: relative;
}

.admin-bar-showing #hero{
    height: calc(100vh - 98px);
}

#hero-logo{
    position: absolute;
    max-width: 40%;
    top: 4rem;
    left: 0;
}

#hero-kairu{

}

#btn-menu {
    background: none;
    border: none;
    color: #fff;
    padding: 0;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#menu-mobile-opacity {
    background: #0000008f;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    display: none;
}

#menu-mobile {
    text-wrap: auto;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    background: var(--light-2);
    z-index: 10;
    max-width: 0px;
    height: 100%;
    transition: 0.4s;
    white-space: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    display: block;
}

#menu-mobile > *{
    /* width: 300px; */
    width: 100%;
}

#menu-mobile-close{
    border: none;
    outline: none;
    color: var(--dark);
    background: none;
}

.showing-menu{
    overflow-y: hidden;
}

.showing-menu #menu-mobile{
    max-width: 280px;
}

.showing-menu #menu-mobile-opacity{
    display: initial;
}

#about{
    background: var(--light-2);
}

#timeline{
    background-color: var(--light);
    background-image: url(assets/img/diamond-top.svg);
    background-repeat: repeat-x;
    background-position: 0 0;
}

#timeline-subtitle{
    max-width: 690px;
    margin: 0 auto;
}

.timeline-register{
    background-image: url(assets/img/dot.png);
    background-repeat: repeat-y;
    background-position: 1.25rem 0;
}

.timeline-text{
    position: relative;
}

.timeline-text:before{
    content: "";
    width: 8px;
    height: 8px;
    background: #c0c0c0;
    border-radius: 8px;
    position: absolute;
    left: -32px;
    top: calc(50% - 4px);
}


.w-60{
    width: 60%;
}

.title-header{
    background-image: url(assets/img/darubg3.webp); 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#about, #timeline, #products{
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.front-page h2, .title-header h2 {
    font-size: calc(1.375rem + 1.5vw);
}

#products{
    background-color: var(--light-2);
    background-image: url(assets/img/diamond-bottom.svg);
    background-repeat: repeat-x;
    background-position: 0 -1px;
}

.product {
    background: var(--light);
    border: solid 1px var(--light-3);
}

#product-carousel .owl-stage{
    display: flex;
}


.footer-content{
    background: var(--primary);
    color: var(--light-2);
}

.footer-end{
    background: var(--light-2);
}


#footer-logo{
    max-width: 440px;
}

#newsletter{
    max-width: 496px;
}

#newsletter input{

    background-color: #fff;
    border: solid 2px #000;
    height: 40px;
}

#newsletter-email{

    border-right: none !important;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#newsletter button, #newsletter-submit{
    border: solid 2px #000;
    border-radius: 3px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background: #fff;
    color: #000!important;
}

#newsletter .wpcf7-spinner{
    position: absolute;
    right: 80px;
    margin: 0;
    top: 8px;
    background-color: #23282d5c;
}

#news{
    position: absolute;
    right: -28px;
    margin: 0;
    top: 7px;
}

#newsletter .wpcf7-not-valid-tip {
    color: #000;
    font-weight: 300;
    text-align: left;
}

#newsletter .wpcf7-response-output {
    font-size: 12px;
    padding: 0.75rem !important;
    margin-bottom: 0 !important;
}

#social{
    list-style: none;
    margin: 0;
    padding: 0;
}

#social a{
    color: var(--light);
}

#social a:hover{
 text-decoration: underline;
}

.tapas-logo{
    max-width: 230px;
}

#contact{

}

#contact-form-col{
    background-color: var(--light-2);
    background-image: url(assets/img/diamond-bottom.svg);
    background-repeat: repeat-x;
    background-position: 0 -1;
}

#contact-form-container textarea{
    min-height: 170px;
}

#contact-form-container .wpcf7-form-control-wrap{
    display: block;
    margin-bottom: 1rem;
}

#blog-posts article:last-child {
    margin-bottom: 0 !important;
}

.nav-links {
    display: flex;
}

.nav-links > * {
    border: solid 1px var(--light-3);
    padding: 2px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: none;
}

.nav-links > *:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.nav-links > *:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-right: solid 1px var(--light-3);;
}

#hero-start
{
    margin-top: 1.5rem;
    z-index: 2;
    animation: piscar 1s steps(1, end) infinite;
}

@keyframes piscar {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.owl-theme .owl-dots .owl-dot span {

    background: var(--light-3);
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary);
}

#page-404{
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    text-align: center;
}

#page-404 main{
    max-width: 576px;
    width: 100%;
}

#page-404-textfield{
    color: var(--light);
    border: solid 2px var(--light);
    width: 100%;
    padding: 1rem;
    text-align: left;
    min-height: 29vw;
}

/* .wpcf7-form-control-wrap{
    margin-bottom: 1rem;
} */

.wpcf7-not-valid-tip {
    color: var(--bs-danger);
    font-size: 0.8em;
    margin-top: 0.25rem;
}

.wpcf7-response-output {

    position: relative;
    padding: 1rem 1rem !important;
    margin: 1rem 0 1rem 0 !important;
    /* border-radius: 0.25rem; */
    border-radius: 6px;
    color: #084298;
    background-color: #cfe2ff;
    border: 1px solid #b6d4fe !important;
    font-weight: 300;
}
  
.wpcf7 form.sent .wpcf7-response-output {
    color: #0f5132;
    background-color: #d1e7dd;
    border: 1px solid #badbcc !important;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    color: #842029;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7 !important;
}

.wpcf7 form.spam .wpcf7-response-output {
    color: #41464b;
    background-color: #e2e3e5;
    border: 1px solid #d3d6d8 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: #664d03;
    background-color: #fff3cd;
    border: 1px solid #ffecb5 !important;
}

#pll_select ul{
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0 0 0 1rem;
}

#pll_select .lang-item-first {
    margin-right: 4px;
}

#wp-menu-header li{
    margin-left: 1rem !important;
}

#wp-menu-header li a{
    color: var(--light) !important;
}

#wp-menu-mobile li{
    margin-bottom: 1rem;
}

#wp-menu-mobile li a{
    color: var(--dark) !important;
}

.translate-button{
    width: 20px;
    height: 18px;
    border: solid 1px var(--light);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: solid 1px #8b8b8b;
    margin-left: 0.5rem;
    text-transform: uppercase;
    color: var(--light);
}

.translate-button.active{
    border-color: var(--light);
    background-color: var(--light);
    color: var(--dark);
}


@media(max-width: 767px){
    #logo{
        opacity: 1!important;
    }
}

@media(min-width: 576px){
    #page-404-textfield{
        min-height: 142px;
    }
}

@media(min-width: 768px){

    header{
        height: 32px;
    }

    .admin-bar-showing header{
        top: 32px;
    }

    #hero{
        height: calc(100vh - 32px);
    }

    #hero-kairu{
        position: absolute;
        bottom: 100px;
        right: 0;
        max-width: 60%;
    }

    #hero-start{

        position: absolute;
        bottom: 50px;
    }

    .admin-bar-showing #hero{
        height: calc(100vh - 78px);
    }

    #logo{
        transition: opacity 0.2s;
    }

    #logo img{
        max-width: 170px;
    }

    .events > div:nth-child(1){
        border-right: solid 1px #fff;
    }

    .events > div:nth-child(2){
        border-left: solid 1px #fff;
    }

    .w-md-60{
        width: 60%;
    }

    .timeline-register{
        background-repeat: repeat-y;
        background-position: center;
    }

    .timeline-text:before{
        left: initial;
        right: calc(-1.5rem - 4px);
    }

    .flex-md-row-reverse .timeline-text:before{
        left: calc(-1.5rem - 4px);
    }

    #contact{
        background: linear-gradient(to right, var(--light) 50%, var(--light-2) 50%);
    }

    #contact-form-col{
        background-image: url(assets/img/diamond-left.svg);
        background-repeat: repeat-y;
        background-position: 0 0;
        padding-left: 3.5rem;
    }
}

@media(min-width: 782px){

    .admin-bar-showing #hero{
        height: calc(100vh - 64px);
    }
}

@media(min-width: 992px){

    .w-lg-60{
        width: 80%;
    }

    #hero-logo-container{
        align-items: start;
        justify-content: start;
    }

    #newsletter .wpcf7-spinner{
        right: -28px;
        top: 7px;
    }
}

@media (min-width: 1200px) {
    .front-page h2, .title-header h2 {
        font-size: 2.5rem;
    }
}



