/** Styling Variables **/
:root {
	--ucla-gold: #ffd100;
	--ucla-darker-gold: #ffc72c;
	--ucla-darkest-gold: #ffb81c;
	--ucla-blue: #2774ae;
	--ucla-lightest-blue: #daebfe;
	--ucla-lighter-blue: #8bb8e8;
	--ucla-darker-blue: #005587;
	--ucla-darkest-blue: #003b5c;
	--seagreen: #57d69c;
	--green: #3f7d35;
	--light-green: #79ab6f;
	--lightest-green: #a0c997;
	--white: #fff;
	--light-grey: #e6e6e6;
	--grey: #999;
	--dark-grey: #666;
	--darkest-grey: #333;
	--black: #000;
	--font-family: 'Overpass', Helvetica, Arial, sans-serif;
	--font-family-display: var(--font-family);
}

/** Webpage **/
html {
	background: var(--ucla-darkest-blue);
}

body {
	background: linear-gradient(0deg, rgba(0, 59, 92, 1) 0%, rgba(0, 85, 135, 1) 60%, rgba(39, 116, 174, 1) 100%);
	color: var(--darkest-grey);
	font-family: var(--font-family);
	font-size: 1rem;
	font-weight: 400;
}

.full-screen {
    height: 100vh;
}

.alt {
	font-size: 0.9rem;
    color: var(--dark-grey);
}

.bordered {
    border: 3px solid;
    border-color: var(--lightest-green);
}

img.zoom-in {
    cursor: -moz-zoom-in; 
    cursor: -webkit-zoom-in; 
    cursor: zoom-in;
}

.caption {
	font-size: 0.9rem;
    color: var(--white);
}

.caption a {
	color: var(--ucla-lightest-blue);
    text-decoration: underline;
}

.caption a:hover {
	color: var(--lightest-green);
}

/** Remove Rounded Corners **/
* {
	border-radius: 0 !important;
}

/** Hyperlinks **/
a {
	color: var(--ucla-blue);
}

a:hover {
	color: var(--ucla-darkest-blue);
}

a.active {
	color: var(--light-green);
}

/** Buttons **/
.btn-outline-primary {
	color: var(--ucla-darker-blue);
	border-color: var(--ucla-darker-blue);
}

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

.btn-outline-secondary {
	color: var(--white);
	border-color: var(--white);
}

.btn-outline-secondary:hover {
	background: var(--light-green);
	border-color: var(--light-green);
	color: var(--white);
}

/** Headings **/
h1,
h2 {
	color: var(--white);
    font-weight: bold;
	text-align: center;
	text-decoration: underline;
	text-decoration-color: var(--lightest-green);
}
h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.75rem;
}
h3 {
    font-size: 1.5rem;
}

/** Navigation Bar **/
.navbar #logo {
	max-width: 250px;
}

@media (max-width: 320px) {
	.navbar #logo {
		max-width: 200px;
	}
}

@media (min-width: 768px) {
	.navbar #logo {
		max-width: 375px;
	}
}

@media (min-width: 992px) {
	.navbar #logo {
		max-width: 325px;
	}
}

.navbar-nav .nav-item {
	padding: 0 1rem;
}

.navbar a {
	font-size: 1.25rem;
	text-transform: uppercase;
	color: var(--ucla-lightest-blue);
}

.navbar a:hover {
	color: var(--lightest-green);
}

.navbar a.active {
	color: var(--white);
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar .dropdown-menu,
.navbar .dropdown-menu a:hover,
.navbar .dropdown-menu a:active,
.navbar .dropdown-menu a.active {
	background: var(--ucla-blue);
}

.navbar .dropdown-menu a {
	font-size: 1rem;
}

/** HOME **/
/** Jumbotron **/
#jumbo {
	background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.6)), url(../img/home/grass-web.jpg) bottom center no-repeat;
	background-size: cover;
}

@media(min-width: 992px) {
    #jumbo {
        background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.6)), url(../img/home/grass-web.jpg) fixed bottom center no-repeat;
        background-size: cover;
    }
}

#jumbo #jumbo-text {
	background: rgba(0, 0, 0, 0.3);
	display: inline-block;
}

#jumbo h1 {
	text-shadow: 0px 2px 2px black;
}

#jumbo p {
	color: var(--white);
}

/** About Us **/
#about-us {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

#about-us p {
	color: var(--white);
}

/** Benefits **/
.question {
    color: var(--green);
    font-size: 1.5rem;
    font-weight: 300;
}

#benefits-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url(../img/home/fish1-web.jpg) center right no-repeat;
    height: 100vh;
}

@media(min-width: 992px) {
    #benefits-1 {
        background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url(../img/home/fish1-web.jpg) fixed center right no-repeat;
    }
}

#benefits-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url(../img/home/grass2-web.jpg) top right no-repeat;
    background-size: cover;
    height: 100%;
    padding-top: 25%;
    padding-bottom: 25%;
}

@media(min-width: 992px) {
    #benefits-2 {
        background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url(../img/home/grass2-web.jpg) fixed top right no-repeat;
        background-size: cover;
        height: 100vh;
        padding-top: 7.5vh;
        padding-bottom: 7.5vh;
    }
}

@media(min-width: 1200px) {
    #benefits-2 {
        padding-top: 12.5vh;
        padding-bottom: 12.5vh;
    }
}

#benefits-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.3)), url(../img/home/kelp6-web.jpg) center center no-repeat;
    background-size: cover;
    height: 100vh;
}

@media(min-width: 992px) {
    #benefits-3 {
        background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.3)), url(../img/home/kelp6-web.jpg) fixed center center no-repeat;
    }
}

