﻿/* brown #5d4e47 rgb(93,78,71)*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Miriam Libre", sans-serif;
    text-align: center;
    font-size: 40px;
    color: #1f5861;
    background-color: rgb(84, 84, 84);
    overflow: hidden;
}

/* ***** SLIDESHOW STYLES ******* */

.stopAutoslider {
    display: flex;
    justify-content: center;
    position: fixed;
    width: 80vw;
    height: 100vh;
    margin: 0 10%;
    top: 0;
    background: transparent;
    z-index: 999;
}

.slideshow-container {
    position: relative;
    margin: auto;
}

.mySlides {display: none;}

.prev, .next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 1rem;
color: white;
font-weight: bold;
font-size: 28px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: .35rem;
    border-radius: 7px 0 0 7px;
}

/* Position the "prev button" to the left */
.prev {
    left: .35rem;
    border-radius: 0 7px 7px 0;
    /* hide on first slide, script shows on other slides*/
    display: none;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* END SLIDESHOW STYLES */
/* ******************** */


h1 {
    background-color: rgba(222,224,223,.3);
    font-size: 6rem;
    padding: 3rem 0 2rem 0;
    text-shadow: 10px 8px 20px rgba(235, 240, 244, 0.7);
    box-shadow: 0 0 5px 10px rgba(222,224,223,.3);
}

section {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

#plastics li {
    text-decoration-line: line-through;
}

a {
    text-decoration: none;
    color: inherit;
}

section:first-child {
    background-image: url("../img/shorebirds.jpg");
}

#shorebirddata {
    background-image: url("../img/shorebird.jpg");
    background-position: unset;
    background-position-x: 73%;
}

#deadshorebird {
    background-image: url("../img/deadbird.jpg");
}

#shorebirddata p {
    width: 30%;
    height: 100%;
    font-size: 4rem;
    text-align: center;
    position: relative;
    left: 33%;
    background-color: rgba(222,224,223,.1);
    padding-top: 15vh;
    font-weight: bold;
    line-height: 1.8em;
}

span {
    font-style: italic;
    text-shadow: 10px 10px 20px rgba(235, 240, 244, 0.7);
}

#deadshorebird h2 {
    text-align: center;
    position: relative;
    top: 71%;
    background-color: rgba(222,224,223,.5);
}

#beachfeet {
    background-image: url("../img/beachfeet2.jpg");
}

    #beachfeet h2 {
        position: absolute;
        top: 29%;
        left: 22%;
        text-shadow: 10px 10px 20px rgba(235, 240, 244, 0.5);
    }

#waterbottle {
    background-image: url("../img/waterbottles.jpg");
}

    #waterbottle p {
        width: 36%;
        font-size: 4rem;
        text-align: left;
        position: relative;
        top: 20%;
        left: 3.5%;
        color: rgb(222,224,223);
        background-color: #1f5861;
        box-shadow: rgb(222,224,223) .5rem .5rem .5rem inset;
        box-shadow: rgba(31, 88, 97, 0.75);
        border-radius: 20%;
        padding: 3rem;
        font-weight: bold;
    }

#shoppingbag {
    background-image: url("../img/shoppingbags.jpg");
}

    #shoppingbag h2 {
        background-color: rgba(222,224,223,.7);
        padding: 1.8rem 0;
        text-shadow: 10px 10px 20px rgba(235, 240, 244, 0.5);
    }

#glasscontainer {
    background-image: url("../img/glasscontainer.jpg");
}

    #glasscontainer p {
        width: 48%;
        font-size: 4rem;
        text-align: center;
        position: absolute;
        top: 10%;
        right: 5%;
        color: rgb(222,224,223);
        background-color: rgba(31, 88, 97, 0.75);
        border-radius: 20%;
        font-weight: bold;
        padding: 2rem;
    }

#plastics {
    background-image: url("../img/plastics.jpg");
}

    #plastics h2 {
        background-color: darkred;
        color: rgb(222,224,223);
        padding: 1rem 0;
    }

ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    position: relative;
    top: 30%;
    color: darkred;
    font-weight: bold;
}

li {
    background-color: rgba(222,224,223,.7);
    border-radius: 100px;
    padding: 0 .35em;
}

#beachcleanup {
    background-image: url("../img/beachcleanup.jpg");
}

    #beachcleanup p {
        width: 25%;
        height: 100%;
        font-size: 5rem;
        text-align: center;
        position: relative;
        left: 62%;
        background-color: rgba(222,224,223,.8);
        padding-top: 15vh;
        font-weight: bold;
        line-height: 2em;
    }

#babybirds {
    background: url("../img/babybirds3.jpg") no-repeat center;
    background-size: contain;
}

footer {
    font-size: 12px;
    color: rgb(222,224,223);
    background-color: #5d4e47;
}

/* ********** larger screens ************ */
/* ********** larger screens ************ */
/* ********** larger screens ************ */

@media only screen and (min-width: 1000px) {


    section {
        background-position: unset;
    }

    #shorebirddata {
        background-position: center;
        background-position-x: unset;
    }

        #waterbottle p {
            width: 22%;
            box-shadow: rgb(222,224,223) 8px 8px 8px inset;
            border-radius: 100px;
            line-height: 2em;
            padding: .5em .1em .5em .5em;
        }

        #glasscontainer p {
            width: 27%;
            position: relative;
            left: 55%;
            right: 0;
            border-radius: 100px;
            line-height: 1.5em;
            padding: .5em;
        }

        #beachcleanup p {
            width: 20%;
        }

    #babybirds {
        background-size: cover;
        background-position: top;
    }

}

