/*
The MassFTC Stylesheet
Author: Michael Peng (4410)
*/

@import url('https://fonts.googleapis.com/css?family=Titillium+Web:400,400i,700');

body {
    margin: 0 0;
    font-family: 'Titillium Web', 'Arial', sans-serif;
}

body > h1, body > h2, body > h3 {
    text-align: center;
    margin-bottom: 4px;
}

header, footer {
    display: flex;
    flex-direction: column;
    background-color: #222;
    padding: 10px;
    justify-content: space-between;
    color: #fff;
}

footer {
    margin-top: 20px;
}

header nav, footer nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	margin-left: auto;
}

header nav a, footer nav a {
    color: white;
    text-transform: capitalize;
    padding: 5px;
    text-decoration: none;
    font-size: 18px;
}

footer nav a {
    align-self: flex-end;
}

.hero {
    width: 100%;
    padding: 100px 50px;
    box-sizing: border-box;
    color: white;
}

.hero h1, .hero h2, .hero h3 {
    margin-bottom: 5px;
    margin-top: 0;
}

.buttonset {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-left: 7vw;
    margin-right: 7vw;
}

.buttonset a {
    background-color: #f57e25;
    color: black;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 10px;
    border-radius: 3px;
    margin: 5px;
    text-decoration: none;
}

.qualifier-cards {
    display: flex;
    flex-direction: column;
    margin: 0 5vw;
    flex-wrap: wrap;
    align-items: center;
}

.qualifier-card {
    border: 3px solid #444;
    border-radius: 5px;
    padding: 10px;
    margin: 15px;
    box-sizing: border-box;
    width: 100%;
}

.qualifier-card label {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 2px;
}

.qualifier-card h2 {
    margin: 0 0 8px 0;
}

.qualifier-card p {
    margin: 0 0;
}

.qualifier-card .date {
    margin-bottom: 8px;
}

.qualifier-card .region {
    font-size: 12px;
}

.qualifier-card .buttonset {
    margin: 8px 0 0 0;
}

.qualifier-card .buttonset a {
    text-align: center;
}

.state-card {
    width: unset;
    margin: 25px;
    border-color: #f57e25;
    text-align: center;
    align-items: center;
    padding: 10px 30px;
}

.state-card-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.buttonset a[disabled] {
    background-color: #777;
    cursor: not-allowed;
    pointer-events: none;
}

@media screen and (min-width: 420px) {
    .qualifier-card .buttonset {
        flex-direction: row;
    }
}

@media only screen and (min-width: 600px) {
	header, footer {
		flex-direction: row;
		align-items: center;
	}
    header nav, footer nav {
        flex-direction: row;
    }
    header nav a, footer nav a {
        padding: 10px 20px;
    }
    .buttonset {
        flex-direction: row;
    }
    .buttonset a {
        padding: 10px 20px;
    }
    .qualifier-cards {
        flex-direction: row;
        justify-content: center;
    }

    .qualifier-card {
        width: unset;
        margin: 5px;
    }

    .state-card {
        padding: 20px 10vw;
    }
    .state-card h2 {
        font-size: 2.5rem;
    }
    .state-card .date {
        margin: 0 0;
    }
    .hero {
        padding: 5vw;
    }
}