* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
  }
  
body, html {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #eee;
    font-family: "Source Sans Pro", sans-serif;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 300;
}
.kuusamo {
    background-color: black;
    background-image: url(../assets/kuusamo.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.mountains {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 520px;
    z-index: 2;
    transform: scale(1.2);
}
.sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 520px;
    overflow: hidden;
}
.sky img {
    width: 100%;
    /* animation-play-state: running; */
    /* animation: rotate 5s infinite linear; */
    transform: scale(1.2);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 520px;
    z-index: 1;
}
@keyframes rotate {
    0% {
        transform: skew(0deg, 0deg) scale(1.2);
    }
    70% {
        transform: skew(5deg, 5deg) scale(1.2);
    }
    100% {
        transform: skew(0deg, 0deg) scale(1.2);
    }
}
.white-bg {
    background: linear-gradient(180deg, #eee, #fff);
/* 
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23fcfcfc' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23f8f8f8' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%23f5f5f5' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%23f1f1f1' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23eeeeee' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%23f1f1f1' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%23f5f5f5' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23f8f8f8' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23fcfcfc' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23ffffff' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover; */
}
.black-bg {
    /* background-color: #000000; */
    background: linear-gradient(180deg, black, #111);
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1600 800'%3E%3Cg %3E%3Cpath fill='%23040404' d='M486 705.8c-109.3-21.8-223.4-32.2-335.3-19.4C99.5 692.1 49 703 0 719.8V800h843.8c-115.9-33.2-230.8-68.1-347.6-92.2C492.8 707.1 489.4 706.5 486 705.8z'/%3E%3Cpath fill='%23070707' d='M1600 0H0v719.8c49-16.8 99.5-27.8 150.7-33.5c111.9-12.7 226-2.4 335.3 19.4c3.4 0.7 6.8 1.4 10.2 2c116.8 24 231.7 59 347.6 92.2H1600V0z'/%3E%3Cpath fill='%230b0b0b' d='M478.4 581c3.2 0.8 6.4 1.7 9.5 2.5c196.2 52.5 388.7 133.5 593.5 176.6c174.2 36.6 349.5 29.2 518.6-10.2V0H0v574.9c52.3-17.6 106.5-27.7 161.1-30.9C268.4 537.4 375.7 554.2 478.4 581z'/%3E%3Cpath fill='%230e0e0e' d='M0 0v429.4c55.6-18.4 113.5-27.3 171.4-27.7c102.8-0.8 203.2 22.7 299.3 54.5c3 1 5.9 2 8.9 3c183.6 62 365.7 146.1 562.4 192.1c186.7 43.7 376.3 34.4 557.9-12.6V0H0z'/%3E%3Cpath fill='%23111111' d='M181.8 259.4c98.2 6 191.9 35.2 281.3 72.1c2.8 1.1 5.5 2.3 8.3 3.4c171 71.6 342.7 158.5 531.3 207.7c198.8 51.8 403.4 40.8 597.3-14.8V0H0v283.2C59 263.6 120.6 255.7 181.8 259.4z'/%3E%3Cpath fill='%230e0e0e' d='M1600 0H0v136.3c62.3-20.9 127.7-27.5 192.2-19.2c93.6 12.1 180.5 47.7 263.3 89.6c2.6 1.3 5.1 2.6 7.7 3.9c158.4 81.1 319.7 170.9 500.3 223.2c210.5 61 430.8 49 636.6-16.6V0z'/%3E%3Cpath fill='%230b0b0b' d='M454.9 86.3C600.7 177 751.6 269.3 924.1 325c208.6 67.4 431.3 60.8 637.9-5.3c12.8-4.1 25.4-8.4 38.1-12.9V0H288.1c56 21.3 108.7 50.6 159.7 82C450.2 83.4 452.5 84.9 454.9 86.3z'/%3E%3Cpath fill='%23070707' d='M1600 0H498c118.1 85.8 243.5 164.5 386.8 216.2c191.8 69.2 400 74.7 595 21.1c40.8-11.2 81.1-25.2 120.3-41.7V0z'/%3E%3Cpath fill='%23040404' d='M1397.5 154.8c47.2-10.6 93.6-25.3 138.6-43.8c21.7-8.9 43-18.8 63.9-29.5V0H643.4c62.9 41.7 129.7 78.2 202.1 107.4C1020.4 178.1 1214.2 196.1 1397.5 154.8z'/%3E%3Cpath fill='%23000000' d='M1315.3 72.4c75.3-12.6 148.9-37.1 216.8-72.4h-723C966.8 71 1144.7 101 1315.3 72.4z'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover; */
}
.white-bg-2 {background: linear-gradient(90deg, #fff, #eee)}
/* .black-bg-2 {background: linear-gradient(90deg, #000, #111)} */
header {
    width: 100%;
    height: 60px;
    background: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.9;
    padding: 0 20px 0 12px;
    top: 0px;
    position: fixed;
    z-index: 3;
    /* box-shadow: 0 0px 3px 0 rgba(0,0,0,.3); */
    /* position: fixed;
    top: 0;
    z-index: 99999; */
}
header img {
    height: 40px;
}
header > a {
    height: 40px;
}
a {
    height: 40px;
    text-decoration: none;
    color: inherit;
}
.hamburger {
    width: 20px;
    transform-origin: 10px;
    transition: all ease-in-out .2s;
    -webkit-transition: all ease-in-out .2s;
    cursor: pointer;
}
header nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    width: 360px;
    justify-content: space-between;
}
header nav ul li {
    list-style: none;
    color: #ccc;
    font-weight: 100;
}
header nav ul li:hover {
    color: #fff;
}
header nav {
    margin: 0 auto;
}
div#hidden-menu {
    background: #000;
    position: fixed;
    z-index: 999;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease-in-out .3s;
    -webkit-transition: all ease-in-out .3s;
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
div#hidden-menu.open {
    max-height: 1000px;
    opacity: 1;
}

div#hidden-menu ul {
    margin: 0;
    padding: 0;
    width: 480px;
    height: auto;
    display: grid;
    grid-gap: 20px;
    text-align: center;
}

div#hidden-menu ul li {
    list-style: none;
    font-size: 25px;
    transition:  all ease-in-out .2s;
    -webkit-transition:  all ease-in-out .2s;
    font-weight: 100;
    color: white;
}
img.close-menu {
    position: absolute;
    padding: 10px;
    height: 50px;
    width: 50px;
    right: 20px;
    top: 20px;
}

.section {
    width: 100%;
    padding: 50px 0;
    overflow-x: hidden;
}
#hero {
    /* margin-top: 40px; */
    width: 100%;
    text-align: center;
    margin: 0 auto;
    height: 520px;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.hero-wrapper {
    max-width: 540px;
    display: inline-block;
    text-align:center;
    z-index: 3;
}

div#hero h1 {
    font-size: 64px;
    margin: 40px 0 20px 0;
    font-weight: 500;
    color: #fff;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, .5);
}

