#gameon {
  font-size: 16px;
  font-family: "Barlow", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.3;
}
#gameon h1, #gameon h2, #gameon h3, #gameon h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.btn-red {
    background: var(--red-color);
    border: 1.5px solid var(--red-color);
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    padding: 15px 30px;
}

#gameon .text-white {
  color: #fff !important;
}
#gameon .text-black {
  color: #000 !important;
}
#gameon .text-red {
  color: red !important;
}
#gameon .btn {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-family: "Barlow", sans-serif;
  font-weight: 500;
}
#gameon .btn-white {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #fff;
}
#gameon .btn-white:hover {
  background-color: rgb(229.5, 229.5, 229.5) !important;
  color: #fff !important;
}
#gameon .btn-black {
  background-color: #000 !important;
  color: #fff !important;
  border: 1px solid #000;
}
#gameon .btn-black:hover {
  background-color: #fff !important;
  color: #000 !important;
}
#gameon .btn-red {
  background-color: red !important;
  color: #fff !important;
  border: 1px solid red;
}
#gameon .btn-red:hover {
  background-color: #fff !important;
  color: #000 !important;
}
#gameon section,
#gameon .section {
  padding: max(1.5rem, 3vw) 0;
}
#gameon section.hero-section {
  min-height: 100vh;
  background: url("../images/gameon/hero-bg.jpg") no-repeat;
  background-size: cover;
  background-position: right center;
}
#gameon section.mid-section {
  min-height: 100vh;
  background: url("../images/gameon/Hero\ Image.jpg") no-repeat;
  background-size: cover;
  background-position: right center;
}
#gameon section.hero-section p {
  font-size: max(1.2rem, 1.5vmax);
  color: white;
}
#gameon section.mid-section p {
  font-size: max(1.2rem, 1.5vmax);
  color: white;
}
#gameon section h2.section-title {
  font-size: max(2rem, 3vmax);
}
#gameon .logo {
  font-family: "Barlow Condensed", sans-serif;
}
#gameon .logo .lead-line {
  font-weight: 600;
  font-size: 1.5rem;
  text-transform: uppercase;
}
#gameon .logo img {
  height: 150px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
#gameon .feature-icon .icon {
  font-size: 3rem;
  color: rgba(255, 0, 0, 0.5);
}
#gameon .feature-icon p {
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  #gameon #gameon {
    font-size: 18px;
  }
  #gameon .logo .lead-line {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
  }
  #gameon .logo img {
    height: 85px;
  }
}

.h-100vh {
  min-height: 100vh;
}

.border-red{
  border:2px solid red;
  border-radius: 1rem;
}

.content p {
  font-size: 20px !important;
  color: white;
}

  .red-border-bottom {
    width: 44px;
    height: 2px;
    background: red;
    margin: 0 0 0.8rem;
}
  .red-border-bottom2 {
    width: 10%;
    height: 2px;
    background: red;
    margin: 0 0 0.8rem;
}

.content{
  /* background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url('<?= base_url('assets/images/gameon/Hero\ Image.jpg') ?>'); */
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url('../images/gameon/Hero\ Image.jpg');
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center;
    /* height:100vh; */
    background-attachment: fixed;
}


/* ================================
   FLIP BOX
================================ */

.flip-box2 {
    width: 100%;
    height: 100%;
    min-height: 180px;
    perspective: 1000px;
    position: relative;
}

.flip-box-inner2 {
    position: relative;
    width: 100%;
    min-height: 190px;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
}

/* Desktop hover */
@media (min-width: 768px) {
    .flip-box2:hover .flip-box-inner2 {
        transform: rotateY(180deg);
    }
}


/* ================================
   FRONT + BACK
================================ */

.flip-box-front2,
.flip-box-back2 {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 180px;

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    border-radius: 30px;
    overflow: hidden;

    box-sizing: border-box;
}


/* ================================
   FRONT
================================ */

.flip-box-front2 {
    color: #fff;

    display: flex;
    align-items: start;
    justify-content: center;

    padding: 40px;
}


/* Front content */

.flip-box-front2 .row {
    width: 100%;
    margin: 0;
    align-items: center;
}

.flip-box-front2 h3 {
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.25;
    margin-bottom: 10px;
}

.flip-box-front2 p {
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.5;
    margin-bottom: 0;
}


