/*
|----------------------------|
|THIS IS GLOBAL CONFIGURATION|
|----------------------------|
 */

@font-face {
    font-family: 'Minecraft';
    src: url('fonts/Minecraft.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow-x: hidden;
    background: #184058 no-repeat center center / cover;
    color: #EBFAFF;
}

/*
|--------------------------|
|THIS IS THE NAVBAR SECTION|
|--------------------------|
 */

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0A1A2F top center/cover scroll;
    padding: 10px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.25);
}

.navbar ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
    margin-top: 20px;
}

.navbar li {
    margin-right: 50px;
    transform: scale(1);
    transition: transform 0.3s;
}

.navbar a {
    text-decoration: none;
    font-family: 'Minecraft', serif;
    transition: color 0.3s;
    display: inline-block;
    line-height: 0;
    color: #EBFAFF;
}

.navbar span {
    display: inline-block;
    transform: scale(1);
    padding: 3px;
    position: relative;
    transition: transform 0.3s, rotate 0.3s;
}

.navbar span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #EBFAFF;
    transition: width 0.3s, background-color 0.3s;
}

.navbar span:hover {
    transform: scale(1.2);
    rotate: 10deg;
}

.navbar span:hover::after {
    width: 100%;
    background-color: #3FD2C7;
}

.navbar a:hover {
    color: #3FD2C7;
}

.quicktest p {
    margin: 1000px;
}

/*
|----------------------------------|
|THIS IS THE COPY IP BUTTON SECTION|
|----------------------------------|
*/

.copy-ip {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px);
    margin: 0;
    padding: 0;
    text-align: center;
}

.copy-ip button {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: #EBFAFF;
    background-image: url("images/button.png");
    width: 600px;
    height: 79px;
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Minecraft', sans-serif;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0);
    transition: all 0.3s ease-in-out;
    border: none;
    outline: none;
    background-position: center;
}

.copy-ip button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #EBFAFF;
    z-index: 1;
    transition: none;
}

.copy-ip button span {
    position: relative;
    z-index: 2; /* Ensure text is above the wipe */
}

.copy-ip button.wipe-in::before {
    animation: wipeIn 0.5s forwards;
}

.copy-ip button.wipe-out::before {
    animation: wipeOut 0.5s forwards;
}

@keyframes wipeIn {
    0% { left: -100%; }
    100% { left: 0%; }
}

@keyframes wipeOut {
    0% { left: 0%; }
    100% { left: 100%; }
}

.copy-ip button:hover {
    border-color: #FFFFFF;
    color: #EBFAFF;
    box-shadow: 0 0 8px #3FD2C7;
    transform: scale(1.1);
}