div#hero p {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #fff;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, .5);
}

div#hero a {
    color: #ddd;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255, .5);
    /*padding: 10px 20px 12px 20px;*/
    padding: 10px 20px;
    /*font-weight: 100;*/
    transition: all ease-in-out .2s;
    /*text-shadow: 0px 0px 10px rgba(0, 0, 0, .5);*/
}

div#hero a:hover {
    background: rgba(255,255,255,.05);
    border-color: white;
    color: white;
}

div#hero p:last-child {
    /* position: absolute; */
    /* right: 0; */
    font-size: 18px;
    /* text-align: right; */
}
.hidden-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 50px;
    filter: invert(1) brightness(2.5);
}
.ipad {
    position: relative;
    margin: 50px auto;
    width: 100%;
    max-width: 920px;
}
.ipad img {
    width: 100%;
}
.iphone {
    position: absolute;
    width: 200px;
    left: 0;
    z-index: 99;
    left: 9%;
    bottom: -20px;
}
#about p{
    color: #888;
    width: 100%;
    max-width: 640px;
    text-align: center;
    margin: 0 auto;
    font-weight: 100;
    /* margin-bottom: 100px; */
    font-size: 18px;
}
#about .chart-p {
    margin-bottom: 20px;
}
#about {
    padding: 50px 0;
}
h2 {
    font-size: 64px;
    color: #fff;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}
#about h2 {
    margin-bottom: 20px;
}
.section .subtitle {
    text-align: center;
    margin: 0 auto 50px auto;
    font-size: 16px;
}
.white-bg .subtitle {
    color: #000;
}
.black-bg .subtitle {
    color: #fff;
}
#team {
    padding-bottom: 100px;
}
#team h2, #portfolio h2 {
    color: #222;
    font-weight: 300;;
}
.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    grid-gap: 30px;
    margin-bottom: 80px;
}

