/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  section {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

section:last-child {
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  section:last-child {
    margin-bottom: 8rem;
  }
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .grid {
    gap: 20px;
  }
}
.grid > [class*=col-] {
  box-sizing: border-box;
  padding: 40px;
  flex-basis: calc(8.3333333333% - 7.5px);
  flex-grow: 0;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .grid > [class*=col-] {
    padding: 30px;
  }
}
.grid .col-1 {
  flex-basis: calc(8.3333333333% - 20px);
}
.grid .col-2 {
  flex-basis: calc(16.6666666667% - 20px);
}
.grid .col-3 {
  flex-basis: calc(25% - 20px);
}
.grid .col-4 {
  flex-basis: calc(33.3333333333% - 20px);
}
.grid .col-5 {
  flex-basis: calc(41.6666666667% - 20px);
}
.grid .col-6 {
  flex-basis: calc(50% - 20px);
}
.grid .col-7 {
  flex-basis: calc(58.3333333333% - 20px);
}
.grid .col-8 {
  flex-basis: calc(66.6666666667% - 20px);
}
.grid .col-9 {
  flex-basis: calc(75% - 20px);
}
.grid .col-10 {
  flex-basis: calc(83.3333333333% - 20px);
}
.grid .col-11 {
  flex-basis: calc(91.6666666667% - 20px);
}
.grid .col-12 {
  flex-basis: 100%;
}
@media (max-width: 768px) {
  .grid > [class*=col-] {
    flex-basis: 100%;
  }
}

.nopad {
  padding: 0 !important;
}

@font-face {
  font-family: "Speedee Regular";
  src: url("../fonts/Speedee-Regular.woff2") format("woff2"), url("../fonts/Speedee-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Speedee Bold";
  src: url("../fonts/Speedee-Bold.woff2") format("woff2"), url("../fonts/Speedee-Bold.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
h1 {
  font-size: 5rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 4rem;
  }
}

h2 {
  font-size: 3.5rem;
}
@media (max-width: 768px) {
  h2 {
    font-size: 2.8rem;
  }
}

h3 {
  font-size: 2.5rem;
}
@media (max-width: 768px) {
  h3 {
    font-size: 2rem;
  }
}

h4 {
  font-size: 1.75rem;
}
@media (max-width: 768px) {
  h4 {
    font-size: 1.4rem;
  }
}

h5 {
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  h5 {
    font-size: 1.2rem;
  }
}

h6 {
  font-size: 1.25rem;
}
@media (max-width: 768px) {
  h6 {
    font-size: 1rem;
  }
}

body {
  font-size: 1rem;
}
@media (max-width: 768px) {
  body {
    font-size: 0.8rem;
  }
}

small {
  font-size: 0.875rem;
}
@media (max-width: 768px) {
  small {
    font-size: 0.7rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: normal;
  line-height: 1.15;
  font-family: "Speedee Bold";
}

@media (max-width: 768px) {
  h3 {
    font-size: 1.8rem;
  }
}
body {
  font-size: 1rem;
  line-height: 1.6;
  font-family: "Speedee Regular";
}
@media (max-width: 768px) {
  body {
    font-size: 0.8rem;
  }
}

p:not(:last-child) {
  margin-bottom: 1rem;
}

small {
  font-size: 0.875rem;
}
@media (max-width: 768px) {
  small {
    font-size: 0.7rem;
  }
}

.text_center {
  text-align: center;
}

button {
  padding: 10px 20px;
  background: #7066ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background: #4033ff;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(2.5);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) scale(2.5);
  }
}
.video-player {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  overflow: hidden;
  /* Controls should fade out when video is playing */
}
.video-player video {
  width: 100%;
  display: block;
}
.video-player .controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  color: #fff;
  font-family: Arial, sans-serif;
  position: absolute;
  bottom: 0;
  padding: 30px;
  width: calc(100% - 60px);
  opacity: 1; /* Controls are visible on load */
  visibility: visible;
  transition: opacity 0.3s ease; /* Smooth fade in/out */
  /* Controls appear when hovering over the video or the controls themselves */
}
@media (max-width: 768px) {
  .video-player .controls {
    padding: 10px;
  }
}
.video-player .controls:hover,
.video-player .controls video:hover ~ .controls {
  opacity: 1; /* Ensure controls appear when hovering over video */
  visibility: visible;
}
.video-player .controls button {
  background: #DB3F9D;
  border: none;
  border-radius: 100%;
  color: #fff;
  padding: 5px 10px;
  height: 80px;
  width: 80px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .video-player .controls button {
    height: 60px;
    width: 60px;
  }
}
.video-player .controls button:hover {
  background: #FFF;
  color: #000;
}
.video-player .controls .seek-bar {
  flex: 1;
  margin: 0 10px;
  height: 4px;
  background: #fff;
  appearance: none;
  outline: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .video-player .controls .seek-bar {
    display: none;
  }
}
.video-player .controls .seek-bar::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  background: #DB3F9D;
  border-radius: 50%;
  cursor: pointer;
}
.video-player .controls .seek-bar::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: #FFBC0D;
  border-radius: 50%;
  cursor: pointer;
}
.video-player .controls .current-time {
  font-size: 14px;
}
@media (max-width: 768px) {
  .video-player .controls .current-time {
    display: none;
  }
}
.video-player.playing .controls {
  opacity: 0; /* Fade out controls when video is playing */
}

