@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/MyriadPro-Regular.eot');
    src: url('../fonts/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/MyriadPro-Regular.woff2') format('woff2'),
        url('../fonts/MyriadPro-Regular.woff') format('woff'),
        url('../fonts/MyriadPro-Regular.ttf') format('truetype'),
        url('../fonts/MyriadPro-Regular.svg#MyriadPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Big Caslon';
    src: url('../fonts/BigCaslon-Medium.eot');
    src: url('../fonts/BigCaslon-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/BigCaslon-Medium.woff2') format('woff2'),
        url('../fonts/BigCaslon-Medium.woff') format('woff'),
        url('../fonts/BigCaslon-Medium.ttf') format('truetype'),
        url('../fonts/BigCaslon-Medium.svg#BigCaslon-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Skolar Latin';
    src: url('../fonts/SkolarLatin-Light.eot');
    src: url('../fonts/SkolarLatin-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/SkolarLatin-Light.woff2') format('woff2'),
        url('../fonts/SkolarLatin-Light.woff') format('woff'),
        url('../fonts/SkolarLatin-Light.ttf') format('truetype'),
        url('../fonts/SkolarLatin-Light.svg#SkolarLatin-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.eot');
    src: url('../fonts/Poppins-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-SemiBold.woff2') format('woff2'),
        url('../fonts/Poppins-SemiBold.woff') format('woff'),
        url('../fonts/Poppins-SemiBold.ttf') format('truetype'),
        url('../fonts/Poppins-SemiBold.svg#Poppins-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('../fonts/MinionPro-Regular.eot');
    src: url('../fonts/MinionPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/MinionPro-Regular.woff2') format('woff2'),
        url('../fonts/MinionPro-Regular.woff') format('woff'),
        url('../fonts/MinionPro-Regular.ttf') format('truetype'),
        url('../fonts/MinionPro-Regular.svg#MinionPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


:root {
    --white-color: #ffffff;
    --black-color: #000000;
    --primary-font: 'Myriad Pro';
    --secondary-font: 'Big Caslon';
}

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
}

h1,
.h1 {
    font-size: 50px;
    line-height: normal;
    margin-bottom: 38px;
}

h2,
.h2 {
    font-size: 55px;
    margin-bottom: 40px;
}


h3,
.h3 {
    font-size: 36px;
    margin-bottom: 26px;
    line-height: 1.3;
}

@media (min-width:1230px) {
    .container {
        max-width: 1230px;
        margin-inline: auto;
    }
}

body {
    overflow-x: hidden;
    font-family: var(--primary-font);
}

header {
    background-color: #13354d;
}

header .phone {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #46a9d4;
    margin-left: auto;
    padding: 20px 60px;
    font-size: 35px;
    text-decoration: none;
    color: var(--black-color);
    position: relative;
}

header .phone::before {
    content: "";
    position: absolute;
    left: -60px;
    top: -10px;
    display: block;
    width: 0;
    height: 0;
    border: 0 solid transparent;
    border-right-width: 55px;
    border-left-width: 55px;
    border-bottom: 95px solid #13354d;
}

.top-bar {
    display: block;
    text-align: right;
}

header .phone svg {
    width: 40px;
    margin-right: 10px;
}

.head-main {
    padding: 25px 74px 62px;
    display: inline-flex;
    align-items: center;
    margin: auto;
}

.logo {
    display: inline-block;
    width: 40%;
    padding-right: 40px;
}

.head-text {
    width: 60%;
    display: block;
    font-size: 58px;
    line-height: normal;
    font-family: var(--secondary-font);
    color: var(--white-color);
    padding-left: 80px;
    border-left: 1px solid #2d6f92;
}

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-content {
    position: absolute;
    right: 70px;
    bottom: 120px;
    color: var(--white-color);
    max-width: 380px;
}

.hero-content p {
    font-size: 30px;
    line-height: 1.35;
}

.service-wrap {
    display: flex;
    align-items: center;
}

.service-card {
    text-align: center;
    width: 33.33%;
    padding: 60px 20px;
}

.service-card span {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    font-family: 'Poppins';
    margin: auto;
    max-width: 50%;
    color: #061c45;
    margin-top: 10px;
}

.light-space-img {
    padding: 15px 45px;
    background-color: #fa9d1b;
    text-align: center;
}

.light-space-img span {
    display: block;
    font-family: 'Skolar Latin';
    font-size: 40px;
    text-transform: uppercase;
    color: #061c45;
    letter-spacing: 20px;
    line-height: 1.3;
}

.light-space-img2 {
    padding: 5px 5px;
    background-color: #142f44;
    text-align: center;
}

.light-space-img2 span {
    font-family: 'Minion Pro';
    font-size: 60px;
    color: #fff;
    letter-spacing: 10px;
    line-height: 1.3;
}

.patio-covewr {
    padding-top: 70px;
}

.about-content {
    padding: 58px 26px 70px;
}

.about-content p {
    font-size: 23px;
    line-height: 1.3;
}

.about-content p+p {
    margin-top: 35px;
}

.about-content p+h3 {
    margin-top: 40px;
}

.step-section {
    padding: 0 26px 46px;
}

.step-section .h3 {
    margin-bottom: 60px;
}

.step-section .h3 span {
    color: #46a9d4;
}

.step-wrap {
    display: flex;
}

.step-wrap .step-card {
    width: 33.33%;
    padding: 0 50px;
    margin-bottom: 50px;
    border-right: 1px solid #e7e7e7;
}

.step-wrap .step-card:last-of-type {
    border-right: 0;
}

.step-card strong {
    font-family: 'Skolar Latin';
    font-size: 60px;
    display: block;
    color: #001b36;
}

.step-card span {
    font-family: 'Poppins';
    color: #f99507;
    font-size: 20px;
    display: block;
    margin-top: 20px;
    text-transform: uppercase;

}

.step-wrap .step-card p {
    font-size: 20px;
    line-height: 1.35;
    margin-top: 24px;
}

footer {
    background-color: #46a9d4;
}

.footer-wrap {
    width: 100%;
    display: flex;
}

.footer-link {
    width: 33.33%;
    padding: 40px 50px;
    text-align: center;
    text-decoration: none;
    font-size: 22px;
    color: var(--black-color);
}

.footer-link svg {
    width: 35px;
    margin: 0 auto 20px;
    display: block;
}

.footer-link span {
    display: block;
    font-family: 'Minion Pro';
}

.footer-link:last-of-type span {
    width: 60%;
    margin: auto
}

.footer-link strong {
    display: block;
    font-size: 35px;
    font-family: 'Minion Pro';
    margin-bottom: 10px;
}

@media (max-width:1366px) {
    .head-text {
        font-size: 45px;
        padding-left: 45px;
    }

    h1,
    .h1 {
        font-size: 40px;
        line-height: normal;
        margin-bottom: 25px;
    }

    h2,
    .h2 {
        font-size: 46px;
        margin-bottom: 30px;
    }

    h3,
    .h3 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .head-main {
        padding: 30px 50px 40px;
    }

    .hero-content p {
        font-size: 22px;
        line-height: 1.35;
    }

    .hero-content {
        right: 80px;
        bottom: 130px;
        max-width: 340px;
    }

    .about-content {
        padding: 50px 20px;
    }

    .about-content p {
        font-size: 20px;
        line-height: 1.3;
    }

    .about-content p+p {
        margin-top: 25px;
    }


    .about-content p+h3 {
        margin-top: 30px;
    }

    .step-section {
        padding: 0 20px 40px;
    }

    .step-section .h3 {
        margin-bottom: 50px;
    }

    .step-wrap .step-card p {
        font-size: 18px;
        line-height: 1.35;
        margin-top: 10px;
    }

    .step-wrap .step-card {

        padding: 0 40px;
    }

    .footer-link {
        font-size: 18px;
        padding: 20px 30px;
    }

    header .phone svg {
        width: 35px;
    }

    header .phone {

        padding: 15px 50px;
        font-size: 26px;
    }

    .step-card strong {
        font-size: 45px;
    }

    .step-card span {

        font-size: 18px;

        margin-top: 15px;
    }

    .footer-link strong {
        font-size: 30px;
    }

    .footer-link svg {
        width: 30px;
    }
}

@media (max-width:1199px) {

    .head-text {

        font-size: 35px;
        padding-left: 40px;
    }

    h1,
    .h1 {
        font-size: 35px;

    }

    h2,
    .h2 {
        font-size: 38px;
    }

    h3,
    .h3 {
        font-size: 28px;
    }

    .head-main {
        padding: 30px 40px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .hero-content {

        right: 30px;
        bottom: 30px;
        max-width: 340px;
    }

    .patio-covewr {
        padding-top: 40px;
    }

    .about-content {
        padding: 40px 20px;
    }

    .step-wrap .step-card {
        padding: 0 25px;
        margin-bottom: 30px;

    }

    .step-section {
        padding: 0 20px 20px;
    }

    .light-space-img span {
        font-size: 30px;
    }
   

    .service-card span {
        font-size: 20px;
    }


    header .phone {
        padding: 15px 40px;
        font-size: 19px;
    }

    header .phone svg {
        width: 30px;
    }

    .service-card span {
        font-size: 18px;
        max-width: 70%;
    }

    .light-space-img span {
        font-size: 20px;
        letter-spacing: 15px;
    }
  

    .footer-link {
        font-size: 16px;
    }

    .footer-link svg {
        width: 25px;
    }

    .footer-link strong {
        font-size: 22px;
    }

    .footer-link:last-of-type span {
        width: 80%;
    }
}

@media (max-width:767px) {

    h1,
    .h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    h2,
    .h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    h3,
    .h3 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .head-main {
        display: block;
    }

    .logo {
        width: auto;
        padding: 0;
    }

    .head-text {
        width: auto;
        font-size: 30px;
        padding-left: 0;
        padding-top: 20px;
        margin-top: 10px;
        border-top: 1px solid #2d6f92;
        border-left: 0;
    }

    .hero-section {

        justify-content: center;
        align-items: flex-start;
        background-image: url("https://www.lightspacepatiocovers.ca/assest/img/banner-img.jpg");
        background-repeat: no-repeat;
        background-size: cover;
    }

    .hero-content {
        right: unset;
        bottom: unset;
        max-width: 400px;
        padding: 40px;
        position: relative;

    }

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .service-wrap {
        display: block;
        text-align: center;
    }

    .service-card {
        text-align: center;
        padding: 30px 20px;
        width: 100%;
    }

    .service-card img {
        max-width: 80%;
        margin: auto;
    }

    .step-wrap {
        display: block;
    }

    .step-wrap .step-card {
        width: 100%;
        border: 0;
        padding: 0;
    }

    .footer-wrap,
    .footer-link {
        display: block;
        text-align: center;
        width: 100%;
    }

    .hero-img {
        display: none;
    }

    .about-content p {
        font-size: 18px;
    }

    .light-space-img span {
        font-size: 16px;
        letter-spacing: 10px;
        white-space: wrap;
        word-wrap: break-word;
    }

  
        .step-card strong {
        font-size: 35px;
    }

        .step-card span {
        font-size: 16px;
        }

            .footer-link {
        padding: 15px 20px;
    }

    .footer-wrap{
        padding: 20px 0;
    }
}