/* 
   Theme Name: Madagascar Theme
   Theme URI: https://simtail.au
   Author: Jaclyn Tan
   Author URI: https://simtail.com
   Description: Boilerplate Wordpress theme for Simtail websites
   Version: 0.1.0
*/


@charset "UTF-8";
html {
  font-size: 62.5%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Sections */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.2;
  color: inherit;
}

h1 {
  font-size: 4.6rem;
}

h2 {
  font-size: 4rem;
}

h3 {
  font-size: 3.4rem;
}

h4 {
  font-size: 2.8rem;
}

h5 {
  font-size: 2.2rem;
}

h6 {
  font-size: 1.6rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.3rem;
}

/* Grouping content
 */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
  white-space: pre-wrap;
}

/* Text-level semantics
 */
a {
  background-color: transparent;
  text-decoration: none;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
 */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

/* Interactive
 */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

figcaption {
  font-size: 16px;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400;
}

/* now for some Elementor tomfoolery */
.text-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.2em;
  line-height: 1.1;
}
.text-row .row-label {
  font-weight: 800;
  min-width: 95px;
}
.text-row .row-text {
  width: 60%;
}

h1,
h2 {
  font-size: min(max(5rem, 8vw), 8rem) !important;
  line-height: 1.1 !important;
}

.opening-hours {
  margin-bottom: 1em;
}

.opening-hours,
.phone,
.website {
  min-width: 300px;
}
@media only screen and (max-width: 1024px) {
  .opening-hours,
  .phone,
  .website {
    min-width: 280px;
  }
}
@media only screen and (max-width: 400px) {
  .opening-hours,
  .phone,
  .website {
    min-width: 100%;
  }
}

/*
♡♡♡♡♡♡♡♡♡♡♡
♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥
Cards
♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥♥
♡♡♡♡♡♡♡♡♡♡♡
*/
.hover-card {
  background-color: #fff;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}
@media only screen and (max-width: 767px) {
  .hover-card {
    height: auto;
    width: 100%;
    padding-bottom: 0;
  }
}
.hover-card:hover .back {
  visibility: visible;
  opacity: 100%;
  transform: rotateY(0deg);
  transition-delay: 0.1s;
}
.hover-card:hover .front {
  transform: rotateY(180deg);
}
@media only screen and (max-width: 767px) {
  .hover-card:hover .front {
    transform: none;
  }
}
.hover-card .front,
.hover-card .back {
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  height: 100%;
  width: 100%;
  overflow: auto;
  transition: 0.3s ease all;
  transform: rotateY(0deg);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
@media only screen and (max-width: 767px) {
  .hover-card .front,
  .hover-card .back {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    transform: none;
  }
}
.hover-card .front {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hover-card .back {
  background-color: #ddf3de;
  padding: 20px;
  font-size: min(max(1.6rem, 2vw), 1.8rem);
  visibility: hidden;
  opacity: 0;
}
.hover-card .back .inner {
  margin: 20px auto;
  width: auto;
  min-width: 280px;
}
@media only screen and (max-width: 1024px) {
  .hover-card .back {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
}
@media only screen and (max-width: 767px) {
  .hover-card .back {
    visibility: visible;
    opacity: 100%;
    padding: 20px;
  }
}
.hover-card .back a {
  font-size: min(max(1.6rem, 2vw), 1.8rem);
}
.hover-card h4 {
  text-align: center;
  margin-bottom: 0.7em;
}
.hover-card img {
  display: block;
  margin: 20px auto;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}
.hover-card.show-hidden .back {
  display: block;
}

strong {
  font-weight: 800;
}

#toggled-content > *.active {
  display: block;
}

.scroll-top header {
  height: 90px;
  height: 110px;
  transition: 0.3s ease all;
}
@media only screen and (max-width: 767px) {
  .scroll-top header {
    min-height: initial;
  }
}
.scroll-top #logo img {
  width: 100%;
  transition: 0.3s ease all;
}

header {
  z-index: 101;
}
header #logo img {
  width: 100%;
  transition: 0.3s ease all;
}
header.elementor-sticky--effects {
  background-color: var(--e-global-color-primary);
  height: 90px;
  min-height: initial;
  transition: 0.3s ease all;
}
@media only screen and (max-width: 767px) {
  header.elementor-sticky--effects {
    height: 80px;
    min-height: initial;
  }
}
header.elementor-sticky--effects #logo img {
  width: 90%;
  transition: 0.3s ease all;
}

/*# sourceMappingURL=style.css.map */