body::-webkit-scrollbar {
    width: 0.8em;
    background-color: var(--background);
}

body::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 6px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background);
}

main {
    padding: 6rem 2rem;
}

main>.card {
    margin: 0 auto;
    max-width: 700px;
}

main h1 {
    margin-bottom: 1rem;
}

main #bug-form {
    display: grid;
    gap: 0.5rem;
    padding: 0 0.5rem;
    margin: 1rem auto;
    grid-template-areas:
        "name name"
        "prod sev"
        "sum sum"
        "desc desc"
        "btn btn";
}

#bug-form .input,
#bug-form .solid-btn {
    max-width: none;
}

#bug-form input[id="full_name"] {
    grid-area: name;
}

#bug-form select[id="product"] {
    grid-area: prod;
}

#bug-form select[id="severity"] {
    grid-area: sev;
}

#bug-form input[id="summary"] {
    grid-area: sum;
}

#bug-form textarea {
    min-height: 8rem;
    grid-area: desc;
}

#bug-form button {
    margin-top: 0.5rem;
    grid-area: btn;
}

.card h5 {
    padding: 0.25rem;
    color: rgb(255, 70, 70);
    transition: 0.5s;
}

@media only screen and (max-width: 560px) {
    main #bug-form {
        grid-template-areas:
            "name"
            "prod"
            "sev"
            "sum"
            "desc"
            "btn";
    }
}

