body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    width: 100vw;
    background-color: #e5e4e4;
    animation-name: slide;
    animation-duration: 2s;
    transform: translateX(-400px);
    animation-fill-mode: forwards;
    overflow-x: hidden;
}

header {
    background-color: #111;
    color: white;
    text-align: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h2 {
    font-size: 3vw;
}

.header-content {
    height: 97vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-fraseDisplay {
    width: 100vw;
    height: 3vh;    
    background-color: #cf0d44;
    position: absolute;
    top:92vh;
    padding: 4vh 0 4vh 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#fraseDisplay {
    color:#fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}


.container-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.square {
    width: 250px;
    height: 250px;
    border: #fff 8px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-in;
    background-color: transparent;
}

.square:hover {
    border-color: #cf0d44;
}

.text-logo {
    color: #fff;
    font-size: 130px;;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

.menu-links-servicos {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none; /* Remova o sublinhado */
    color: #fff; 
}

.links-servicos {
    color: #fff;
    padding: 0 30px 30px 30px;
    font-size: 1.2em;
}

.texto-links-servicos {
    transition: all 0.5s ease-in;
    text-decoration: none;
}

.texto-links-servicos:hover {
    color: #cf0d44;
    transform: scale(1.05);
}

.main-text {
    color:#000;
}

.principles {
    width: 100vw;
    display:flex;
    justify-content:space-evenly;
    align-items: center;
}

.container-lema {
    height: 100vh;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.line {
    width: 40vw;
    height: 1vh;
    background-color: #000;
}

.principle-one, .principle-two, .principle-three {
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    text-align: center;
    font-size: 40px;
    background-color: transparent;
    width:300px;
    height: 300px;
    align-items: center;
    background-color: #FCFCFD;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
    box-sizing: border-box;
    color: #36395A;
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow .15s,transform .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    white-space: nowrap;
    will-change: box-shadow,transform;
}

.principle-one:focus, .principle-two:focus, .principle-three:focus {
    box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
}

.principle-one:hover, .principle-two:hover, .principle-three:hover {
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
    transform: translateY(-2px);
}

.principle-one:active, .principle-two:active, .principle-three:active {
    box-shadow: #D6D6E7 0 3px 7px inset;
    transform: translateY(2px);
}

.rectangle {
    font-size: medium;
    border-radius: 5px;
    max-height: 250px; 
    white-space: normal; 
    padding: 10px; 
    box-sizing: border-box; 
}

.container-services {
    height: 100vh;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}


.container-section {
    width:100vw;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}


.section {
    color:#000;
    text-decoration: none;
    width:30vw;
    height: 50vh;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition-property: box-shadow 2s;
    transition-duration: 1.5s;
}

.section:hover {
    cursor:pointer;
    color:#000;
    text-decoration: none;
    box-shadow: 5px 8px 10px #cf0d44;
}

.section img {
    width: 100px;
}

.section p {
    font-size: 14px;
}

.saiba-mais {
    width:25px;
    height: 25px;
    background-size: contain;
    background-image:url('https://www.automatizapro.com.br/img/exclamacao.png');

}

.mini-box-saiba-mais {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(206, 21, 21, 0.8);
    color: #fff;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.saiba-mais:hover .mini-box-saiba-mais {
    opacity: 1;
}

.container-contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 40px 0;
}

.contato {
    all: unset;
    width: 400px;
    height: 70px;
    margin-top: 30px;
    font-size: x-large;
    background: transparent;
    border: none;
    position: relative;
    color: #f0f0f0;
    cursor: pointer;
    z-index: 1;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.contato::after,
.contato::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -99999;
    transition: all .4s;
}

.contato::before {
    transform: translate(0%, 0%);
    width: 100%;
    height: 100%;
    background: #28282d;
    border-radius: 10px;
}

.contato::after {
    transform: translate(10px, 10px);
    width: 35px;
    height: 35px;
    background: #ffffff15;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50px;
}

.contato:hover::before {
    transform: translate(5%, 20%);
    width: 110%;
    height: 110%;
}

.contato:hover::after {
    border-radius: 10px;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
}

.contato:active::after {
    transition: 0s;
    transform: translate(0, 5%);
}

footer {
    width:100vw;
    text-align: center;
    padding: 1em 0;
    background-color: #111;
    color: white;
}

.container-slider {
    height: 60vh;
    display:flex;
    flex-direction:column;
    justify-content: space-evenly;
    align-items: center;
}


.customer-logos {
    width: 50vw;
    overflow: hidden;
}

.fade-in-out {
    opacity: 0;
    transition: opacity 3s ease-in-out; /* Adiciona uma transição suave de 1 segundo */
}




@media (max-width: 768px) {

header {
    height: 95vh;
}

.container-fraseDisplay {
    top:88vh;
}

h2 {
    font-size: 25px;
}

.square {
    width: 100px;
    height: 100px;
}

.text-logo {
    font-size: 40px;
}

.menu-links-servicos {
    flex-direction: column;
}

.container-lema {
    height: auto;
}

.principles {
    flex-direction:column;

}

.principle-one, .principle-two, .principle-three {
    width:220px;
    height: 220px;
    font-size: x-large;
    margin: 20px 0 20px 0;
    position:static;
}

.container-services {
    height: auto;
}

.container-section {
    flex-direction: column;
}

.section {
    width: 90vw;
    height: 360px;
    margin-top: 15px;
    padding: 10px;
}

.section p {
    font-size: 11px;
}

.rectangle {
    font-size: medium;
}


.slide {
    padding: 0 20px 0 20px;
}

.contato {
    width:60vw;
}



}


@keyframes slide {
from {
    opacity: 0;
}
to {
    transform: translateX(0);
   opacity: 1;
}
}