* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MyMinecraftFont', sans-serif;
}

html, body {
    height: 100%;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('../source/bgimg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    margin: 0;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    display: flex;
    height: 80px;
    width: 100vw;
    overflow: hidden;
}

.container .mainImg {
    max-width: 366px;
    height: 39px;
    position: absolute;
    top: 4%;
    left: 2%;
}


.header {
    background-color: rgba(48, 48,48, 90%);
    padding: 10px 0;
}

.header h1 {
    text-align: center;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav {
    list-style: none;
    display: flex;
    justify-content: right;
    gap: 50px;
    margin-top: 7px;
    margin-left: 80vw;
}

@font-face {
    font-family: 'MyMinecraftFont';
    src: url("../fonts/Minecraftchmc.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

.nav img {
    width: 10vw;
    height: 3vw;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-family: 'MyMinecraftFont', serif;
    font-size: 2.5vw;
}

.signup-container {
    height: 100%;
    width: 100%;
    max-width: 400px;
    background-color: #333;
    padding: 20px 30px;
    position: relative;
    margin-top: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.signup-form h2 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 3vw;
    color: #f8f8ff;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 25px;
    color: #f8f8ff;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #f8f8ff;
    font-family: 'MyMinecraftFont', serif;
    font-size: 25px;
    outline: none;
    transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
    font-family: 'MyMinecraftFont', serif;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background: #3f8a24;
    color: #f8f8ff;
    font-size: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #61a53f;
}

.login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 30px;
    color: #f8f8ff;
}

.login-link a {
    color: #3f8a24;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
}

footer p {
    font-size: 25px;
    font-family: 'MyMinecraftFont', serif;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    min-width: 300px;
    font-size: 30px;
}

.modal-content button {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    background-color: #3f8a24;
    color: #fff;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #3f8a24;
}
