* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1e1e1e;
    /*background-image: url(https://static.pexels.com/photos/8395/lights-night-unsharp-blured.jpg);*/
    /*height: 100vh;*/
    font-family: Arial, Verdana, Helvetica, Times New Roman, Georgia; 
    font-size: 1.1em;
    letter-spacing: 1px;
}
header img#top-hdr {
	width: 100%;
	position: relative;
}

ul {
    list-style: none;
}

nav {
    height: 20px;
    margin: 0px auto 20px auto;
    background-color: rgba(23, 23, 50, 0.7);
    text-align: center;
    border-radius: 4px;
}

.main {
    display: flex;
    justify-content: center;
}

.main>li {
    margin: 0 2%;
}

nav a {
    text-decoration: none;
    color: #ffe;
    text-transform: capitalize;
    font-family: monospace;
    display: block;
    padding: 10px 15px;
    font-size: 16px;
    transition: background-color 0.5s ease-in-out;
    font-family: "Raleway", sans-serif;
}

nav a:hover {
    background-color: rgb(99, 24, 24);
}

.drop li {
    opacity: 0;
    transform-origin: top center;
}

.drop li a {
    background-color: rgba(23, 23, 50, 0.7);
    padding: 10px;
}


/*------------- menu1 animation -------------------*/

.main li:hover .menu1 li:first-of-type {
    animation: menu1 0.3s ease-in-out forwards;
    animation-delay: 0.1s;
}

.main li:hover .menu1 li:nth-of-type(2) {
    animation: menu1 0.3s ease-in-out forwards;
    animation-delay: 0.2s;
}

.main li:hover .menu1 li:nth-of-type(3) {
    animation: menu1 0.3s ease-in-out forwards;
    animation-delay: 0.3s;
}

.main li:hover .menu1 li:nth-of-type(4) {
    animation: menu1 0.3s ease-in-out forwards;
    animation-delay: 0.4s;
}

.main li:hover .menu1 li:nth-of-type(5) {
    animation: menu1 0.3s ease-in-out forwards;
    animation-delay: 0.4s;
}

.main li:hover .menu1 li:last-of-type {
    animation: menu1 0.3s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes menu1 {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/*------------- menu2 animation -------------------*/

.main li:hover .menu2 li:first-of-type {
    animation: menu2 0.3s ease-in-out forwards;
    animation-delay: 0.1s;
}

.main li:hover .menu2 li:last-of-type {
    animation: menu2 0.3s ease-in-out forwards;
    animation-delay: 0.2s;
}

@keyframes menu2 {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/*------------- menu3 animation -------------------*/

.main li:hover .menu3 li:first-of-type {
    animation: menu3 0.2s ease-in-out forwards;
    animation-delay: 0.1s;
}

.main li:hover .menu3 li:nth-of-type(2) {
    animation: menu3 0.2s ease-in-out forwards;
    animation-delay: 0.2s;
}

.main li:hover .menu3 li:nth-of-type(3) {
    animation: menu3 0.2s ease-in-out forwards;
    animation-delay: 0.3s;
}

.main li:hover .menu3 li:nth-of-type(4) {
    animation: menu3 0.2s ease-in-out forwards;
    animation-delay: 0.4s;
}

.main li:hover .menu3 li:nth-of-type(5) {
    animation: menu3 0.2s ease-in-out forwards;
    animation-delay: 0.5s;
}

.main li:hover .menu3 li:last-of-type {
    animation: menu3 0.2s ease-in-out forwards;
    animation-delay: 0.6s;
}

@keyframes menu3 {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/*------------- menu4 animation -------------------*/

.main li:hover .menu4 li:first-of-type {
    animation: menu4 0.3s ease-in-out forwards;
    animation-delay: 0.2s;
}

.main li:hover .menu4 li:last-of-type {
    animation: menu4 0.3s ease-in-out forwards;
    animation-delay: 0.4s;
}

@keyframes menu4 {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/*------------- menu5 animation -------------------*/

.main li:hover .menu5 li:first-of-type {
    animation: menu5 0.3s ease-in-out forwards;
    animation-delay: 0.2s;
}

.main li:hover .menu5 li:last-of-type {
    animation: menu5 0.3s ease-in-out forwards;
    animation-delay: 0.4s;
}

@keyframes menu5 {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/* my button style */

.white-mode {
    text-decoration: none;
    padding: 7px 10px;
    background-color: #122;
    border-radius: 3px;
    color: #fff;
    transition: 0.35s ease-in-out;
    position: absolute;
    left: 15px;
    bottom: 15px;
    font-family: sans-serif;
}

.white-mode:hover {
    background-color: #fff;
    color: #122;
}

figure img {
	max-width: 100%
}

footer {
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 3px solid rgba(255, 255, 255, 0.5);
	family-font: Arial;
	background-color: rgb(249, 183, 21);
	text-align: center;
}

/* NEW */
div#main-body {
	background-color: #ffffcb;
	width: 100%;
	padding: 0px 10px;
}
/* Responsive Navigation */
.hamburger {
    display: none;
    font-size: 28px;
    color: #fff;
    padding: 15px;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 800px) {
    .hamburger {
        display: block;
    }
	.drop li a:hover {
		background-color: blue;
	}
	/*
	img#splash-img {
		display:none;
	}
	*/

    nav {
        display: none;
        width: 100%;
		height: 450px;
        background-color: rgba(23, 23, 50, 0.95);
    }

    nav.active {
        display: block;
    }

    .main {
        flex-direction: column;
        align-items: center;
    }

    .main > li {
        width: 100%;
        text-align: center;
        margin: 0;
        border-top: 1px solid #333;
    }

	.main > li a {
		text-align: left;
	}

    .drop {
        position: static;
        width: 100%;

		display: none;
		flex-direction: column;
		align-items: flex-start;
		background-color: rgba(23, 23, 50, 0.95);
		margin-left: 25px;
		color: blue;
		}

    .drop li {
        opacity: 1 !important; /* Override animations */
        transform: none !important;
        animation: none !important;
    }

	/* Disable hover-based dropdowns on mobile */
	.main li:hover .drop {
		display: none;
	}

	/* Enable dropdowns with a class toggle */
	.main li.open .drop {
		display: block;
	}
	
	img#img-splash {
		display:none;
	}
	
	.notransition {
	  -webkit-transition: none !important;
	  -moz-transition: none !important;
	  -o-transition: none !important;
	  transition: none !important;
	}
}