@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400&display=swap");
html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    background: #fff;
}

.container {
    position: relative;
    display: grid;
    place-items: center;
    width: max-content;
}

.container.fixed {
    width: 25vw;
}

@media screen and (max-width: 500px) {
    .container {
        width: 80vw;
    }
}

input {
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    color: #f9f9f9;
    width: 100%;
    border-radius: 0.2rem;
    background: rgba(245, 248, 255, 0.05);
    border: 0.15rem solid transparent;
    width: 100%;
    padding: 15px 23px;
    margin: 8px 0 8px 0;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input::selection {
    background: #7a7a7a56;
}

input:hover {
    border-color: rgba(255, 245, 245, 0.2);
}

input::placeholder {
    color: #393838;
    user-select: none;
}

input:hover {
    border-color: #ff4747;
    box-shadow: 0 0 0 0.4rem rgba(255, 71, 71, 0.15);
}

input:focus {
    border-color: #ff4747;
    box-shadow: 0 0 0 0.4rem rgba(255, 71, 71, 0.15);
}

input:disabled:hover {
    border-color: #4e4e4e;
    cursor: text;
    box-shadow: 0 0 0 0.4rem rgba(66, 68, 78, 0.15);
}

textarea {
    font-family: "Open Sans", sans-serif;
    color: #f9f9f9;
    width: 100%;
    border-radius: 0.2rem;
    background: rgba(245, 248, 255, 0.05);
    border: 0.15rem solid transparent;
    width: 100%;
    padding: 15px 23px;
    margin: 8px 0 8px 0;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    resize: vertical;
}

textarea::selection {
    background: #7a7a7a56;
}

textarea:hover {
    border-color: rgba(245, 248, 255, 0.2);
}

textarea::placeholder {
    color: #393838;
    user-select: none;
}

textarea:hover {
    border-color: #ff4747;
    box-shadow: 0 0 0 0.4rem rgba(255, 71, 71, 0.15);
}

textarea:focus {
    border-color: #ff4747;
    box-shadow: 0 0 0 0.4rem rgba(255, 71, 71, 0.15);
}

textarea:disabled:hover {
    border-color: #4e4e4e;
    cursor: text;
    box-shadow: 0 0 0 0.4rem rgba(66, 68, 78, 0.15);
}

select {
    font-family: "Open Sans", sans-serif;
    color: #f9f9f9;
    width: 100%;
    border-radius: 0.2rem;
    background: rgba(245, 248, 255, 0.05);
    border: 0.15rem solid transparent;
    width: 100%;
    padding: 15px 23px;
    margin: 8px 0 8px 0;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    resize: vertical;
    -moz-appearance: none;
    -webkit-appearance: none;
}

select::selection {
    background: #7a7a7a56;
}

select:hover {
    border-color: rgba(245, 248, 255, 0.2);
}

select::placeholder {
    color: #393838;
    user-select: none;
}

select:hover {
    border-color: #ff4747;
    box-shadow: 0 0 0 0.4rem rgba(255, 71, 71, 0.15);
}

select:focus {
    border-color: #ff4747;
    box-shadow: 0 0 0 0.4rem rgba(255, 71, 71, 0.15);
}

select:disabled:hover {
    border-color: #4e4e4e;
    cursor: text;
    box-shadow: 0 0 0 0.4rem rgba(66, 68, 78, 0.15);
}

select::-ms-expand {
    display: none;
}


/* Button */

button {
    font-family: inherit;
    font-weight: inherit;
    font-size: 1rem;
    user-select: none;
    margin-top: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: 0.2rem;
    background: #ff4747;
    border: 0.15rem solid transparent;
    width: 100%;
    color: white;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

button:hover {
    border-color: #ff4747;
    background: #d33d3d;
    box-shadow: 0 0 0 0.4rem rgba(255, 71, 71, 0.15);
}


/* Card */

.card {
    padding: 15px 23px;
    background: #242424e3;
    box-sizing: border-box;
    outline: none;
    border-radius: 0.2rem;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
    width: 20vw;
    word-break: break-all;
}

.card.box-shadow {
    background: #fff;
    color: black;
}

.card.maxcontent {
    width: max-content;
}

.card:hover {
    background: #242424;
}

.card.box-shadow:hover {
    background: whitesmoke;
}

a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    transition: color 0.2s;
    cursor: pointer;
}

a:hover {
    color: #5c5c5c;
}


/* Headings */

h1 {
    margin: 0;
}

h2 {
    margin: 0;
}

h3 {
    margin: 0;
}

h4 {
    margin: 0;
}

h5 {
    margin: 0;
    font-size: 2.2vh;
}

span {
    font-size: 1.8vh;
}
