/*
Template Name: modish-under-construction-template
File Name: style.css
Author Name: ThemeVault
Author URI: https://www.themevault.net/
License URI: https://www.themevault.net/license/
Version: 2.0
*/
/* Self-hosted fonts (v1 fetched these live from Google) */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/roboto/roboto-300-latin.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto/roboto-700-latin.woff2") format("woff2"); }

/* Root pin: Bootstrap 5 sizes gutters, controls and radii in rem off the
   root; v1 inherited BS3's 10px html / 14px body, which would shrink every
   Bootstrap 5 control. Root back to 16px; body copy pinned in px below. */
html { font-size: 16px; }
body { font-size: 14px; }

/* ---- v1 style.css, verbatim below this line ---- */
html {
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Roboto', sans-serif;
    margin:0;
    color:#000;
    background:#c2edf2;
    font:300 18px/18px Roboto, sans-serif;
}
a, a:hover, a:focus a:active{
    text-decoration: none;
    outline: 0;
}
.box{
    width:50%;
    float: left;
    position: relative;
    padding: 30px 30px 0;
}
.box-content2{
    text-align: center;
    clear: both;
    margin-top:50px;
}
.image img {
    width: 100%;
}
*,:after,:before{box-sizing:border-box}
.pull-left{float:left}
.pull-right{float:right}
.clearfix:after,.clearfix:before{content:'';display:table}
.clearfix:after{clear:both;display:block}
.machine-wrap {
    border-bottom: 5px solid #fec524;
    left: 50%;
    margin-top: 50px;
    position: absolute;
    right: 0;
    transform: translate(-50%);
    width: 360px;
}
.machine {
    height: 145px;
    padding-bottom: 20px;
    width: 250px;
}
.machine .machine-roof,
.machine .machine-main{
    margin:auto;
}
.machine-wrap .road .mud:before,
.machine-wrap .road .mud:after,
.machine .machine-roof .machine-silencer:before,
.machine .machine-roof .machine-silencer:after,
.machine .machine-body:before,
.machine .machine-body:after,
.machine .machine-main .machine-back:before,
.machine .machine-main .machine-back:after,
.machine .machine-main .machine-front:after{
    content:'';
    position:absolute;
}
.machine .machine-roof{
    width:80px;
    height:60px;
    bottom:-1px;
    position:relative;
    background:#c2edf2;
    border:15px solid #28aff9;
    border-bottom:none;
}
.machine .machine-roof .machine-silencer{
    width:14px;
    left:-50px;
    height:12px;
    bottom:-1px;
    position:absolute;
    background:#000;
}
.machine .machine-roof .machine-silencer:before{
    height:0;
    bottom:100%;
    width:inherit;
    border:6px solid #000;
    border-top:4px solid transparent;
    border-left:8px solid transparent;
}
.machine .machine-roof .machine-silencer:after{
    left:4px;
    width:5px;
    height:12px;
    bottom:100%;
    background:inherit;
    transform:skewY(-35deg);
}
.machine .machine-roof .machine-silencer .machine-smoke{
    left:-5px;
    width:16px;
    height:16px;
    bottom:20px;
    border-radius:50%;
    position:absolute;
    background:#000;
    transform:scale(0);
    animation:moveSmoke .5s linear infinite;
}
.machine-main{
    height:60px;
    width:185px;
    position:relative;
}
.machine .machine-main .machine-body{
    height:inherit;
    width:inherit;
    position:relative;
    background:#28aff9;
}
.machine .machine-main .machine-body:before{
    left:-15px;
    width:30px;
    height:inherit;
    background:inherit;
    transform:skewX(-20deg);
}
.machine .machine-main .machine-body:after{
    bottom:0;
    right:15px;
    width:35px;
    height:41px;
    background:#c2edf2;
}
.machine .machine-main .machine-back{
    bottom:-1px;
    width:75px;
    height:45px;
    position:absolute;
}
.machine .machine-main .machine-back:before{
    width:75px;
    height:45px;
    background:#c2edf2;
    border-radius:50% 50% 0 0 / 85% 85% 0 0;
}
.machine .machine-main .machine-back:after{
    top:50%;
    left:50%;
    width:60px;
    height:60px;
    border-radius:50%;
    margin-top:-15px;
    margin-left:-30px;
    background:transparent;
    border:15px solid #784d10;
}
.machine .machine-main .machine-front{
    z-index:1;
    width:60px;
    height:60px;
    right:-24px;
    bottom:-20px;
    border-radius:50%;
    position:absolute;
    background:#784d10;
    border-top:2px solid #c2edf2;
}
.machine .machine-main .machine-front:after{
    top:50%;
    left:50%;
    width:80px;
    height:20px;
    margin-top:-10px;
    margin-left:-40px;
    background:inherit;
    border:2px solid #c2edf2;
}
.machine-wrap .road{
    right:0;
    bottom:0;
    height:15px;
    width:140px;
    overflow:hidden;
    position:absolute;
}
.machine-wrap .road .mud-wrap{
    width:160px;
    position:absolute;
    animation:moveRoad .4s linear infinite;
}
.machine-wrap .road .mud{
    bottom:0;
    width:40px;
    float:left;
    height:15px;
    position:relative;
    display:inline-block;
}
.machine-wrap .road .mud:before,
.machine-wrap .road .mud:after{
    width:20px;
    height:20px;
    border-radius:4px;
    background:#fec524;
    transform:rotate(45deg);
}
.machine-wrap .road .mud:before{
    left:0;
    bottom:-17px;
}
.machine-wrap .road .mud:after{
    right:0;
    bottom:-20px;
}

