@font-face {
    font-family: "Corbet-Regular";
    src: url("../fonts/Corbert-Regular.ttf");
    font-weight: normal;
}

@font-face {
    font-family: "Gotham-Bold";
    src: url("../fonts/Gotham-Bold.otf");
    font-weight: bold;
}
@font-face {
    font-family: "Gotham-Medium";
    src: url("../fonts/GothamMedium.ttf");
    font-weight: 700;
}
@font-face {
    font-family: "Gotham-Regular";
    src: url("../fonts/Gotham-Light.otf");
    font-weight: bold;
}


.errorMessage{
    color:rgb(160,0,0);
    display:none;
    padding-top:5px;
}


html,
body {
    font-family: "Gotham-Regular";
    overflow-x: hidden;
    max-width: 100%;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-y: scroll;
}
html p{
    font-size:large
}

body::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
}

body h1,
h2,
h3,
h4,
h5,
h6,
b {
    font-family: "Gotham-Bold";
}

.secondLogo {
    display: none;
}

.bottom-shadow {
    -moz-box-shadow: 0px .5px 15px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px .5px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px .5px 15px 0px rgba(0, 0, 0, 0.1);
}

.headerTopDividerWrapper {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.headerTopDivider {
    border-top: 3px solid palevioletred;
    height: 20px;
    width: 100px;
}

#mainBanner {
    background-image: url('../img/Banner-Site-Enigma.jpg');
    /*background-image: url('../img/bg_pink.jpg');*/
    background-size: cover;
    background-repeat:   no-repeat;
    background-position: 50% -100px; 
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 200px;
}

#quemSomos {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    min-height: 65vh;
    background-image: url('../img/icons_perfect_background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#quemSomos p {
    text-align: center;
    color: #505050
}

#servicos {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 50px;
    min-height: 65vh;
    background-image: url('../img/icons_perfect_background_inv.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#contactos {
    display: flex;
    justify-content: center;
    padding-left: 50px;
    padding-right: 50px;
    min-height: 60vh;
    padding-bottom: 30px;
    width: 100%;
    position: relative;
    background-color: rgb(241,241,241);
}

#clientes{
    padding: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(241,241,241);
}
#clientes h1,h2,h3,h4,p{
    text-align: center;
}
#contactos h1,h2,h3,h4,p{
    text-align: left;
}
.clientWrapper{
    display: flex !important;
    flex-direction: row;
    justify-content: center !important;
    align-items: center !important;
    padding:50px;
    width: 80%;
}
.clientItem{
    display: flex;
    align-items: center;
    justify-content: center;
    margin:50px;
}
.clientItem img{
    transition: all .2s
}
.inline-objects {
    padding-top: 30px;
    padding-bottom: 30px;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    flex-direction: row;
    justify-content: center;
}

.inline-object {
    margin: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#servicos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.servicosWrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.itemServico {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 15px;
    margin-bottom: 15px;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 300px;
}

.itemServico div {
    min-height: 200px;
}

.itemServico p {
    overflow: hidden;
    text-overflow: ellipsis;
}

.itemServico img {
    margin-bottom: 30px
}

.inline-objects p {
    padding-top: 15px;
    padding-bottom: 15px
}

#quemSomos h2,
h3,
h4 {
    text-align: center;
}

#servicos h2,
h3,
h4 {
    text-align: center;
}

.bg-transparente {
    background-color: none;
}

.bg-white .nav-item a {
    color: black!important;
    font-family: 'Gotham-Regular';
}

.bg-white .nav-item.active a {
    border-bottom: 1px solid black!important;
    font-family: 'Gotham-Medium';
}

.nav-item a {
    color: white!important;
    margin-left: 5px;
    margin-right: 5px;
    font-family: 'Gotham-Medium';
   
}

.nav-item.active a {
    border-bottom: 1px solid white!important;
}

.navbar {
    padding-left: 12%;
    padding-right: 12%;
}

.curveUpperWrapper {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.curveLowerWrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 102%;
    margin: 0;
    transform: rotate(180deg);
}

.curve {
    fill: white;
    position: absolute;
    bottom: -1px;
    height: 360px;
    width: 100%;
}

.curveTrans {
    fill: rgba(255, 255, 255, 0.5);
    height: 600px;
    width: 305%;
    position: absolute;
    bottom: 0;
    left: -50%;
   
}
#slant-shape-gradient {
    --color-stop: #EA4C80;
    --color-bot: #EF9045;
  }
