*{
    margin: 0;
    padding: 0;
    user-select: none;
}

body {
    font-family: 'Roboto', sans-serif;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 100;
    /*background-color: red;*/
}

nav.desk, nav.mob {
    width: 100%;
    position: fixed;
    text-align: center;
    font-size: 14px;
}

nav.desk {
    top: 0;
    background: white;
}

nav.mob {
    top: 0;
}

nav.desk ul {
    list-style: none;
    width: 100%;
}

nav.desk ul li {
    width: 20%;
    float: left;
    line-height: 60px;
    transition: all 0.5s ease;
}

a:link {
    text-decoration: none;
}

a.menu-link {
    cursor: url('../images/fp-lightblue-32x32.png') 4 12, auto;
}

a.menu-link:link, a.menu-link:visited {
    color: black; 
    padding: 10px 20px;
    text-align: center;
}

a.menu-link:hover, a.menu-link:active {
    font-size: 105%;
    color: black;   /* change this to #70edfd94 if I want the menu items light up in pale blue when the cursor hovers over or during when a link is clicked */
}

nav.mob, .hamburger-btn {
    display: none;
}

.index-image-div {
    /*background-color: purple;*/
    height: 1900px;
    margin-top: 64px;
    background-image: url("../images/moscow-homepage-strip-1600x576-600kb.png");
    background-position: 0px 60px; /*This property sets the starting position of a background image and dictates how to position the background-image. By default, the background-image is placed at the top-left corner (0% 0%) (horizontal vertical) (right-bottom is 100% 100%) of an element, and repeated both vertically and horizontally. If you only specify one value, the other value will be 50%.*/
    background-size: 100% 92%; /*Originally contain*/
    background-repeat: no-repeat;
    background-attachment: fixed; /*This property sets whether a background image scrolls with the rest of the page, or is fixed. Default is scroll.*/
}

.index-image-div-box {
    margin-top: 720px;
    /*background-image: url("../images/moscow-homepage-strip-1600x576-600kb-blurred-rain.jpg");*/
    /*background-position: 0px 60px; */
    /*background-size: 100% 92%; */
    /*background-repeat: no-repeat;*/
    /*background-attachment: fixed;*/
    height: 1200px; /*1900 - 720 + 64 - a few from above */
    /*box-shadow: 5px 50px 100px -20px rgba(255, 255, 255, 0.98), 9px 30px 60px -30px rgba(255, 255, 255, 0.3), 0px -2px 6px 0px rgba(255, 255, 255, 0.98) inset;*/
}

.div1-inside-index-image-div {
    display: flex;  /*This and the next 2 lines make any divs inside be centered perfectly.*/
    justify-content: center;
    align-items: center;
}

.slogan-paragraph { 
    background-image: url("../images/moscow-homepage-strip-1600x576-600kb-blurred.jpg");
    background-position: 0px 60px;
    background-size: 100% 92%; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff73;
    text-align: center;
    font-size: 54px;
    font-weight: 700;
    padding: 30px;
    /*font-family: 'Fredoka One', cursive;*/
    /*font-family: 'Roboto', sans-serif;*/
    font-family: 'Ubuntu', sans-serif;
}

.div2-inside-index-image-div {
    padding: 30px;
    display: flex;  /*This and the next 2 lines make any divs inside be centered perfectly.*/
    justify-content: center;
    align-items: center;
}

.div-inside-div2-inside-index-image-div {
    width: 45%;
}

.intro-paragraph { 
    background-image: url("../images/moscow-homepage-strip-1600x576-600kb-blurred.jpg");
    background-position: 0px 60px;
    background-size: 100% 92%; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: justify;
    font-size: 22px;
    font-weight: 400;
    padding: 30px;
    /*font-family: 'Nanum Myeongjo', serif;*/
    /*font-family: 'Ubuntu', sans-serif;*/
    font-family: 'Roboto', sans-serif;
}

div.page-top {
    margin-top: 130px;
}

div.page-name {
    text-align: center;
    padding-bottom: 30px;
}

/*Flexbox for a picture and text on a page*/

.page-flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.child-page-flex-container {
    flex: 50%;
}

.img-div {
    text-align: center;
}

.circle {
    width: 350px;
    height: 500px;
}

.div-inside-2ndchild {
    margin-right: 130px;
}

/*Flexbox for a picture and text on a page, end*/

/*Concept Page Flexbox elements*/

#text-div-name {
    /*background-color: yellow;*/
    padding-bottom: 30px;
}

.concept-div-inside-2ndchild {
    width: 600px;
}

/*Concept Page Flexbox elements, end*/


/*Media*/

@media screen and (max-width: 650px) {
    .concept-div-inside-2ndchild {
        width: 500px;
    }
}

