@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Bungee&display=swap');

/* ---- reset ---- */ 

body{ 
    margin:0; 
    font:normal 75% Arial, Helvetica, sans-serif; 
    overflow: hidden;
   
}
canvas{ 
    display: block; 
    vertical-align: bottom; 
} 


/* ---- particles.js container ---- */ 
#particles-js{ 
    position:absolute; 
    width: 100%; 
    height: 100%; 
    background-color: #000000; 
    background-image: url(""); 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: 50% 50%; 
} 
    
/* ---- stats.js ---- */ 

.count-particles{ 
    background: #000022; 
    position: absolute; 
    top: 48px; 
    left: 0; 
    width: 80px; 
    color: #13E8E9; 
    font-size: .8em; 
    text-align: left; 
    text-indent: 4px; 
    line-height: 14px; 
    padding-bottom: 2px; 
    font-family: Helvetica, Arial, sans-serif; 
    font-weight: bold; 
} 
.js-count-particles{ 
    font-size: 1.1em; 
} 
#stats, .count-particles{ 
    -webkit-user-select: none; 
    margin-top: 5px; margin-left: 5px; 
} 
#stats{ 
    border-radius: 3px 3px 0 0; 
    overflow: hidden; 
} 
.count-particles{ 
    border-radius: 0 0 3px 3px; 
}

/* ---- nous x text effect ---- */

.animation-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.animation-container h1 {
    font-family: 'Bebas Neue', sans-serif; 
    font-size: 120px;
    color: white;
    padding: 0 clamp(1rem, 2vw, 3rem);
    border-radius: clamp(0.4rem, 0.75vw, 1rem);
    transition: background-color 0.3s, color 0.3s;
    cursor:default;
}

.animation-container h1:hover {
    color: white;
}


/* ---- Responsiveness ---- */

/* Media Query for 390x844 screen size */
@media (max-width: 390px) and (max-height: 844px) {
    .modal-dialog {
        width: 50%; /* Reduce the width by 50% */
        max-width: none; /* Ensure no max-width is enforced */
    }

    .modal-content {
        height: 50%; /* Reduce the height by 50% */
        max-height: none; /* Ensure no max-height is enforced */
    }
}

.modal {
    pointer-events: none;
}
.modal-dialog {
    pointer-events: none;
}
nav {
    font-size: 20px;
}
/* iPhone 12 Pro */
@media (max-width: 390px) and (max-height: 844px) {
    .modal-dialog {
        width: 100%;
        left: 0;
        max-width: none;
    }
    .modal-content {
        width: 90%;
        max-width: 350px;
        margin: auto;
    }
}

/* iPhone 14 Pro */
@media (max-width: 430px) and (max-height: 932px) {
    .modal-dialog {
        width: 100%;
        left: 0;
        max-width: none;
    }
    .modal-content {
        width: 90%;
        max-width: 380px;
        margin: auto;
    }
    .animation-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
    }
    .animation-container h1 {
        font-family: 'Bebas Neue', sans-serif; 
        font-size: 75px;
        color: white;
        padding: 0 clamp(1rem, 2vw, 3rem);
        border-radius: clamp(0.4rem, 0.75vw, 1rem);
        transition: background-color 0.3s, color 0.3s;
    }
    .animation-container h1:hover {
        color: white;
        font-size: 75px;
    }
}

/* OTP Input Styling */
.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 18px;
    margin: 0 5px;
}

/* Modal Centering Styles */
@media (max-width: 767px) {
    .modal-dialog {
        display: flex;
        align-items: center;
        min-height: calc(100% - 1rem);
    }

    .modal-content {
        margin: auto;
        width: 90%;
        max-width: 400px;
    }
}

/* OTP Modal Styles */
#otpModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

#otpModal .modal-content {
    margin: auto;
    width: 90%;
    max-width: 350px; /* Reduced max-width */
}

#otpModal .otp-input-container {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
}

#otpModal .otp-input {
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height */
    text-align: center;
    font-size: 18px;
    margin: 0 2px; /* Reduced margin */
    border: 2px solid #ced4da;
    border-radius: 5px;
    padding: 0; /* Remove padding */
}

#otpModal .otp-input:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Responsive styles for smaller screens */
@media (max-width: 576px) {
    #otpModal .modal-content {
        width: 95%;
    }

    #otpModal .otp-input {
        width: 35px; /* Slightly smaller for very small screens */
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    #otpModal .otp-input {
        width: 30px; /* Even smaller for extremely small screens */
        height: 30px;
        font-size: 14px;
    }
}

.btn-custom {
    background-color: #000000;
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover, .btn-custom:focus, .btn-custom:active {
    background-color: #333333;
    color: #ffffff;
}

.btn-custom:disabled {
    background-color: #666666;
    cursor: not-allowed;
}

#otpModal .btn-custom {
    background-color: #000000 !important;
    color: #ffffff !important;
}

#otpModal .btn-custom:hover, #otpModal .btn-custom:focus, #otpModal .btn-custom:active {
    background-color: #333333 !important;
    color: #ffffff !important;
}

#password-strength .progress {
    height: 5px;
    margin-bottom: 5px;
    background-color: #e9ecef;
}

#password-strength .progress-bar {
    transition: background-color 0.3s ease;
}

#password-strength .progress-bar:not(.bg-light) {
    width: 24%;
}

#password-strength .progress-bar.bg-light {
    width: 1%;
}

.strength-label {
    font-size: 0.8rem;
    font-weight: bold;
}

.bg-dark {
    background-color: #000000 !important; /* Make sure this matches your button color */
}

/* Add this to your existing CSS */
.toast-top-center {
    top: 100px !important;  /* Adjust this value to move notifications up or down */
}

/* If you want to ensure it works with the existing index-page class */
body.index-page .toast-top-center {
    top: 100px !important;
}

/* Update the CSS to adjust bottom-center position */
.toast-bottom-center {
    bottom: 20px !important;  /* Raise it 200px from bottom */
}

/* If you want to ensure it works with the existing index-page class */
body.index-page .toast-bottom-center {
    bottom: 20px !important;
}

#toast-container.toast-top-right,
#toast-container.toast-top-left {
    top: 60px !important;
    position: fixed !important;
    right: 0px !important;  /* Increase this value to move further right */
}