@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    box-sizing: border-box;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: normal;
    color: white;
}

body{
    margin: 0 !important;
    position: relative;
}

main {
    height: 100dvh;
    background: url("assets/bg-Plataforma.svg") no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

#over_bg{
    height: 100dvh;
    background: url("assets/backgroundSolucoes2.svg") no-repeat center center fixed;
    background-size: cover;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h1, h2, h3, h4, nav, li, a{
    margin: 0 !important;
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.box_container{
    z-index: 10;
    padding: 24px;
    height: 80%;
    width: 60%;
    background-color: rgba(255, 255, 255, 0.137);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    box-shadow: 4px 2px 3px rgba(0, 0, 0, 0.267);
}

.page_title{
    font-size: 70px;
    color: white;
}
.page_subtitle{
    font-size: 50px;
}

.chat_elements{
    background-color: rgba(0, 0, 0, 0.137);
    border-radius: 12px;
  }
  
  .message-input{
    width: 90%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border: none;
    outline: none;
  }
  
  .message-input::placeholder {
    color: rgba(255, 255, 255, 0.87); 
    
  }
  
  .button{
    height: 100%;
    width: 9%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    border: none;
    outline: none;
  }

  .button:focus{
    border: none;
    outline: none;
  }
  
  
  .send{
  width: 100%;
  height: 100%;
  }
  
  .input-group{
    height: 8%;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }



.fa-circle-xmark{
    color: #f56767;
  }
  .fa-circle-check{
    color: #0a9862;
  }
  #feedback{
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  
    & .modal-content{
      background-color: rgba(255, 255, 255, 0.137);
    }

    & .modal-header, .modal-body{
      display: flex; 
      align-items: center;
      justify-content: center;
      background-color: rgba(255, 255, 255, 0.137);
    }

    & .modal-header{
      justify-content: end;
    }

    & .modal-body{
      flex-direction: column;
    }

    & #titulo_feedback{
      width: 100%;
      text-align: center;
    }

    & i{
      font-size: 60px;
      margin-bottom: 16px;
    }

    & span{
      font-size: 34px;
    }

    & .close{
      position: absolute;
    }

  }

#carregando {
    position: fixed; 
    top: 0;        
    left: 0;        
    width: 100%;    
    height: 100%;   
    backdrop-filter: blur(25px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999; 
    display: none; 
    align-items: center;
    justify-content: center; 
    color: white; 
    flex-direction: column-reverse;
    & span{
        font-size: 24px;
    }
}


.loader {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.truckWrapper {
  width: 200px;
  height: 100px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  overflow-x: hidden;
}
/* truck upper body */
.truckBody {
  width: 130px;
  height: fit-content;
  margin-bottom: 6px;
  animation: motion 1s linear infinite;
}
/* truck suspension animation*/
@keyframes motion {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(3px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* truck's tires */
.truckTires {
  width: 130px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10px 0px 15px;
  position: absolute;
  bottom: 0;
}
.truckTires svg {
  width: 24px;
}

.road {
  width: 100%;
  height: 1.5px;
  background-color: #282828;
  position: relative;
  bottom: 0;
  align-self: flex-end;
  border-radius: 3px;
}
.road::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 100%;
  background-color: #282828;
  right: -50%;
  border-radius: 3px;
  animation: roadAnimation 1.4s linear infinite;
  border-left: 10px solid white;
}
.road::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 100%;
  background-color: #282828;
  right: -65%;
  border-radius: 3px;
  animation: roadAnimation 1.4s linear infinite;
  border-left: 4px solid white;
}

.lampPost {
  position: absolute;
  bottom: 0;
  right: -90%;
  height: 90px;
  animation: roadAnimation 1.4s linear infinite;
}

@keyframes roadAnimation {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-350px);
  }
}