.card {
    position: relative;
    width: 100%;
    cursor: pointer;
    /* height: 300px; */
    background: #fff;
    box-shadow: 0 0 10px #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
}

.card-text {
    display: flex;
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, black, transparent);
}

p.card-description {
    margin: 0;
    font-size: 15px;
    color: #fff;
}
p.card-title {
    font-size: 28px;
    text-align: left;
    color: #fff;
    margin: 0;
    margin-bottom: 5px;
    position: relative;
    padding-left: 0px;
    font-weight: 700;
    text-transform: uppercase;
}

.card-img {
    width: 100%;
    transition:  all ease-in .1s;
    -webkit-transition:  all ease-in .1s;
    filter: brightness(1)
}
.card:hover > img {
    filter: brightness(1.1)
}

.team-wrapper {
    display: grid;
    grid-gap: 30px 20px;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
}

.member {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 20px;
    background: rgba(255,255,255,0.5);
    padding: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

.member-image img {
    width: 100%;
}

p.member-name {
    font-size: 22px;
    margin: 0;
    max-width: 180px;
    display: inline-block;
}

p.member-description {
    color: #666;
    font-size: 15px;
    /* font-weight: 400; */
}
p.member-position {
    color: #fff;
    background: #aaa;
    padding: 4px 10px;
    border-radius: 30px;
    display: inline-block;
    margin: 0;
    font-size: 13px;
    float: right;
}

.member:first-child {
    grid-column: 1 / 3;
    margin-bottom: 30px;
}
.member:first-child .member-position {
    margin: 7px 0;
    font-size: 15px;
    background: #444;
}
.member:first-child .member-name {
    font-size: 28px;
    display: block;
    max-width: none;
}
.member:first-child .member-description {
    font-size: 18px;
}
.member:first-child .member-position {
    background: #444;
    margin: 4px 0 0 0;
    font-size: 13px;
    float: none;
}
footer {
    height: 80px;
    font-size:16px;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeeee;
    text-align: center;
}
#contact-us {
    background: #000;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    height: 300px;
}
.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#map {
    background: black;
}
#contact-us h4 {
    font-weight: 400;
    font-size: 24px;
    margin-top: 0;
    color: #fff;
}

#contact-us p {
    margin: 0 0 5px 0;
    color: #fff;
    font-weight: 100;
}

#contact-us a {
    font-size: 15px;
    color: grey;
}
img.card-icon {
    position: absolute;
    right: 0;
    bottom: 10px;
    right: 10px;
    width: 50px;
    border-radius: 50px;
}

.stats-wrapper {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.single-stats {
    display: flex;
    flex-direction: column;
    margin: 30px 0;
}

.stats-number {
    color: #fff;
    font-size: 64px;
    font-weight: bold;
    text-align: center;
}
.stats-charts {
    display: grid;
    grid-template-columns:1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 1120px;
    margin: 100px auto;
    grid-gap: 50px;
}
.doughnut-wrapper, .line-wrapper {
    width: 100%;
}
.chart-p {
    font-weight: 500;
    margin-bottom: 20px;
}
.single-stats p {
    padding: 0 20px;
}
.portfolio-p {
    font-size: 24px;
}
#contact-us a:hover {
    color: #ddd;
}
div#modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    right: 0;
    margin: 0 auto;
    z-index: 99999;
}

