/*
    Define custom colors:
    https://stackoverflow.com/a/17595596/498873
*/
:root {
    --gammapy-primary: rgb(224, 10, 52);
    --gammapy-secondary: #1e254a;
}

.navbar {
    margin-bottom: 0;
}

.bg-dark {
    background-color: #1e254a !important;
    /* TODO: Make navbar text brighter! */
    color: white;
}

body {
    color: var(--gammapy-secondary);
    font-family: 'Fira Sans', sans-serif;
}

main {
    padding-top: 7rem;
    margin-bottom: 0;
}

a {
    color: var(--gammapy-primary);
}

footer {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.opener {
    /*padding-top: 7rem;*/
    padding-bottom: 3rem;
}

#gp-banner {
    padding-bottom: 3rem;
    width: 500px;
    max-width: 100%;
}

/*
  https://css-tricks.com/quick-css-trick-how-to-center-an-object-exactly-in-the-center/
*/
.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}


.btn-outline-primary {
    background-color: white;
    border-color: var(--gammapy-primary);
    color: var(--gammapy-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus {
    background-color: var(--gammapy-primary);
    border-color: var(--gammapy-primary);
    color: white;
}

.button-fancy {
	background-color: #23b83c;
	color: whitesmoke;
	padding: 0.5em 1.1em;
	text-align: center;
	text-decoration: none;
	font-size: 1em;
	display: inline-block;
	border-radius: 5px;
	box-shadow: 3px 3px 8px 0 #000; /* h-offset v-offset blur spread color */
}
