/*
Theme Name: FeelApp Template
Text Domain: FeelApp
Version: 1.0
Tested up to: 5.9
Requires at least: 4.7
Requires PHP: 7.3.0
Description: Шаблон для сайта
Author: the Maks
Author URI: https://wordpress.org/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

                                                All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/
:root {
    --margin-default: 8.125rem;
    --menu-height: 13.4rem;
}

* {
    margin: 0;
    color: #000000;
}

body {
    font-family: 'Montserrat', -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: lighter;
    font-size: 2rem;
    line-height: 1.75rem;
    height: 100vh;

}

a {
    text-decoration: none;
    color: #000000;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h1 {
    font-weight: 100;
    font-size: 4.37rem;
    line-height: 5.68rem;
    margin-bottom: 3rem;
}

h1 i, h2 i {
    color: #FFDE00;
    font-size: inherit;
    font-style: normal;
}

h2 i {
    font-weight: bold;
}

h2 {
    font-weight: lighter;
    font-size: 1.75rem;
    /*line-height: 4.06rem;*/
    line-height: 1.5;
    margin-bottom: 3rem;
}

h1 span, h2 span {
    color: #FFDE00;
    font-size: inherit;
    font-weight: bold;
}

nav li {
    white-space: nowrap;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
}


.page-bg {
    background-image: url("image/sun_bg.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 80%;
    /*min-width: 500px;*/
}

.app-bg::before {
    /* background: radial-gradient(circle at left top, #FFDE00 6.89%,
     #FDC411 29.53%,
     rgba(253, 198, 32, 0.9044) 34.22%,
     rgba(254, 202, 59, 0.7713) 40.76%,
     rgba(255, 210, 95, 0.6162) 48.37%,
     rgba(255, 220, 137, 0.4444) 56.81%,
     rgba(255, 233, 185, 0.259) 65.92%,
     rgba(255, 250, 238, 0.0649) 75.44%,
     rgba(255, 255, 255, 0) 78.63%,
     rgba(255, 255, 255, 0) 92.81%,
     rgba(255, 255, 255, 0) 94.29%);*/
    /* background-image: url("image/sun_bg.svg");*/
    background-image: url("image/sun_bg.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 50%;
    transform: scale(-1, 1);
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.app-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.app-bg > div {

}

.page-box {
    min-height: 100%;
    /*min-width: 500px;*/

}

.nav-box {

}

.header-box {
    height: var(--menu-height);
    margin: 0 var(--margin-default);
}

nav li:not(:first-child) {
    /*margin-left: 5rem;*/
    margin-left: 2rem !important;
}

.header-box nav li, .footer-box nav li {
    margin: 0.5rem;

}

.header-box > div {
    height: 100%;
}

.header-box .logo {
    height: 6.25rem;
}


.footer-box {
    background: linear-gradient(240.64deg, #FCC311 35.67%, #FDC80E 40.19%, #FFDD00 61%, rgba(255, 221, 0, 0.96) 61.91%, rgba(255, 221, 1, 0.67) 70.05%, rgba(255, 221, 1, 0.43) 78.2%, rgba(255, 221, 2, 0.25) 85.43%, rgba(255, 221, 2, 0.11) 91.77%, rgba(255, 221, 2, 0.03) 97.2%, rgba(255, 221, 2, 0) 100.82%);
    height: 25rem;
    padding: 0 var(--margin-default);
    margin-top: 8rem;
}

.footer-box > div:first-child {
    height: var(--menu-height);
}

.footer-box img {
    width: 6.25rem;
}

.color-w {
    color: #ffffff;
}


.content {
    margin: 0rem var(--margin-default);
}

.content .img-box {
    flex-basis: 50%;
}

.content .img-box img {
    width: 90%;
}

.contact-box {
    text-align: center;
    margin-top: 3.6rem;
}


@media (max-width: 1024px) {
    :root {
        /*font-size: 16px;*/
        --margin-default: 2.125rem;
    }

    h1, h2 {
        text-align: center;
    }

    h1 {
        font-size: 2.2rem;
        line-height: 1.8;
    }


    h2 {
        font-size: 1.75rem;
        /*line-height: 1.5;*/
        margin-top: 2.75rem;
    }


    body {
        font-size: 1.5rem;

    }

    .content > div {
        /* text-align: center;*/
        flex-grow: 1;

    }

    .content .flex-row {
        flex-direction: column-reverse;
    }

    .content .img-box {
        width: 100%;
        text-align: center;
    }

    .contact-box .flex-row > div {
        margin-bottom: 2rem;
    }

    .content .img-box img {
        width: 80%;
        max-width: 27rem;
    }
}

@media (max-width: 720px) {
    :root {
        font-size: 12px;
        --margin-default: 2.125rem;
    }

}

@media (max-width: 560px) {
    :root {
        font-size: 8px;
        --margin-default: 2.125rem;
    }
}