
/* ==========================================================
   Matthew Moore Apps
   Shared stylesheet
   ========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    background:#f4f7fb;
    color:#2d3748;
    line-height:1.7;
}

/* Header */

header{
    background:linear-gradient(135deg,#00539F,#0077C8);
    color:white;
    padding:70px 20px;
    text-align:center;
}

header h1{
    font-size:3rem;
    font-weight:700;
    margin-bottom:15px;
}

header p{
    font-size:1.2rem;
    opacity:.95;
    max-width:850px;
    margin:auto;
}

/* Main */

main{
    max-width:1100px;
    margin:auto;
    padding:50px 20px;
}

/* Cards */

.card{
    background:white;
    border-radius:18px;
    padding:35px;
    margin-bottom:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.25s ease;
}

.card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 35px rgba(0,0,0,.12);
}

.card h2{
    color:#00539F;
    margin-bottom:15px;
}

.card h3{
    color:#00539F;
    margin-bottom:10px;
}

.card p{
    margin-bottom:16px;
}

/* Buttons */

.button{
    display:inline-block;
    background:#00539F;
    color:white;
    text-decoration:none;
    padding:12px 24px;
    border-radius:8px;
    margin-right:12px;
    margin-top:10px;
    font-weight:600;
    transition:.25s;
}

.button:hover{
    background:#003f7d;
}

/* Lists */

ul{
    padding-left:22px;
    margin-bottom:18px;
}

li{
    margin-bottom:8px;
}

/* Contact */

.contact{
    background:#eef5fb;
    border-left:5px solid #00539F;
    padding:20px;
    border-radius:10px;
}

/* Footer */

footer{
    margin-top:60px;
    padding:30px;
    text-align:center;
    color:#666;
    font-size:.9rem;
}

/* Links */

a{
    color:#00539F;
}

a:hover{
    color:#003f7d;
}

/* Responsive */

@media(max-width:700px){

header h1{
    font-size:2.2rem;
}

header p{
    font-size:1rem;
}

.card{
    padding:25px;
}

.button{
    display:block;
    margin-right:0;
    margin-bottom:12px;
    text-align:center;
}

}