.slant {
    position: absolute;
    bottom: -1px;
    fill: url(#slant-shape-gradient);
}

.slantTrans {
    position: absolute;
    bottom: 15px;
    opacity: 0.5;
    fill: url(#slant-shape-gradient);
}

.bannerButton {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: white;
    border-radius: 100px;
    color: black;
    transition: all .5s
}

.bannerButton:hover {
    color: white;
    text-decoration: none;
    transform-origin: left;
    transform: scaleX(1.1);
    background: linear-gradient(129deg, rgba(119, 106, 233, 1) 0%, rgba(214, 67, 174, 1) 50%, rgba(239, 146, 68, 1) 100%);
}

.itemServicoButton {
    position: absolute;
    bottom: 0;
    left: 0;
    border: 1px solid #909090;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 30px;
    padding-right: 30px;
    background-color: white;
    border-radius: 100px;
    color: black;
    transition: all .5s
}

.itemServicoButton:hover {
    border: none;
    color: white;
    text-decoration: none;
    transform-origin: left;
    transform: scaleX(1.2);
    background: linear-gradient(129deg, rgba(119, 106, 233, 1) 0%, rgba(214, 67, 174, 1) 50%, rgba(239, 146, 68, 1) 100%);
}

footer {
    min-height: 33vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-image: linear-gradient(to right, #EA4C80 , #EF9045);*/
    background-image: linear-gradient(to right, #766DAB , #D045B2);
    color: white
}
.cls-1{
    background-image: url('../img/backFoot.png');
    background-size: contain;
    background-repeat: repeat;
}
footer a {
    color: white;
    text-decoration: none;
    transition: all .5s
}

footer a:hover {
    color: rgb(220, 220, 220);
    text-decoration: none;
}

.contactoBox {
    display: flex;
    background-color: white;
    width: 80%;
    border-radius: 10px;
    position: relative;
    bottom: 10px;
    z-index: 2;
    display: none;
}


.contactDetails {
    border-radius: 10px;
    padding: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: linear-gradient(68deg, #EF9045 0%,#EF9045 30%, #EA4C80 100%);
    color: white
}

.formBox {
    padding: 30px;
    padding-top: 50px;
    padding-bottom: 20px;
    justify-content: center;
}

form {
    padding-top: 20px;
    padding-bottom: 20px;
}

.myinput {
    border-width: 1px!important;
    border-style: solid!important;
    padding: 20px!important;
    padding-left: 25px!important;
    padding-right: 25px!important;
    border-color: rgba(71, 74, 182, 0.12)!important;
}

.wappIcon {
    position: fixed;
    z-index: 9;
    right: 0;
    bottom: 5%;
    width: 50px;
    height: 50px;
}
.socialMedia{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

@media only screen and (max-width: 600px) {
    #mainBanner {
        background-image: url('../img/Banner-Site-Enigma-Small.jpg');
        background-size:130% 130%;
        background-position: 50% 100%;
        background-repeat: no-repeat;
        width: 100%;
        position: relative;
        display: flex;
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    #clientes h2,p{
        text-align: center;
    }
    #servicos{
        background-image: none;
    }
    #quemSomos{
        background-image: none;
    }
    .bg-transparente .navbar-collapse {
        margin-top: -35px;
        background-color: white;
        border-radius: 3px 30px 3px 30px;
        padding-left: 30px;
        padding-right: 30px;
        border-top: 3px solid #EF9244
    }
    .itemServico{
        align-items: center !important;
    }
    .bg-transparente .navbar-collapse .nav-item a {
        color: black!important;
    }
    .toHideSmall {
        display: none!important;
    }
    .clientWrapper{
        width: 150% !important;
    }

}

@media only screen and (max-width: 993px) {
    #servicos{
        background-image: none;
    }
    #quemSomos{
        background-image: none;
    }

    .servicosWrapper {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center!important;
    }
    .itemServico{
        align-items: center !important;
    }
    .itemServico p {
        text-overflow: ellipsis;
    }
    .itemServico div {
        text-align: center!important;
    }
    .contactoBox {
        background-color: white;
        width: 100%!important;
        border-radius: 10px;
        position: relative;
        bottom: 10px;
        z-index: 2
    }
    
    .contactoBox {
        display: flex;
        background-color: white;
        width: 100%;
        border-radius: 10px;
        position: relative;
        bottom: 10px;
        z-index: 2;
        display: none;
    }
}
