@import 'https://kit-pro.fontawesome.com/releases/v5.9.0/css/pro.min.css';
@import 'https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap';

*,
:after,
::before {
    box-sizing: border-box;
}

html,
body {
    cursor: url('https://cdn.codeine.space/cursor.cur'), auto;
    height: 100%;
    width: 100%;
    margin: 0;
    color: #fff;
    background-color: #151515;
    line-height: 1.5;
    font-family: 'Josefin Sans', sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.527), rgba(0, 0, 0, 0.9)), url("https://64.media.tumblr.com/896b21ac5f8ad4b46cfac9a216b0657a/tumblr_ogqsxoRtme1rldv4go1_1280.gifv");
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    user-select: none;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999; /* Higher than other elements */
    pointer-events: none; /* Ignore mouse events */
}


a {
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 500px) {
    img {
        width: 200px;
        height: 200px;
    }
}

h1 {
    font-size: 45px;
    margin-top: 20px;
    margin-bottom: -30px;
}

p {
    color: white;
    line-height: 1.5;
}

.tools {
    padding: 75px;
    max-width: 1000px!important;
    margin: 0 auto; /* Center the tools */
    opacity: 1;
    box-shadow: 0 0px 45px 0px rgba(0, 0, 0, 0.8);
}

.center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Full viewport height */
    width: 100%; /* Full width */
}

.center-content {
    text-align: center; /* Center text */
    padding: 20px; /* Padding for spacing */
}


.button {
    display: inline-block;
    background-color: transparent;
    border: 1px solid white;
    padding: 10px 15px;
    font-size: .9rem;
    font-weight: bold;
    max-width: 150px;
    border-radius: 2px;
    color: #f8f9fa;
    margin: 5px;
    transition: 0.5s;
    cursor: pointer;
}

.button:hover {
    color: #212529;
    border-color: #f8f9fa;
    background-color: #f8f9fa;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}


.fade-in.visible {
    opacity: 1;
}

/* Overlay Styles */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* Text color for overlay */
    z-index: 1000; /* Ensure it covers other elements */
    transition: opacity 1s ease-in-out;
}

/* Content Styles */
#content {
    display: none; /* Initially hide the content */
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

video {
    transition: filter 0.3s ease;
}

.bright {
    filter: brightness(30%); /* Adjust brightness (1 is normal) */
}
/* Mobile responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 32px; /* Smaller font size for mobile */
    }

    .tools {
        padding: 50px; /* Adjust padding for mobile */
    }

    .center-content {
        padding: 20px; /* Add padding for mobile */
    }

    .button {
        width: 100%; /* Make buttons full width */
        margin: 10px 0; /* Add margin between buttons */
    }

    #myVideo {
        object-fit: cover; /* Ensure the video covers the entire area */
    }
}
