/*
    Theme Name: Filipe Soares
    Theme URI: https://filipesoares/
    Author: Filipe Soares
    Description: Tema principal
    Version: 1.0
    Text Domain: portifolio
*/

:root {
    /* --primary: #5aacdc; */
    --primary: #4eb2e5;
    --primary-hover: #539cc7;
    --primary-dark: #2DA3E0;
    --gray: #bbbbbb;
    --gray-2: #ebedec;
    --light: #fff;
    --light-2: #F4F8FA;
    --light-3: #DEE8ED;
    --light-hover: #dbdbdb;
    --dark: #172B36;
    --dark-2: #2D4653;
    --dark-3: #475F6B;
}


body{
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--dark);
}

body > section{
    padding-top: calc(3rem + 56px);
    padding-bottom: calc(3rem + 56px);
}

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

a:hover{
    color: var(--primary-hover);
}

#logo{
    min-width: 180px;
}

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

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

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

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

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

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

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

/*body{
    padding-top: 56px;
}*/

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
}

header{
    position: sticky;
    top: 0;
    z-index: 200;
    width: 100%;
    height: 56px;
}

header nav li a{
    text-decoration: none;
}

/*header nav li a:hover{
    text-decoration: underline;
}*/

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

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

.btn{
    border-radius: 30px;
}

/* .rounded{
    border-radius: 22px !important;
} */

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

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

.btn-outline-primary{
    color: var(--primary);
    border-color: var(--primary);
}

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

.main-button{
    font-size: 4.5vw;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #4eb2e5;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(78 178 229 / 15%);
}

#btn-translate, #btn-menu{
    border: none;
    outline: none;
    background: none;
    color: var(--light);
    padding: 0;
    line-height: 1.0;
}

#btn-translate:hover, #btn-menu:hover{
    border: none;
    outline: none;
    background: none;
    color: var(--light-hover);
}


#main{
    height: calc(100vh - 56px);
    background-image: url(assets/img/bg.webp);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
}

footer{
    background-color: var(--light-2);
    border-top: solid 1px var(--light-3);
}

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

#social li{
    display: block;
    float: left;
    margin-right: 0.5rem;
}

#social li a{
    color: var(--bs-dark);
    font-size: 30px;
    transition: color 0.1s;
}

#social li a:hover{
    color: var(--primary);
}


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

#menu-mobile {
    text-wrap: auto;
    position: fixed;
    top: 0;
    width: 300px;
    background: var(--gray-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-fechar{
    border: none;
    outline: none;
    color: var(--dark);
    background: none;
}

#testimonials .owl-stage{
    display: flex;
}

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

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

.menu-aberto #menu-mobile {
    max-width: 70%;
}

#testimonials .owl-dots .owl-dot span {
    width: 20px;
    height: 10px;
}

/*#testimonials .owl-dots .owl-dot.active span, #testimonials .owl-dots .owl-dot:hover span {
    background: #00a9cd;
}*/

.testimony-img{
    max-width: 128px;
}

.form-control {
    border-radius: 4px;
}

.project > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.project > a > img{
    transition: 0.4s;
}

.project > a > div {
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: #f3f0f0d6;*/
    top: 0;
    opacity: 0;
    /*transition: 0.5s;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffffef;
    transition: 0.4s;
    padding: 18%;
}

.project:hover > a > img{
    transform: scale(1.09);
}

.project:hover > a > div
{
    opacity: 1;
}

.project > a > div > img
{
    width: 100%;
}

.project-modal .modal-content{
    border: none;
    border-radius: 16px;
}

.project-modal .modal-header{
    border-color: #f3f3f3!important;
}

.project-modal .modal-footer{
    border-color: #f3f3f3!important;
    justify-content: flex-start;
}

.modal-carousel .owl-carousel{
    position: relative;
}

.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 20px;
}

.ratio-custom {
    --bs-aspect-ratio: 77.25%;
}

.modal-carousel .owl-nav{
    padding: 0!important;
    margin: 0!important;
}

.modal-carousel .owl-prev, .modal-carousel .owl-next{
    position: absolute;
    top: calc(50% - 25px);
    background-color: #00000059 !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 30px !important;
    margin: 0 !important;
    font-size: 50px !important;
    width: 50px;
    line-height: 1.0 !important;
    height: 50px;
    cursor: pointer;
}

.modal-carousel .owl-prev {
    border-top-right-radius: 50px !important;
    border-bottom-right-radius: 50px !important;
    left: 0;
    background-image: url(assets/img/arrow-left-circle-fill.svg)!important;
}

/* .modal-carousel .owl-prev:before {
    content: url(assets/img/arrow-left-circle-fill.svg);
    display: block;
} */

.modal-carousel .owl-next {

    border-top-left-radius: 50px !important;
    border-bottom-left-radius: 50px !important;
    right: 0;
    background-image: url(assets/img/arrow-right-circle-fill.svg)!important;
}

/* .modal-carousel .owl-next:before {
    content: url(assets/img/arrow-right-circle-fill.svg);
} */

#computador{
    max-width: 100%;
    height: auto;
}

@keyframes girar {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

textarea.form-control{
    height: 150px;
}

#gear1, #path6, #path4 {
    animation: girar 4s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.wpcf7-not-valid-tip {
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: var(--bs-form-invalid-color);
}


.wpcf7-response-output {
  position: relative;
  padding: 1rem 1rem !important;
  margin: 1rem 0 1rem 0 !important;
  border-radius: 0.25rem;
  color: #084298;
  background-color: #cfe2ff;
  border: 1px solid #b6d4fe !important;
}

.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;
}

#translate-options {
    min-width: initial;
    /* background: #000;
    border-color: #2a2f33; */
}

#translate-options .dropdown-item{
    font-size: 14px;
}

#translate-options .dropdown-item.active, #translate-options .dropdown-item:active {
    background-color: var(--primary-dark);
}

@media (min-width: 425px){
    .main-button{
        font-size: 1.25rem;
    }
}

/*breakpoint md do bootstrap*/
@media (min-width: 768px){

    header{
        height: 45px;
    }

    #main{
        height: calc(100vh - 45px);
    }

    body > section{
        padding-top: calc(3rem + 45px);
        padding-bottom: calc(3rem + 45px);
    }

    #logo{
        min-width: 140px;
    }

}

@media (min-width: 992px){
    /* main{
        background-image: url(/assets/images/bannerbg.webp);
        background-repeat: no-repeat;
        background-position: right;
        background-size: 45%;
    } */
}

@media (min-width: 1200px){

    .ratio-custom {
        --bs-aspect-ratio: 56.25%;
    }

    .w-xl-100{
        width: 100%!important;
    }
}