:root{

    --cyan: #30d2e4;
    --darkblue: rgb(18, 38, 102);
    --blackblue: rgb(6, 11, 31);
    --lightblue: rgb(87, 119, 223);
    --darkblue_60: rgba(18, 38, 102, 0.616);
    --darkblue_30: rgba(18, 38, 102, 0.316);
    --darkblue_10: rgb(10, 23, 66);
    --gray: rgb(131, 131, 131);
    --white-blue: #f1f3ff;
    --white: #fff;
    
    --ff-zendots:  "Zen Dots", sans-serif;
    --ff-roboto:  "Roboto", sans-serif;
}
    
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track{
    background-color: var(--darkblue);
    width: 5px;
}

::-webkit-scrollbar-thumb{
    background-color: var(--lightblue);
}

.typing-effect {
    display: inline-block;
    overflow: hidden;
    border-right: 4px solid var(--darkblue);
    white-space: nowrap; 
    animation: typing 2.6s steps(25, end) forwards, blink-caret 0.9s step-end infinite;
    width: 0; 
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--darkblue); }
}

.slide {
    transform: translateY(40%);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.5s ease-out;
}

.slide.show {
    transform: translateX(0);
    opacity: 1;
}

.float-up-down {
    animation: float 3s ease-in-out infinite;
}

.float-up-down-card {
    animation: float 8s ease-in-out infinite;
    animation-delay: 3s;
}

.float-down-up {
    animation: float-down 8s ease-in-out infinite;
    animation-delay: 3s;
}

.float-up-down-btn{
    animation: float 1.5s ease-in-out infinite;  
}

.circle1, .circle2, .circle3, .circle4{
    animation: rotate 8s linear infinite;
}

.circle1{position: absolute; top: 40%; right: 10%;}
.circle2{position: absolute; top: 40%; right: 10%;}
.circle3{position: absolute; top: 20%; left: 30%;}
.circle4{position: absolute; top: 20%; left: 30%;}

@keyframes float {
    0% {
        transform: translateY(0); 
    }
    50% {
        transform: translateY(-9%); 
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes float-down {
    0% {
        transform: translateY(0); 
    }
    50% {
        transform: translateY(9%); 
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logo{font-family: var(--ff-zendots); font-size: 50px; color: var(--blackblue); position: relative;}
.logo::before{content: ''; bottom: 0; height: 4px;left: 0; width: 100%; background-image: linear-gradient(to right, var(--cyan), var(--lightblue), var(--darkblue)); position: absolute;}

.top-header{
    background: linear-gradient(var(--blackblue), var(--blackblue));
    height: 6vh;
    width: 100%;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    padding: 0 7%;
    font-family: var(--ff-roboto);;
}

.contatos, .email, .telefone, .social{display: flex; height: 100%; align-items: center;}
.email, .telefone{gap: 10px; font-size: 17px;}
.social ion-icon{font-size: 27px;}
.contatos ion-icon{font-size: 20px;}

.contatos{
    gap: 25px;
}

.social{
    font-weight: 550;
    gap: 10px;
}
.social ion-icon{cursor: pointer; transition: .5s;}
.social ion-icon:hover{color: var(--lightblue);}

.bottom-header{
    display: flex;
    width: 100%;
    background: rgb(225,237,255);
    background: linear-gradient(90deg, rgba(225,237,255,1) 0%, rgb(173, 187, 255) 58%, rgb(96, 117, 255) 100%);
    justify-content: space-between;
    padding: 0 7%;
    align-items: center;
    height: 10vh;
    transition: .7s;
}

.fixed{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-image: linear-gradient(to right, var(--darkblue), var(--darkblue_10));
    .logo{
        color: white;
    }
    .nav ul li{
        color: white;
    }
    
}

.left-bottom-header, .nav, ul{display: flex; gap: 70px; align-items: center;}

.nav ul{
    gap: 25px;
    font-family: var(--ff-roboto);
    font-weight: 500;
    color: rgb(49, 49, 49);
}

li, a{list-style: none; color: inherit; text-decoration: none;}
li{color: var(--darkblue); transition: color .7s;}
li:hover, li:focus{color: var(--lightblue); font-weight: 500; border-bottom: 3px solid var(--lightblue);}

#contato-btn, #sobre-btn, .contatoBtn-header{
    position: relative;
    padding: 20px 30px;
    border: none;
    background-color: var(--blackblue);
    color: white;
    font-size: 18px;
    align-items: center;
    display: flex;
    gap: 2px;
    overflow: hidden;
    font-weight: 550;
    transition: 1s;
    cursor: pointer;
}

#contato-btn:hover, #contato-btn:hover, #sobre-btn:hover{
    background-color: var(--lightblue);
}

.contatoBtn-header:hover:before, #contato-btn:hover:before, #sobre-btn:hover:before {
    animation: animateBtn .6s linear forwards;
}

.contatoBtn-header:before, #contato-btn::before, #sobre-btn::before{
    content: '';
    background-image: linear-gradient(to right, var(--lightblue), var(--darkblue));
    position: absolute;
    width: 30px;
    height: 100%;
    left: -50px;
    top: 0;
    transition: .5s;
    transform: skewX(-15deg);
}

