@charset "UTF-8";

/****************************
 * file: style.css
 * date: 1st April, 2022
 * date last modified: N/A
 * author: Puhoi Landcare
 ****************************/

body {
    margin: 0;
    font-family: "Libre Baskerville";
}
header:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    opacity: 0.7;
    z-index: 10;
}
header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100vh;
    background: url(image/phoi-landcare.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0;
    animation: Monkey 500ms ease-in-out 250ms forwards;
    z-index: 5;
}
#plc-logo {
    max-width: 120px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
}
header h1 {
    font-weight: normal;
    font-size: 6vw;
    letter-spacing: 0.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 20;
    opacity: 0;
    animation: Monkey 2000ms ease-in-out 1000ms forwards;
}
main section:first-of-type {
    /*height: 500px;
    background: url(image/p-wave.png) no-repeat top center;
    background-size: cover;*/
}
section {
    padding: 15vh 1rem;
}
#mission {
    text-align: center;
}
#mission p {
    max-width: 1280px;
    margin: auto;
    text-align: center;
    font-size: 4vw;
    letter-spacing: 0.2rem;
    line-height: 1.5em;
}
#mission p > span {
    font-size: 2vw;
    margin-bottom: 2vw;
    display: block;
    color: #555;
}
#species:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #78866f;
    opacity: 0.5;
    z-index: 5;
}
#species {
    position: relative;
    background: url(image/native-bush-canopy.jpg) no-repeat center center;
    background-size: cover;
}
#species h2 {
    font-size: 3vw;
    color: #fff;
    position: relative;
    z-index: 20;
}
#species h2 span {
    display: block;
}
#species h2 span:last-of-type {
    margin: 0.5rem 0 auto 5vw;
}
#species > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 20;
}
#species > div > div img {
    width: 100%;
    border-radius: 50%;
    border: solid 2px #8bb34d;
    padding: 0.25rem;
    box-sizing: border-box;
}
div.animal-fa:after {
    content: "";
    border: solid 2px crimson;
    position: absolute;
    left: 0%;
    right: 2%;
    top: 50%;
    transform: rotate(45deg);
    margin: 0 1.25rem;
    transform-origin: center;
}
div.animal-fa img {
    border-color: crimson !important;
}
#species > div > div {
    flex: 1 1 300px;
    max-width: 360px;
    padding: 2em 1.5em;
    box-sizing: border-box;
    position: relative;
}
#contact {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#contact p {
    color: #333;
    line-height: 1.5;
    margin-bottom: 3rem;
}
#contact p:first-of-type {
    color: #555;
    font-size: 3vw;
    text-align: justify;
}
#contact p:first-of-type, #contact > div > div {
    max-width:1080px;
}
#contact > div > div {
    text-align: center;
}
#contact a {
    color: #8bb34d;
    font-size: 3vw;
    text-decoration: none;
    transition: all 500ms ease-in-out;
}
#contact a:hover {
    color: #eee;
}
#contact:after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    bottom: 0;
    height: 1px;
    background: #78866f;
}
#what div, #what p {
    margin: auto;
}
#what p {
    max-width: 1400px;
}
#what > div > ul {
    max-width: 1280px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-top: 5rem;
}
#what > div li {
    flex: 1 1 360px;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 360px;
}
#what img {
    display: block;
    width: 100%;
}
p#plc-f {
    margin-top: 3rem;
    position: relative;
    text-align: center;
}
p#plc-f a {
    font-size: 3.5rem;
    color: #4267B2;
}
footer {
    padding: 2rem 1rem;
    font-size: 0.8rem;
    background: #111;
    color: #ccc;
    text-align: center;
}
footer span {
    display: block;
}
footer span:first-of-type {
    margin-bottom: 0.75rem;
}
footer a {
    color: #8bb34d;
    text-decoration: none;
    font-size: 1rem;
}
@keyframes Monkey {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@media screen and (min-width: 1200px) {
    header h1 {
        font-size: 72px;
    }
    #mission p {
        font-size: 48px;
    }
    #mission p span {
        font-size: 24px;
    }
    #species h2 {
        font-size: 36px;
    }
    #contact p:first-of-type {
        font-size: 36px;
    }
    #contact a {
        font-size: 36px;
    }
}
@media screen and (max-width: 800px) {
    #mission p > span {
        font-size: 16px;
    }
}
@media screen and (max-width: 860px) {
    #what > div li {
        display: block;
        max-width: 480px;
        margin: auto;
    }
}
@media screen and (max-width: 600px) {
    header h1 {
        font-size: 36px;
    }
    #mission p {
        font-size: 24px;
    }
    #species h2 {
        font-size: 18px;
    }
    #contact p:first-of-type {
        font-size: 18px;
    }
    #contact a {
        font-size: 18px;
    }
}