
@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&family=REM:ital,wght@0,100..900;1,100..900&display=swap');


.container-home-3 {
    background-size: cover;
    background-repeat: no-repeat;
    background-image:url('../imagens para/Sem nome (2641 x 2000 px) (1170 x 524 px) (1).gif');
   }
   
   .container-home-4 {
     width:95%;
     margin:auto;
     padding-block:30px;
     height:auto;
     display:flex;
     flex-direction:column;
     gap:4rem;
   }

   .position-para {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    align-self: center;
   }
   
   .animated-text h1 {
    width: 9rem;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
   }

#produtos {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-top: 100px;
    background-color: #f0f0f0;
    padding: 20px;
    box-sizing: border-box;
    flex-direction: column;
}

.container-familia {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.title {
    font-size: .7rem;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 100px;
}

.box {
    position: relative;
    width: 300px;
    height: 350px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


.box::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    /* height: 100%; */
    background-color: #33333354;
    transition: top 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 0;
}

.box:hover::before,
.box.clicked::before {
    top: 0;
}

.image-familia {
    width: 1.5rem;
    margin-left: 50px;
}

.title-f {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.text-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.text {
    font-size: 20px;
    color: black;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    width: 90%;
}

.text.visible {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    opacity: 1;
}

.text-visible {
    font-size: 30px;
}



.text.hidden {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    opacity: 0;
    text-align: center;
}

.box:hover .text.visible,
.box.clicked .text.visible {
    transform: translateX(-100%);
    opacity: 0;
}

.box:hover .text.hidden,
.box.clicked .text.hidden {
    transform: translate(-50%, -50%);
    opacity: 1;
}

.box:hover,
.box.clicked {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    #produtos {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-top: 50px;
        display: block;
    }

    .title { 
        margin-top: 10px;
    }

    .box {
        width: 90%;
        max-width: 300px;
    }

    .text.visible {
        left: 10px;
        font-size: 18px;
    }

    .text.hidden {
        font-size: 18px;
        transform: translate(-50%, 50%);
    }

    .title-f {
        font-size: 24px;
    }
}

#nossa-estrutura {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 100;
    align-items: center;
    justify-content: center;
}

.empresas,
.empresarial {
    display: flex;
    margin-bottom: 100px;
    width: 90%;
    align-items: center;
    justify-content: center;
}

.li-empresa {
    font-size: 20px;
    max-width: 10rem;
    margin-right: 30px;
    margin-bottom: 10px;
    margin-left: 30px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.image-para {
    width: 100%;
    max-width: 11rem;
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin-right: 30px;
}

.diplay-empresa {
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.title-empresa h2 {
    font-size: 40px;
    margin-bottom: 7px;
}

.title-empresa h4 {
    font-size: 25px;
    margin-bottom: 15px;
}

.image-em {
    width: 100%;
    max-width: 11rem;
    border-radius: 20px;
    margin-right: -90px;
}

@media (max-width: 1283px) {

    #produtos {
        height: auto;
    }

    .title {
        margin-top: 40px;
    }
     
    .empresas,
    .empresarial {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 90%;
}

.title-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 100px;
}


.image-em {
    width: 100%;
    max-width: 10rem;
    border-radius: 20px;
    margin-right: 0;
    margin-top: 40px;
}

.image-para {
    width: 100%;
    max-width: 12rem;
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin-right: 0;
    margin-top: 100px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.li-empresa {
    font-size: 20px;
    max-width: 92%;
    margin-right: 0;
    margin-bottom: 10px;
}

.diplay-empresa {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-right: 0;
    
}

}