@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Protest+Revolution&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
/* Color pallete: #006341, #FFFFFF, #C8102E, #0079BC */
.homehero {
    background-image: url("image/concrete-2562843_1280.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.homehero h2 {
    font-size: 80px;
    text-align: center;
    font-family: "Protest Revolution";
    color: white;
    text-shadow: 2px 2px 2px black;
    margin: 0;
    padding: 100px;
}
body {
    font-family: "IBM Plex Serif", sans-serif;
    background-color: #ebf3fa;
    margin: 0; 
}

/*Other Links*/
a:link {
    color: black;
}
a:visited {
    color: whitesmoke
}
a:hover {
    color: #ebf3fa;
    text-decoration: none;
}
a:active {
    color: #C8102E;
}
header {
    text-align: center;
}
/* Navigation */
nav {
    background-color: rgba(0, 99, 65, .75);
    border-top: 3px solid #C8102E;
    border-bottom: 3px solid #C8102E;
    padding: 5px;
}
nav ul {
    list-style: none;
    text-align: center;
    margin: 8px 0;
    padding: 0;
}
nav li {
    display: inline;
    padding: 5px;
}
nav a {
    text-decoration: none;
}
nav a:link {
    color: #FFFFFF;
}
nav a:visited {
    color: #ebf3fa;
}
nav a:hover {
    color: black;
    text-decoration: none;
}
nav a:active {
    color: #C8102E
}
.fa {
    font-size: 20px;
    color: lightcyan;
}

/*Main*/
main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    
}
h3 h4 { font-family: "Newsreader";}
.float-right {
    float: right;
    max-width: 100%;
    height: 100%;
    margin-right: 30px;
}
blockquote {
    background-color: rgba(0, 99, 65, .5);
    border-left: 10px solid #C8102E;
    padding: 20px;
    height: 100%;
    max-height: 475px;
    line-height: 45px;
    font-size: 25px;
}
#center {
    text-align: center;
}
/* Footer */
footer {
    border-top: #C8102E 3px solid;
    text-align: center;
    background-color: rgba(0, 99, 65, .75);
}
footer h3 {
    padding-top: 10px;
}
footer {
    font-size: 16px;
}

/* gallery modal html, css and javascript taken from w3schools */
.gallery .preview{
    width: 100%;
    height: auto;
}

.gallery .gallery-thumbnails img {
    width: 100px;
    height: 75px;
    margin: 3px 10px 10px 0;
}

.gallery .gallery-thumbnails img:hover {
    opacity: 0.8;
    cursor: pointer;
}

.gallery .preview img#preview {
    padding: 1px;
    max-width: 100%;
    height: auto;
    margin: 0 auto !important;
    display: block !important;
}

/* CSS Adjustments for Tablets */
/* CSS without a media query--applies to all sizes unless overridden */
h1 {
    font-size: 2em;
}
@media only screen and (max-width: 1024px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 1.5em;
    }
    h4 {
        font-size: 1.5em;
    }
    blockquote {
        font-size: 1.5em;
        line-height: 1.75em;
    }
}
/* CSS Adjustments for Smartphones */
@media only screen and (max-width: 800px) {
    blockquote {
        font-size: 1.5em;
        line-height: 1.75em;
        max-height: 19.75em;
    }
}
@media only screen and (max-width: 767.9px) {
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.5em;
    }
    blockquote {
        font-size: 1.5em;
        line-height: 1.25em;
        max-height: 22.95em;
        border-left: none;
    }
    .float-right {
        display: none;
    }
}
@media only screen and (max-width: 576px) {
    blockquote {
        font-size: 1.2em;
        max-height: 17.25em;
    }
}
@media only screen and (max-width: 575.98px) {
    .homehero h2 {font-size: 3em;
    }
}
@media only screen and (max-width: 425px) {
    .homehero h2 {font-size: 2.5em;
    }
    /* modified nav */
    nav li{
        display: list-item;
    }

}
@media only screen and (max-width: 375px) {
    .homehero {
        max-height: 15em;
    }
    .homehero h2 {
        font-size: 1.75em;
        padding: 2em;
    }
    blockquote{
        line-height: 1.45em;
    }  
    footer {
        font-size: 0.75em;
    }
}
