body, h1, h2, h3, p{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color:#3B1B0A;
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}
h1{
    font-size: 30px;
    font-weight: bold;
    font-family: 'Permanent Marker', cursive;
    font-size: 50px;
    padding: 50px 0;
}
h2{
    font-family: "Macondo", cursive;
    font-weight: 400;
    font-style: normal;
    padding: 20px 0;
    font-size: 40px;
}
h3{
    font-family: "Macondo", cursive;
    font-weight: 400;
    font-style: normal;
    padding: 10px 0;
    font-size: 24px;
}
#home{
    margin: 0;
}
#description-body{
    background-color: #FBF1E4;
}
#ecology-body{
    background-color: #DBE1E5;
}
#social-body{
    background-color: #dbebcf;
}
#conservation-body{
    background-color: #EED4C0;
}
#culture-body{
    background-color: #DBD9CA;
}
h1{
    text-align: center;
}
h2{
    text-align: center;
}
.flex-container{
    margin:0 180px;
}
.flex-item{
    width: 100%;
    box-sizing: border-box;
}
.container{
    margin: auto;
}
.nav{
    background: #F2BD8B;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    font-family: "Macondo", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}
.nav a{
    margin: 0 10px;
    text-decoration: none;
    color: #3B1B0A;
}
.section{
    padding: 20px;
    
}
#home-page{
    background-image: url(../images/home-capybara.jpg);
    aspect-ratio: 1651 / 1210;
    margin: 0;
    width: 100%;
    height: 900px;
}
.text-box{
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #3B1B0A;
    margin-bottom: 20px;
    border-radius: 20px;
}
.text-box p{
    font-weight: 500;
}
#home-text{
    padding: 30px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #3B1B0A;
    margin: 20px 180px;
}
.image{
    width: 100%;
    height: auto;
    background-size: cover;
    background-position: center;
}
#description{
    background-image: url(../images/description-capybara.png);
    aspect-ratio: 257 / 295;
    width: 15%;
}
#description-sticker{
    background-image: url(../images/description-stickers.png);
    aspect-ratio: 200 / 173;
    width: 12%;
}
#ecology{
    background-image: url(../images/ecology-capybara.png);
    aspect-ratio: 381 / 299;
    width: 22%;
}
#ecology-sticker{
    background-image: url(../images/ecology-stickers.png);
    aspect-ratio: 200 / 191;
    width: 12%;
}
#social{
    background-image: url(../images/social-capybara.png);
    aspect-ratio: 231 / 246;
    width: 13%;
}
#social-sticker{
    background-image: url(../images/social-sticker.png);
    aspect-ratio: 200 / 192;
    width: 11.2%;
}
#conservation{
    background-image: url(../images/conservation-capybara.png);
    aspect-ratio: 312 / 227;
    width: 18%;
}
#conservation-sticker{
    background-image: url(../images/conservation-sticker.png);
    aspect-ratio: 165 / 166;
    width: 9%;
}
#culture{
    background-image: url(../images/culture-capybara.png);
    aspect-ratio: 828 / 329;
    width: 60%;
}
#culture-sticker{
    background-image: url(../images/culture-sticker.png);
    aspect-ratio: 148 / 147;
    width: 10%;
}
.fun-fact{
    padding: 20px;
    background: #FBF1E4;
    border: 1px solid #3B1B0A;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
}
.footer{
    background: #FBF1E4;
    padding: 20px;
    font-size: 14px;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
    text-align: left;
}
.footer ol, .footer ul{
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-left: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.footer li{
    margin-bottom: 20px;
}
.navMin{
    display: none;
    padding: 10px 10px;
    background: #F2BD8B;
    color: #3B1B0A;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    font-family: "Macondo";
    font-size: 20px;
    position: relative;
    z-index: 99;
}
.navMin>div:nth-of-type(1){
    width: 30px;
}
.navMin>div:nth-of-type(2){
    flex-direction: column;
    position: absolute;
    right: 0;
    bottom: -195px;
    background: #F2BD8B;
    padding: 10px;
    display: none;
}
.navMin:hover div:nth-of-type(2){
    display: flex;
}
.navMin>div:nth-of-type(2) a{
    border: none;
    text-decoration: none;
    line-height: 1.5;
    color:#3B1B0A;
}
.navMin div span{
    display: inline-block;
    height: 5px;
    background: #3B1B0A;
    margin-bottom: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.navMin div span{
    display:inline-block;
    height: 5px;
    background: #3B1B0A;
    margin-bottom: 5px;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.navMin div span:last-child{
    margin: 0;
}
.description1{
    display: flex;
}
.description1>div:nth-of-type(1){
    position:relative;
    margin-top: 200px;
}
.description1>div:nth-of-type(2){
    margin-left: 20px;
}
.description1 #description{
    width: 35%;
    position: absolute;
    top: -180px;
    right: 90px;
    background-repeat:no-repeat;
}
.description1 .image{
    flex: 1 1 150px; 
    max-width: 200px;
    height: auto;
    background-size: contain; 
    background-repeat: no-repeat;
}
.description2 h2{
    margin-left: 80px;
    text-align: right;
}
.description1 .fun-fact{
    position: relative;
    border-radius: 10px 0 10px 10px;
    width: 50%;
    margin: 0 auto;
}
.description1 #description-sticker{
    width: 200px;
    position: absolute;
    right: -200px;
    top: -80px;
}
.text-box p{
    overflow: hidden;
}
.ecology1{
    display: flex;
    align-items: flex-start;
    margin-top: 50px;
}
.ecology1>div:nth-of-type(1){
    width: 390px;
}
.ecology1 #ecology{
    width: 100%;
}
.ecology1 .text-box{
    flex: 1;
}
.ecology2{
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    flex-wrap: wrap; 
    padding: 10px;
}
.ecology2 .image{
    flex: 1 1 150px; 
    max-width: 150px;
    height: auto;
    background-size: contain; 
    background-repeat: no-repeat;
}
.ecology2 #ecology-sticker{
    width: 160px;
    position: absolute;
    left: -10px;
    top: -10px;
    z-index: 9;
}
.ecology1 h2{
    text-align: left;
}
.ecology2 .fun-fact{
   flex: 3 1 300px;
   box-sizing: border-box;
   margin-left: 150px;
   position: relative;
   border-radius: 0 10px 10px 10px;
}
.social #social{
    width: 220px;
    margin: 0 auto;
}
.social1{
    display: flex;
    align-items: flex-start;
    margin-top: 50px;
}
.social1>div:nth-of-type(2){
    flex: 1;
}
.social1>div:nth-of-type(2) h2{
    text-align: right;
}
.social{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: 500px;
    margin-right: 20px;
}
.social2 .fun-fact{
    border-radius: 10px 0 10px 10px;
}
.social2{
    display: flex;
    align-items: flex-start; 
}
.social2 #social-sticker{
    width: 170px;
    position: relative;
    top: -20px;
}
.social1 .text-box2{
    display: none;
}
.conservation1{
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
}
.conservation1 #conservation-sticker{
    width: 120px;
    position: absolute;
    left: 0;
    background-repeat: no-repeat;
    background-size: contain;
}
#conservation-sticker, #conservation{
    max-width: 100%;
    height: auto;
    background-size: cover;
    z-index: 1;
}
.conservation1 .image, .conservation1 .fun-fact{
    /*flex: 1 1 30%;*/
    margin: 10px;
    position: relative;
}
.conservation1 .fun-fact{
    width: 65%;
    margin-left: 10%;
    z-index: 2;
    border-radius: 0 10px 10px 10px;
}
.conservation1 #conservation{
    width: 300px;
    background-repeat: no-repeat;
    position: absolute;
    right: -100px;
    top: -60px;
}
.culture1{
    display: flex;
    align-items: flex-start;
    margin-top: 50px;
}
.culture1 .left{
    width: 400px;
    margin-right: 50px;
}
.culture1 .left h2{
    font-family: "Macondo";
}
.culture1 .right{
    flex: 1;
}
.culture1 .right #culture{
    width: 100%;
    background-repeat: no-repeat;
}
.culture2{
    display: flex;
    align-items: flex-start;
    margin-top: 50px;
}
.culture2 .fun-fact{
    border-radius: 10px 0 10px 10px;
}
.culture2 #culture-sticker{
    width: 200px;
    background-repeat:no-repeat;
    flex: 1 1 150px; 
    max-width: 150px;
    height: auto;
    background-size: contain; 
    background-repeat: no-repeat;
}
.audio11{
    display: none;
}
@media screen and (max-width: 900px){
    #home-text{
        margin: 20px 20px;
    }
    .flex-container{
        margin:0 20px;
    }
    #description, #description-sticker, #ecology, #ecology-sticker, #social, #social-sticker, #conservation, #conservation-sticker, #culture, #culture-sticker{
        display: none;
    }
    .nav{
        display: none;
    }
    .navMin{
        display: flex;
    }
    h1{
        padding: 20px 0;
        font-size: 30px;
    }
    .description1{
        flex-direction: column;
    }
    .description1>div:nth-of-type(1){
        margin-top: 0;
    }
    .description1>div:nth-of-type(2){
        margin-top: 0;
        margin-left: 0;
    }
    .description1 .fun-fact{
        width: 90%;
        border-radius: 10px;
    }
    .description2 h2{
        margin: 0;
    }
    .ecology1{
        margin-top: 20px;
        flex-direction: column;
    }
    .ecology1 h2{
        text-align: center;
    }
    .ecology2 .fun-fact{
        margin: 0;
        border-radius: 10px;
    }
    .social{
        display: none;
    }
    .social1 .text-box1{
        display: none;
    }
    .social1{
        margin-top: 20px;
        flex-direction: column;
    }
    .social1 .text-box2{
        display: block;
    }
    .social1>div:nth-of-type(2) h2{
        text-align: center;
    }
    .social2 .fun-fact{
        margin: 0;
        border-radius: 10px;
    }
    .social1, .social2{
        font-display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .conservation1 .fun-fact{
        width: 100%;
        margin: 0;
        border-radius: 10px;
    }
    .culture1{
        margin-top: 20px;
        flex-direction: column;
    }
    .culture1 .left audio{
        display: none;
    }
    .culture2 .fun-fact{
        border-radius: 10px;
    }
    .audio11{
        display: block;
        margin: 20px auto;
    }
    .footer{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer ol, .footer ul{
        width: 100%;
        align-items: center;
    }
    .footer li{
        text-align: center;
    }
    .footer p{
        margin-top: 20px;
    }
}
@media screen and (max-width: 600px){
    .footer{
        padding: 10px;
        font-size: 12px;
        overflow: auto;
    }
    .footer ol, .footer ul{
        padding: 0 20px;
    }
}