.modal-container {
    max-width: 960px;
    width: 100%;
    max-height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    overflow-y: scroll;
    background: linear-gradient(to right, #eee, #fff, #eee);
    margin: 0 auto;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    display: none;
    padding-bottom: 30px;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 999;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.7));
}
.close-modal:hover {
    opacity: 0.7;
}
.modal-header img {
    width: 100%;
}
.modal-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 100px 0 0 0;
}
.modal-gallery img {
    width: 100%;
}
.modal-content {
    padding: 0 50px;
    margin: 0 auto;
    background: linear-gradient(to right, #eee, #fff, #eee);
}
p.work-title {
    font-size: 64px;
    margin: 50px 0 10px 0;
    text-align: center;
}
.work-link {
    color: grey;
    margin-bottom: 50px;
    display: block;
}
.work-text p {
    font-size: 24px;
}
.work-text .work-facts {
    margin: 50px 0;
}
.work-text .work-facts ul{
    margin: 0;
    padding: 0;
}

.work-text .work-facts ul li {
    /* padding-left: 50px; */
    position: relative;
    list-style: none;
    color: white;
    padding: 10px;
    margin: 10px;
    display: inline-block;
    font-size: 25px;
    font-weight: bold;
    /* text-shadow: 0 0 6px #333; */
    /* width: 50%; */
    padding-left: 50px;
}

.work-text .work-facts ul li:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    top: 17px;
    left: 15px;
    background-image: url(../assets/star.svg);
    background-size: 20px;
}
/* .work-text hr {
    margin: 30px 0;
    border: none;
    border-top: 1px solid #ccc; */
}

.work-text .work-contact {
    margin-top: 30px;
}
.work-text .work-contact ul {
    margin: 0;
    padding: 0;
}

.work-text .work-contact ul li {
    list-style: none;
    margin: 20px;
    position: relative;
    padding-left: 35px;
    font-size: 20px;
}

.work-text .work-contact ul li:after {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    content: "";
    background-size: 20px 20px;
    background-position: center;
}
.contact-ceo:after {
    background-image: url(../assets/contact-ceo.svg);
}
.contact-city:after {
    background-image: url(../assets/contact-city.svg);
}
.contact-mail:after {
    background-image: url(../assets/contact-mail.svg);
}
.contact-web:after {
    background-image: url(../assets/contact-web.svg);
}
.fact-red {background: #b85a5a}
.fact-blue {background: #5074a4}
.fact-green {background: #111}
/* .fact-green {background: #51a878} */
.fact-purple {background: #a8517b}
.fact-gold {background: #a89f51}

.latest-news-container {
    width: 100%;
    max-width: 920px;
    margin: 50px auto;
    display: grid;
    grid-gap: 30px;
}

.single-news {
    /* box-shadow: 0 0 8px 0 #444; */
    background: #111;
    display: grid;
    grid-gap: 20px;
    padding: 15px 30px;
}

p.news-title {
    font-size: 24px;
    color: white;
    margin: 0;
}

p.news-text {
    font-size: 18px;
    font-weight: 100;
    color: #ccc;
    margin: 0;
}

#hamburger {
    width: 20px;
    height: 16px;
    position: relative;
    margin: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
  }
  
  #hamburger span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: #fff;
    border-radius: 0px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
  }
  
  /* Icon 4 */
  
  #hamburger span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
  }
  
  #hamburger span:nth-child(2) {
    top: 7px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
  }
  
  #hamburger span:nth-child(3) {
    top: 14px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
  }
  
  #hamburger.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0px;
    left: 3px;
  }
  
  #hamburger.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  
  #hamburger.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 14px;
    left: 3px;
  }

