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

@font-face {
    font-family: "Minecraft";
    src: url("./Minecraft.ttf");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: "MinecraftCHMC";
    src: url("./minecraftchmc.ttf");
    font-weight: normal;
    font-style: normal;
}

html {
    font-family: "Minecraft";
}

button {
    font-family: "Minecraft";
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0.5rem;
}

body {
    height: 100vh;
    display: grid;
    place-items: center;
    background-image: url("./background.png");
    background-size: cover;
}

main {
    width: 80%;
    height: 80%;
    margin-top: 5%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 10rem;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: -0.5rem 0.5rem 0 white;
    transform: translateY(-40%);
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    transform: translateY(-100%);
}

nav button {
    width: 12ch;
    font-size: 2rem;
    border: 3px solid black;
    background: white;
    padding-top: 0.5rem;
}

#site {
    font-size: 2.4rem;
    color: white;
    background: #296b1d;
    border: 10px solid #2d7520;
    padding: 1.5rem 4rem 0.5rem 4rem;
    margin-bottom: 1rem;
}

section {
    width: 90%;
    flex-grow: 1;
    padding: 1rem;
    margin: 0 auto;
    color: white;
    background: #141414;
    border-radius: 1rem;

    font-style: normal;
    font-family: MinecraftCHMC, serif;
    text-align: center;
}

section h2 {
    font-size: 2.2rem;
    font-style: normal;
    margin-top: 0.4rem;
}

section h3 {
    font-size: 2.4rem;
    font-style: normal;
    margin-top: 1.2rem;
}

section p {
    font-size: 1.8rem;
    margin: 0.4rem;
}

#discord {
    color: white;
    font-size: 2rem;
    background: #242424;
    padding: 1rem 8rem 0.5rem 8rem;
    border: none;
    transform: translateY(50%);
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
    font-size: large;
}

.myInput {
    visibility: hidden;
}