﻿/*
STYLE SHEET DEVELOPED FOR petol.com BY PROMIT (www.texaswebmarketing.com)
ALL RIGHTS RESERVED. COPYRIGHT 2022 PROMIT.
*/

.banner video {
    min-width: 100%;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    filter: opacity(40%);
    zoom: 1;
}

.section { background-size: cover; }
.section .pp-tableCell, .banner-content { background-color: rgba(255,255,255,0.7); }
.section p { margin-bottom: 0; }

#petolvideo { max-width: 800px; }
.mobile, .mobile-banner, p:empty { display: none; }

.rw-sentence {
    position: absolute;
    top: 30%;
    left: 10%;
    letter-spacing: 1px;
    font-size: 200%;
    font-weight: 700;
    color: #000;
    opacity: 0;
    pointer-events: none;
    transition: all 5000ms;
}
.active .rw-sentence { right: 65%; opacity: 0.8; letter-spacing: 6px; }
.rw-words { display: inline; text-align: center; /*font-size: 30px;*/ line-height: 0.75em; font-variant-caps: all-small-caps; }
.rw-words span.bword {
    position: absolute;
    opacity: 0;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    font-family: eurostile-extended, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 100%;
    animation: rotateWords 33s linear infinite 0s;
}
.rw-words span.sphrase { font-size: 13px; /*line-height: 1em;*/ font-variant-caps: normal; }
.rw-words span.bword:nth-child(2) { animation-delay: 8s; }
.rw-words span.bword:nth-child(3) { animation-delay: 16s; }
.rw-words span.bword:nth-child(4) { animation-delay: 24s; }
.rw-words span.bword:nth-child(5) { animation-delay: 18s; }
@keyframes rotateWords {
    0% { opacity: 0; animation-timing-function: ease-in; bottom: -30px; }
    10% { opacity: 0.3; bottom: 70px; }
    15% { opacity: 0.5; bottom: 130px; }
    25% { opacity: 0.3; bottom: 200px; }
    35% { opacity: 0; bottom: 300px; }
    100% { opacity: 0; bottom: 400px; }
}

.top-text {
    display: none;    
    position: absolute;
    top: 16px;
    left: 10%/*35%*/;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 1.1em;
    color: #000;
    opacity: 1;
    z-index: 99;
    pointer-events: none;
    transform-origin: left;
    transition: all 5000ms;
}
.active .top-text { left: 30%/*40%*/; opacity: 1; letter-spacing: 2px; }

#our-intro p { display: none; }



@media (min-width: 576px) {
    .top-text { display: block; }
    #our-intro p { display: block; }
}
@media (min-width: 768px) {
    .top-text { top: 14px; left: 15%/*35%*/; letter-spacing: 1px; font-size: 22px; }
    .active .top-text { left: 25%/*40%*/; opacity: 1; letter-spacing: 3px; }    
    .rw-sentence { top: 35%; left: 40%; font-size: 250%; }
    .rw-words { font-size: 40px; line-height: 0.65em; }
    .rw-words span.bword { font-size: 200%; }
    .rw-words span.sphrase { font-size: 24px; line-height: 1.2em; }
    .section p { font-size: 1em; font-weight: normal; margin-bottom: 0; }
}
@media (min-width: 992px) {
    .top-text { top: 6px; left: 10%/*20%*/; letter-spacing: 2px; font-size: 24px; }
    .active .top-text { left: 25%/*30%*/; opacity: 1; letter-spacing: 5px; }    
    .rw-sentence { top: 25%; left: 35%; font-size: 300%; }    
    .active .rw-sentence { right: 65%; opacity: 0.8; letter-spacing: 6px; }
    .section p { font-size: 1.15em; font-weight: normal; }
    #our-intro h1 { font-size: 2rem; }
}
@media (min-width: 1200px) {
    #petolvideo { max-width: 930px; }
}
@media only screen and (max-width: 640px) {
    .mobile-banner { display: block; width: 100%; height: 100%; background: #fff url('/images/home-mobile-banner.jpg') no-repeat center center; background-size: cover; filter: opacity(40%); }
    .banner video { display: none; }
}
@media (max-height: 545px)  {
    #our-intro p { display: none; }
    .banner video { zoom: 0.8; }
}
@media (max-height: 510px) {
    .rw-sentence { top: 25%; left: 40%; font-size: 150%; }
}
@media (max-height: 430px)  {
    .banner video { zoom: 0.7; }
}