/* This code is for the title and description on the home page */
.title {
    display: block;
    text-align: left;
    background: rgba(0, 0, 0, 0.9);
    color: #ff0000;
    padding: 0.8em 2em;
    border-radius: 0;
    border-left: 8px solid #ff0000;
    margin: 0.5em auto 0.1em auto;
    box-shadow: none;
    font-weight: bold;
    font-size: 2em;
    max-width: 900px;
}
/* This code is for the title description on the home page */
.title-description {
    display: block;
    text-align: left;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 0.6em 2em;
    border-radius: 0;
    border-left: 8px solid #ff0000;
    margin: 0 auto 0.5em auto;
    box-shadow: none;
    font-weight: normal;
    font-size: 1.2em;
    max-width: 900px;
    font-style: normal; 
}

body {
    background: url('/images/backgroundPhoto.jpg') no-repeat center center fixed;
    background-size: cover;
}
 
/* This code is for the navigation bar */
.navbar {
    background: #000000;
    border-bottom: 4px solid #ff0000;
    height: 100px;
}

/* This code is for the navigation bar links */
.nav-link, .navbar-brand {
    color: #ffffff !important;
    cursor: pointer;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding-left: 1em;
    padding-right: 1em;
    text-shadow: 1px 1px 2px rgba(255,0,0,0.5);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}


/* This code is for the navigation bar brand hover effect */
.navbar-brand:hover { 
    filter: drop-shadow(3px 3px 6px #ff0000) drop-shadow(0 0 10px #ff0000) drop-shadow(0 0 10px #ff0000);
    animation-name: NavigationBrandHoverAnimation;
    animation-duration: 1s;
    position: relative;
}


/* This code is for the navigation bar links when hovered */
.nav-link {
     margin-right: 1em !important;
}

/* This code is for the navigation bar links when hovered */
.nav-link:hover {
    color: #ff0000 !important;
    animation-name: NavigationLinkHoverLinkAnimation;
    animation-duration: 1s;
    position: relative;
}

/* Animation for nav link hover underline */
@keyframes NavigationLinkHoverLinkAnimation {
  0%   {text-shadow: 1px 1px 2px rgba(255,0,0,0.5);}
  25%  {text-shadow: 2px 2px 4px #ff0000, 0 0 10px #ff0000;}
  50%  {text-shadow: 3px 3px 6px #ff0000, 0 0 15px #ff0000;}
  75% {text-shadow: 2px 2px 4px #ff0000, 0 0 10px #ff0000;}
  100% {text-shadow: 1px 1px 2px rgba(255,0,0,0.5);}
}
/* This code is for the navigation bar links when hovered */
.nav-link:hover::after {
    content: "";
    display: block;
    position: absolute;
    left: 20%;
    right: 20%;
    bottom: 0.2em;
    height: 2px;
    background: #ff0000;
    border-radius: 2px;
    animation: underlineAppear 1s forwards;
    opacity: 0;
}

/*This code is for the navigation bar links when hovered */
@keyframes underlineAppear {
    0% {
        width: 0;
        left: 50%;
        right: 50%;
        opacity: 0;
    }
    50% {
        width: 60%;
        left: 20%;
        right: 20%;
        opacity: 1;
    }
    100% {
        width: 60%;
        left: 20%;
        right: 20%;
        opacity: 1;
    }
}

/* This code is for the navigation bar links when clicked */
.nav-link:active { 
  position: relative;
  animation-name: NavigationClickLinkAnimation;
  animation-duration: 1s;
}

/* Animation for nav link click effect */
@keyframes NavigationClickLinkAnimation {
  0%   {bottom:0px;}
  25%  {bottom:3px;}
  50%  {bottom:6px;}
  75%  {bottom:3px;}
  100%  {bottom:0px;}
}

/* This code is for the navigation bar links when active */
.navbar-collapse {
    justify-content: flex-end;
}
/* This code is for the navigation bar brand */
.navbar-brand img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-top: 5px;
}
/* This code is for the moving background on the home page */
body {
    padding: 0;
    margin: 0;
    color: #ffffff;
}



/* This code is for the footer */
.footer {
   max-width: 100%; 
   background: #000000;
   color: #ff0000;
   padding: 60px 0 30px; 
   margin-top: 3em;
   position: bottom;
   border-top: 4px solid #ff0000;
}

/* This code is for the footer row */
.footer-row {
    width:100%;
}

/* This code is for the footer title */
.footer-title {
    color: #ff0000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: lowercase;
    text-align: left;
    letter-spacing: 0.05em;
}

/* This code is for the footer text */
.footer-text {
    color: #ffffff;
    font-size: 1.1rem;
    text-align: left;
    margin: 0 auto;
    max-width: 600px;
}

/* This code is for the footer div */
.footerDiv {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    max-width: 1200px; 
    margin: 0 auto; 
    flex-wrap: wrap;
}

/* This code is for the footer icons */
.footerIcons {
   display: inline-block;
   margin: 0 10px;
}

/* This code is for the footer icons when hovered */
.footerIcons:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* This code is for the footer icons when hovered */
.footerIcons:hover::after {
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* --- KEYFRAMES FOR NAVIGATION --- */
@keyframes NavigationBrandHoverAnimation {
  0%   {filter: none;}
  25%  {filter: drop-shadow(2px 2px 4px #ff0000);}
  50%  {filter: drop-shadow(0 0 10px #ff0000);}
  75%  {filter: drop-shadow(0 0 20px #ff0000);}
  100% {filter: none;}
}

/* This code is for the navigation link hover animation */
@keyframes NavigationLinkHoverLinkAnimation {
  0%   {text-shadow: 1px 1px 2px rgba(255,0,0,0.5);}
  25%  {text-shadow: 2px 2px 4px #ff0000, 0 0 10px #ff0000;}
  50%  {text-shadow: 3px 3px 6px #ff0000, 0 0 15px #ff0000;}
  75% {text-shadow: 2px 2px 4px #ff0000, 0 0 10px #ff0000;}
  100% {text-shadow: 1px 1px 2px rgba(255,0,0,0.5);}
}

/* This code is for the navigation link hover underline animation */
@keyframes underlineAppear {
    0% {
        width: 0;
        left: 50%;
        right: 50%;
        opacity: 0;
    }
    50% {
        width: 60%;
        left: 20%;
        right: 20%;
        opacity: 1;
    }
    100% {
        width: 60%;
        left: 20%;
        right: 20%;
        opacity: 1;
    }
}

/* This code is for the navigation link click animation */
@keyframes NavigationClickLinkAnimation {
  0%   {bottom:0px;}
  25%  {bottom:3px;}
  50%  {bottom:6px;}
  75%  {bottom:3px;}
  100%  {bottom:0px;}
}
