@import url('https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #3c86fa;
    --primary-dark-color: #4f5b93;
    --primary-light-color: rgb(214, 237, 255);
    --secondary-color: #c9dfff;
    --text-color: #222;
    --background-color: #ffffff;
  }

.blue {
    background-color: var(--primary-color);
    color: white;
}

.blue p {
    color: white;
}

.blue a {
    color: white;
    font-weight: 800;
}

.white {
    background-color: white;
    color: black;
}

.white p {
    color: #465b52;
}

.white a {
    color: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Spartan', sans-serif;
}

h1 {
    font-size: 50px;
    line-height: 64px;
    font-weight: 700;
    line-height: 55px;
    letter-spacing: -1px;
}

h2 {
    font-size: 46px;
    line-height: 54px;
    font-weight: 700;
}

h3 {
    font-size: 30px;
    font-weight: 700;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

h6 {
    font-weight: 700;
    font-size: 12px;
}

p {
    font-size: 16px;
    color: #465b52;
    margin: 10px 0 10px 0;
}

div {
    margin: 0px;
}

.body {
    min-height: 100vh;
    padding-top: 116px;
}

.garamond {
    font-family: Garamond, serif;
    font-size: 90px;
    margin-bottom: 25px;
}

/* Responsive font size for smaller screens */
@media (max-width: 375px) {
    .garamond {
        font-size: 75px; /* Adjust the size as needed */
    }
}

/* Home, login and register */
/* Hero Section */
#hero {
    position: relative;
    min-height: 79vh;
    width: 100%;
    overflow: hidden; /* Ensures no overflow from video */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Video Background */
#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire area */
    z-index: -1; /* Places the video behind everything */
}

/* Semi-Transparent Overlay */
.hero-overlay {
    background-color: rgba(255, 255, 255, 0.75); /* White with 60% opacity */
    width: 100%;
    height: 100%;
    position: absolute; /* Stretches over the video */
    top: 0;
    left: 0;
    z-index: 0; /* Behind content */
}

/* Content inside the Hero Section */
.hero-content {
    color: #333; /* Adjust content color for readability */
    padding: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0); /* Transparent background */
    margin: auto auto auto 0;
    align-items: center;
    max-width: 960px;
    margin-right: auto;
}

/* @media screen and (max-width: 1000px) {
    .hero-content {
        background:rgba(255, 255, 255, 0.2); 
        backdrop-filter: blur(6px); 
        -webkit-backdrop-filter: blur(6px); 
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
        transition: background-color 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
    }
} */

/* @media screen and (min-width: 1000px) {
    .hero-content {
        background:rgba(255, 255, 255, 0); 
        backdrop-filter: blur(0); 
        -webkit-backdrop-filter: blur(0); 
        box-shadow: 0; 
        transition: background-color 0.5s ease, backdrop-filter 0.5s ease; 
    }    
} */

.hero-buttons-div{
    padding-top: 20px;
    width: 240px;
    display: flex;
    justify-content: space-between;
}
  

#hero h1,
#hero h2,
#hero p,
#hero div {
    z-index: 1; /* Ensure text and buttons are above the overlay */
}

.section-p1 {
    padding: 40px 20px 20px 20px;
}

.center-title {
    text-align: center;
    padding-bottom: 10px;
    font-weight: 800;
}

.long-title b {
    color: var(--primary-color);
    font-weight: 800;
}

@media (max-width: 768px) {
    h1.long-title {
        font-size: 40px;
        line-height: 47px;
        letter-spacing: -1px;
    }
}

@media (max-width: 500px) {
    h1.long-title {
        font-size: 32px;
        line-height: 40px;
        letter-spacing: -1px;
    }
}

@media (max-width: 350px) {
    h1.long-title {
        font-size: 25px;
        line-height: 30px;
        letter-spacing: 0px;
    }
}

ul {
    font-size: 14px;
    margin-left: 15px;
    margin-bottom: 0px;
}

.payslip {
    margin: 10px;
    padding: 10px;
    background-color: white;
    box-shadow: 20px 20px 38px rgba(0, 0, 0, 0.03);
    border: 1px solid black;
    border-radius: 10px;
}

.select2-selection__rendered { 
    margin-left: 0px;
}

.alert {
    margin-bottom: 0px;
    font-size: 20px;
    font-weight: 600;
}

.hidden {
    display: none;
}