#benefits-4 {
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.1)), url(../img/home/grass4-web.jpg) bottom center no-repeat;
    background-size: cover;
    height: 100%;
    padding-top: 25%;
    padding-bottom: 25%;
}

@media(min-width: 992px) {
    #benefits-4 {
        background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.1)), url(../img/home/grass4-web.jpg) fixed bottom center no-repeat;
        height: 100vh;
        padding-top: 12.5vh;
        padding-bottom: 12.5vh;
    }
}

@media(min-width: 1200px) {
    #benefits-4 {
        padding-top: 20vh;
        padding-bottom: 30vh;
    }
}

/** ABOUT **/
#team {
	max-width: 1000px;
	margin: 0 auto;
}

#members .name {
	font-size: 1.5rem;
}

#members .role {
    color: var(--green);
    font-size: 1.25rem;
    font-style: italic;
}

/** MAP **/
#map {
	width: 100%;
	height: 75vh;
	background-color: var(--light-grey);
}

#map #reset {
	position: absolute;
    margin: 10px;
	z-index: 1;
	color: var(--darkest-grey);
	background: var(--white);
}

#map #reset:hover {
	background: var(--light-grey);
}

.mapboxgl-popup {
	font-family: var(--font-family);
	font-size: 1rem;
}

#map .popup-title {
    font-size: 1.25rem;
}

#map .popup-title:hover {
    text-decoration: none;
}

#map .ecosystem {
	color: var(--green);
}

/** Project Modals **/
.modal-title {
    font-size: 1.25rem;
}
.institute {
	color: var(--green);
    font-style: italic;
}

/** Project List **/
#project-list .card-title {
    font-size: 1.25rem;
}
#project-list .card-title [aria-expanded='false']:before {
	font-family: 'FontAwesome';
	font-size: 1rem;
	content: "\f0da";
	padding-right: 0.5rem;
}

#project-list  .card-title [aria-expanded='true']:before {
	font-family: 'FontAwesome';
	font-size: 1rem;
	content: "\f0d7";
	padding-right: 0.5rem;
}

#project-list  .card-title [aria-expanded='false']:hover,
#project-list  .card-title [aria-expanded='true']:hover {
	text-decoration: none;
}

/** INTERVIEWS **/
#interviews .card-title {
    font-size: 1.5rem;
}

#interviews .foundation {
    color: var(--green);
    font-size: 1.25rem;
    font-style: italic;
}

/** ECOLOGY **/
#ecograss .modal-title {
    font-size: 1.5rem;
}

#ecograss {
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/stock/seagrass_silho-web-v.jpg) top center no-repeat;
    background-size: cover;
}

@media(min-width: 992px) {
    #ecograss {
        background: linear-gradient(-90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../img/stock/seagrass_silho-web.jpg) fixed top center no-repeat;
        background-size: cover;
    }
}

#kelp {
    background: linear-gradient(-90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/stock/kelp1-web-v.jpg) center left no-repeat;
    background-size: cover;
}

@media(min-width: 992px) {
    #kelp {
        background: linear-gradient(-90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/stock/kelp1-web.jpg) fixed top center no-repeat;
        background-size: cover;
    }
}

/** METHODS **/
#methods h2 {
	color: var(--darkest-grey);
}

#methods .nav-tabs .nav-link.active {
    color: var(--green);
}

#methods .case-title {
	text-align: center;
}

#methods .case-title a {
	font-size: 1.1rem;
}

#methods .case-text {
	color: var(--dark-grey);
}

#methods ul {
	list-style-type: square;
}

#methods ul li {
	font-size: 0.9rem;
    color: var(--dark-grey);
}

/** LIBRARY **/
#library div.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

#libraryNav .list-group-item {
	color: var(--ucla-darker-blue);
	border-color: var(--ucla-darker-blue);
}

#libraryNav .list-group-item:hover {
	background: var(--light-green);
	border-color: var(--light-green);
	color: var(--white);
}

#library h2 {
	color: var(--darkest-grey);
}

#library h3 {
    color: var(--green);
}

#library .media-title {
    font-size: 1.25rem;
}

#library .media-title [aria-expanded='false']:before {
	font-family: 'FontAwesome';
	font-size: 1rem;
	content: "\f0da";
	padding-right: 0.5rem;
}

#library .media-title [aria-expanded='true']:before {
	font-family: 'FontAwesome';
	font-size: 1rem;
	content: "\f0d7";
	padding-right: 0.5rem;
}

#library .media-title [aria-expanded='false']:hover,
#library .media-title [aria-expanded='true']:hover {
	text-decoration: none;
}

#library .focus {
	color: var(--green);
}

#library .subheading {
    text-decoration: underline;
    font-weight: 700;
}

#library ul.bullets {
    list-style-type: square;
}

#library ul.bullets li {
	font-size: 0.9rem;
    color: var(--dark-grey);
}

#library ol li {
	font-size: 0.9rem;
    color: var(--dark-grey);
}

/** Seagrass **/
#seagrass {
	position: absolute;
	height: 200px;
	width: 100%;
	background: url(../img/seagrass.svg) repeat-x;
}

/** Footer **/
.spacer {
    height: 1rem;
}

footer {
	color: var(--white);
	background: linear-gradient(0deg, rgba(105, 80, 25, 1) 76%, rgba(174, 148, 107, 1) 100%);
	margin-top: 170px;
}

footer #logo-short {
	max-width: 64px;
}

footer #sitemap a {
    color: var(--ucla-lighter-blue); 
}

footer #sitemap a:hover {
    color: var(--lightest-green);
    text-decoration: none;
}

footer #copyright {
    font-size: 0.9rem;
	color: #2d2015;
}
