@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Root */
:root {
    --gutter: 3rem;
    --padding-x: 1.5rem;
    --padding-y: 2rem;
    --angle: 2rem;
    --color-white: #fff;
    --color-grey: #f3f4f5;
    --color-silver: #828e9b;
    --color-black: #112;
    --color-black-rgb: 17, 17, 34;
    --color-primary: #78abe5;
    --color-secondary: #4c84bc;
}

@media (min-width: 576px)  { :root { --gutter: 4rem; } }
@media (min-width: 768px)  { :root { --gutter: 6rem;  --padding-x: 2rem;   --padding-y: 2.5rem; --angle: 3rem; } }
@media (min-width: 1024px) { :root { --gutter: 8rem; ; } }
@media (min-width: 1280px) { :root { --gutter: 10rem; --padding-x: 2.5rem; --padding-y: 3rem; --angle: 4rem; } }
@media (min-width: 1540px) { :root { --gutter: 12rem; } }


/* Document */
html {
    text-size-adjust: 100%;
    font-size: 62.5%;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Tahoma', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-black);
    background-color: var(--color-white);
    scroll-behavior: smooth;
}

@media (min-width: 768px)  { body { font-size: 1.7rem; } }
@media (min-width: 1280px) { body { font-size: 1.8rem; } }

*, *::before, *::after { box-sizing: border-box; }

.page {
    position: relative;
}


/* Typography */
strong {
    font-weight: bolder;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5rem;
    padding: 0;
    font-family: 'Fjalla One', 'Impact', sans-serif;
    font-weight: bolder;
    line-height: 1.2;
    color: #000;
}

h1 { font-size: 2.8rem; }
@media (min-width: 576px)  { h1 { font-size: 3.6rem; } }
@media (min-width: 768px)  { h1 { font-size: 4.4rem; } }
@media (min-width: 1024px) { h1 { font-size: 5.2rem; } }
@media (min-width: 1280px) { h1 { font-size: 6rem; } }
@media (min-width: 1540px) { h1 { font-size: 6.8rem; } }

h2 { font-size: 2.4rem; font-weight: normal; }
@media (min-width: 576px)  { h2 { font-size: 2.8rem; } }
@media (min-width: 768px)  { h2 { font-size: 3.2rem; } }
@media (min-width: 1024px) { h2 { font-size: 3.6rem; } }
@media (min-width: 1280px) { h2 { font-size: 4rem; } }
@media (min-width: 1540px) { h2 { font-size: 4.5rem; } }

h3 { font-family: 'Roboto', 'Helvetica Neue', 'Helvetica', 'Tahoma', sans-serif; font-size: 1.8rem; }
@media (min-width: 576px)  { h3 { font-size: 1.9rem; } }
@media (min-width: 768px)  { h3 { font-size: 2rem; } }
@media (min-width: 1024px) { h3 { font-size: 2.1rem; } }
@media (min-width: 1280px) { h3 { font-size: 2.2rem; } }
@media (min-width: 1540px) { h3 { font-size: 2.3rem; } }

p {
    margin: 0 0 1rem;
    padding: 0;
    font-weight: 400;
    line-height: 1.5;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child { 
    margin-bottom: 0; 
}

hgroup {
    margin: 0;
    padding: 0;
}

hgroup p, .lead { font-size: 1.6rem; }
@media (min-width: 576px)  { hgroup p, .lead { font-size: 1.8rem; } }
@media (min-width: 768px)  { hgroup p, .lead { font-size: 2rem; } }
@media (min-width: 1024px) { hgroup p, .lead { font-size: 2.2rem; font-weight: 300; } }
@media (min-width: 1280px) { hgroup p, .lead { font-size: 2.4rem; } }
@media (min-width: 1540px) { hgroup p, .lead { font-size: 2.6rem; } }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: var(--color-white); }
.text-grey { color: var(--color-grey); }
.text-black { color: var(--color-black); }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: .1rem solid var(--color-white);
    padding: calc(var(--padding-y) * 0.75) 0;
    transition: .2s;
}

.page.scrolled nav {
    border-bottom: .1rem solid var(--color-black);
    background-color: var(--color-black);
    padding: calc(var(--padding-y) * 0.5) 0;
}

nav .nav-container {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px)  { nav .nav-container { grid-template-columns: 1fr 1fr 1fr; } }

nav .nav-container a.btn {
    display: inline-grid;
    justify-items: flex-end;
}

nav .cta {
    display: none;
    text-align: right;
}

@media (min-width: 768px)  { nav .cta  { display: block; } }

nav .menu {
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px)  { nav .menu  { display: flex; } }

nav .menu li {
    margin: 0;
    padding: 0;
}

