@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');


/*COLOURS-----------------------------------------------------------------------------------------------*/
:root{
--fl-blue:rgb(0,94,184);
--fl-dkblue:rgb(0,74,154);
--fl-orange:rgb(255,130,0);
--fl-dkorange:rgb(255,111,9);    
--fl-gray:rgb(51,51,51);
--fl-ltgray:rgb(75,75,75);

}

/* CSS Document */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font: normal 16px/40px "Poppins", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.container {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  transition: flex 0.5s ease-in-out, background-color 0.5s ease-in-out;
}

.half {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position:center center;
}

.half .elements{
  text-align: center;    
  transition: transform 0.3s ease;  
}

.half:hover .elements{
  transform: scale(1.1);
}

#faital {
  background-color: #f5f5f5;
  background-image: url("/img/intro/bg-auto.jpg");

}

#faitalpro {
  background-color: #111;
  background-image: url("/img/intro/bg-pro.jpg");
  color:#fff;
}

div.brand-text{
    margin-bottom:15px;
    text-align:center;
}


div.brand-text h3{
    margin:0;
    font-weight:normal;
    font-size:21px;
}

#faital div.brand-text h3{
    color:#444;
}

#faitalpro div.brand-text h3{
    color:#fff;
}

.half button {
  font-family: "Poppins", sans-serif;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.half button.btnfaital{
  background-color: var(--fl-blue);
}

.half button.btnfaital:hover{
  background-color: var(--fl-dkblue);
}

.half button.btnfaitalpro{
  background-color: var(--fl-orange);
}

.half button.btnfaitalpro:hover{
  background-color: var(--fl-dkorange);
}

.half .logo{
    height:110px;
    width: auto;
}

.half div.img-wrp{
    margin:20px 0;
    width:480px;
}

.half div.img-wrp img{
    width:100%;
}

/* GESTIONE LOADER*/
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 10;
}

#overlay.faital{
  background-color: rgba(255, 255, 255, 0.95);
}

#overlay.faitalpro{
  background-color: rgba(0, 0, 0, 0.85);
}

#overlay.active {
  opacity: 1;
  pointer-events: auto;
}


.loader-wrapper {
  position: absolute;
  width: 100px;
  height: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  display: none;
}


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

.bar {
  width: 7px;
  height: 10px;
  margin: 0 3px;
  animation: bounce 0.4s infinite ease-in-out;
  animation-delay: calc(0.1s * var(--index));
  background: linear-gradient(to top, var(--start-color), var(--end-color));
  border-radius:100px;
}

.bar:nth-child(1) {
  --index: 1;
}

.bar:nth-child(2) {
  --index: 2;
}

.bar:nth-child(3) {
  --index: 3;
}

.bar:nth-child(4) {
  --index: 4;
}

.bar:nth-child(5) {
  --index: 5;
}

.bar:nth-child(6) {
  --index: 6;
}

@keyframes bounce {
  0%, 100% {
    height: 10px;
  }
  50% {
    height: 50px;
  }
}

/* Faital loader (Blue) */
.faital-loader .bar {
  --start-color: #0000ff; /* Blue */
  --end-color: #00bfff;   /* Light blue */
}

/* FaitalPro loader (Orange) */
.faitalpro-loader .bar {
  --start-color: #ff7f00; /* Orange */
  --end-color: #ff4500;   /* Dark orange */
}

.loadertext {
  font-size: 14px;
  display: inline-block;
}

.dot {
  opacity: 0;
  animation: dotAnimation 2s infinite;
  padding:0px 1px;
}

.dot:nth-child(1) {
  animation-delay: 0s;
}

.dot:nth-child(2) {
  animation-delay: 0.5s;
}

.dot:nth-child(3) {
  animation-delay: 1s;
}

@keyframes dotAnimation {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

/*GESTIONE ANIMAZIONE DIV AUTO E PRO*/

.expanding {
  flex: 0;
}

.expanded {
  flex: 1 1 100%;
}


@media only screen and (max-width: 1400px) and (orientation: portrait) {
    .container {
        flex-direction: column;
    }
}


/*TABLET-----------------------------------------------------*/
@media only screen and (max-width: 1400px) {

.half:hover .elements{
  transform: none;
}
    
.half div.img-wrp{
    margin:20px 0;
    width:350px;
}
    
.half .logo{
    height:70px;
}
    
div.brand-text h3{
    font-size:18px;
}
    
.half button {
  padding: 15px 30px;
  font-size: 18px;
}

    
}

/*CELLULARE-----------------------------------------------------*/

@media only screen and (max-width: 1024px) and (orientation: landscape) {
.half div.img-wrp{
    display:none;
}
    
.half .logo{
    height:100px;
}

.half button {
  padding: 15px 30px;
  font-size: 16px;
  margin-top:20px;
}
}

@media only screen and (max-width: 600px) {
.half .logo{
    height:90px;
}    

.half div.img-wrp{
    display:none;
}
    
div.brand-text h3{
    font-size:18px;
}
    
.half button {
  padding: 15px 30px;
  font-size: 16px;
  margin-top:20px;
}
 
}
