*{
    margin:0;
    padding:0;
}

body{
    color: #333;
    background-color: #e2e1de;

    font-family: monospace;
    height: 90vh;
    font-size: 16px;    
    font-weight: bold;

    text-align: center;  
    display:  grid;
    justify-content: center;
}

h2 li{
    list-style: none;
}


section p {
    width: 80%;
    text-align: center;
    max-width: fit-content;
    margin: 0 auto;
}
/*Nav Menu Style*/
nav{
    width: 100%;
    height: 100%;
}

nav ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    height: 90%;
}

/* Where I got styling from
https://uiverse.io/Mhyar-nsi/tiny-wasp-99
*/
nav ul li{
    background-color: #808080;
    color: white;
    
    width: 80%;
    height: 50%;

    list-style: none;
    text-align: center;
  
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s; 
    
    margin: 1.0%;
    
    /*Aligns a centre of li*/
    display: flex;
    justify-content: center; 
    align-items: center;   
}

nav ul li:hover {
  background-color: #5e5757;
  box-shadow: 0 0 0 5px #504848;
  color: #fff;
}

nav ul li a{
    color: white;
    font-weight: normal;
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    justify-content: center; 
    align-items: center;   
    width: 100%;
    height: 100%;
}

nav hr{
    margin: auto;
    width: 90%;
    margin-top: 1%;
    margin-bottom: 1%;
}

/*Footer*/

footer{
    margin: 2.5%;
}

footer li{
    list-style: none;
}
footer ul{
    display: grid;
    justify-content:  start;
    grid-template-columns:1.0fr 1.0fr 1.0fr ;
}


footer ul li img:hover {
    transform: scale(1.4); 
    position: relative;
    z-index: 1; 
}


/*Animations*/

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fadeIn {
    animation: fadeIn 1s ease-in ;
}

.fadeInLate {
    animation: fadeIn 1s ease-in ;
    animation-delay: 1s;
    opacity: 0; 
    animation-fill-mode: forwards;
}

.fadeInLater {
    animation: fadeIn 1s ease-in ;
    animation-delay: 2s;
    opacity: 0; 
    animation-fill-mode: forwards;
}

@keyframes spin {
    0% {
        opacity: 0;
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.roundAbout{
    display: inline-block; 
    transform-origin: center;
    animation: spin 1s linear;
    animation-delay: 3s;
    opacity: 1;
    animation-fill-mode: backwards;
}