* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
        background-image: url(../assets/bg.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#home {
    background-color: rgba(15, 15, 20, 0.85);
}
header{
position:sticky;
z-index:1;
top:0;
}

/*-------------MENU DE NAVEGACAO--------------- */
#navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    color: white;
    background-color: #010000;
    padding: 10px;
    border-bottom: 1px solid red;
}


#navlogo {
    display: flex;
    align-items: center;
    margin-left: 50px;
}


#navlogo img{
width: 50px;
}


#navtext {
    font-size: large;
    font-weight: 600;
}


#navtext span{
    color: red;
    font-weight: 600;
}


#navlinks {
    display: flex;
    list-style: none;
    gap: 70px;
    align-items: center;
}

.navitem {
    display: flex;
    color: white;
    text-decoration: none;
    transition: 0.2s;
    font-size: 17px;
}

.navitem:hover{
    color: red;
}

#contactbutton {
    display: flex;
    align-items: center;
    background-color: #010000;
    color: white;
    padding: 10px;
    border: 2px solid red;
    border-radius: 8px;
    border-color: red;
    gap: 3px;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
}

#contactbutton i{
color: red;
}

#contactbutton:hover{
    background-color: rgb(160, 1, 1);
}

.mobilesl {
    display: none;
}

#sociallinks {
    display: flex;
    gap: 50px;
    margin-right: 20px;
}


/*---------- NAVBARMOBILE-----------*/

.mobilenavbars {
    cursor: pointer;
    display: none;
}


.mobilenavbars div{
    width: 32px;
    height: 2px;
    background-color: white;
    margin: 8px;
    transition: 0.2s;
}



   .socialicons {
    color: white;
    text-decoration: none;
    list-style: none;
    font-size: large;
    transition: 0.2s;
   }

   .socialicons:hover {
    color: red;
   }

   

@media (max-width: 1050px) {

    html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    }
    
    #navbar {
        justify-content: space-around;
    }

    #navlogo {
        margin-left: 0;
    }




    #navlinks {
        position: fixed;
        top: 7vh;
        right: 0;

        width: 100vw;
        height: 42vh;

        background-color: #010000;

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 40px;

        transform: translate(-100%);
        transition: transform 0.3s ease;
    }

    #navlinks li{
        margin-left: 0;
        opacity: 0;
    }
    
    
    @keyframes navlinkfade {
        from {
            opacity: 0;
            transform: translateX(-50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }



    .mobilenavbars {
        display: block;

    }


    #navlinks.active {
        transform: translateX(0);
    }

    .mobilenavbars.active .line1 {
        transform: rotate(-45deg) translate(-8px,8px);
    }
    .mobilenavbars.active .line2 {
        opacity: 0;
    }
    .mobilenavbars.active .line3 {
        transform: rotate(45deg) translate(-5px,-7px);
    }

    #sociallinks {
        display: none;
    }

    .mobilesl {
        display: flex;
        gap: 40px;
        list-style: none;
    }

    .mobilesl a{
        text-decoration: none;
    }
}


@media (max-width: 800px) {
    
    #navbar {
    justify-content: space-between;
    }
}


 /*---------------------------*/

 /*------------------------HOME--------------------------*/

#homeall {
    display: flex;
    justify-content: space-around;
 }

#hometext {
    display: flex;
    flex-direction: column;
    color: white;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

#hometexts {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    gap: 20px;
}

 #homelogo {
    color: red;
 }

 #hometitle {
    font-size: 47px;
    font-weight: 600;
    line-height: 1.1;
 }

 #hometitle span{
    color: red;
    font-weight: 600;
 }


 #homeimg img{
    width: 100%;
 }
 
 #homecards {
     display: flex;
     gap: 40px;
 }
 #homecards p{
     font-size: 15px;
 }
 
 #homecards i{
     color: red;
 }


 .contactbutton1 {
    display: flex;
    background-color: red;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    border-color: red;
    gap: 3px;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 600;
    align-items: center;
    width: 540px;
    justify-content: center;
}

.contactbutton1 i{
color: white;
}

.contactbutton1:hover{
background-color: rgb(160, 1, 1);
}


#locate {
    display: flex;
    gap: 5px;
    
}

#locate i {
    color: red;
}

#home {
    min-height: 100vh;
}

/*------------- RESPONSIVIDADE DA HOME NOTEBOOKS GRANDES ---------------- */

@media (max-width: 1500px) {

   #homeall {
    justify-content: space-between;
    max-width: 100%;
    margin-left: 80px;
   }
    
    #hometext {
        margin-top: 30px;
        margin-right: 30px;
    }

    #hometexts {
        max-width: 50vw;
    }

    #hometitle {
        font-size: 4vw;
    }

    #homeslogan{
        font-size: 17px;
    }

    #homecards {
        width: 43vw;
    }

    #homeimg img{
        width: 48vw;
        height: 65vh;
    }


    .contactbutton1 {
        width: 43vw;
    }

    #locate p{
        font-size: 1.2vw;
    }
}

/* ---------- RESPONSIVIDADE DA HOME NOTEBOOKS PEQUENOS -------*/

@media (max-width: 1050px) {

    #homeall {
        max-width: 100%;
        flex-direction: column;
        margin-left: 0;
    }
    
 #hometexts {
    max-width: 700px;
    width: 90%;
    align-items: center;
    text-align: center;
    padding: 10px;
}

   #hometext {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    align-items: center;
}

    #homelogo {
        display: none;
    }

    #hometitle {
        font-size: 55px;
        font-weight: 800;
    }

#homecards {
    width: 90%;
    max-width: 700px;
    display: flex;
    justify-content: center;
    gap: 25px;
}
    #homecards i{
        font-size: 16px;
    }

    #homecards p{
        font-size: 15px;
    }

    .contactbutton1 {
        width: 50vw;
    }

    #homeimg img{
        width: 100vw;
}

   #locate {
    margin-bottom: 10px;
   }
}

/* ---------- RESPONSIVIDADE cllr -------*/

@media (max-width: 600px) {
    
    #hometitle {
        font-size: 40px;
        font-weight: 800;
    }

    #hometexts {
        width: 92%;
    }

    #homeslogan {
        font-size: 15px;
    }

    #homecards {
        width: 92%;
        gap: 15px;
    }

.contactbutton1 {
    width: 90%;
    padding: 7px 8px;
    font-size: 12px;
    white-space: nowrap;
    padding: 15px
}

    #homecards i{
        font-size: 2vw;
    }

    #homecards p{
        font-size: 2vw;
    }
    
    #locate {
        width: 92%;
        justify-content: center;
    }

    #locate p{
        font-size: 15px;
    }

    #homeimg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

#homeimg img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}
}


