/* Content Styles */
.content {
    background: white;
    text-align: center;
    font-size:30px;
    padding: 5px;
    margin: 20px;
    margin-top:-9px;
    display: flex; /* Set display to flex */
    align-items: center; /* Align items vertically */
}
    .img {
      width: auto; /* Ensures the image fills its container */
    }

    /* Media query for screens smaller than 768px (typical tablet and mobile sizes) */
    @media only screen and (max-width: 768px) {
      img {
        width: 50%; /* Make the image three times larger */
      }
    }
    
h4{
    color: #8B8000;
    font-size:50px;
}
h5{
     color: #8B8000;
    font-size:50px;
}
/* Text elements initially hidden */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When the element is in view, make it visible */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Active Link Styles */
#active {
    color: inherit;
    font-size: 30px;
    text-decoration: none;
    transition: border-bottom 0.1s ease;
}

#active:hover {
    border-bottom: 2px solid rgb(239, 16, 16);
}

/* Article Styles */
.content article {
    width: 250px;
    margin-left: 20px;
}

/* Apply Button Styles */
.apply {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    background:white;
}

.apply input {
    border-radius: 40px;
    background: linear-gradient(to right, #8B8000, #8B8030);
    height: 60px;
    margin: 5px;
    text-align: center;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.apply input:hover {
    background: linear-gradient(to left, #e61818, #8B8000);
}

/* Headline Container Styles */
.headline-container {
    width: 99%;
    background-color: white;
    overflow: hidden;
    margin-bottom: 50px;
}

/* Headline Animation Styles */
.headline {
    white-space: nowrap;
    animation: scrollText 10s linear infinite;
    background-color: whitesmoke;
}

.headline img {
    height: 100px;
    width: 100px;
    margin-right: 20px;
    vertical-align: middle;
}

/* Define the animation */
@keyframes scrollText {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-40%);
    }
}

h2 {
    text-align: center;
}

/* Footer Styles */
.footer {
    background-color: rgb(229, 229, 229);
    height: 150px;
    padding-top: 50px;
}

.footer img {
    width: 50px;
    margin-left: 20px;
    padding-left: 20px;
}

/* SVG Line Styles */
.svg-line {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="1"><line x1="0" y1="0" x2="100" y2="0" style="stroke:black;stroke-width:1" /></svg>');
    background-size: 100% 100%;
    height: 1px;
    width: 80%;
    margin: auto;
}

/* Padding Styles */
.pad {
    display: grid;
    justify-items: center;
    text-align: center;
    color: #8B8000;
}

/* Placeholder Styles */
.plc {
    margin: auto;
    padding-left: 20px;
    font-size: 12px;
}

/* Icon Styles */
i {
    color: grey;
}

i:hover {
    color: #8B8000;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    /* Adjustments for smaller screens */
    .content {
        display: block;
        padding: 10px;
    }

    .apply {
        flex-direction: column;
        align-items: center;
    }

    .apply input {
        width: 80%;
    }

    .pad {
        padding: 10px;
    }
}
