/* Styles for the video container */
@font-face {
    font-family: 'OldEurope';
    src: url('./Old\ Europe.ttf') format('truetype'),
         url('./Old\ Europe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alagard';
    src: url('./alagard.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GothicPixles';
    src: url('./GothicPixels.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}
.video-container {
    display: flex;
    justify-content: center;
    width: 100%; /* Ensure full width for consistency */
    margin-top: 20px; /* Spacing similar to other sections */
}

/* Styles for the video */
.video-container video {
    max-width: 70%; /* Match other sections */
    height: auto; /* Maintain aspect ratio */
    border: 5px solid red; /* Red border like images */
    min-width: 425px; /* Prevent shrinking too much */
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .video-container video {
        max-width: 90%; /* Adjust for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    .video-container video {
        max-width: 100%; /* Ensure video fits small screens */
    }
}
#title {
    
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1%;
    margin-top: 70px;
    font-family: 'GothicPixles', sans-serif;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    min-width: 425px;
}
body {
    background-image: url('./hihi.png');
    background-size: auto; /* Use 'auto' to ensure background repeats */
    background-repeat: repeat; /* Make background image repeat */
    min-width: 425px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    color: red;
}
/* Styles for the bottom section (unchanged) */
#bottom {
    background-color:;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 3%;
    padding-bottom: 3%;
    border-top: 3px solid red;
    font-family: 'Alagard';
    color: red;
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next line */
    justify-content: center;
    align-items: center;
    font-size: 20px;
    min-width: 425px;
}


#bottom a {
    text-decoration: none;
    color: red;
    margin: 0 10px;
    white-space: nowrap; /* Prevents wrapping within the link text */
}

#bottom a:hover {
    text-decoration: underline;
    color: yellow;
}

/* Additional styles for the bottom links */
#bottom a {
    transition: color 0.3s ease; /* Smooth transition for color change */
}

#bottom a:active {
    color: orange; /* Change link color on click */
}

#bottom a:focus {
    outline: none; /* Remove focus outline for links */
}

#bottom a:first-child {
    margin-left: 0; /* Remove left margin from the first link */
}

#bottom a:last-child {
    margin-right: 0; /* Remove right margin from the last link */
}

/* Loader animation styles (unchanged) */
#loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: none;
}

/* Content display styles (unchanged) */
#content {
    display: none;
}

/* Keyframe animation for loader (unchanged) */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive styles for smaller screens (unchanged) */
@media screen and (max-width: 768px) {
    #title, #aboutme, #textaboutme, #bottom {
        width: 90%;
    }

    #aboutme img {
        max-width: 90%; /* Adjusted max-width for smaller screens */
    }
}

@media screen and (max-width: 480px) {
    #title, #aboutme, #textaboutme, #bottom {
        width: 95%;
    }

    #aboutme img {
        max-width: 100%; /* Adjusted max-width for even smaller screens */
        max-height: 400px; /* Limit height for smaller screens */
    }
}