/* Icon */

.flip-box-front2 img {
    max-width: 60px;
    width: 60px;
    height: auto;
    object-fit: contain;
}


/* ================================
   BACK
================================ */

.flip-box-back2 {
    color: #fff;

    transform: rotateY(180deg);

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
        ),
        url('../images/gameon/Hero Image.jpg');

    background-size: cover;
    background-position: center;

    /* display: flex; */
    display: grid;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;

    padding: 20px 30px;
}


/* Back items */

.flip-box-back2 .d-flex {
    width: 100%;
    justify-content: flex-start !important;
    margin: 5px 0;
}

.flip-box-back2 img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    flex-shrink: 0;
}

.flip-box-back2 h3 {
    font-size: clamp(15px, 1.5vw, 21px);
    line-height: 1.3;
    margin: 0;
}


/* ================================
   GLASS CARD
================================ */

.glass-card2.dark {
    width: 100%;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 2rem;
    padding: 1rem;

    color: var(--light) !important;

    background:
        linear-gradient(
            45deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 35%,
            rgba(255, 255, 255, 0.05) 35%,
            rgba(255, 255, 255, 0.05) 70%,
            rgba(255, 255, 255, 0) 70%,
            rgba(255, 255, 255, 0) 100%
        ),
        #ffffff29;

    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.06);

    border: 2px solid rgba(255, 255, 255, 0.233);
}


/* ================================
   TABLET
================================ */

@media (max-width: 991px) {

    .flip-box2,
    .flip-box-inner2,
    .flip-box-front2,
    .flip-box-back2 {
        /* min-height: 200px; */
    }

    .flip-box-front2 {
        padding: 18px;
    }

    .flip-box-back2 {
        padding: 20px;
        border-radius: 18px !important;
    }
}


/* ================================
   MOBILE
================================ */

@media (max-width: 767px) {

    .glass-card2.dark {
        border-radius: 1.25rem;
        padding: 10px;
    }

    .flip-box2 {
        /* min-height: 260px; */
        perspective: 1000px;
    }

    .flip-box-inner2 {
        /* min-height: 260px; */
    }

    .flip-box-front2,
    .flip-box-back2 {
        /* min-height: 260px; */
        border-radius: 10px;
    }


    /* Front */
    .flip-box-front2 {
        padding: 20px 16px;
    }

    .flip-box-front2 .row {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .flip-box-front2 .col-lg-9 {
        width: 100%;
    }

    .flip-box-front2 .col-lg-2 {
        width: 100%;
        margin-top: 15px;
    }

    .flip-box-front2 h3 {
        font-size: 19px;
        /* text-align: center !important; */
    }

    .flip-box-front2 p {
        font-size: 15px;
        /* text-align: center !important; */
        line-height: 1.5;
    }

    .flip-box-front2 img {
        width: 50px;
        height: 50px;
    }

    /* Back */
    .flip-box-back2 {
        padding: 20px 18px;
        align-items: flex-start;
    }

    .flip-box-back2 .d-flex {
        gap: 10px !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    .flip-box-back2 img {
        width: 30px;
        height: 30px;
    }

    .flip-box-back2 h3 {
        font-size: 15px;
        line-height: 1.35;
    }
}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

    .flip-box2,
    .flip-box-inner2,
    .flip-box-front2,
    .flip-box-back2 {
        /* min-height: 280px; */
    }

    .flip-box-front2,
    .flip-box-back2 {
        /* min-height: 280px; */
    }

    .flip-box-front2 {
        padding: 18px 30px;
    }

    .flip-box-front2 h3 {
        /* font-size: 17px; */
        font-size: calc(1.3rem + .6vw);
    }

    .flip-box-front2 p {
        font-size: 15px;
    }

    .flip-box-back2 {
        padding: 18px 15px;
    }

    .flip-box-back2 h3 {
        font-size: 20px;
    }

    .flip-box-back2 img {
        width: 27px;
        height: 27px;
    }
}

@media screen and (min-width: 768px) {
    .flip-box2:hover .flip-box-inner2 {
        transform: rotateY(180deg);
    }
}
@media (max-width: 767px) {
    .flip-box2.is-flipped .flip-box-inner2 {
        transform: rotateY(180deg);
    }
}

.glass-card2{
  border: 1px solid white;
    border-radius: 1rem;
}