nav .menu a {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-family: 'Fjalla One', 'Impact', sans-serif;
    font-size: 1.7rem;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--color-white);
    transition: .3s;
}

@media (min-width: 1024px)  { nav .menu a  { font-size: 2rem; } }

nav .logo {
    text-align: center;
}

nav .logo img {
    display: inline-block;
    width: 15rem;
    height: auto;
    transition: .2s;
}

.page.scrolled nav .logo img {
    width: 12rem;
}


/* Section */
section, aside { 
    display: block;
    margin: 0;
    padding: calc(var(--gutter) * 1.5) 0; 
}

@media (min-width: 768px) { section, aside { padding: var(--gutter) 0; } }

section:first-child {
    background-color: var(--color-white);
}

section:nth-child(2) {
    background-color: var(--color-grey);
    clip-path: polygon(0 0, 100% var(--angle), 100% calc(100% - var(--angle)), 0 100%);
    text-align: center;
    margin: calc(0% - var(--angle)) 0;
}

aside {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
}


/* Container */
.container {
    margin-left: auto !important;
    margin-right: auto !important;
    width: calc(100% - (var(--gutter) * 2));
    max-width: 130rem;
}


/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    place-content: space-between;
    place-items: stretch;
    gap: 1.5rem;
}

@media (min-width: 576px)  { .grid { gap: 2rem; } }
@media (min-width: 768px)  { .grid { gap: 3rem; } }
@media (min-width: 1024px) { .grid { gap: 4rem; } }
@media (min-width: 1280px) { .grid { gap: 5rem; } }
@media (min-width: 1540px) { .grid { gap: 6rem; } }

/* Grid Columns */
@media (min-width: 576px)  { .grid.cols-auto { display: inline-grid; grid-template-columns: none; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 1.5rem; }}
@media (min-width: 768px)  { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); }}
@media (min-width: 1024px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }


/* Header */
header {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #000;
    background-image: url(../img/kids-gym.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--color-white);
    margin: 0 0 calc(0% - var(--angle));
    padding: calc(var(--gutter) + 10rem) 0 var(--gutter); 
    min-height: 30rem;
    text-align: center;
    text-shadow: 0 .3rem 1rem rgba(0, 0, 0, 0.4);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--angle)));
}

header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(var(--color-black-rgb), 0.75);
    mix-blend-mode: multiply;
    z-index: 1;
}

header > div {
    position: relative;
    z-index: 2;
}


/* Buttons */
.btn {
    display: inline-grid;
    margin: 0;
    padding: 1.3rem 2.5rem;
    font-family: 'Fjalla One', 'Impact', sans-serif;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-black);
    background-color: var(--color-primary);
    border: 0;
    border-radius: 5rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.btn::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: rgba(var(--color-black-rgb), 0.1);
    border-radius: 100%;
    translate: -50% -50%;
    opacity: 0;
    scale: 0;
    transition: .3s;
}

.btn:hover::before {
    opacity: 1;
    scale: 1;
}

.btn-white {
    color: var(--color-black);
    background-color: var(--color-white);
}


.card {
    display: block;
    background-color: var(--color-white);
    box-shadow: 0 .3rem 1rem rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.card-content {
    padding: calc(var(--padding-y) / 2) var(--padding-x) calc(var(--padding-y) * 1.5);
}

.card-image {
    padding: calc(var(--padding-y) * 1.5) var(--padding-x) 0;
}

.card-image img {
    display: inline-block;
    width: 8rem;
    height: 8rem;
    margin: 0;
}

#mighty-movers {
    background-color: var(--color-secondary);
    background-image: url(/assets/img/mighty-movers-bg.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    clip-path: polygon(0 var(--angle), 100% 0, 100% calc(100% - var(--angle)), 0 100%);
    margin-bottom: calc(0% - var(--angle));
}

#mighty-movers::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    mix-blend-mode: multiply;
    z-index: 1;
}

#mighty-movers .container {
    position: relative;
    z-index: 2;
}

#mighty-movers hr {
    border: 0;
    border-top: .1rem solid var(--color-white);
    margin: 3.5rem 0;
    padding: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

ul.details {
    list-style-type: none;
    margin: 0 0 2rem;
    padding: 0;
    display: block;
}

ul.details li {
    margin: 0;
    padding: 1rem 0;

    border-bottom: .1rem solid rgba(0, 0, 50, 0.2);
    
    display: grid;
    grid-template-columns: 2.7rem 6rem 1fr;
    gap: .3rem;
}

ul.details li svg {
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    fill: var(--color-primary);
}

ul.details li strong {
    color: var(--color-secondary);
}