* {    
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	color: #333;
	font: 14px Sans-Serif;
	background: #eee;
    background-color: #015a7e;
}

html, body { 
    height: 100%;
}

body > footer {
  position: sticky;
  top: 100vh;
  width: 100%;
}

h1, h2 {
    text-align: center;
    color: #fff;
    padding: 20px 20px 40px 20px;
    font-family: "Michroma", serif;
    font-weight: 400;
    font-style: normal;
}
h1 {
    font-size: 3.8rem;
}
h2 {
    font-size: 2.8rem;
}
a {    
    font-family: "Michroma", serif;
    font-weight: 400;
    font-style: normal;
}

.container {
	position: relative;
    min-height: calc(100vh - 240px);
    /* width: auto; */
    max-width: calc(100% - 80px);
    margin: 0 auto;
    border-radius: 65px;
    padding: 40px 30px;
    overflow: hidden;
	background: #fff;
}
.demoGris {    
	box-shadow: 0 5px 10px -5px rgba(0,0,0,0.5);
}
.container.demoGrid:before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
	background: #fff;
    background: #fff url('../images/bg.png');
    background-repeat: repeat top left;
    background-size: 10%;
    opacity: 70%;
}

.container.media {
    border-radius: 0;
    padding: 0;
    max-width: 1080px;
    min-height: auto;
	background: transparent;
    text-align: center;
}

.description {
	background: #fff;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 20px;
}

ul.demos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* justify-content: space-between; */
}

.demos li {
    position: relative;
    top: 0;
    display: flex;
    align-items: center;    
    justify-content: center;
    height: 250px;
    width: 250px;
    background-color: #015a7e;
    margin: 0 10px 40px;
    list-style: none;
    border-radius: 40px;
    transition: 0.4s;
}
.demos li:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 10px 10px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    top: -10px;
    transition: top 0.4s linear;
}

.demos li div {
    position: relative;
    display: flex;
    height: 210px;
    width: 210px;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    background-color: #dfdede;
    border-radius: 25px;
    transition: 0.4s;
}
.demos li:hover div {
    color: #fff;
    height: 180px;
    width: 180px;
    border-radius: 20px;
    background-color: #16749a;
}
.demos li:after {
    position: absolute;
    bottom: 70px;
    right: calc(50% - 27px);
    font-family: 'Font Awesome 5 Free';
    font-size: 3rem;
    color: #015a7e;
    transition: 0.4s;
}

.demos li.video:after {
    content: "\f144";
}

.demos li.images:after {
    content: "\f302";
}

.demos a, .demos a:active {
    font-weight: 700;
    text-decoration: none;
    color: darkslateblue;
    transition: 0.4s;
}
.demos li:hover::after {
    color: #fff;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 5px 10px 5px 10px;
    border-top: 3px solid #16749a;
    background-color: #015a7e;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
}

video {
    position: relative;
    /* top: 0;
    left: 0; */
    opacity: 1;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.media img {
    max-width: 100%;
    height: auto;
    display: block;
}

.media .ip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.media div.image {
    position: relative;
    margin-bottom: 60px;
    color: #fff;
    font-size: 0.8rem;
    pointer-events: none;
}

.media div span {
    position: absolute;
    top: 99.5%;
    left: 0;
    right: 0;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 6px;
}