/* body::-webkit-scrollbar {
    width: 0.8em;
    background-color: var(--background);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--colorSurface);
}

body {
    min-height: 100vh;
    background: var(--background);
}

body.fix {
    overflow-y: hidden;
}

body.light {
    --background: #e1e1e1;
    --colorSurface: #fff;
    --highEmphasisText: #000;
    --mediumEmphasisText: rgba(0, 0, 0, 0.5);
    --lowEmphasisText: rgba(0, 0, 0, 0.2);
}

body.dark {
    --colorSurface: #333;
    --background: #101010;
    --highEmphasisText: #fff;
    --mediumEmphasisText: rgba(255, 255, 255, 0.5);
    --lowEmphasisText: rgba(255, 255, 255, 0.2);
}

body #scrolltop {
    right: 0;
    bottom: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    position: fixed;
    display: flex;
    margin: 25px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    filter: drop-shadow(0 0 2.5px var(--background));
    color: var(--highEmphasisText);
    user-select: none;
    background: var(--colorSurface);
    transition: 0.25s;
}

body #scrolltop.hide {
    content-visibility: hidden;
    height: 0;
    width: 0;
    padding: 0;
    margin: 50px;
    visibility: hidden;
}

body #scrolltop ion-icon {
    font-size: 1.5em;
}

header {
    position: absolute;
    overflow-x: hidden;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    z-index: 100;
    padding: 30px 100px;
    background: transparent;
    transition: background-color, padding 0.5s;
}

header.clipped {
    position: fixed;
    padding: 15px 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

header .logo {
    white-space: nowrap;
    display: flex;
    color: var(--highEmphasisText);
    flex-direction: column;
    text-decoration: none;
}

header .logo .title {
    font-weight: 600;
    font-size: 2.5em;
    transition: font-size 0.5s;
}

header.clipped .logo .title {
    font-size: 2em;
}

header .logo .subtitle {
    font-size: 1em;
}

header ul {
    justify-self: end;
    width: fit-content;
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

header ul li {
    list-style: none;
    margin: 0 0.5em 0 0;
    border-radius: 50px;
    transition: background-color 0.25s;
}

header ul li a {
    white-space: nowrap;
    text-decoration: none;
    color: var(--highEmphasisText);
    display: block;
    padding: 0.25em 1em;
    font-size: 1em;
    transition: color 0.25s;
}

header ul li:hover,
header ul li:focus {
    background: white;
}

header ul li:hover a,
header ul li:focus a {
    color: var(--colorPrimary);
}

.nav_menu {
    cursor: pointer;
    height: 35px;
    width: 0;
    margin: auto 0;
    display: flex;
    visibility: collapse;
}

.nav_menu .burger {
    background-color: white;
    border-radius: 25px;
    height: 4px;
    width: 35px;
    margin: auto 0;
    transition: width 0.25s;
}

.nav_menu .burger::before,
.nav_menu .burger::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 35px;
    background-color: white;
    border-radius: 25px;
    transition: transform 0.25s;
}

.nav_menu .burger::before {
    transform: translateY(-10px);
}

.nav_menu .burger::after {
    transform: translateY(10px);
}

.nav_menu.active .burger {
    width: 0;
}

.nav_menu.active .burger::before {
    transform: translateY(12px);
    transform: rotateZ(-45deg);
}

.nav_menu.active .burger::after {
    transform: translateY(-8px);
    transform: rotateZ(45deg);
}

.full_screen_nav {
    height: 100vh;
    width: 100vw;
    background-color: var(--colorSurface);
    position: fixed;
    display: flex;
    z-index: 90;
    overflow: hidden;
    transition: width 0.5s;
}

.full_screen_nav.hide {
    width: 0;
}

.full_screen_nav div {
    margin: auto;
}

.full_screen_nav div ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.full_screen_nav div ul li {
    margin: 0.25em;
    padding: 0 1em;
    border-radius: 25px;
}

.full_screen_nav div ul li a {
    text-decoration: none;
    font-size: 1.5em;
    color: white;
    white-space: nowrap;
    font-weight: 400;
    transition: 0.5s;
}

.full_screen_nav div ul li:hover a {
    font-size: 2em;
    font-weight: 600;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7em 5em;
    min-height: 100vh;
}

.container {
    display: flex;
    padding: 3em;
    min-height: 60vh;
    max-width: 1000px;
    flex-direction: column;
    background-color: var(--colorSurface);
}

.container form {
    display: grid;
    row-gap: 1em;
    column-gap: 1em;
    grid-template-rows: auto auto auto;
    grid-template-columns: 50% 50%;
}

.container form label {
    color: var(--highEmphasisText);
}

.container form input[type="text"],
.container form select,
.container form textarea {
    border: none;
    min-width: 100%;
    padding: 0.5em;
    border-style: solid;
    border-color: white;
    border-width: 0 0 1px 0;
    background-color: transparent;
    color: var(--highEmphasisText);
}

.container form select option{
    color: var(--highEmphasisText);
    background: var(--colorSurface);
}

.container form textarea {
    min-height: 7.5em;
    resize: vertical;
}

.container form #summary_grp {
    grid-column-start: 1;
    grid-column-end: 3;
}

.container form #descr_grp {
    grid-column-start: 1;
    grid-column-end: 3;
}

.container form input[type="text"]:hover,
.container form select:hover,
.container form textarea:hover,
.container form input[type="text"]:focus,
.container form select:focus,
.container form textarea:focus {
    border-width: 0 0 2px 0;
}

.container form input[type="submit"] {
    margin: auto;
    min-width: 15em;
    padding: 0.25em;
    border-radius: 25px;
    background-color: white;
    border: white solid 2px;
    grid-column-start: 1;
    grid-column-end: 3;
    transition: 0.5s;
}

.container form input[type="submit"]:hover,
.container form input[type="submit"]:focus {
    background-color: transparent;
    color: var(--highEmphasisText);
}

@media only screen and (min-width: 900px) {
    .full_screen_nav {
        width: 0;
        transition: 0s;
    }
}

@media only screen and (max-width: 1024px) {

    header {
        padding: 20px 80px;
    }

    header.clipped {
        padding: 10px 60px;
    }

    header .logo .title {
        font-size: 2em;
    }

    header.clipped .logo .title {
        font-size: 1.5em;
    }

}

@media only screen and (max-width: 900px) {

    header {
        padding: 20px 60px;
    }

    header.clipped {
        padding: 10px 40px;
    }

    header ul {
        visibility: collapse;
        width: 0;
    }

    header .nav_menu {
        visibility: visible;
        width: 35px;
    }

} */