body{
    background-color: black;
}

/* HEADER */
.headerwrapper{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0);
    top: 15px;
    margin-top: 15px;
    margin-bottom: 10px;
    z-index: 1000;
    animation: fade-down 0.5s;
}
.headerwrapper p{
    font-family: orelega one;
    font-size: xx-large;
    font-weight:lighter;
    letter-spacing: 0px;
    color: white;
    float: left;   
}
.headerwrapper a{
    height: 100%;
    text-decoration: none;
}
.navdiv{
    color: white;
    width: fit-content;
    height: 100%;
    margin-left: 29%;
}
.navdiv a{
    color: white;
    float: right;
    padding: 15px;
    font-family: libre franklin;
    font-size: medium;
}
.navbar{
    height: 100%;
}
.navdiv ul{
    list-style-type: none;
    display: inline-block;
    float: none;
    width:fit-content;
    padding:0;
}
.navdiv a:hover{
    background-color: white;
    color: black;
}
@keyframes fade-down {
    0%{
        opacity: 0;
        transform: translateY(-60px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes fade-up {
    0%{
        opacity: 0;
        transform: translateY(60px);
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
    }
}


/* FOOTER */
.footer{
    background-color: rgba(0, 0, 0, 0);
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    animation: fade-up 0.6s;

}
.footer .links{
    display: flex;
    flex-direction: row;
    
}
.footer .copyright{
    font-family: libre franklin;
    font-size: x-small;
    color: white;
    margin-top: -10px;
}
.icon{
    height: 1.2em;
    width: 1.2em;
    padding: 8px;
    fill: white;
}

/* INDEX */
#indexmain{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    animation: fade-up 0.5s;
}
.greetings{
    margin-top: 2%; 
}
.greetings p{
    font-family: libre franklin;
    font-weight: 300;
    font-size: large;
    color: white;
    text-align: center;
    margin-top: -2%;
}
.indexgallery{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 40%;
    height: auto;
    margin-top: 2%;
}
.indexgallery a{
    display: block;
    opacity: 1;
}
.indexgallery img{
    width: 100%;
}

 /* PERSONAL */
#projectsmain{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    animation: fade-up 0.5s;
}
#projectsmain h1{
    font-family: libre franklin;
    font-weight: 300;
    font-size: large;
    color: white;
    animation: fade-up 0.2s;
    margin-top: 2%;
}
#projectsmain p{
    font-family: libre franklin;
    font-size: small;
    color: white;
    margin: 0;
    animation: fade-up 0.2s;
}
.projectgallery{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 30%;
    height: auto;
    margin-top: 2%;
}
.projectgallery a{
    display: block;
    opacity: 0.8;
}
.projectgallery img{
    width: 100%;
}

.projectgallery a:hover{
opacity: 1;
}

/*GAWAIN*/
#gawainmain{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    animation: fade-up 0.5s;
}
.gawaingallery{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 45%;
    height: auto;
    pointer-events: none;
}

/* PROFESSIONAL */
#professionalmain{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    animation: fade-up 0.5s;
}
#professionalmain h1{
    font-family: libre franklin;
    font-weight: 300;
    font-size: large;
    color: white;
    margin-top: 2%;
    animation: fade-up 0.2s;
}
.professionalplaceholder{
    font-family: libre franklin;
    font-weight: 300;
    font-size: large;
    color: white;
    margin-top: 3%;
}
.professionalsubtitle{
    font-family: libre franklin;
    font-size: small;
    color: white;
    margin: 0;
    animation: fade-up 0.2s;
}

/* RETURN */
    .returndiv{
        display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    animation: fade-up 0.6s; 
    }
    .returndiv a{
        padding: 15px 15px 0;
        text-decoration: none;
    }
    .returndiv p{
    font-family: libre franklin;
    font-weight: 300;
    font-size: medium;
    color: white;
    text-align: center;
    margin: 0;
    }

/* ABOUT */
#aboutmain{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    animation: fade-up 0.5s;
    box-sizing: border-box;
}
.aboutdiv{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 40%;
    margin-top: 5%;
    margin-bottom: 5%;
}
.aboutdiv img{
    flex-grow: 1;
    flex-shrink: 3;
    max-width: 50%;
    margin-right: 5%;
    pointer-events: none;
    animation: fade-up 0.5s;
}
.abouttext{
    flex-grow: 2;
    flex-shrink: 1;
    max-width: 50%;
}
.abouttext a:link{
color: rgba(255, 255, 255, 0.623);
text-decoration: none;
}
.abouttext a:visited{
color: rgba(255, 255, 255, 0.623);
text-decoration: none;
}
.abouttext a:hover{
color: rgb(255, 217, 0);
text-decoration: none;
}
#aboutmain h1{
    font-family: libre franklin;
    font-weight: bold;
    font-size: large;
    color: white;

}
#aboutmain p{
    font-family: libre franklin;
    font-weight: 300;
    font-size: large;
    color: white;
    margin-top: 3%;
}

       /*DEVICE SIZE*/
       @media only screen and (max-width: 991px) {
            .headerwrapper{
            flex-direction: column;
            background-color: rgba(30, 0, 255, 0);
            }
            .headerwrapper p{
            float: none;
            margin:auto;
            margin-top: 15px;
            margin-bottom: 0;
            text-align: center;                   
            }
            .navdiv{
            text-align: center;
            vertical-align: middle;
            margin-left: auto;
            margin-right: auto;
            margin-top: -2%;
            }
            .navdiv a{
            font-size: smaller; 
            }
            .navdiv ul{
            margin-bottom: 0;
            }
            #gawainmain{
            margin-top: 5%;
            }
            .gawaingallery{
            max-width: 100%;
            }
            #projectsmain{
            margin-top: 5%;
            }
            .projectgallery{
            max-width: 70%;
            }
            .projectgallery a{
            opacity: 1;
            margin-top: 5%;
            }
            #professionalmain h1{
            margin-top: 5%;
            }
            .professionalplaceholder{
            margin-top: 15%;
            }
            .aboutdiv{
                width: 60%;
                margin-top: 5%;
                flex-direction: column;
            }
            .aboutdiv img{
                max-width: 85%;
                margin-left: 0;
                margin-bottom: 5%;
            }
            .abouttext{
                max-width: 100%;
            }
            .greetings{
            margin-top: 5%; 
            }
            .indexgallery{
                    max-width: 100%;
            }
            .returndiv p{
                font-size: smaller;
            }
       }