@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Caveat:wght@400;700&family=Lobster&family=Monoton&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display+SC:ital,wght@0,400;0,700;1,700&family=Playfair+Display:ital,wght@0,400;0,700;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,700;1,700&family=Work+Sans:ital,wght@0,400;0,700;1,700&display=swap');

/* Colors */
:root {
    --background-color: #0D0D0D;
    --dark-gray: #1A1A1A;
    --medium-gray: #333333;
    --neon-green: #39FF14;
    --yellow-highlight: #FFD700;
}

/* General Styles */
body {
    font-family: 'IBM Plex Mono', monospace;
    background-color: var(--background-color);
    color: white;
    scroll-behavior: smooth;
}



h1,
h2,
.navbar-brand {
    font-family: 'VT323', monospace;
    color: var(--neon-green);
}

/* Navbar */
.navbar {
    background-color: var(--dark-gray);
}

.navbar-brand,
.nav-link {
    color: var(--neon-green) !important;
}

.navbar-brand:hover,
.nav-link:hover {
    color: var(--yellow-highlight) !important;
}

/* Hero Section */
.hero {
    background-color: var(--dark-gray);
    text-align: center;
}

.hero img {
    width: 150px;
    height: 150px;
}

.hero h1 {
    margin-top: 20px;
    font-size: 2.5rem;
}

/* Content Section */
.content-section {
    padding: 40px 20px;
}


.main-logo-width {
    width: 30px;
    height: 30px;

}

.content-row {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
}

.content-card {
    background-color: var(--medium-gray);
    border-radius: 5px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 100%; /* Allow cards to grow */
    display: flex;
    flex-direction: column; /* Ensure content stacks vertically */
    justify-content: center; /* Center content vertically */
    min-height: 200px; /* Minimum height to maintain size */
    text-align: center; /* Center the text horizontally */
}

.content-card h2 {
    margin-bottom: 10px; /* Space below the heading */
}

.content-card p {
    margin: 0; /* Remove margins for consistent spacing */
}



.content-card:hover{
        transform: translateY(-10px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    }


/* Page Header */
.page-header {
    padding: 60px 20px;
    background-color: var(--dark-gray);
    color: var(--neon-green);
}

.page-header h1 {
    font-family: 'VT323', monospace;
    font-size: 3.5rem;
    color: var(--neon-green);
}

.page-header p {
    color: white;
}

/* Content Section */
.content-section {
    padding: 40px 20px;
    background-color: var(--medium-gray);
}

.info-section {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--dark-gray);
    color: white;
}

.info-section h2 {
    color: var(--neon-green);
    font-family: 'VT323', monospace;
    font-size: 2rem;
}

.info-section p {
    color: white;
    font-size: 1.1rem;
}

.info-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.info-section ul li {
    margin-bottom: 10px;
    color: white;
}

.info-section ul li strong {
    color: white;
}

/* Link Styling */
a, a:hover, a:focus {
    color: white;
    text-decoration: none;
}

/* Image Styles */
.info-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* Footer Styles */
.cybersafe-footer {
    background-color: var(--dark-gray);
    color: var(--neon-green);
    margin-top: 5vh;
    padding: 20px 0;
}

.cybersafe-footer p {
    margin: 0;
    font-size: 1rem;
}

.footer-link {
    color: var(--neon-green);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--yellow-highlight);
    text-decoration: underline;
}

.button1 {
    background-color: var(--neon-green);
    color: var(--background-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.main-hero-overlay {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: white; /* Ensure text is readable */ 
    text-align: center; 
    z-index: 1; } 
    

#myVideo {
    border-radius: 20px;
    width: 100%;
}


/* CSS for the Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    text-align: center; /* Center text */
}


h1 {
    font-size: 2.5rem; /* Responsive font size */
}

p {
    font-size: 1.2rem; /* Responsive font size */
}

.button1 {
    margin-top: 20px; /* Space above the button */
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem; /* Smaller font size on smaller screens */
    }

    p {
        font-size: 1rem; /* Smaller font size on smaller screens */
    }
}

@media screen and (max-width: 767px) {
    #myVideo {
      visibility: hidden;
      clear: both;
      float: left;
      margin: 10px auto 5px 20px;
      width: 28%;
      display: none;
    }
  }

  /* Add this to your CSS file */
.page-header,
.content-section {
    padding-top: 70px; /* Adjust based on navbar height */
}

/* Style the Hamburger Icon */
.navbar-toggler {
    border: none; /* Remove the default border */
    outline: none; /* Remove outline on focus */
    padding: 0;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px; /* Space between lines */
}

/* Individual lines */
.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--neon-green);
    border-radius: 2px; /* Smooth edges for aesthetic */
}

/* Remove background/border when focused */
.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

/* Fade-in Animation for Hero Section */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-hero-overlay img,
.main-hero-overlay h1,
.main-hero-overlay p,
.main-hero-overlay .button1 {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

/* Delay for each element in hero section */
.main-hero-overlay img {
    animation-delay: 0.3s;
}

.main-hero-overlay h1 {
    animation-delay: 0.6s;
}

.main-hero-overlay p {
    animation-delay: 0.9s;
}

.main-hero-overlay .button1 {
    animation-delay: 1.2s;
}

/* Hover Effect for Content Cards with Green Shadow */
.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(57, 255, 20, 0.5); /* Neon green shadow */
}



.content-section .row {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

/* Animated state when visible */
.content-section .row.visible {
    transform: translateY(0);
    opacity: 1;
}


/* Button glow effect */
.nav-link, .footer-link {
    position: relative;
    transition: color 0.3s;
}
.nav-link:hover, .footer-link:hover {
    color: #00ff00;
}
.nav-link::after, .footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #00ff00;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.nav-link:hover::after, .footer-link:hover::after {
    transform: scaleX(1);
}


/* Text fade-in effect for list items */
ul li {
    transition: color 0.3s ease;
}
ul li:hover {
    color: #00ff00; /* Or choose another highlight color that matches your theme */
}
