body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
}

.background-video-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

#background-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.content {
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
}

.logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
}

.text, h2, h3 {
    max-width: 500px;
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 28px;
}

.text a {
    color: #407ec9;
    text-decoration: none;
}

.text a:hover {
    text-decoration: underline;
}

.info-box {
    background-color: rgba(0, 0, 0, 0.3); /* Black background with 50% opacity */
    border-radius: 10px; /* Rounded corners */
    padding: 15px; /* Inner spacing */
    margin-bottom: 20px; /* Spacing below the box */
    max-width: 500px; /* Maximum width, adjust as needed */
    box-sizing: border-box; /* Ensures padding is included in the width */
    color: #fff; /* Text color */
    font-family: Arial, sans-serif; /* Consistent font */
	border: 1px solid #000; /* Initial border color */
	 animation: colorCycle 8s infinite linear; /* Animation */
}

.info-box .text, .info-box .text a {
    color: #fff; /* Ensures text and links are white for visibility */
}

.info-box .text a:hover {
    text-decoration: underline; /* Adds underline on hover for better interactivity */
}

@keyframes colorCycle {
    0% { border-color: #4e757e; } /* Red */
    25% { border-color: #97c6ff; } /* Green */
    50% { border-color: #0000ff; } /* Blue */
    75% { border-color: #407ec9; } /* Magenta */
    100% { border-color: #4e757e; } /* Red again */
}

/* Corrected Copyright text style */
.copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff; /* Adjust color to fit your design */
    background-color: rgba(0, 0, 0, 0.5); /* Optional: adds a semi-transparent background */
    padding: 10px 0; /* Adjust padding to your liking */
    font-size: 11px; /* Adjust font size as needed */
    box-sizing: border-box; /* Ensures padding does not add to the width or height */
    font-family: Arial, sans-serif;
	padding: 9px;
	 line-height: 14px; /* Sets the line height to 10px */
}

/* Responsive adjustments for various devices */
@media (max-width: 1024px) { /* Tablets and below */
    .logo {
        width: 150px;
        height: auto;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        align-items: center;
        text-align: center;
    }

@media (max-width: 768px) { /* Small tablets and large phones */
    .logo, h2, h3, .text {
        max-width: 100%;
        font-size: 18px; /* Adjust text size for readability */
    }

    h2 {
        font-size: 24px; /* Slightly smaller to maintain hierarchy */
    }

    h3 {
        font-size: 22px;
    }
}

@media (max-width: 480px) { /* Small phones */
    .content {
        padding: 20px;
        height: auto; /* Adjust height for smaller devices */
    }

    .logo {
        width: 120px; /* Smaller logo for small screens */
    }

    h2, h3 {
        font-size: 22px; /* Unified font size for headers */
    }

    .text {
        font-size: 18px; /* Smaller text for better fit */
    }
}

@media (orientation: landscape) and (max-height: 480px) { /* Small devices in landscape */
    .content {
        height: auto;
        justify-content: flex-start; /* Adjust content alignment */
    }

    .logo, h2, h3, .text {
        max-width: 100%;
        font-size: 16px; /* Ensure readability in landscape */
    }

    h2, h3 {
        font-size: 20px; /* Keep headers slightly larger */
    }
}
/* HTML/CSS by saf1ahmed@hotmail.co.uk */