
* {

    box-sizing: border-box;
    scroll-behavior: smooth;
    padding: 0%;
    margin: 0%;
}

@font-face {
    font-family: Righteous;
    src: url('fonts/Righteous-Regular.woff2') format('woff2');
}

html {
    font-family: Righteous, Verdana, Geneva, Tahoma, sans-serif;
    background: url('pictures/jungle3.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed;

    cursor: url(pictures/monkepointer.png),pointer;  
}


:root {
    font-size: 20px;
}

body {
    cursor: url(pictures/monkepointer.png),pointer;  
}


header {
    box-sizing: border-box;    
    position: sticky;
    top: 0;
    left: 50;
}

nav {
    text-align: right;
    background-color: rgb(102, 102, 102, 90%);
    position: static; 
    padding: 20px;

}


section {
    scroll-margin-top: 500px;
}


.navigation {
    display: inline-flex;
    list-style: none;
    margin-right: 50px;



}

.navigation .keys a{
    margin: 5px;

    padding: 30px;
    border: none;
    border-radius: 10px;
    color: white;
    width: 300px;
    text-align: center;


}

.navigation .keys a{

    border: none;
    border-radius: 10px;
    color: white;
    display: inline-block;
    font-size: 1.2rem;


}


a {
    text-decoration: none;
    cursor: url(pictures/monkepointer.png),pointer;  
    display: block;   
}

.navigation li:hover{
    background-color: rgb(153, 153, 153);
    box-shadow: 3px 5px rgb(77, 77, 77);
    border: 0.2px solid rgb(77, 77, 77);


}

.dropdown {
    display: none;


}

.navigation li:hover .dropdown{
    display: block;
    position: absolute;
    background-color: rgb(179, 179, 179);
    cursor: url(pictures/monkepointer.png),pointer;

}





.navigation li:hover .dropdown li {
        box-shadow: none;
        list-style: none;
        text-align: center;


}

.navigation li:hover .dropdown li a {
    font-size: 15px;
    padding: 20px;
    display: block;
    cursor: url(pictures/monkepointer.png),pointer;  

}

#monke {
    float: left;
    margin-left: 30px;
}

#monkeytitle {
 
    text-align: center;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    border: 1px solid rgb(179, 179, 179);
    background-color: rgb(255, 255, 255, 20%);
}

#monkeytitle p {
    color: white;
    font-size: 10vw;
    letter-spacing: 50px;

}

#dancinggif {
    text-align: center;
    border-radius: 10px;
    color: white;
}





h2 {
    font-size: 2rem;
    border: 1px solid white;
    display: inline-block;
    border-radius: 10px;
    padding: 20px;
    padding-left: 50px;
    padding-right: 50px;
    margin: 10px;
    text-decoration: underline;
    text-shadow: 2px 3px rgb(179, 179, 179);
}


#about {
    scroll-margin-top: 100px;    
}

#about, #diet, #places, #evolution, #species, #space{
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    max-width: 1000px;
    text-align: center;
    border: 1px solid white;
    padding: 50px;
    overflow: auto;
    border-radius: 10px;
    background-color: rgb(255, 255, 255, 20%);
    padding-top: 140px;
    padding-bottom: 100px;


}


#about p, #places p{
    text-shadow: 1px 2px rgb(179, 179, 179);
    text-align: left;
   text-align: justify;
   max-width: auto;
}


#about figure {
    float:right;
    padding: 20px;
    margin-top: 50px;

}

figcaption {
    font-size: 12px;
}


#diet figure {
    float: left;
    padding: 20px;
}

#diet p {
    text-shadow: 1px 2px rgb(179, 179, 179);
    text-align: right;
   text-align: justify;
   max-width: auto;
}

#places figure {
    float:right;
    padding: 20px;
    margin-top: 50px;

}

footer {
    margin-top: 50px;
    background-color: rgb(102, 102, 102, 90%);
    color: white;   
    text-align: center; 
    font-size: 15px;    
}

footer #footersection{

    max-width: 100%;

    padding: 20px;

    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0 auto;    

}

footer p{
    margin: 20px;
}

footer h3 {
    font-size: 1rem;
}



li {
    list-style: none;

}

a {
    color: white;
}

a:hover {
    color: gray;

}

h3{
    letter-spacing: 10px;
}


#monke {
    display: inline-block;
    animation: spin 3s linear infinite;
}

@keyframes spin {
   to {
        transform: rotate(360deg);
    }
}



@media screen and (max-width:1200px){
    #monke {display: none}
    .navigation {display: block;margin-right: auto;}
    .navigation .keys {text-align: center;display: block; align-items: center;margin-left:auto;margin-right: auto;}
    nav {align-items: center;width: 100%;display: block}
    iframe {display: none;}

}

