import styled from "styled-components";
import { FaArrowRight } from "react-icons/fa";
import BannerImg from "../assets/Vector19.png";

export const BannerWrapper = styled.div`
  position: relative;
  max-width: 232px;
  border-radius: 36px;
  padding: 30px 16px 21px;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  text-align: center;
  color: #23ffc8;
  background-image: url(${BannerImg});
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: contain;
  border: 1px solid #c6cccc;

  &.bg_dev_banner {
    border-radius: 20px;
    background: linear-gradient(180deg, #00c2c2 0%, #005c5c 100%);
    border: none;
  }
`;

export const BannerTitle = styled.h1`
  font-size: 30px;
  margin: 0;
  font-weight: 800;
  line-height: 42px;
  color: #00c2c2;
`;

export const BannerSubtitle = styled.p`
  font-size: 18px;
  margin: 29px 0;
  color: #00c2c2;
  font-weight: 600;
`;

export const BannerImage = styled.img`
  width: 100%;
  max-width: 800px;
  margin-bottom: -15px;
  margin-top: -10px;
  opacity: 2;
  display: block;
  opacity: 1;
`;

export const BannerCTA = styled.button`
  background-color: #ffbf1e;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  transition: all 0.2s ease-in-out;
  margin: auto 0 10px;
  opacity: 1;

  &:hover {
    background-color: #0062cc;
    cursor: pointer;
  }
`;

export const ArrowIcon = styled(FaArrowRight)`
  margin-left: 0.5rem;
`;

export const AbsoluteSVG = styled.svg`
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
`;

export const DevBannerWrapper = styled.div`
  position: relative;
  max-width: 232px;
  padding: 42px 10px 47px;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 36px;
  border: none;
  /* height: 638px; */

  .dev_ban_inner {
    border-radius: 36px;
    padding: 16px 13px 30px;
    background: linear-gradient(180deg, #00c2c2 0%, #005c5c 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 535px;
    width: 182px;
    margin: 0 auto;
  }

  .dev_banner_title {
    color: #febf10;
    text-align: center;
    font-family: "Nunito" sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.36px;
    margin-bottom: 10px;
    margin-top: 220px;
    line-height: 1;
  }

  .dev_banner_subtitle {
    color: #febf10;
    text-align: center;
    font-family: "Nunito" sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.36px;
    margin-bottom: 20px;
    line-height: 1.1;
  }
  .dev_banner_txt {
    color: #fff;
    text-align: center;
    font-family: "Nunito" sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.32px;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  img {
    width: 203px;
    position: absolute;
    top: 16px;
    z-index: 2;
  }

  .dv_main {
    position: relative;
    /* padding: 0 16px; */
    height: 100%;
    display: flex;
    justify-content: center;
  }

  .slick-dots li.slick-active button:before,
  .slick-dots li button:before {
    content: "";
    display: none;
  }

  .slick-dots li.slick-active button {
    width: 39px !important;
    height: 5px !important;
    background: #febf10;
    border-radius: 0;
  }

  .slick-dots li button {
    width: 8px;
    height: 8px;
    background: #d9d9d9;
    border-radius: 100%;
    padding: 0;
  }

  .slick-dots li {
    width: auto;
    height: auto;
  }
`;

export const DotHolder = styled.div`
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  > span {
    width: 8px;
    height: 8px;
    background: #d9d9d9;
    border-radius: 100%;
    padding: 0;
    transition: all 0.2s ease-in-out;
    &.active {
      background: #febf10;
      width: 39px !important;
      height: 5px !important;
      border-radius: 0;
    }
  }
`;
