.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: black;
}

.nav-logo {
    color: white;
    font-size: 3.5rem;
    font-weight: 1000;
    font-family: serif
}

.nav-links {
    display: flex;
    gap: 64px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 1000;
    transition: .3s;
    font-size: 2.5rem;
}

.nav-links a:hover {
    opacity: .7;
    transition: .3s;
    transform: translateY(-3px)
}

body {
    margin: 0
}

.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    text-align: center;
}

.title h1 {
    font-size: 5rem;
    color: black; 
    font-family: Arial, Helvetica, sans-serif
}

.title h2 {
    margin-top: -50px;
    font-size: 3.5rem;
    color: black; 
    font-family: serif
}

.contact-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.contact-bubble {
    position: absolute;

    padding: 25px 40px;
    background: white;

    border-radius: 25px;

    font-size: 1.8rem;
    font-weight: 700;

    box-shadow: 0 15px 40px rgba(0,0,0,0.12);

    transition: 0.3s;
}

.contact-bubble:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.discord {
    top: 20%;
    left: 10%;
}

.phone {
    top: 65%;
    left: 15%;
}

.mail {
    top: 35%;
    right: 10%;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    
    50% {
        transform: translateY(-10px);
    }
}

.contact-bubble {
    animation: float 4s ease-in-out infinite;
}

/* Phone styles */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .contact-hero {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        box-sizing: border-box;
        gap: 25px;
    }

    .title {
        position: static;
        transform: none;
        margin: 40px 0;
    }

    .title h1 {
        font-size: 2.5rem;
        text-align: center;
    }

    .contact-bubble {
        position: static;
        width: 90%;
        max-width: 400px;
        padding: 20px;
        font-size: 1.3rem;
        text-align: center;
        box-sizing: border-box;

        /* stop the desktop floating positions */
        top: auto;
        left: auto;
        right: auto;
    }

    .contact-bubble:hover {
        transform: translateY(-5px);
    }
}
