@font-face{
    src: url(fonts/Afacad-Regular.ttf);
    font-family: "Afacad";
}

body {
    padding: 0;
    margin: 0;
    background: #1f3372;
    font-family: Georgia, 'Times New Roman', Times, serif;
    overflow: auto;
}

/* Navigation Bar */
.navbar {
    background:#1f3372;
}
.nav-link, .navbar-brand {
    color: #fff;
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
}
.navbar-brand{
    font-size: 1.7em;
    margin-left: 2%;
}
.navbar-brand:hover {
    color: #fff;
}
.navbar-brand:visited {
    color: #fff;
}
.nav-link {
    font-size: larger;
    cursor: pointer;
}
.nav-link:hover {
    color: #fff;
}
.navbar-nav li {
    display: block;
    height: 100%;
    margin-right: 30px;
    position: relative;
    align-items: center;
    color: #fff;
}
.navbar-nav li:after {
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    display: block;
    transition: all 0.3s ease;
    bottom: 25%;
}
.navbar-nav li:hover::after {
    width: 100%;
    height: 1px;
    background-color: #fff;
}
.navbar-toggler{
    margin-right: 3%;
}
.navbar-collapse {
    justify-content: flex-end;
}

/* Header */
.header {
    background-image: url('Images/IMG_8363.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Landing Description */
.description {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -55%);
	text-align: center;
    background-color: #1f3372;
    padding: 2.5%;
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
    box-shadow: 10px 10px 15px black;
}
.description h1 {
	color: #fff;
    font-size: 3.5em;
    line-height: 0.75;
}
.description p {
	color: #fff;
	font-size: 1.5rem;
}
.description button {
    border:1px solid #6ab446;
    background:#6ab446;
    border-radius: 0;
    color:#fff;
}
.description button:hover {
	border:1px solid #fff;
    background:#fff;
    color:#000;
    transition: 1s;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

/* About Section */
.about {
    background-color: #e1e2eb;
}
.about h1, p {
    color: #0c0b0b;
    line-height: 1.5;
}
.about h1 {
    text-align: center;
    margin-top: 3%;
    font-size: 2.2em;
    text-decoration: underline;
}
.img-description
{
    margin-bottom: 1%;
}
.img-description p {
    margin-bottom: 5%;
    text-align: justify;
    flex-basis: 45%;
    font-size: 1.2em;
    float: inline-end;
}
.about-image{
    margin-right: auto;
    border-radius: 50%;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
.img-description{
    align-items: center;
}
@media (max-width: 768px) {
    .img-description p {
        align-items: center;
        flex-basis: auto;
    }
    .about-image {
        display: none;
    }
}

/* Contact Us Section */
.contact-us {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #e1e2eb;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 25px #0c0b0b;
    color: #0c0b0b;
    height: 500px;
    margin-top: 2%;
    margin-bottom: 2%;
    text-align: justify;
}
.contact-us h1 {
    margin-bottom: 1%;
    font-size: 2.2rem;
    text-decoration: underline;
}
.info {
    text-align: left;
    font-size: large;
    margin: 1%;
    padding: 1%;
}
@media (max-width: 768px) {
    .contact-us {
        flex-direction: column;
        align-items: center;
    }
    .info {
        flex-basis: auto;
        margin-top: 20px;
    }
}

/* Make a Payment Section */
.make-a-payment {
    color: #e1e2eb;
    text-align: center;
    justify-content: center;
    padding: 5%;
    background-image: url('Images/scott-graham-5fNmWej4tAA-unsplash.jpg');
    opacity: 70%;
    background-size: cover;
    background-position: center;
    position: relative;
    height: 40rem;
}
.inner-info {
    top: 35%;
    position: absolute;
	text-align: center;
    background-color: #1f3372;
    padding: 2.5%;
    box-shadow: 10px 10px 15px black;
}
.inner-info p {
    color:#e1e2eb;
}
.make-a-payment button {
    border:1px solid #6ab446;
    background:#6ab446;
    border-radius: 0;
    color:#fff;
}
.make-a-payment button:hover {
	border:1px solid #fff;
    background:#fff;
    color:#000;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
    transition: 1s;
}

/* Footer */
.page-footer {
    color: #fff;
    padding: 40px 0 10px;
}
.page-footer p {
    color: #fff;
}
.footer-copyright {
    color: #fff;
    padding: 20px 0;
}

/* Animations */
.to-animate {
    opacity: 0;
    transform: translate(0, 10vh);
    transition: all 2s;
}
.to-animate.visible {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}