:root{
    --bg-primary : #131313;
    --bg-secondary : #cecece;
    --text-primary : #fff;
    --text-secondary : #212020;
    --text-tertiary : #000000;
    --line-color : #828282;
    --border-color : #dcdcdcca;
}

@font-face { font-family: 'Tektur'; src: url('font/Tektur-Regular.ttf'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'Tektur Bold'; src: url('font/Tektur-Bold.ttf'); font-weight: bold; font-style: normal; }
@font-face { font-family: 'Tektur Medium'; src: url('font/Tektur-Medium.ttf'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Tektur Condensed SemiBold'; src: url('font/Tektur_Condensed-SemiBold.ttf'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Tektur Condensend'; src: url('font/Tektur_Condensed-Black.ttf'); font-weight: 900; font-style: normal; }

*, ::before, :after {
    margin: 0;
    padding: 0;
}

body, html{
    overflow-x: hidden;
}
main{
    overflow: hidden;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Tektur', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    text-align: left;
    width: 100%;
    min-height: 100vh;
}

h2{
    font-size: clamp(1.75rem, 0.679rem + 2.857vw, 3.25rem);
    font-weight: 600;
    margin: 2.5rem 1rem;
}

.item-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.item-head .search-tab{
    margin: 3%;
}

.item-head .search-tab input{
    padding: 0.5rem 1rem;
    font-size: clamp(0.75rem, -0.393rem + 2.381vw, 1.75rem);
    border: none;
    border-radius: 12px;
    background-color: var(--text-secondary);
    color: var(--line-color);
}
.item-head .search-tab input:focus{
    outline: solid 3px lightblue;
}

.items-desc {
    padding: 1rem;
    font-size: 18px;
    margin: 0.5rem;
}

.title {
    background-image: url("/Content/image/illustration.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    font-size: 2rem;
    font-weight: 400;
    padding: 15rem 0 5rem 10%;
}

.title h1{
    font-weight: 700;
    /* 1 pixel black shadow to left, top, right and bottom */
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}
.title .desc{
    font-size: 1.5rem;
    color: var(--text-primary);
}

.container{
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
}
.container.vertical{
    flex-direction: column;
}

.item-list{
    margin: 0 5% 0 0;
    display: flex;
    flex-direction: row;
}

.navbar{
    display: hidden;
}


.select-orig{
    margin: 2rem 3rem;
    display: flex;
    flex-direction: row;
    gap: 3%;
}

.selector{
    gap: 4px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.selector .label{
    font-size: clamp(0.75rem, -0.393rem + 2.381vw, 1.5rem);
    margin: 0 1rem;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--text-secondary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--text-secondary);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


@media screen and (min-width: 600px) {
    .title .desc{
        margin-left: 1rem;
        margin-top: 14rem;
    }

    .navbar {
        display: block;
        width: 30%;
        padding-left: 2%;
        background-color: var(--bg-primary);
        border-right: solid 1px var(--text-secondary);
    }
}

