
@font-face {
    font-family: 'Avenir-Black';
    src: url('../fonts/Avenir-Black.woff2') format('woff2'),
         url('../fonts/Avenir-Black.woff') format('woff'),
         url('../fonts/Avenir-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-BlackOblique';
    src: url('../fonts/Avenir-BlackOblique.woff2') format('woff2'),
         url('../fonts/Avenir-BlackOblique.woff') format('woff'),
         url('../fonts/Avenir-BlackOblique.ttf') format('truetype');
    font-weight: 900;
    font-style: oblique;
}

@font-face {
    font-family: 'Avenir-Book';
    src: url('../fonts/Avenir-Book.woff2') format('woff2'),
         url('../fonts/Avenir-Book.woff') format('woff'),
         url('../fonts/Avenir-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-BookOblique';
    src: url('../fonts/Avenir-BookOblique.woff2') format('woff2'),
         url('../fonts/Avenir-BookOblique.woff') format('woff'),
         url('../fonts/Avenir-BookOblique.ttf') format('truetype');
    font-weight: 400;
    font-style: oblique;
}

@font-face {
    font-family: 'Avenir-Heavy';
    src: url('../fonts/Avenir-Heavy.woff2') format('woff2'),
         url('../fonts/Avenir-Heavy.woff') format('woff'),
         url('../fonts/Avenir-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-HeavyOblique';
    src: url('../fonts/Avenir-HeavyOblique.woff2') format('woff2'),
         url('../fonts/Avenir-HeavyOblique.woff') format('woff'),
         url('../fonts/Avenir-HeavyOblique.ttf') format('truetype');
    font-weight: 800;
    font-style: oblique;
}

@font-face {
    font-family: 'Avenir-Light';
    src: url('../fonts/Avenir-Light.woff2') format('woff2'),
         url('../fonts/Avenir-Light.woff') format('woff'),
         url('../fonts/Avenir-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-LightOblique';
    src: url('../fonts/Avenir-LightOblique.woff2') format('woff2'),
         url('../fonts/Avenir-LightOblique.woff') format('woff'),
         url('../fonts/Avenir-LightOblique.ttf') format('truetype');
    font-weight: 300;
    font-style: oblique;
}

@font-face {
    font-family: 'Avenir-Medium';
    src: url('../fonts/Avenir-Medium.woff2') format('woff2'),
         url('../fonts/Avenir-Medium.woff') format('woff'),
         url('../fonts/Avenir-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-MediumOblique';
    src: url('../fonts/Avenir-MediumOblique.woff2') format('woff2'),
         url('../fonts/Avenir-MediumOblique.woff') format('woff'),
         url('../fonts/Avenir-MediumOblique.ttf') format('truetype');
    font-weight: 500;
    font-style: oblique;
}

@font-face {
    font-family: 'Avenir-Oblique';
    src: url('../fonts/Avenir-Oblique.woff2') format('woff2'),
         url('../fonts/Avenir-Oblique.woff') format('woff'),
         url('../fonts/Avenir-Oblique.ttf') format('truetype');
    font-weight: 400;
    font-style: oblique;
}

@font-face {
    font-family: 'Avenir-Roman';
    src: url('../fonts/Avenir-Roman.woff2') format('woff2'),
         url('../fonts/Avenir-Roman.woff') format('woff'),
         url('../fonts/Avenir-Roman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Biko';
    src: url('../fonts/Biko.woff2') format('woff2'),
         url('../fonts/Biko.woff') format('woff'),
         url('../fonts/Biko.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Biko-Black';
    src: url('../fonts/Biko-Black.woff2') format('woff2'),
         url('../fonts/Biko-Black.woff') format('woff'),
         url('../fonts/Biko-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Biko-Bold';
    src: url('../fonts/Biko-Bold.woff2') format('woff2'),
         url('../fonts/Biko-Bold.woff') format('woff'),
         url('../fonts/Biko-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Biko-Light';
    src: url('../fonts/Biko-Light.woff2') format('woff2'),
         url('../fonts/Biko-Light.woff') format('woff'),
         url('../fonts/Biko-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    max-width: 40%; /* Default size for larger screens */
    max-height: 40%;
    width: auto;
    height: auto;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    font-family: Arial, sans-serif;
    padding: 20px;
}

.tagline {
    position: absolute;
    top: calc(50% + 10%); /* 10% of the browser height below the logo */
    left: 50%;
    transform: translate(-50%, 0);
    font-family: 'Biko-Bold', Arial, sans-serif;
    font-size: 5rem; /* Default font size for larger screens */
    color: white;
    text-align: center;
    white-space: nowrap;
    z-index: 1;
}

.description {
    position: absolute;
    top: calc(50% + 10% + 19rem * 0.5); /* Positioned 50% of tagline height below the tagline */
    left: 50%;
    transform: translate(-50%, 0);
    font-family: 'Biko-Regular', Arial, sans-serif;
    font-size: 1.5rem; /* Default font size for larger screens */
    color: white;
    text-align: center;
    max-width: 80%; /* Limit the width for better readability */
    line-height: 1.6; /* Improve text spacing */
    z-index: 1;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: 'Avenir-Medium', Arial, sans-serif;
    font-size: 1rem; /* Default font size */
    color: white;
    padding: 1px 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Space between the icon and text */
}

.instagram-link {
    text-decoration: none; /* Remove underline from the link text */
    font-family: 'Avenir-Medium', Arial, sans-serif;
    font-size: 1rem; /* Default font size */
    color: white; /* Ensure the link text color matches the footer text */
}

.instagram-link:visited {
    text-decoration: none; /* Ensure no underline appears when the link is visited */
    color: white; /* Keep the same color for visited links */
}

.instagram-icon {
    width: 24px; /* Adjust the size of the Instagram icon */
    height: 24px;
    vertical-align: middle; /* Align the icon with the text */
}

/* Media query for smaller screens (common mobile phone sizes) */
@media (max-width: 768px) {
    .tagline {
        font-size: 3rem; /* Shrink font size proportionally for smaller screens */
    }
    .description {
        top: calc(50% + 10% + 12rem * 0.5); /* Adjust vertical placement for smaller screens */
        font-size: 1rem; /* Shrink description font size proportionally */
    }
    .footer {
        font-size: 0.9rem; /* Shrink font size proportionally for smaller screens */
        text-align: left; /* Align text to the left */
        justify-content: center; /* Align content to the left */
        padding-left: 10px; /* Add padding to the left for spacing */
    }
    .instagram-link {
        margin-left: 10px; /* Add space between the Instagram icon and the left edge */
        margin-right: 20px; /* Add space between the Instagram icon and the right edge */
    }
}

@media (max-width: 480px) {
    .tagline {
        font-size: 2rem; /* Further shrink font size for very small screens */
    }
    .description {
        top: calc(50% + 10% + 8rem * 0.5); /* Adjust vertical placement for very small screens */
        font-size: 0.8rem; /* Further shrink description font size */
    }
    .footer {
        font-size: 0.8rem; /* Further shrink font size for very small screens */
        text-align: left; /* Align text to the left */
        justify-content: flex-start; /* Align content to the left */
        padding-left: 10px; /* Add padding to the left for spacing */
    }
    .logo {
        max-width: 60%; /* Ensures 20% distance from the sides (100% - 20% - 20% = 60%) */
        max-height: 60%;
    }
    .instagram-link {
        margin-left: 5px; /* Add space between the Instagram icon and the left edge */
        margin-right: 20px; /* Add space between the Instagram icon and the right edge */
    }
}