@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(#200016, #10001f);
    height: 1000vh;
    font-family: "Fira Sans", sans-serif;
    color: #fff;
}

a {
    text-decoration: none;
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.hidden {
    transform: translateY(-200%);
}

header .logo {
    font-size: 30px;
    text-transform: uppercase;
}

header ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

header ul li {
    margin-right: 30px;
    transition: 0.5s;
}

header ul li a {
    padding: 6px 15px;
    transition: 0.5s;
    border-radius: 20px;
}

header ul li a:hover,
.active {
    background-color: #fff;
    color: #200016;
}

/********/
.main {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main::after {
    content: '';
    position: absolute;
    bottom: 0;
    height: 100px;
    width: 100%;
    background: linear-gradient(to top, #200016, transparent);
}

.main img {
    position: absolute;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#moon {
    mix-blend-mode: screen;
    transform: translateY(80px);
}

.knozi {
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
    transform: translateY(-120px);
}

/*************/


.crud {
    width: 80%;
    margin: auto;
}

.head {
    text-align: center;
    margin: 10px 0;
}

.head h2 {
    text-transform: uppercase;
    margin-bottom: 5px;
}

.head p {
    text-transform: capitalize;
}

input {
    width: 100%;
    height: 30px;
    outline: none;
    border: none;
    background-color: #131c1f;
    color: #fff;
    margin: 4px 0;
    border-radius: 4px;
    padding: 4px;
    transition: .6s;
}

input:focus {
    background-color: #0b0e0f;
    transform: scale(1.1);
}

.price input {
    width: 20%;
}

#total {
    background-color: #a00d02;
    padding: 5px 4px;
    border-radius: 4px;
}

#total::before {
    content: 'total: ';
}

button {
    width: 100%;
    height: 30px;
    border: none;
    transition: 0.6s;
    cursor: pointer;
    background-color: #390053;
    color: #fff;
    border-radius: 20px;
}

button:hover {
    background: #51025F;
    letter-spacing: 2px;
}

#submit {
    margin-top: 10px;
}

.searchBlock {
    margin: 10px 0;
}

.searchBlock input {
    margin-bottom: 10px;
}

.btnSearch {
    display: flex;
    justify-content: space-between;
}

.btnSearch button {
    width: 45%;
}

#deleteAll {
    margin: 20px 0;
}

table {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    border-collapse: collapse;
}

table th {
    text-transform: uppercase;
}

th,
td {
    padding: 5px;
}


.responsive-table {
    width: 100%;
    overflow-x: auto;
}

@media(max-width:767px) {
    .price {
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .price input {
        margin-bottom: 5px;
        width: 45%;
        margin: 0 5px 5px 5px;
    }

    #total {
        margin-top: 10px;
        width: 50%;

    }

    .btnSearch button {
        width: 48%;
        font-size: 12px;
    }
}