@import
url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,100;9..144,400;9..144,500;9..144,700&family=Vazirmatn:wght@400;500;700&display=swap");

/** Banner size */
#wide-skyscraper {
  width: 160px;
  height: 600px;
}

#half-page {
  width: 300px;
  height: 600px;
}

#vertical-rectangle {
  width: 240px;
  height: 400px;
}

#mobile-leaderboard {
  width: 320px;
  height: 50px;
}

#banner {
  width: 468px;
  height: 60px;
}

#leaderboard {
  width: 728px;
  height: 90px;
}

#large-rectangle {
  width: 336px;
  height: 280px;
}

#inline-rectangle {
  width: 300px;
  height: 250px;
}

#billboard {
  width: 970px;
  height: 250px;
}

#netboard {
  width: 580px;
  height: 400px;
}

/** Banner style */
.banner-wrapper {
  font-family: "Times New Roman", Helvetica, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  font-smooth: always;
  text-rendering: optimizeLegibility;
  color: #fff;
}

.banner-wrapper a {
  cursor: pointer;
}

.banner-wrapper a.banner-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

.banner-wrapper > p {
  color: black; 
}

.banner-wrapper h1, .banner-wrapper h2, .banner-wrapper h3 {
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.banner-wrapper h1 {
  font-family: 'Vazirmatn';
  font-weight: 700;
}

.banner-wrapper h3 {
  font-family: 'Fraunces';
  font-weight: 100;
}

.banner-wrapper img {
  image-rendering: auto;
}

.banner-wrapper img:not([src]) {
  display: none;
}

.banner-wrapper > div {
  position: relative;
  overflow: hidden;
  font-family: "Times New Roman", Helvetica, serif;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: subpixel-antialiased;
  font-smooth: always;
  text-rendering: optimizeLegibility;
  text-size-adjust: 100%;
}

.banner-wrapper .image-area {
  z-index: 3;
  overflow: hidden;
}

.banner-wrapper .image-area img {
  width: 100%;
  height: 100%;
}

.banner-wrapper .logo-area {
  display: flex;
  flex: 1 1 0%;
  justify-content: center;
  align-items: center;
}

.banner-wrapper .title-area, .banner-wrapper .subtitle-area {
  z-index: 5;
}

.banner-wrapper .banner-border {
  display: flex;
  background: #000;
}

.banner-wrapper .table, .banner-wrapper .table-cell {
  display: block;
  width: 100%;
  height: 100%;
}

#wide-skyscraper,
#half-page,
#vertical-rectangle,
#large-rectangle,
#inline-rectangle,
#netboard {
  flex-direction: column;
}

#wide-skyscraper .content-area {
  max-height: 550px;
}

#wide-skyscraper .content-area h1 {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1.92px;
}

#wide-skyscraper .content-area h3 {
  font-size: 16px;
  letter-spacing: 1.68px;
  margin-top: 5px;
}

#wide-skyscraper .logo-area .banner-company-logo {
  max-width: 133px;
}

#half-page .content-area {
  max-height: 530px;
}

#half-page .content-area h1 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 2.64px;
}

#half-page .content-area h3 {
  font-size: 22px;
  letter-spacing: 2.04px;
  margin-top: 5px;
}

#half-page .logo-area .banner-company-logo {
  max-width: 173px;
}

#vertical-rectangle .content-area {
  max-height: 350px;
}

#vertical-rectangle .content-area h1 {
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 2.16px;
}

#vertical-rectangle .content-area h3 {
  font-size: 18px;
  letter-spacing: 1.92px;
  margin-top: 5px;
}

#vertical-rectangle .logo-area .banner-company-logo {
  max-width: 133px;
}

#large-rectangle .content-area {
  max-height: 236px;
}

#large-rectangle .content-area h1 {
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 2.16px;
}

#large-rectangle .content-area h3 {
  font-size: 18px;
  letter-spacing: 1.92px;
  margin-top: 5px;
}

#large-rectangle .logo-area .banner-company-logo {
  max-width: 123px;
}

#inline-rectangle .content-area {
  max-height: 210px;
}

#inline-rectangle .content-area h1 {
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 2.04px;
}

#inline-rectangle .content-area h3 {
  font-size: 17px;
  letter-spacing: 1.8px;
  margin-top: 5px;
}

#inline-rectangle .logo-area .banner-company-logo {
  max-width: 103px;
}

#netboard .content-area {
  max-height: 330px;
}

#netboard .content-area h1 {
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 2.64px;
}

#netboard .content-area h3 {
  font-size: 22px;
  letter-spacing: 2.16px;
  margin-top: 5px;
}

#netboard .logo-area .banner-company-logo {
  max-width: 180px;
}

#mobile-leaderboard .logo-area,
#banner .logo-area,
#leaderboard .logo-area,
#billboard .logo-area {
  order: -1;  
}

#mobile-leaderboard .content-area {
  max-width: 292px;
}

#mobile-leaderboard .content-area h1 {
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 1.32px;
}

#mobile-leaderboard .content-area h3 {
  font-size: 11px;
  letter-spacing: 1.2px;
}

#mobile-leaderboard .logo-area .banner-company-logo {
  max-width: 8px;
}

#banner .content-area {
  max-width: 438px;
}

#banner .content-area h1 {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 1.44px;
}

#banner .content-area h3 {
  font-size: 12px;
  letter-spacing: 1.32px;
}

#banner .logo-area .banner-company-logo {
  max-width: 9px;
}

#leaderboard .content-area {
  max-width: 684px;
}

#leaderboard .content-area h1 {
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 1.92px;
}

#leaderboard .content-area h3 {
  font-size: 16px;
  letter-spacing: 1.8px;
}

#leaderboard .logo-area .banner-company-logo {
  max-width: 14px;
}

#billboard .content-area {
  max-width: 890px;
}

#billboard .content-area h1 {
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 2.88px;
}

#billboard .content-area h3 {
  font-size: 24px;
  letter-spacing: 2.16px;
}

#billboard .logo-area .banner-company-logo {
  max-width: 34px;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.text-area {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  inset: 0;
  padding: 0.25rem;
}

.text-area h1 {
  text-transform: uppercase;
}

.text-area h3 {
  color: #fff !important;
}

.image-area::before {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #000;
  opacity: 0.5;
}
