header {
    background-color: rgb(209, 143, 143);
    padding: 10%;
}

header img {
    width: 30%;
}
h1 {
    font-family: ortem-mn, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 2.2rem;
    text-align: center;
    color: rgb(238, 230, 206);
    text-shadow:
        -1px -1px 0 black,
        1px -1px 0 black,
        -1px 1px 0 black,
        -2px 0 0 black,
        2px 0 0 black,
        0 2px 0 black,
        0 -2px 0 black;
}

body {
    background-image: url(../img/art-nouveau_bg.jpeg);
}

#overlay {
    background-color: #7c8f5be0; /* deep moss green */
    margin: 0;
}

h2 {
    font-family: tt-ricordi-allegria, sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 1.5rem;
    text-align:center;
    letter-spacing: 3px;
    line-height: 1.5;
}

h3 {
    font-family: tt-ricordi-allegria, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1rem;
    text-align:center;
    letter-spacing: 3px;
    line-height: 1.5;
}

p {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 1px;
    font-style: normal;
    line-height: 1.5rem;
    font-size: 1rem;
}

.wrapper {
    padding: 1%;
    margin:1%;
}

main {
    padding: 1%;
    margin: 1%;
}

picture img {
    display: block;
    margin: 0 auto;
    width: 100%;       
    max-width: 600px;
    height: auto;
}
.giveaway, .macmarket, .gwd, .transplant, .logos, .earthday {
    padding: 2%;
    margin: 1%;
}

.giveaway img {
    width: 100%;
}

.column-one img {
    min-width: 200px;
    display: block;
    margin: 0 auto;
}

.fblink img {
    width: 80px;
    margin-top: 10px;
}

.fblink img:active {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.gwd img {
    width: 100%;
}

.flex-container {
    display: flex;
    flex-direction: column;
    background-color:#9aae78ee;
    padding: 1%;
    margin: 1%;
}

.column {
    padding: 1%;
    margin: 1%;
}

.earthday h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.slideshow img {
    display:none;
}
.slideshow-left, .slideshow-right  {
    cursor:pointer;
    display: inline-block;
    color: white;
    font-size: 2em;
    font-weight: bold;
    padding: 0px 10px;
}
.slideshow-left {
    float:left;
    margin-left: 10px;
}
.slideshow-right {
    float:right;
    margin-right: 10px;
}

.slideshow .slideshow-pager {
    text-align: center;
    margin-top: -40px;
}
.slideshow .slideshow-pager span {
    width: 3px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    margin: 2px;
    display: inline-block;
    cursor: pointer;
    transition: all 0.6s;
}

.slideshow .slideshow-pager span.selected {
    width: 20px;
}

footer {
    background-color: #7c8f5b;
    padding: 10px;
    margin-top: 30px;
}

/*---------TABLET STYLES----------*/
@media only screen and (min-width: 675px) {
    h1 {
        font-size: 3rem;
        margin-top: 15px;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;
    }
    p {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    picture.column-one img {
        width: 100%;
    }

} /*-------end of media query-----*/


/*----------DESKTOP STYLES---------*/
@media only screen and (min-width: 1024px) {
    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3rem;
        font-weight: 5px;
    }

    h3 {
        font-size: 2rem;
    }

   .earthday h3 {
        font-size: 2rem;
        font-weight: 2px;
    }

    p {
        font-size: 1.5rem;
    }

    header {
        padding: 20px;
    }

    header img {
        width: 20%;
    }

    .flex-container {
        flex-direction: row;
    }

    .earth-day img {
        width: 100%;
        max-width: 800px;
    }
    
    .gwd img {
        width: 100%;
        max-width: 800px;
    }
    .slideshow .slideshow-pager span {
        width: 10px;
    }

    .slideshow {
        width: 80%;
        margin: 0 auto;
    }

    .macmarket .flex-container {
        flex-direction: row;
    }

    .logo .column h2 {
        text-align: center;
    }
    .logos .column-one {
        display: none;
    }
    .logos .column-two{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .logos .column .column-two img {
        max-width: 150px;
        width: 100%;
        height: auto;
        object-fit: contain;
        flex-basis: calc(50% - 2rem); /* two per row, with gap accounted for */
    }

    picture.column-one img {
        width: 360px;
    }

    .logos .flex-container .column-two {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;  /* centers items horizontally */
        gap: 1rem;
    }
    .logos .flex-container .column-two img {
        height: 64px;

    }
    .logos .column .two img {
        max-width: 30%;
        height: auto;


    } /*-------end of media query-----*/

}