/* RESPONSIVE */
@media all and (min-width: 720px) {
    .hamburger:hover {
        opacity: 0.8;
    }
}
@media only screen {
    .kuusamo {
        background-attachment: scroll;
    }
}
@media all and (max-width: 1120px){
    .modal-container {
        max-width: 85%;
    }
    .section {
        padding: 50px 20px 100px 20px;
    }   
    div#hero p:last-child {
        right: 20px;
    }
    #about {
        padding: 50px 20px;
    }
    .stats-wrapper {
        grid-template-columns: 1fr 1fr;
    }

}
@media all and (max-width: 720px){
    div#hidden-menu {
        top: 50px
    }
    div#hidden-menu li a:hover{
        font-weight: bold;
    }

    .single-stats p {
        padding: 0 10px;
    }
    .stats-number {
        font-size: 56px;
    }
    p.news-title {
        font-size: 20px;
    }
    
    p.news-text {
        font-size: 16px;
    }
    .work-text .work-facts ul li {
        font-size: 18px;
    }
    
    .work-text .work-facts ul li:after {
        top: 13px;
        width: 18px;
        height: 18px;
        background-size: 18px 18px;        
    }
    
    .work-text .work-contact ul li {
        font-size: 18px;
    }
    
    .work-text .work-contact ul li:after {
        width: 15px;
        height: 15px;
        background-size: 15px;
    }
    .member:first-child {
        grid-column: initial;
        margin-bottom: 0;
    }
    .work-text p {
        font-size: 16px;
    }
    .modal-content {
        padding: 15px;
    }
    .modal-gallery {
        grid-template-columns: 1fr;
    }
    .work-link {
        font-size: 16px;
    }
    p.work-title {
        font-size: 46px;
        margin-top: 20px;
    }
    header {
        height: 50px;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px 0 12px;
    }
    header > a {
        height: 40px;
    }
    #contact-us {
        grid-template-columns: 1fr;
        height: auto;
    }
    #map {
        height: 300px;
    }
    #contact-us h4 {
        margin-bottom: 40px;
    }
    .contact-info {
        padding: 50px 0;
    }
    .stats-charts, .cards-wrapper, .team-wrapper{
        grid-template-columns: 1fr;
    }
    header > nav {
        display: none;
    }
    #hero {
        height: auto;
    }
    div#hero h2,
    div#hero p {
        width: 100%;
    }
    .section h2 {
        font-size: 48px;
        line-height: 48px;
    }
    div#hero p:last-child{
        position: initial;
        margin-top: 40px;
    }
    .doughnut-wrapper, .line-wrapper {
        width: 100%;
    }
    .doughnut-wrapper canvas, .line-wrapper canvas {
        width: 100%;
        width: 100% !important;
    }
    p.card-title {
        padding-left: 0px;
        font-size: 22px;
        margin-bottom: 0;
    }
    p.card-description {
        font-size: 14px;
    }
    p.card-title:before {
        top: 3px;
        width: 25px;
        height: 25px;
        background-size: 25px;
    }
    
    img.card-icon {
        width: 30px;
    }
    p.member-position {
        float: none;
        margin: 5px 0;
    }
    p.member-description {
        margin: 5px 0;
    }
    .member:first-child .member-description {
        font-size: 15px;
    }
    .card-text {
        padding: 6px 20px 8px 10px
    }
    p.member-name {
        max-width: none;
        display: block;
    }
}
@media all and (max-width: 640px) {
    .modal-container {
        max-width: 100%;
    }
    .mountains {
        width: 640px;
        height: 100%;
        object-fit: cover;
    }
    .sky {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 520px;
        overflow: hidden;
        object-fit: cover;

    }
    .sky img {
        left: -30%;
        width: 640px;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
}
@media all and (max-width: 320px){
    .stats-number.m-after.cumulative-value {
        font-size: 50px;
    }
}