/*------------------------------------------------------------------
[Table of contents]
1. Global CSS & Imports
2. Custom Components
-------------------------------------------------------------------*/

/* ===================================
    1. Global CSS & Imports
====================================== */
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700,700i');

body {
    font-family: 'Rubik', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section {
  scroll-margin-top: 80px; /* altura do header fixo */
}

.doc-loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background-color: #000;
}

.doc-loader img {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;    
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ===================================
    2. Custom Components
====================================== */

/* Title Holder with triangle */
.page-title-holder::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 128px 60px 0 0; /* h-32 -> 128px */
    border-color: #17427b transparent transparent transparent;
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(100%);
}

@media screen and (max-width: 767px) {
    .page-title-holder {
        width: 200px;
        height: 100px;
    }
    .page-title-holder h3 {
        margin-top: 0;
        font-size: 14px;
    }
    .page-title-holder::after {
        border-width: 100px 50px 0 0;
    }
}

/* Safari on iOS specific fixes for viewport height */
.safari-ios #mobile-hero-container {
  /* Use 'dvh' for dynamic viewport height to adapt when browser UI appears/disappears. 80px is the header height. */
  height: calc(100dvh - 80px);
}

.safari-ios #mobile-video-wrapper {
  bottom: 20px;
}

.safari-ios #mobile-content-card {
  /* The original card was positioned 10px above the bottom of the video wrapper.
     The video wrapper's bottom is now 20px, so we position the card at 30px. */
  bottom: 30px;
}
