* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.secondary {
    background: #F1F1FB;
    color: #333;
    height: 80vh;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.navbar-nav ul {
    list-style-type: none;
    flex-wrap: wrap;
    gap: 15px;
}

#navbarNav .nav-link {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    padding: 6px 8px;
    position: relative;
    display: inline-block;
    width: fit-content;
}

#navbarNav .nav-link:hover {
    color: #4A90E2;
}

#navbarNav .nav-link:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    border-radius: 5px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

#navbarNav .nav-link:hover::after {
    width: 100%;
}

nav.navbar {
    height: 80px;
}


.bi-soundwave {
    font-size: 50px;
    color: rgb(74, 144, 226, 0.6);;
    justify-items: center;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 0;
    width: min(90%, 420px);
    height: 250px; 
    opacity: 0.6;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 0.4;
    }
}

.error-message {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 80%;
    text-align: center;
    justify-items: center;
    align-items: center;
    max-width: 900px;
    min-height: calc(100vh - 80px);
    padding-top: 20;
    gap: 12px;
}

main h1 {
    font-size: 144px;
    font-weight: 900;
    margin-bottom: 4.8px;
    color: #4A90E2;
    padding-top: 0;
}

main p {
    font-size: 28px;
    margin-bottom: 25px;
    color: #666666;
    line-height: 1.4;
}

a.button {
    display: inline-block;
    background: #4A90E2;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 20px;
    box-shadow: 0 6px 12px rgba(74, 144, 226, 0.25);
    color: white;
    text-decoration: none;
}

a.button:hover {
    background: #052b51;
    color: #fff;
    transform: translateY(-5%);
    box-shadow: 0 8px 16px rgba(74, 144, 226, 0.35);
}

a.button-join {
    display: inline-block;
    background: transparent;
    border: 2px solid #4A90E2;
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 20px;
    box-shadow: 0 6px 12px rgba(74, 144, 226, 0.25);
    color: #4A90E2;
    text-decoration: none;
}

a.button-join:hover {
    background: #4A90E2;
    color: #fff;
    transform: translateY(-5%);
    box-shadow: 0 8px 16px rgba(74, 144, 226, 0.25);
}

footer p {
    margin: 30px 0;
    font-size: 14px;
    color: #999999;
    text-align: center;
}

@media (max-width: 991px) {
    div.navbar-collapse {
        position: absolute;
        top: 80px;          
        right: 12px;        
        width: max-content;
    }

    ul.navbar-nav {
        align-items: flex-end;
        text-align: right;
    }

    ul.navbar-nav .nav-link {
        font-size: 13px;
        padding: 6px 0;
    }
}