/* Import custom font */
@font-face {
    font-family: 'VCROSDMono';
    src: url('assets/VCROSDMono.ttf') format('truetype');
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'VCROSDMono', monospace;
    overflow-x: hidden;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/background.webp') no-repeat center center/cover;
    z-index: -1;
}

.background::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    pointer-events: none;
}

a {
    color: red;
}

.title-section {
    text-align: center;
    padding: 20px;
}

.title-image {
    width: 80%;
    max-width: 600px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 20px;
    background: black;
    color: red;
    border: 2px solid red;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tab:hover {
    background: red;
    color: black;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.grid-item {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: red;
    border: 2px solid red;
    animation: slideIn 1s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid red;
}

.name {
    margin: 0;
}

.socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0);
    padding: 10px 0;
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Styles for YouTube Embed */
.youtube-embed {
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 0 auto;
    display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .title-image {
        width: 90%;
    }
    .tabs {
        flex-direction: column;
        gap: 10px;
    }
    .tab {
        width: 80%;
        margin: 0 auto;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .youtube-embed {
        height: 315px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .youtube-embed {
        height: 250px; /* Further adjust height for very small screens */
    }
}
