/* Main */

* {padding: 0px;}
* {margin: 0px;}
img {width: 100%;}
body {background-color: #191a1c;}
li {list-style-type: none;text-decoration: none;}
main {margin-left: 8px; margin-right: 8px;}

/* Grid */

body {display: grid; grid-template-rows: auto auto;}
nav {grid-row: 1/2;}
main {grid-row: 2/3;}

/* Fonts */

p, a {
    color: #D3D3D3;
    font-family: "Text1";
    font-size: 18px;
    text-decoration: none;
}

@font-face {
    font-family: "fnxfont1_regular";
    src: url(../fonts/Montserrat-Regular.ttf);
}
@font-face {
    font-family: "fnxfont1_bold";
    src: url(../fonts/Montserrat-Bold.ttf);
}

/* Nav */

nav {
    display: grid;
    grid-template-columns: 200px 1fr 420px;
    align-items: center;
    background-color: #222326;
    border-bottom: 2px solid #333539;
    height: 56px;
    margin-bottom: 8px;

}

nav #website_logo {
    width: 180px;
    padding-left: 8px;
}

nav .navForm {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-left: 16px;
    width: fit-content;
    height: fit-content;
    justify-items: center;
    grid-gap: 16px;
}

nav .navForm button {
    width: fit-content;
    height: fit-content;
    color: #222326;
    background-color: #0000;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    color: #D6F4F7;
    font-family: "fnxfont1_bold";
    font-size: 18px;
    transition: 100ms;
}

nav .navForm button:hover {
    color: #222326;
    background-color: #D6F4F7;
}

nav .logForm {
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    margin-right: 16px;
    width: fit-content;
    height: fit-content;
    justify-items: right;
    justify-self: right;
    grid-gap: 16px;
}

nav .logForm button {
    width: fit-content;
    height: fit-content;
    color: #222326;
    background-color: #0000;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    color: #D6F4F7;
    font-family: "fnxfont1_bold";
    font-size: 18px;
    transition: 100ms;
}

nav .logForm button:hover {
    color: #222326;
    background-color: #D6F4F7;
}

#switch_chars_form {
    width: min-content;
}

#loginButton {
    width: fit-content;
    height: fit-content;
    padding: 8px 12px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #D6F4F7;
    font-family: "fnxfont1_bold";
    transition: 100ms;
    text-decoration: none;
}

#loginButton:hover {
    color: #D6F4F7;
    background-color: #64676d;
}

#selected {
    color: #D6F4F7;
    background-color: #333539;
}

#selected:hover {
    color: #D6F4F7;
    background-color: #64676d;
}

#profile_stuff {
    grid-column: 3/4;
    display: grid;
    justify-content: center;
    height: 50px;
}

#switch_chars {
    grid-column: 1/2;
    background-color: #151618;
    border: 2px solid #333539;
    border-radius: 8px;
    font-family: "fnxfont1_bold";
    color: #D6F4F7;
    width: 180px;
    font-size: 16px;
    margin: 8px 0px;
}

nav form {
    display: grid;
}

#login_button {
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #D6F4F7;
    font-family: "fnxfont1_bold";
    transition: 100ms;
    justify-self: right;
    margin-right: 16px;
}

#login_button:hover {
    color: #222326;
    background-color: #D6F4F7;
}

#profile_picture {
    border-radius: 100%;
    width: 46px;
    height: 46px;
    transition: 50ms;
    margin-right: 2px;
}

#profile_picture:hover {
    border: 2px solid #D6F4F7;
    margin-right: 0px;
}

#pp_a {
    grid-column: 2/3;
    display: grid;
    align-items: center;
}



/* Sections */

section {
    background-color: #222326;
    border: 2px solid #333539;
    border-radius: 14px;
    padding: 16px;
    margin: 8px;
}

/* Buttons */

.button_s_1 {
    text-decoration: none;
    border-radius: 8px;
    color: #c7341a;
    background-color: #0000;
    border: 1px solid #0000;
    padding: 2px 12px;
    transition: 120ms;
    justify-self: center;
    cursor: default;
    font-family: "fnxfont1_regular";
}

.button_s_1:hover {
    box-shadow: 0px 0px 15px #c7341a;
    background-color: #9e34215d;
    color: #c7341a;
    border: 1px solid #c7341a;
}

.button_s_2 {
    text-decoration: none;
    border-radius: 8px;
    color: #D6F4F7;
    background-color: #0000;
    padding: 2px 12px;
    transition: 120ms;
    justify-self: center;
    cursor: default;
    font-family: "fnxfont1_regular";
    font-weight: bold;
}

.button_s_2:hover {
    background-color: #D6F4F7;
    color: #222326;
}

.button_s_3 {
    text-decoration: none;
    border-radius: 8px;
    color: #549eff;
    background-color: #0000;
    border: 1px solid #0000;
    padding: 2px 12px;
    transition: 120ms;
    justify-self: left;
    cursor: default;
    font-family: "fnxfont1_regular";
}

.button_s_3:hover {
    box-shadow: 0px 0px 15px #549eff;
    background-color: rgba(60, 135, 255, 0.251);
    color: #549eff;
    border: 1px solid #549eff;
}

.button_s_4 {
    text-decoration: none;
    border-radius: 8px;
    color: #4bc71a;
    background-color: #0000;
    border: 1px solid #0000;
    padding: 2px 12px;
    transition: 120ms;
    justify-self: center;
    cursor: default;
    font-family: "fnxfont1_regular";
}

.button_s_4:hover {
    box-shadow: 0px 0px 15px #4bc71a;
    background-color: #76ed473b;
    color: #4bc71a;
    border: 1px solid #4bc71a;
}

.textbox h2 {
    font-family: "fnxfont1_regular";
    color: #b9cef8;
    text-align: center;
}

.textbox p {
    font-family: system-ui;
    text-align: center;
    color: #e8e9eb;
}