/*Author: Holly Dahlstrom
    Date Created: 9/17/2024
    This is the style for the Koala Sites*/

    @import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');

    * {
        margin:0;
        padding:0;
    }

    body {
        background-color:rgb(255, 243, 230);
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1em; 
    }

    #container {
        width:80%;
        max-width: 80vw;
        border: 4px solid rgb(31, 97, 84);
        margin: 2vh auto; 
        border-radius: 25px;
        box-shadow: 15px 15px 15px 5px rgba(0, 0, 0, 0.5);
        background-color: rgb(241, 242, 237);
    }

    img.banner {
        width: 100%;
        height: auto;
        border-top-left-radius: 22px;
        border-top-right-radius: 22px;
    }

    p {
        color:rgb(34, 51, 0);
        line-height: 1.6;
        text-align: left;
        font-size: 1.2em;
        padding: 0 5%;
    }

    ul li {
        color:rgb(85, 128, 0);
        font-size: 1.2em;
    }

    ol li {
        color:rgb(85, 128, 0);
        font-size: 1.2em;
        margin: 0 5vw; 
    } 
    
    p strong {
        color:rgb(179, 94, 29);
    }

    h1, h2, h3 {
        color:rgb(115, 77, 38);
        text-align: center;
        font-family: "Lilita One", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 2.5em;
        margin-top: 2vh;
    }

    h1 {
        border-top: 4px solid rgb(245, 167, 66);
        padding-top: 0.6em;
        margin-top: 1.2vh; 
    }

    .bluebackground {
        background-color:rgb(71, 150, 148);
    }

    .beigebackground {
        background-color: rgb(201, 163, 125);
    }

    .lightbeigebackground {
        background-color: rgb(189, 166, 143);
    }

    .yellow {
        color: rgb(207, 144, 37);
    }

    li.green {
        color: rgb(73, 105, 70);
        }

    #bgbeige {
        background-color: rgb(194, 181, 155);
    }

    img.left {
        float:left;
        margin: 0 5vw 2.5vh 1vw;
        border: 4px solid rgb(245, 167, 66);
        padding: 0.8em;
        background-color: rgb(245, 239, 233);
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    }

    img.right {
        float:right;
        margin: 0 1vw 2.5vh 5vw;
        border: 4px solid rgb(245, 167, 66);
        padding: 8px;
        background-color: rgb(245, 239, 233);
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    }

    .clearfloat {
        clear:both;
    }

    footer {
        background-color: rgb(63, 166, 149);
        border-bottom-left-radius: 22px;
        border-bottom-right-radius: 22px;
    }

    footer p, footer a {
        color: rgb(250, 250, 250);
        text-align: center;
    }
    
    footer img {
        margin: 0 auto;
        text-align: center;
        display: block;
    }

    .cap::first-letter {
        color: rgb(201, 156, 8);
        font-size:xx-large;
    }
    
/*Styling of the form element and form related elements*/
    form {
        width: 85%;
        max-width: 900px;
        border: 2px solid rgb(43, 23, 3);
        background-color: rgb(216, 194, 171);
        list-style-type: none;
        padding: 0.5em;
        margin: 0 auto;
        border-radius: 15px;
    }

    form section {
        display: flex;
        justify-content: space-between;
        padding: 0.5em;
    }

    label {
        flex:1;
        text-align: right;
        margin-right: 0.5em;
        padding: 0.5em;
    }

    input {
        flex:4;
    }

    fieldset {
        margin-bottom: 0.5em;
    }

    .hearaboutus {
        text-align: left;
        color: rgb(43, 23, 3); 
        font-size: 1em; 
        padding-left: 10px; 
    }

    .message {
        display: flex;
        flex-direction: column;
    }

    .message label {
        text-align: left;
    }

    .buttons {
        display:flex;
        justify-content:center;
    }

    button {
        margin: 12px 0.5em;
        width: 100px;
    }

    legend {
        margin: 0.5em;
        border-bottom: 2px solid rgb(43, 23, 3);
        text-align: center;
    }

    .howus label {
    color: rgb(43, 23, 3);
    }

    .howus {
        padding: 0.5em;
    }

/* Styling of the nav bar*/
    nav {
        background-color: rgb(232, 198, 77);
        text-align: center;
        text-transform: uppercase;
        padding: 0.4em;
        font-weight: bold;
    }

    nav li {
        list-style-type: none;
        display: inline;
        padding: 0.5em;
    }

    nav ul li a {
        color: rgb(43, 128, 108);
        text-decoration: none;
    }

    ul li a:hover {
        color: rgb(207, 169, 48);
    }

    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }


@media only screen and (max-width: 600px)
{
    #container {
        width: 100%;
        border: none;
        margin: 0;
    }

    nav ul {
        flex-direction: column;
    }

    img.left {
        float: none;
        margin: 0.25% auto;
        display: block;
    }

    img.right {
        float: none;
        margin: 0.25% auto;
        display: block;
    }

    form {
        width: 95%;
        margin: 0;
    }

    form section {
        flex-direction: column;
    }

    label {
        text-align: left;
    }
    
    button {
        margin: 12px auto;
    }
    .howus {
        flex-direction:column;
    }
}
