@import url('https://fonts.googleapis.com/css2?family=Afacad+Flux:wght@100..1000&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
}

img {
    max-width: 90%;
    max-height: 100%;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #b478b1;
}

li {
    float: left;
    text-align: center;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Libre Franklin', sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

li a:hover {
    background-color: #d5b6d8;
    transform: scale(1.05);
}

h1 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: bold;
}

h2, h3, h4, h5, h6 {
    font-family: 'Libre Franklin', sans-serif;
}

p {
    font-family: 'Libre Franklin', sans-serif;
}

.main, .ocsmain, .aboutmain, .adoptsmain {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mainpage {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ocsmain h1 {
    margin-left: 10px; 
    margin-top: 10px; 
    margin-bottom: 5px;
}

.multiimage {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%; /* adjust based on how many items per row */
}

.item img {
    width: 100%;
    height: auto;
    margin-top: 25px;
}

.item h1, .item h4 {
    margin-top: 15px;
    text-align: center;
}

.button {
    background-color: #3bc494; /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    font-family: 'Libre Franklin', sans-serif;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #ace3c0;
    transform: scale(1.05);
}


.button a {
    text-decoration: none;
    color: white;
}

.footer {
    margin-top: 50px;
    text-align: center;
    padding: 3px;
    background-color: #b478b1;
    color: white;
}

@media screen and (max-width: 600px) {
    ul {
        flex-direction: column; /* Switch to vertical navbar */
    }

    li {
        width: 100%; /* Make each item take full width */
    }

    img {
        width: 90%;
        height: 100%;
    }
    
    .item h1 {
        font-size: 10pt;
    }

    p {
        padding-left: 5px;
        padding-right: 5px;
    }

    h4 {
        padding-left: 5px;
        padding-right: 5px; 
    }
    
    .button {
        background-color: #3bc494; /* Green */
        border: none;
        color: white;
        padding: 8px 16px;
        text-align: center;
        display: inline-block;
        font-size: 12px;
        margin: 4px 2px;
        cursor: pointer;
        font-family: 'Libre Franklin', sans-serif;
        transition: background-color 0.3s ease, transform 0.2s ease;
    }

    .multiimage {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-bottom: 20px;
    }

    iframe {
        width: 80%;
    }

}