@keyframes animateBtn {
    0%{
        left: -40px;
        width: 40%;
    }
    100%{
        width: 100%;
        left: calc(100% + 10px);
    }
}

#menu{
    background-color: inherit;
    border: none;
    font-size: 40px;
    color: var(--lightblue);
    cursor: pointer;
    display: none;
}

.menu-bar{width: 0; display: none; transition: 1s;}
.menu-bar.expand{
    width: 70%;
    height: 100vh;
    display: flex;
    position: fixed;
}

.container-hero{
    width: 100%;
    height: 84vh; 
    background: rgb(225,237,255);
    background: linear-gradient(90deg, rgba(225,237,255,1) 0%, rgb(173, 187, 255) 58%, rgb(96, 117, 255) 100%);
}

.image-tech-hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.left-hero .up-title, .up-title{
    color: var(--lightblue);
    letter-spacing: 2px;
    align-items: center;
    display: flex;
    gap: 10px;
    font-weight: 600;
    font-family: var(--ff-roboto);
}

.left-hero{
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.left-hero h1, .left-hero p{
    font-family: var(--ff-roboto);
    color: var(--darkblue_10);
}

.left-hero h1{
    font-size: 60px;
}

#sobre{
    height: 85vh;
    width: 100%;
    padding: 7% 10% 4% 10%;
    display: flex;
    background-size: cover;
}

.right-sobre, .left-sobre{width: 50%;}

.left-sobre{
    background-size: cover;
    background-position: left;
}

.right-sobre{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title{
    border-left: 4px solid var(--lightblue);
    font-family: var(--ff-roboto);
    padding: 10px;
    margin-top: 10px;
}

.title h1{
    font-size: 35px;
    color: var(--darkblue);
}

.up-title ion-icon{
    font-size: 30px;
}

.content-sobre{
    font-family: var(--ff-roboto);
    margin-top: 3%;
}

.content-sobre h1{
    font-size: 30px;
}

.items-sobre{
    display: flex;
    gap: 50px;
    margin: 5% 0;
    justify-content: space-between;
}

.item-sobre h1{
    color: var(--darkblue);
    display: flex;
    gap: 5px;
    align-items: center;
}

#services{
    height: 90vh;
    padding: 3% 10%;
    background-size: cover;
}

.carrossel-servicos {
    display: flex;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    margin-top: 5%;
    margin-bottom: 3%;
}

.item-carrossel {
    flex: 0 0 auto; 
    width: 300px;
    margin-right: 20px;
    padding: 20px 50px; 
    box-sizing: border-box;
    background-color: var(--white);
    height: 400px;
    border-radius: 30px 0px 30px 0;
    font-family: var(--ff-roboto);
    border: 2px solid var(--lightblue);
    cursor: pointer;
    transition: .4s;
    overflow: hidden;
}

.item-carrossel::before{
    content: '';
    background-color: var(--lightblue);
    position: absolute;
    top: -100%;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    transition: .4s;
}

.item-carrossel:hover::before{
    top: 0;
}

.item-carrossel h1, 
.item-carrossel p, 
.item-carrossel ion-icon {
    position: relative;
    z-index: 2; 
    color: var(--lightblue); 
    transition: color 0.4s; 
}

.item-carrossel:hover h1, 
.item-carrossel:hover p, 
.item-carrossel:hover ion-icon {color: white; font-weight: 600;}

.item-carrossel ion-icon {font-size: 30px; margin-bottom: 30px;}

#blog{
    height: 100vh;
    width: 100%;
    padding: 5% 10%;
}

.ajuda{
    background-color: var(--blackblue);
    height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 5% 20%;
    justify-content: center;
}

.ajuda::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
    background-color: white;
}

