@tailwind base;
@tailwind components;
@tailwind utilities;

@layer utilities {
  .h-132 {
    height: 132px;
  }

  .max-w-1200 {
    max-width: 1200px;
  }

  .text-farusac {
    font-family: 'Roboto', Sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .border-line {
    border-bottom: 1px solid !important;
    border-color: rgba(209, 213, 219, var(--tw-border-opacity)) !important;
  }

  .text-footer {
    font-family: 'Roboto', Sans-serif;
    font-size: 14px;
    font-weight: 400;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .videoback {
    object-fit: cover !important;
    position: absolute !important;
    top: 100px !important;
    left: 0 !important;
    height: 100% !important;
    width: 100% !important;
    z-index: 0;
  }

  iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
  }

  .video-container {
    width: 100vw;
    height: 100vh;
  }
  .screenback {
    position: absolute;
    background-color: rgba(2, 2, 2, 0.47);
    background-size: cover;
    width: 100vw;
    height: 100vh;
    z-index: 1;
  }

  .onscreen {
    z-index: 10;
  }
}

@media (min-aspect-ratio: 16/9) {
  .video-container iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 54.25vw;
    margin-top: -150px;
  }

  .screenback {
    height: 54.25vw;
    margin-top: -150px;
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-container iframe {
    /* width = 100 / (9 / 16) = 177.777777 */
    /* width: 56vh;
    height: 900px; */
    display: none;
  }
  .screenback {
    display: none;
  }
}

/* header */
.grow {
  transition: all 0.2s ease-in-out !important;
}

.grow:hover {
  transform: scale(1.1) !important;
}

.header-farusac {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
  width: 100%;
}

.header-farusac ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
}

.header-farusac li a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
}

/* .header-farusac li a:hover,
.header-farusac .menu-btn:hover {
  background-color: #f4f4f4;
} */

.header-farusac .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header-farusac .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  position: relative;
  margin-top: 65px;
}

/* menu icon */

.header-farusac .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header-farusac .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}

.header-farusac .menu-icon .navicon:before,
.header-farusac .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.header-farusac .menu-icon .navicon:before {
  top: 5px;
}

.header-farusac .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header-farusac .menu-btn {
  display: none;
}

.header-farusac .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header-farusac .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header-farusac .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header-farusac .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header-farusac .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header-farusac .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 48em) {
  .header-farusac li {
    float: left;
  }
  .header-farusac li a {
    padding: 15px 30px;
  }
  .header-farusac .menu {
    clear: none;
    float: right;
    max-height: none;
  }

  .header-farusac .menu-icon {
    display: none;
  }
}

/* 400px */

@media only screen and (max-width: 400px) {
  .header-farusac .menu {
    position: absolute;
    margin-top: 40px;
    width: 100%;
    left: 0;
    top: 60px;
    padding: 20px;
    height: auto;
  }
  .video-container iframe {
    /* height = 100 * (9 / 16) = 56.25 */
    height: 35vw;
    margin-top: -150px;
    width: 380px !important;
  }
  .blue-header {
    min-height: 70px !important;
  }
}

.gradientfill {
  background: rgba(255, 255, 255, 0);
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 1)));
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0 );
}
/*--------------------------------------------------------------------------------------------------*/
.break-text-title {
  overflow: hidden;
  position: relative;
  line-height: 1.2em;
  text-align: center;
  max-height: 2.6em;
  padding-right: 1em;
}

.break-text {
  overflow: hidden;
  position: relative;
  line-height: 1.2em;
  text-align: center;
  max-height: 5em;
  padding-right: 1em;
}

.break-text:before {
  content: '…';
  position: absolute;
  right: 0;
  bottom: 0;
}

.break-text:after {
  content: ' ';
  position: absolute;
  right: 0;
  width: 1em;
  height: 1em;
  margin-top: 0.2em;
}

/*-------------------LOADER-------------------------------------------------------------------------------*/

.dots-bars-6 {
  opacity: 0.4;
  width: 40px;
  height: 20px;
  margin-top: 35px;
  --c: radial-gradient(farthest-side, currentColor 93%, #0000);
  background: var(--c) 0 0, var(--c) 50% 0;
  background-size: 8px 8px;
  background-repeat: no-repeat;
  position: relative;
  clip-path: inset(-200% -100% 0 0);
  animation: db6-0 1.5s linear infinite;
}
.dots-bars-6:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 12px;
  background: currentColor;
  left: -16px;
  top: 0;
  animation: db6-1 1.5s linear infinite, db6-2 0.5s cubic-bezier(0, 200, 0.8, 200) infinite;
}
.dots-bars-6:after {
  content: '';
  position: absolute;
  inset: 0 0 auto auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: db6-3 1.5s linear infinite;
}

@keyframes db6-0 {
  0%,
  30% {
    background-position: 0 0, 50% 0;
  }
  33% {
    background-position: 0 100%, 50% 0;
  }
  41%,
  63% {
    background-position: 0 0, 50% 0;
  }
  66% {
    background-position: 0 0, 50% 100%;
  }
  74%,
  100% {
    background-position: 0 0, 50% 0;
  }
}

@keyframes db6-1 {
  90% {
    transform: translateY(0);
  }
  95% {
    transform: translateY(15px);
  }
  100% {
    transform: translateY(15px);
    left: calc(100% - 8px);
  }
}

@keyframes db6-2 {
  100% {
    top: -0.1px;
  }
}

@keyframes db6-3 {
  0%,
  80%,
  100% {
    transform: translate(0);
  }
  90% {
    transform: translate(26px);
  }
}

/*-------------------NOTIFICATION-------------------------------------------------------------------------------*/

:root {
  --success: #3fbd63c4;
  --success-md: #3fbd637c;
  --success-l: #3fbd632d;
  --info: #0069dec4;
  --info-md: #0069de7c;
  --info-l: #0069de2d;

  --warning: #ef9400c4;
  --warning-md: #ef94007c;
  --warning-l: #ef94002d;

  --danger: #ea4e2cc4;
  --danger-md: #ea4e2c7c;
  --danger-l: #ea4e2c2d;
}

.notification {
  background-color: #fff;
  padding: 15px;
  width: 100% !important;
  border-radius: 20px;
  box-shadow: 0 2px 5px #00000033;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

i {
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  width: 37px;
  height: 37px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.notification span {
  font-size: 18px;
  color: #5d6672 !important;
  line-height: 1.6;
  white-space: nowrap;
}
.notification.success {
  border: 1px solid var(--success-md);
  background-color: var(--success-l);
}
.notification.success i {
  background-color: var(--success);
}

/*******/
.notification.info {
  border: 1px solid var(--info-md);
  background-color: var(--info-l);
}
.notification.info i {
  background-color: var(--info);
}

/*******/
.notification.warning {
  border: 1px solid var(--warning-md);
  background-color: var(--warning-l);
}
.notification.warning i {
  background-color: var(--warning);
}

.notification.warning .icon {
  background-color: var(--warning);
}
/********/
.notification.danger {
  border: 1px solid var(--danger-md);
  background-color: var(--danger-l);
}
.notification.danger i {
  background-color: var(--danger);
}

.fa-times {
  position: absolute;
  right: 15px;
  color: #777;
  background-color: transparent !important;
}
