@import "reset.css";

* {
    line-height: 1.2em;
}

body {
    background-color: #333;
    color: #ddd;
    font-family: "Lato", sans-serif;
    font-size: 16px;
}

h1 {
    font-weight: 900;
    font-size: 160%;
    padding: 20px;
}

h2 {
    font-weight: 700;
    font-size: 120%;
    margin-bottom: 10px;
}

h3 {
    font-weight: 600;
    font-size: 110%;
    margin-bottom: 10px;
    line-height: 1.2em;
}

p {
    padding-bottom: 20px;
}

header {
    top: 0;
}
    header nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        background: rgba(255,255,255,0.1);
        padding: 10px 20px;
    }
        header nav ul li {
            margin-right: 20px;
        }
        header nav ul li:last-child {
            margin-right: 0;
        }
        header nav ul li a {
            color: #ddd;
            text-decoration: none;
        }
        header nav ul li a:hover {
            text-decoration: underline;
        }

.page {
    padding: 20px;
    margin-top: 100px;
}

    .caseWrapper {
        border-radius: 10px;
        width: 360px;
        height: 240px;
        background-color:rgba(255,255,255,0.9);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        display: inline-block;
        margin: 10px;
    }
        .caseWrapper:hover {
            box-shadow: 0 8px 16px rgba(0,0,0,0.7);
            cursor: pointer;
        }
        .caseWrapper h3 {
            margin: 0;
            padding: 10px;
            font-size: 100%;
            background-color: rgba(0,0,0,0.9);
            border-radius: 10px 10px 0 0;
            text-align: center;
        }


footer {
    bottom: 0;
    text-align: center;
    padding: 10px;
}

header, footer {
    position:fixed;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    
}