@media screen and (max-width: 1200px) {
    .index-image-div {
        margin-top: 0px;
        background-position: center bottom;
        background-size: cover;
    }

    .index-image-div-box {
        margin-top: 700px;
        background-position: center bottom;
        background-size: cover;
    }

    .slogan-paragraph {
        margin-top: 100px;
        background-position: center bottom;
        background-size: cover;
    }

    .intro-paragraph {
        background-position: center bottom;
        background-size: cover;
    }
}

@media screen and (max-width: 1199px) {
    #name-page-flex-container, #designation-page-flex-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 533px) {
    .name {
        height: 100px;
        width: 340px;
    }

    .designation {
        height: 110px;
        width: 350px;
    }

    .concept-div-inside-2ndchild {
        width: 342px;
    }
}

@media screen and (max-width: 577px) {  /*Note: The lower max-width must go underneath the same class to work.*/

    .slogan-paragraph {
        font-size: 50px;
    }

    .intro-paragraph {
        font-size: 25px;
        text-align: left;
    }
}

@media screen and (max-width: 423px) {

    .slogan-paragraph {
        font-size: 45px;
    }

    .intro-paragraph {
        font-size: 16px;
        text-align: justify;
    }
}

@media screen and (max-width: 699px) {

    #text-div-inside-2ndchild-circle {
        margin: 30px;
    }
}

@media screen and (max-width: 1172px) {         /*was 933px*/

    a.menu-link:link, a.menu-link:visited {
        color: black; /*mobile menu text color*/
        background-color: white;
        /*text-shadow: 2px 2px black;*/
    }

    a.menu-link:active, a.menu-link:hover {
        color: white; 
        background-color: black;
    }

    .index-image {
        background-size: cover;
        background-attachment: fixed; /*try scroll;*/
    }

    nav.desk {
        display: none;
    }

    nav.mob,
    .hamburger-btn {
        display: block;
        background-color: white; /*the menu background color when it unfolds*/
    }

    .hamburger-btn {
        position: relative;
    }

    .hamburger-btn .fa-bars,
    .hamburger-btn .fa-times {
        position: fixed;
        right: 25px;
        top: 15px;
        font-size: 35px;
        color: #d8d8d8; /*the burger and the cross menu button color*/
        cursor: pointer;
    }

    a.menu-link {
        cursor: pointer;
    }

    .mob ul {
        list-style: none;
        margin-top: 60px;
        background: transparent; /*the mobile menu background color, value can = transparent*/
        display: none;
    }

    .mob li {
        text-transform: uppercase;
        text-align: center;
        padding: 16px;
    }

    .mob ul.active {
        display: block;
    }

    .flex-container {
        flex-direction: column;
    }

    .page-top {
        margin-top: 50px;
    }

    .div-inside-2ndchild {
        margin-right: 30px;
    }

    .div-inside-div2-inside-index-image-div {
        width: 85%;
    }
}

@media screen and (max-width: 699px) {

    .div-inside-div2-inside-index-image-div {
        width: 99%;
    }
}

@media screen and (max-width: 1100px) {

    #img-div-inside-1stchild-squares {
        flex: 20%;
    }
}

/*Media end*/

/*Footer Flex Box*/

.flex-container {
    /*background-color: gray;*/
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    text-align: center;
    /*justify-content: space-around;*/
    /*align-items: center;*/ /*this is vertical alignment which stretches vertically*/
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.container {
    flex: 1;     /*same as flex-grow: 1; and also this STICKS the footer to the bottom!*/ 
}

footer {
    /*background-color: black;*/
    padding: 50px 0 30px 0;
}

.footer-div {
    /*background-color: green;*/
    margin-bottom: 10px;
    flex: 33.333%;
}

/*Footer Flex Box end*/


/*Russian red #e31d22*/
/*Russian blue #0b3fce*/
/*transparent white #fffffff0*/
/*another great transparent white #ffffff75*/
/*cursor blue #70edfd*/
/*more background color window light #e7e7e7*/
/*Codebar's pink #ff036a*/
/*Text shadow on menu items (was in line): style="text-shadow: 3px 3px 20px #70edfd, -2px 1px 30px #70edfd;"*/
/*More text shadow: style="text-shadow: 2px 2px 4px #000000; color: white;" */


/*Practice CSS*/

/*https://stackoverflow.com/questions/2941189/how-to-overlay-one-div-over-another-div*/

#bottom {
    background-color: blue;
    position: absolute;
    width: 50%;
    height: 50%;
    top: 30%;
    left: 0;
}

#top {
    background-color: red;
    position: absolute;
    width: 50%;
    height: 50%;
    top: 65%;
    left: 25%;
}

/*Practice CSS end*/

