@import url("https://fonts.googleapis.com/css?family=Lato");

*,
::after,
::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    background: #34495e;
    color: #fff;
    font-family: Lato;
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    line-height: 100px;
    font-size: 50px;
    margin: 0;
    font-weight: normal;
    float: left;
}

h1.home {
    width: 100%;
}

h1.subpg {
    width: calc(100% - 200px);
}

.header {
    width: 100%;
    height: 100px;
    text-align: center;
    line-height: 100px;
    font-size: 50px;
}

.h-home {
    background: #16a085;
}

.h-grd {
    background: #3498db;
}

.h-mdr {
    background: #f1c40f;
}

.home-page {
    width: 100px;
    height: 100px;
    float: left;
    transition: color .25s ease-in-out;
}

.home-page:hover {
    color: #ecf0f1;
}

.main {
    width: 100%;
    height: calc(100% - 130px);
    display: flex;
    justify-content: center;
}

.main-sub {
    height: calc(100% - 100px);
}

.wrapper {
    width: 90%;
    height: 100%;
    display: flex;
    align-content: start;
    justify-content: space-evenly;
    flex-wrap: wrap;
    overflow: auto;
    padding: 20px;
}

.post {
    width: 400px;
    height: 300px;
    margin: 20px;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .25s ease-in-out, transform .25s ease-in-out;
}

.post:active {
    transform: translateY(-15px);
}

.post:hover {
    box-shadow: 15px 15px 15px rgba(0, 0, 0, .4);
}

.post-background {
    width: 100%;
    height: calc(100% - 70px);
    background: #95a5a6;
    border-radius: 40px 40px 0 0;
    border: 3px solid #fff;
}

.post-grd {
    background: url("../grid-bck.png");
    background-size: cover;
}

.post-mdr {
    background: url("../modern-bck.png");
    background-size: cover;
}

.post-title {
    width: 100%;
    height: 90px;
    background: #16a085;
    border-radius: 20px;
    position: relative;
    top: -20px;
    font-size: 32px;
    line-height: 90px;
    text-align: center;
}

.footer {
    width: 100%;
    height: 30px;
    background: #2c3e50;
    font-size: 15px;
    line-height: 30px;
    text-align: center;
    position: absolute;
    bottom: 0;
}

.dropbtn-box {
    width: 100px;
    height: 100px;
}

.dropbtn {
    margin: 25px 0;
    color: inherit;
    font-size: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color .25s ease-in-out;
}

.dropbtn:hover,
.dropbtn:focus {
    color: #ecf0f1;
}

.dropdown {
    position: relative;
    float: right;
}

.dropdown-content {
    display: none;
    position: absolute;
    max-height: calc(100vh - 150px);
    overflow: auto;
    box-shadow: 15px 15px 15px rgba(0, 0, 0, .4);
    z-index: 1;
    right: 0;
}

.dropdown-content-grd {
    background: #2980b9;
    min-width: 350px;
}

.dropdown-content-mdr {
    background: #f5d34b;
    min-width: 500px;
}

.dropdown-item {
    height: 150px;
    line-height: 75px;
    padding-top: 25px;
}

.dropdown-item-grd {
    width: 350px;
}

.dropdown-item-mdr {
    width: 500px;
}

.dropitem-name {
    height: 50px;
    line-height: 50px;
    font-size: 32px;
}

.dropdown-btn {
    height: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.show {
    display: block;
}

.inc-dec {
    width: 100px;
    float: left;
}

.inc-dec-btn {
    text-decoration: none;
    cursor: pointer;
    transition: color .25s ease-in-out;
}

.inc-dec-btn:hover {
    color: #ecf0f1;
}

.value {
    float: left;
}

.value-grd {
    width: 150px;
}

.value-mdr {
    font-size: 24px;
    width: 300px;
}

.generate-btn {
    width: 250px;
    margin: 0 50px;
    border-radius: 25px;
    font-size: 42px;
    cursor: pointer;
    transition: box-shadow .25s ease-in-out, transform .25s ease-in-out;
}

.generate-btn-grd {
    background: #e67e22;
}

.generate-btn-mdr {
    background: #e74c3c;
}

.generate-btn:active {
    transform: translateY(-15px);
}

.generate-btn:hover {
    box-shadow: 15px 15px 15px rgba(0, 0, 0, .4);
}