/* --------------------------------------------

	

	main.css : this is the main style file of the theme.
	

	---

	

	CONTEXT:

	

	1. BASE (@base)

	2. TYPOGRAPHY (@typo)

	3. HELPERS (@helpers)

	4. LAYOUT (@layout)

	5. ELEMENTS (@elements)

	5. MEDIA QUERIES (@media)

	

 -------------------------------------------- */

/*  --------------------------------------------



	1. BASE (@base) - base html elements

	

    -------------------------------------------- */

@font-face {
    font-family: 'moresugar-thin-webfont';
    src: url('../fonts/moresugar-thin-webfont.woff2') format('woff2'),
    url('../fonts/moresugar-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'moresugar-regular-webfont';
    src: url('../fonts/moresugar-regular-webfont.woff2') format('woff2'),
    url('../fonts/moresugar-regular-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'LittleQuotes-Regular';
    src: url('../fonts/LittleQuotes-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'RiseofBeauty-Script';
    src: url('../fonts/RiseofBeauty-Script.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

html,
body {

    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;

}

* {

    -webkit-box-sizing: border-box;
    box-sizing: border-box;

}

/* Loader */

html {

    overflow: hidden;

}

html.loaded {

    overflow: auto;

}

html.loaded:after {

    display: none;

}

body {

    -webkit-transition: all .6s cubic-bezier(0.77, 0, 0.175, 1);
    -o-transition: all .6s cubic-bezier(0.77, 0, 0.175, 1);
    transition: all .6s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;

}

html.loaded body {

    opacity: 1;

}

.mobile {
    display: none;
}

img {
    max-width: 100%;
}

/*  --------------------------------------------



	2. TYPOGRAPHY (@typo) - typographic styles

	

    -------------------------------------------- */

html {
    font-family: "National Park", sans-serif;
    color: #3f53a4;
    font-size: 18px;
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    font-style: normal;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

h2, h5 {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 30px 0;
    color: #5272f2;
}

h1, h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #5272f2;
}

h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #5272f2;
}

h6 {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #5272f2;
}

p:last-child {
    margin-bottom: 0;
}

/* LIGHT TEXT */

.is-text-light {

    color: #fff;

}

.is-text-light a {

    color: #fff;

}

a {
    -webkit-transition: 0.3s ease opacity;
    -o-transition: 0.3s ease opacity;
    transition: 0.3s ease opacity;
    color: #5272f2;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    opacity: 0.6;
}

a.menu-item {
    font-size: 0.8rem;
    font-weight: 600;
    -webkit-transition: 0.3s ease opacity;
    -o-transition: 0.3s ease opacity;
    transition: 0.3s ease opacity;
    display: inline-block;
}

a.full-img:hover {
    opacity: 1;
}

a.button {
    background-color: #5272f2;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: 0.3s ease opacity;
    -o-transition: 0.3s ease opacity;
    transition: 0.3s ease opacity;
    color: white;
    display: inline-block;
}

a.button:hover {
    opacity: 0.6;
}

a.email {
    border: 1px solid #5272f2;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: 0.3s ease opacity;
    -o-transition: 0.3s ease opacity;
    transition: 0.3s ease opacity;
    display: inline-block;
}

.row-button {
    margin-top: 30px;
}

.oliver {
    font-size: 1.6rem;
    color: #a56d08;
    font-family: 'moresugar-thin-webfont', monospace;
    font-weight: 500;
    font-style: normal;
}

.wings {
    font-size: 2.4rem;
    line-height: 1;
    font-family: 'LittleQuotes-Regular', sans-serif;
    font-weight: 500;
    font-style:  normal;
}

.secrets {
    font-size: 1.2rem;
}

.lines h3 {
    font-family: 'RiseofBeauty-Script', cursive;
    font-size: 2rem;
    color:#f5a302;
    font-weight: 400;
}


.lines {
    font-size: 1.2rem;
}

.strikethrough {
    text-decoration: line-through;
}

/*  --------------------------------------------



	2. LAYOUT (@layout) - layout styles

	

    -------------------------------------------- */

/* CONTENT */

body {

    background-color: #f3f5fb;

}

.content-wrap {

    width: 100%;
    padding-top: 30px;
    position: relative;
    z-index: 90;
    background: url("../images/blue/logo-shadow.png") top center no-repeat;

}

.header {
    background-color: white;
    height: 70px;
    padding: 13px;
    margin: 0;
    position: relative;
    z-index: 100;
}

.content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.nowrap {
    white-space: nowrap;
}

.header .logo {
    width: 60px;
}

.text-box {
    background-color: white;
    -webkit-box-shadow: 0 30px 30px -25px rgba(17, 19, 23, 0.11);
    box-shadow: 0 30px 30px -25px rgba(17, 19, 23, 0.11);
    padding: 30px 30px 40px;
    text-align: center;
    border-radius: 20px;
}

.img-box {
    text-align: center;
}

.img-box img {
    margin: 0 auto;
    text-align: center;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 60px;
    column-gap: 4%;
}

.row .small-box {
    width: 46%;
}

.row .big-box {
    width: 50%;
}

/*ROW menu*/
.row-menu {
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    column-gap: 20px;
    margin-bottom: 30px;
    border:1px solid #5272f2;
    padding:7px 15px;
    border-radius: 20px;
}

/*ROW Intro*/

.row-intro .text-box {
    padding-bottom: 0;
}

.row-intro .text-box .intro-img img {
    width: 200px;
    margin-bottom: -6px;
}

/*ROW Text*/

.row-text {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.row-text .text-box {
    padding:30px 60px;
}

/*ROW details*/

.row-details .big-box {
    width: 66%;
}

.row-details .small-box {
    width: 33%;
    row-gap: 20px;
}

.row-details .small-box .text-box {
    padding-bottom: 0;
}

.row-details .intro-img img {
    width: 100%;
    max-width: 150px;
    margin-bottom: -6px;
}

/*ROW cards*/

.row-cards {
    margin-bottom: 60px;
    -ms-flex-direction: column;
    flex-direction: column;
}

.row-cards .big-box {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 60px;
}

.row-cards .big-box .img-box {
    width: 30%;
}

.row-cards .big-box .small-card.img-box {
    width: 23%;
}

.small-cards .big-box .img-box {
    width: 23%;
}

.row-cards a.card{
    transition: top 1s, box-shadow 1s;
    top: 0;
    position: relative;
}

.row-cards a.card:hover {
    opacity: 100%;
    top: -40px;
}

.row-cards img,
.video {
    border-radius: 20px;
    -webkit-box-shadow: 0 30px 30px -25px rgba(17, 19, 23, 0.3);
    box-shadow: 0 30px 30px -25px rgba(17, 19, 23, 0.3);
}



/*ROW About*/

/*ROW Work*/

.row-work {
    margin-bottom: 40px;
}

/*ROW Big Text*/

.row-big-text .big-box {
    width: 66%;
}

.row-big-text .small-box {
    width: 33%;
}

/*ROW Details*/
.credits {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 30px;
    margin-bottom: 30px;
    font-weight: 600;
}

.credits img {
    width: 100px;
    border-radius: 100px;
}

/*ROW Video*/

.row-video {
    margin-bottom: 30px;
}

.row-video .big-box {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 40px;
}

.row-video .right-box .img-box {
    width: 23%;
}

.row-video .video {
    width: 100%;
}

.video-wrap {
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.landscape-video {
    max-width: 1920px;
}

.portrait-video {
    max-width: 600px;
}

.video {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.landscape-video .video{
    padding-top: 56.25%;
}

.portrait-video .video{
    padding:133.33% 0 0 0;
    position:relative;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

/*ROW story*/

.row-story {
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 30px;
}

.row-story .text-box {
    padding: 60px;
    width: 100%;
    max-width: 720px;
}

.row-story .text-box p:nth-child(1) {
    margin-top: 0;
}

.row-story.oliver .text-box {
    background-color: #ffe8c6;
}

.row-story.lines .text-box {
    background-color: #fff8ec;
}

.row-story.oliver img,
.row-story.umbrella img {
    border-radius: 20px;
}

.row-story.wings .text-box,
.row-story.secrets .text-box {
    background-color: #fff6f3;
}

.row-story .poem {
    margin-top: 80px;
}

.row-story .poem:nth-child(1) {
    margin-top: 0;
}

.row-story.secrets .poem:nth-child(2) {
    margin-top: 30px;
}

.row-story .poem img {
    margin-bottom: 30px;
}

/*ROW Footer*/

.row-footer .center-box {
    width: 100%;
}

.row-footer .text-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.row-footer h4{
    margin-bottom: 0;
}

.row-footer .icon {
    width: 40px;
    margin: 0 5px;
}

.row-footer {
    margin-bottom: 30px;
}

/*ROW Copyright*/

.row-copyright {
    font-size: 0.8rem;
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.row-copyright .logo {
    width: 24px;
    position: relative;
    margin-bottom: -10px;
}

/*  --------------------------------------------



	6. MEDIA QUERIES (@media) - base html elements



    -------------------------------------------- */

/* TABLETS */

/* DESKTOPS */

@media screen and (max-width: 1199px) {
    .content-wrap {
        padding-left: 2%;
        padding-right: 2%;
    }
}

@media screen and (max-width: 999px) {

    .content-wrap {
        padding-top: 40px;
    }

    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    .row,
    .row-cards h5 {
        margin-bottom: 30px;
    }

    .row .small-box img {
        width: 90%;
        max-width: 600px;
    }

    .small-box,
    .big-box {
        width: 100% !important;
    }

    .row-intro,
    .row-about,
    .row-work,
    .row-big-text {
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        row-gap: 30px;
    }

    .row-big-text:nth-child(3) {
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .row-intro .text-box {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: flex-end;
        -ms-flex-align: flex-end;
        align-items: flex-end;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        column-gap: 4%;
    }

    .row-intro .text-box .intro-text {
        width: 66%;
    }

    .row-intro .text-box .intro-img {
        width: 33%;
    }

    .row-intro .text-box .intro-text {
        padding-bottom: 30px;
    }

    .row-intro .text-box .intro-img img {
        width: 100%;
        max-width: 225px;
    }

    .row-cards .big-box {
        row-gap: 20px;
    }

    .row-cards .big-box .img-box {
        width: 32%;
    }

    .row-work {
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        margin-bottom: 0;
    }

    .row-footer .small-box,
    .row-footer .big-box {
        margin-bottom: 0 !important;
    }

}

@media screen and (max-width: 599px) {

    .row .text-box {
        padding: 15px 15px 20px 15px;
    }

    .row-story .text-box {
        padding: 30px 15px;
    }

    .row-intro .text-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        padding-bottom: 0;
    }

    .row-intro .text-box .intro-text,
    .row-intro .text-box .intro-img {
        width: 100%;
    }

    .row-intro .text-box .intro-text {
        padding-bottom: 0;
    }

    .row-intro .text-box .intro-img img {
        width: 100%;
        max-width: 200px;
    }

    .row-cards .big-box .img-box,
    .row-cards .big-box .small-card.img-box {
        width: 48%;
    }

    .row-cards .big-box {
        row-gap: 20px;
    }

    .row-footer .text-box {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .row-footer .big-box {
        margin-top: 30px;
    }

}

@media screen and (max-width: 400px) {

    .text-box {
        padding: 15px;
    }

    .row-intro .text-box .intro-img img {
        width: 100%;
        max-width: 150px;
    }

    .small-box,
    .big-box,
    .center-box {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .row-footer .small-box,
    .row-footer .big-box {
        margin-bottom: 0 !important;
    }

    .row-menu {
        column-gap: 10px;
        margin-bottom: 30px;
        border:1px solid #5272f2;
        padding:7px 15px;
        border-radius: 20px;
    }
}