div.grey {
  background-color: #F5F5F5;
}

div.pink {
  background-color: #DB3F9D;
  color: #fff;
}
div.pink .title {
  color: #fff;
}

div.yellow {
  background-color: #FBBC0D;
  color: #151515;
}
div.yellow .title {
  color: #151515;
}

.title.pink {
  color: #FBBC0D;
}

.center-texts {
  padding-left: 40px;
  padding-right: 40px;
  max-width: 960px !important;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .center-texts {
    margin-top: 2rem;
  }
}
.center-texts h3, .center-texts h4 {
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  justify-content: space-between;
}
.intro .title {
  max-width: 440px;
}

.br {
  border-radius: 1.5rem;
  overflow: hidden;
}

.logo {
  width: 200px;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 80vh;
  background: url("../media/images/hero-banner.jpg") no-repeat center center/cover;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  overflow: hidden;
  flex-direction: column;
  margin-top: 0;
}
.hero-banner .hero-content {
  max-width: 800px;
}
.hero-banner .hero-content h1 {
  margin-bottom: 1rem;
}
.hero-banner .hero-content p {
  font-size: 1.2rem;
}
.hero-banner .hero-content .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #7066ff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}
.hero-banner .hero-content .btn:hover {
  background: #4033ff;
}
@media (max-width: 768px) {
  .hero-banner {
    height: 50vh;
  }
}

.full_width {
  background: #FBBC0D;
  padding: 7rem 0 8rem 0;
}

.full_width.ui {
  width: 100%;
  display: flex;
  align-content: center;
  background: #FBBC0D;
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .full_width.ui {
    padding: 4rem 0;
  }
}
.full_width.ui:before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  display: block;
  top: 50%;
  left: 50%;
  z-index: 0;
  background: url(../media/images/burst.svg) 0 0 no-repeat;
  animation: rotate 70s infinite;
}
.full_width.ui .phones {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  gap: 20px;
}
.full_width.ui .phones .phone {
  max-width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 1.5s ease-in-out;
}
.full_width.ui .phones .phone:hover {
  transform: translateY(-20px);
}
.full_width.ui .phones .phone .gif {
  max-width: 82%;
  max-height: 300px;
  position: absolute;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transform: translateY(28px);
  border-radius: 0.4rem;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

img {
  max-width: 100%;
}

.gif img {
  height: auto;
  width: 100%;
  margin-bottom: -8px;
}

.videohere {
  background: url("../media/images/img_videohere.jpg") no-repeat center center/cover;
  min-height: 700px;
}

.kids {
  background: url("../media/images/img-kids.jpg") no-repeat center center/cover;
  min-height: 700px;
}

.payment {
  gap: 40px;
  flex-direction: row;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
@media (max-width: 768px) {
  .payment {
    flex-direction: column;
    height: auto;
  }
}
.payment .maccie_logo {
  text-align: center;
}
.payment .maccie_logo img {
  max-width: 170px;
  z-index: -1;
  margin-bottom: 10px;
}
.payment .maccie_logo h4 {
  z-index: 1;
  position: relative;
  margin: 0;
}
.payment .text {
  max-width: 600px;
}

.image-grid {
  position: relative;
}
.image-grid div {
  padding: 0 !important;
  overflow: hidden;
  height: 500px;
}
.image-grid div img {
  position: absolute; /* Ensure the image is positioned inside the column */
  top: 0;
  left: 0;
  width: 100%; /* Make image width cover the column width */
  height: 100%; /* Make image height cover the column height */
  object-fit: cover; /* Cover the entire column with the image, cropping if necessary */
}
