/* ==================================================== */
/* ====== Style Sheet for Navigation and footer ====== */
/* ==================================================== */

:root {
    --primary-color: #001325;
    --secondary-color: #2196F3;
    --background : #F7F7F7;;
    --white: #ffffff;
}

/* ================================================= */
/* =============== HEADER AND NAVIGATION =========== */
/* ================================================= */

.main-nav {
    display: flex;
    align-items: center;
	padding: 15px 80px;
	/* box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.04), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 16px 24px rgba(0, 0, 0, 0.06); */
	z-index: 2;
}
.logo {
	width: 6rem;
}
.logo img {
    width: 100%;
    height: auto;
}
.navigation {
	display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    width: 100%;
}
.link {
	font-size: 1rem !important;
	text-decoration: none;
    padding: 1rem !important;
    font-weight: 500;
	color: var(--primary-color);
}
.link:hover,
.link:focus {
	color: var(--secondary-color);
	transition: all 0.6s;
	text-decoration: none;
}
.link.active {
    color: var(--secondary-color);
}
#Sign_up {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 3px;
    transition: all 0.6s;
}
#login {
    font-size: 1rem;
}
#Sign_up:hover,
#login:hover,
#Sign_up:focus, 
#login:focus {
    text-decoration: none;
}
#Sign_up:hover,
#Sign_up:focus {
    background-color: #0e5996;
    color: var(--white);
    transform: translate(3px);
}
.menu-btn {
	margin: 0;
	padding: 0;
	display: none;
	margin-left: 10px;
	margin-top: 1.7rem;
	margin-bottom: auto;
	cursor: pointer;
	z-index: 3;
    background: transparent;
}
.btn-line {
	width: 18px;
	height: 2px;
	margin: 0 0 5px 0;
	background: var(--secondary-color);
	transition: all 0.6s;
}


/* ================================================= */
/* ======================== FOOTER ================= */
/* ================================================= */

footer {
    margin-top: 20px;
}
.footer_top {
    padding: 10px 80px;
}
.logo_area {
    width: 20%;
}
.footer_logo {
    width: 6rem;
}
.footer_logo img {
    width: 100%;
    height: auto;
}
.social_icons i {
    font-size: 1.2rem;
    color: #95A1AD !important;
    transition: all 0.6s;
}
.social_icons:hover i {
    color: var(--secondary-color) !important;
    transform: translateY(2px);
}
.footer_content {
    margin-top: 2rem;
    margin-right: 1rem;
}
.footer_content h6 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.footer_content a {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: all 0.6s;
}
.footer_content a:hover {
    text-decoration: none;
    color: var(--secondary-color);
    transform: translateY(3px);
    transition: all 0.6s;
}
.footer_end {
    background-color: #5B6065;
    padding: 20px 80px;
}
.footer_end a {
    color: var(--white);
    transition: all 0.6s;
}
.footer_end a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}


@media screen and (max-width: 1200px) {
    .link {
        font-size: 0.9rem !important;
    }
    #Sign_up {
        font-size: 0.9rem;
    }
    #login {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 962px) {
	.menu-btn {
		display: flex;
		flex-direction: column;
	}
	.navigation {
		color: white;
		position: fixed;
		display: grid;
		grid-gap: 30px;
        text-align: center;
        margin-top: 0;
		justify-content: center;
		align-content: center;
		flex-direction: column;
		width: 80vw;
		right: 0;
		top: 0;
		height: 100vh;
		transition: all 0.6s;
		transform: translate3d(100%, 0, 0);
		visibility: hidden;
		background-color: #001325;
        z-index: 1;
        
    }
    .main-nav {
		padding: 20px 40px;
    }
    .mid_nav {
        display: flex;
        flex-direction: column;
    }
    .authentication a{
        display: block;
    }
    #login {
        margin-left: 0 !important;
        margin-top: 1.2rem;
    }
	.navigation.show {
		visibility: visible;
        transform: translate3d(0, 0, 0);
        box-shadow:0.1px 0.1px 1000px #0303038e;
	}
	.menu-btn.close {
		transition: all 0.6s;
	}
	.menu-btn.close .btn-line:nth-child(1) {
		transform: rotate(45deg) translateY(5px);
	}
	.menu-btn.close .btn-line:nth-child(2) {
		display: none;
	}
	.menu-btn.close .btn-line:nth-child(3) {
		transform: rotate(-45deg) translateY(-5px);
	}
	.link {
		color: white;
        margin: 0;
        margin-left: 0 !important;
    }
    .footer_top {
        padding: 10px 60px;
    }
    .footer_logo {
        width: 5rem;
    }
    .social_icons i {
        font-size: 1.1rem;
    }
    .footer_content {
        margin-top: 1.7rem;
        margin-right: 0.7rem;
    }
    .footer_content h6 {
        font-size: 1rem;
    }
    .footer_content a {
        font-size: 0.9rem;
        margin-bottom: 0.7rem;
    }
    .logo_area {
        width: 30%;
    }
    .footer_end {
        padding: 20px 60px;
    }
    .footer_end a {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .footer_top {
        flex-direction: column;
    }
    .footer_content {
        margin-top: 0rem;
        margin-right: 0rem;
    }
    .logo_area {
        flex-direction: row !important;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .footer_logo {
        margin-right: 1rem;
    }
}

@media screen and (max-width: 578px) {
    .main-nav, .footer_top, .footer_end {
        padding: 20px 20px;
    }
    .footer_content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .footer_content div {
        margin-top: 0.8rem;
    }
    .footer_content h6 {
        font-weight: 600;
        margin-bottom: 0.6rem;
    }
}

/* ======= preloader ====== */

.loader {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99;
    background-color: #212121;
    transition: all 0.8s;
}
/* ===== Preloader animation ====== */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--secondary-color);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
    @keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}
.loader.done {
	animation: fadeOut 1.5s;
    animation-fill-mode: forwards;
}
@keyframes fadeOut {
	100% {
		opacity: 0;
		visibility: hidden;
	}
}