.machine-wrap .machine-roof,
.machine-wrap .machine-body,
.machine-wrap .machine-silencer,
.machine-wrap .machine-back:before,
.machine-wrap .machine-front{
    animation:upDown .6s linear infinite;
}
.machine-wrap .machine-silencer{
    animation-duration:.4s;
}
.machine-wrap .machine-front{
    animation-duration:.3s;
}
.machine-wrap .machine-back{
    animation:upDown .8s linear infinite;
}
.logo, .box-content{
    text-align: center;
}
input {
    background-color: transparent;
    border: 1px solid #111;
    padding: 10px;
    width: 40%;
}
.btn {
    padding: 10px 20px;
}
.btn {
    background-color: #fec524;
    border: 1px solid #fec524;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 10px 20px;
}
.copyright {
    background-color: #508da5;
    color: #fff;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    display: inline-block;
}
.copyright > p {
    font-size: 14px;
    letter-spacing: 1px;
}
.copyright a{
    color:#fec524;
    font-weight: bold;
    font-size: 16px;
}
@keyframes moveRoad{
    0%{
        right:-40px;
    }
    100%{
        right:0;
    }
}
@keyframes moveSmoke{
    0%{
        opacity:0;
        transform:scale(0) translate(0);
    }
    60%{
        transform:scale(.5) translate(0);
    }
    100%{
        opacity:.6;
        transform:scale(1) translate(-10px,-40px);
    }
}
@keyframes upDown{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(2px);
    }
    100%{
        transform:translateY(0);
    }
}
@media (max-width: 1150px) {
    .machine-wrap{
        display: none;
    }
}
@media (max-width: 767px) {
    .box{
        width:100%;
    }
}
@media (max-width: 400px) {
    .box-content h1 {
        font-size: 22px;
    }
    .box-content2 > p {
        font-size: 14px;
        line-height: 20px;
    }
    .btn {
        margin-top: 20px;
    }
    input {
        width: 100%;
    }
}

/* ==== v2 layer ============================================================
   Everything below is new in 2.0; v1's rules above are kept as they were. The v1 things changed here: the Subscribe
   form is a real form (label, validation, a thank-you in place of the form); the digger is decoration for screen readers.
   New parts use tv-* classes. */

:root {
    --tv-yellow: #fec524;
    --tv-blue: #28aff9;
    --tv-link: #0a5d8a;
    --tv-err: #a4161a;
}

.tv-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.image img { height: auto; }

/* ---- v1 layout bugs, fixed ----
   (1) the footer stopped wherever the content did, leaving an empty band under it on every screen taller than the page:
       it now sits on the floor (the container is a flex item, which also makes it contain the two floated columns);
   (2) the digger is absolutely placed under the form, so nothing reserved its height: where the illustration column is
       short (1151-1180px) it ran 12px into the footer. The left column now keeps room for it wherever it shows;
   (3) v1's body font shorthand gave every heading an 18px line-height, so when the 32px h1 wrapped (768-820px, the
       half-width column) its two lines printed on top of each other. */
body { display: flex; flex-direction: column; min-height: 100vh; }
body > .container { flex: 1 0 auto; }
@media (min-width: 1151px) { .box-left { padding-bottom: 200px; } }
.box-content h1 { line-height: 1.15; }
.tv-fine { margin-bottom: 30px; }