.container-ajuda{
    z-index: 2;
    background-color: var(--lightblue);
    height: 100%;
    width: 100%;
    padding:  3%;
    font-family: var(--ff-roboto);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.left-ajuda{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 50%;
    position: absolute;
    right: 20px;
}

.container-ajuda img{
    height: 300px;
    width: 400px;
    border-radius: 40px 0px 40px 0;
}

.left-ajuda p{font-size: 40px; font-weight: 600; color: white;}

footer{
    background-color: var(--blackblue);
    height: 60vh;
    padding: 2% 10%;
    display: flex;
    color: white;
    font-family: var(--ff-roboto);
    justify-content: space-between;
}

.sobre-footer{
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-footer{
    display: flex;
    gap: 10px;
    margin-top: 20px;
    font-size: 26px;
}

.social-footer ion-icon{
    border: 1px solid white;
    padding: 10px;
}

.social-footer ion-icon:hover{border: 1px solid var(--lightblue); color: var(--lightblue);}

.links-footer, .blog-footer, .contato-footer{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 10px;
}

.links-footer a:hover{
    color: var(--lightblue);
    padding-left: 5px;
}

.title-footer{
    border-bottom: 1px solid var(--lightblue);
    min-width: 100px;
    font-size: 25px;
    font-weight: 600;
    padding: 20px 0;
}

.contato-footer ion-icon{color: var(--lightblue); font-size: 25px;}
.item-contato{display: flex; gap: 10px;}

.bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30%;
    font-family: var(--ff-roboto);
    color: white;
    background-image: linear-gradient(to right, var(--lightblue), var(--blackblue));
}

.carrossel-blog {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; 
    padding: 20px; 
    margin: 3% 0;
    font-family: var(--ff-roboto);
}

.card {
    background-color: var(--white-blue);
    border: 2px solid var(--lightblue);
    border-radius: 30px 0 50px 0; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 30%; 
    overflow: hidden;
    cursor: pointer;
}

.card:hover{
    scale: 1.02;
}

.card img {
    width: 100%; 
    height: 265px; 
    object-fit: cover; 
}

.card-content {
    padding: 15px; 
}

.card-content h2 {
    font-size: 1.25em; 
    margin: 10px 0;
    color: #333;
}

.card-content p {
    font-size: 0.9em; 
    color: #666; 
    margin-bottom: 15px;
}

.card-content .botao {
    display: inline-block; 
    padding: 10px 15px; 
    background-color: var(--blackblue); 
    color: #fff;
    text-decoration: none; 
    transition: background-color 0.3s; 
}

.card-content .botao:hover {
    background-color: var(--lightblue);
}

a{
    width: max-content;
    display: inline-block;
}

#perfilPhoto{
    height: 50px;
    width: 50px;
    border-radius: 50px;
}

#headerProfile{
    width: fit-content;
    padding: 5px;
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: var(--ff-roboto);
    justify-content: center;
    
    button{
        padding: 10px 15px;
        display: flex;
        gap: 10px;
        align-items: center;
        font-family: var(--ff-roboto);
        justify-content: center;
    }
}



@media screen and (max-width: 768px) {
    .top-header, .bottom-header {
        flex-direction: row;
        align-items: flex-start;
        height: auto;
        padding: 10px;
    }

    .top-header{
        .contatos{
            display: flex;
            flex-direction: row;
            width: 100%;
            padding: 0 5%;
            align-items: center;
            justify-content: space-between;
            .email, .telefone{
                p, a{
                    font-size: 12px;
                }
            }
        }
        .social{
            display: none;
        }
    }

    .float-up-down, .float-up-down-card, .float-down-up{
        animation: none;
    }

    .item-carrossel::before{
        display: none;
    }

    .item-carrossel:hover h1, 
    .item-carrossel:hover p, 
    .item-carrossel:hover ion-icon {color: var(--lightblue);}

    .item-carrossel ion-icon {font-size: 30px; margin-bottom: 30px;}

    .contatos, .social, .left-bottom-header, .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .bottom-header button{
        padding: 5px;
    }

    .left-bottom-header{
        display: none;
    }

    .logo {
        font-size: 32px;
    }

    .nav {
        display: none;
    }

    #menu {
        display: flex;
        color: white;
    }

    #closeMenuBtn{
        background-color: inherit;
        color: white;
        font-size: 25px;
        border: none;
    }

    .menu-bar {
        width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: column;
        background-color: var(--darkblue);
        padding: 30px;
        padding-top: 8vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 99999;
    }

    .menu-bar ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
        color: white;

        li, a{
            color: white;
            font-family: var(--ff-roboto);
        }
    }

    .container-hero {
        height: auto;
        padding: 40px 20px;

        img{
            display: none;
        }
    }

    .left-hero h1 {
        font-size: 20px;
    }

    #sobre {
        flex-direction: column;
        height: auto;
        padding: 10% 5%;
        gap: 20px;
    }

    .right-sobre, .left-sobre {
        width: 100%;
    }

    .items-sobre {
        flex-direction: column;
        gap: 30px;
    }

    #services {
        height: auto;
        padding: 10% 5%;
    }

    .carrossel-servicos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .item-carrossel {
        width: 90%;
        height: auto;
    }

    #blog {
        height: auto;
        padding: 10% 5%;
    }

    .carrossel-blog {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
    }

    .ajuda {
        flex-direction: column;
        height: auto;
        padding: 10% 5%;
        text-align: center;
    }

    .container-ajuda {
        flex-direction: column;
        gap: 20px;
    }

    .left-ajuda {
        position: static;
        width: 100%;
        justify-content: center;
    }

    .container-ajuda img {
        width: 100%;
        height: auto;
    }

    .left-ajuda p {
        font-size: 28px;
    }

    footer {
        flex-direction: column;
        gap: 30px;
        height: auto;
        padding: 10% 5%;
    }

    .sobre-footer, .links-footer, .blog-footer, .contato-footer {
        width: 100%;
    }

    .bottom {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        gap: 10px;
    }

    #headerProfile {
        flex-direction: column;
        gap: 10px;
    }

    #headerProfile button {
        width: 100%;
    }
}