/* ---- tablet (768-1150): improved at the owner's request (2026-09-26, "needs improvements in tab mode") ----
   v1 squeezed a desktop layout into two half-width columns: 18px-line headings, a 40%-wide email field, the digger
   hidden and an empty band under everything. Still two columns (the owner's tablet rule), now centred on the screen,
   with type and a touch-sized form scaled to the column, and the digger back where the column is wide enough for it. */
@media (min-width: 768px) and (max-width: 1150px) {
    body > .container { display: flex; align-items: center; }
    body > .container > .row { width: 100%; }
    .main-content section { display: flex; align-items: center; }
    .box { float: none; }
    .box-left { padding: 40px 28px; }
    .box-right { padding: 40px 28px 40px 0; }
    .logo h2 { margin: 0 0 28px; font-size: 28px; line-height: 1.2; }
    .box-content h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.3; }
    .box-content h1 { margin: 0; font-size: 40px; line-height: 1.15; }
    .box-content2 { margin-top: 32px; }
    .box-content2 > p { max-width: 400px; margin: 0 auto 22px; font-size: 18px; line-height: 1.55; }
    .contact-form { display: flex; max-width: 420px; margin: 0 auto; }
    .contact-form input { flex: 1 1 auto; min-width: 0; width: auto; height: 50px; padding: 0 14px; font-size: 16px; border-right: 0; }
    .contact-form .btn { flex: none; height: 50px; padding: 0 22px; font-size: 15px; }
    .tv-error, .tv-fine { font-size: 15px; }
    .tv-fine { margin-bottom: 0; }
    .tv-done { max-width: 420px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .box-content h1 { font-size: 34px; }
}
@media (min-width: 992px) and (max-width: 1150px) {
    .machine-wrap { display: block; position: relative; left: auto; right: auto; transform: none; margin: 44px auto 0; }
}
.logo a:focus-visible, .tv-fine a:focus-visible, .copyright a:focus-visible, .contact-form input:focus-visible,
.contact-form button:focus-visible, .tv-form input:focus-visible, .tv-form textarea:focus-visible, .tv-form button:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}
.btn { cursor: pointer; color: #000; }
@media (hover: hover) { .btn:hover { background-color: #000; border-color: #000; color: var(--tv-yellow); } }
.btn:disabled { opacity: 0.7; cursor: wait; }

/* ---- subscribe: the states ---- */
.contact-form[hidden] { display: none; }
.contact-form input[aria-invalid="true"] { border-color: var(--tv-err); box-shadow: inset 3px 0 0 var(--tv-err); }
.tv-error {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 300;
    color: var(--tv-err);
}
.tv-error[hidden] { display: none; }
.tv-done {
    max-width: 460px;
    margin: 0 auto;
    padding: 14px 18px;
    border-left: 4px solid var(--tv-yellow);
    background: #fff;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 300;
    outline: none;
}
.tv-done[hidden] { display: none; }
.tv-done strong { font-weight: 700; word-break: break-word; }
.tv-demo-note { display: block; margin-top: 4px; font-size: 13px; font-style: italic; color: #555; }
.tv-fine {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
}
.tv-fine a, .tv-doc a { color: var(--tv-link); font-weight: 700; border-bottom: 1px solid currentColor; }
.tv-nowrap { white-space: nowrap; }

/* ---- contact / privacy: v1's outlined field and yellow button, as a column ---- */
.tv-contact { max-width: 420px; margin: 0 auto; }
.tv-form { text-align: left; }
.tv-form .tv-field { margin: 0 0 14px; }
.tv-form input, .tv-form textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #111;
    background: transparent;
    font: 300 16px/1.4 Roboto, sans-serif;
    color: #000;
}
.tv-form textarea { resize: vertical; min-height: 130px; }
.tv-form input[aria-invalid="true"], .tv-form textarea[aria-invalid="true"] { border-color: var(--tv-err); box-shadow: inset 3px 0 0 var(--tv-err); }
.tv-form .tv-error { margin: 6px 0 0; }
.tv-form .btn { width: 100%; margin-top: 4px; padding: 13px 20px; font-size: 15px; }
.tv-contact .tv-done { max-width: none; text-align: center; }
.tv-doc { max-width: 440px; margin: 0 auto; text-align: left; }
.tv-doc h2 { margin: 22px 0 6px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.tv-doc h2:first-child { margin-top: 0; }
.tv-doc p { margin: 0; font-size: 16px; line-height: 1.6; }
@media (min-width: 768px) and (max-width: 1150px) {
    .tv-doc p { font-size: 17px; }
}
