@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Arimo:ital,wght@0,400..700;1,400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
    --blue-1: #0a2e5a;
    --blue-2: #27A9E2;
    --white: #fff;
    --light-grey: #c0c0c0;
    --dark-gray-color: #979797;
    --red-1: #965b65;
    --green-1: #72a7ca;
    --dark-blue-1: #0d0d1b;
    --dark-blue-2: #121224;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #4d4d4d;
    font-family: "Arimo", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.overlay {
    min-height: 100%;
    width: 100%;
    max-height: fit-content;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.container {
    width: 600px;
    display: grid;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px 40px;
    border-radius: 10px;
    margin: 10px auto;
    z-index: 1000;
    background-color: #fff;
}

@media (max-width:960px) {
    .container {
        width: 95%;
        padding: 20px 10px;
        justify-content: center;
    }
}

.container .sign-in {
    width: 100%;
    font-size: 20px;
    border: 1px solid #ccc;
    padding: 7px 0px;
    border-radius: 10px;
    cursor: pointer;
}

.container .sign-in:hover {
    background-color: var(--blue-1);
    color: var(--dark-gray-color);
}

.container .sign-in:hover i {
    color: var(--dark-gray-color);
}

.logo-login {
    width: 90px;
    height: 90px;
    border-radius: 90px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    border: 3px solid #ccc;
}

.snc {
    margin: 30px 0;
}

.logo-login img {
    width: 100%;
    height: 100%;
}

.all-sect {
    display: flex;
    min-height: 100vh;
}

.left-bar {
    width: 300px;
    min-height: 100vh;
    max-height: 100vh;
    background-color: #f7f7f7;
    padding: 20px 20px;
}

.left-bar p {
    text-align: center;
}

.logo {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.overlay h2,
.overlay p {
    margin: 15px 0;
}

.inputs {
    width: 100%;
    margin: 0 auto;
}

.inputs .input-cont {
    border-radius: 10px;
    border: 1px solid #ccc;
    overflow: hidden;
    margin-bottom: 10px;
}

.inputs .input-cont:focus-within {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.inputs .input-cont input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 10px;
    font-size: 20px;
}

.container .bottom-items {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container .bottom-items p a {
    color: black;
}

.message {
    width: 100%;
    padding: 10px 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    color: white;
    background-color: maroon;
    display: none;
    position: relative;
}

.message .cancel {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.message .cancel i {
    color: var(--light-grey);
}

.message.active {
    display: block;
}

.message.active .cancel {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.top-sect {
    width: 100%;
    padding: 20px;
}

.items {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    width: 100%;
}

.items .item {
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.items .item .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.items .item .icon i {
    font-size: 25px;
}

.items .item.i-1 .icon {
    background-color: rgb(212, 207, 255);
}

.items .item.i-1 .icon i {
    color: blue;
}

.items .item.i-2 .icon {
    background-color: rgb(221, 255, 207);
}

.items .item.i-2 .icon i {
    color: rgb(12, 156, 48);
}

.items .item.i-3 .icon {
    background-color: rgb(255, 207, 207);
}

.items .item.i-3 .icon i {
    color: rgb(139, 13, 13);
}

.items .item.i-4 .icon {
    background-color: rgb(207, 255, 253);
}

.items .item.i-4 .icon i {
    color: rgb(13, 135, 139);
}

.items .item.i-5 .icon {
    background-color: rgb(255, 254, 207);
}

.items .item.i-5 .icon i {
    color: rgb(139, 116, 13);
}

.stands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stands .stand {
    width: 100%;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.3);
    border-top: 1px solid #ccc;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.stands .stand:hover {
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.6);
}

.stands .stand .picture {
    width: 100%;
    height: 300px;
    border: 1px solid #ccc;
}

.stands .stand .tag {
    position: absolute;
    border-radius: 50px;
    padding: 5px 15px;
    top: 10px;
}

.stands .stand .tag.tag-state {
    right: 10px;
    background-color: rgb(178, 255, 175);
    color: rgb(3, 80, 7);
}

.stands .stand .tag.tag-state.sold {
    background-color: rgb(255, 175, 175);
    color: rgb(80, 3, 3);
}

.stands .stand .tag.tag-state.reserved {
    background-color: rgb(255, 240, 175);
    color: rgb(80, 60, 3);
}

.stands .stand .tag.tag-type {
    left: 10px;
    background-color: var(--red-1);
    color: var(--white);
}

.stands .stand button {
    padding: 10px 0;
    width: 100%;
    border: none;
    background-color: var(--blue-1);
    color: var(--white);
    font-size: 18px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
}

.stands .stand .fas.fa-dollar-sign {
    color: rgb(0, 180, 0);
}

.stands .stand .fas.fa-ruler {
    color: var(--blue-2);
}

.stands .stand button:hover {
    background-color: var(--dark-blue-2);
}

.stands .stand button i {
    color: var(--white);
    margin-right: 5px;
}

.stands .stand .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stands .stand .bottom-items {
    padding: 20px;
}

.stands .stand .d-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.stands .stand h2 {
    margin-bottom: 20px;
}

.left-bar .navigation {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.left-bar .navigation button {
    width: 100%;
    background-color: transparent;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.left-bar .navigation button:hover {
    background-color: var(--blue-1);
    color: var(--light-grey);
}

.left-bar .navigation button.active {
    background-color: var(--blue-1);
    color: var(--light-grey);
}

#overlay {
    width: 100%;
    min-height: 100%;
    max-height: fit-content;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    top: 0;
}

#overlay .stand {
    width: 40%;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
}

#overlay .stand:hover {
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.6);
}

#overlay .stand .picture {
    width: 100%;
    height: 300px;
    border: 1px solid #ccc;
}

#overlay .stand .tag {
    position: absolute;
    border-radius: 50px;
    padding: 5px 15px;
    top: 10px;
}

#overlay .stand .tag.tag-state {
    right: 10px;
    background-color: rgb(178, 255, 175);
    color: rgb(3, 80, 7);
}

#overlay .stand .tag.tag-state.sold {
    background-color: rgb(255, 175, 175);
    color: rgb(80, 3, 3);
}

#overlay .stand .tag.tag-state.reserved {
    background-color: rgb(255, 240, 175);
    color: rgb(80, 60, 3);
}

#overlay .stand .tag.tag-type {
    left: 10px;
    background-color: var(--red-1);
    color: var(--white);
}

#overlay .stand button {
    padding: 10px 0;
    width: 100%;
    border: none;
    background-color: var(--blue-1);
    color: var(--white);
    font-size: 18px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
}

#overlay .stand .fas.fa-dollar-sign {
    color: rgb(0, 180, 0);
}

#overlay .stand .fas.fa-ruler {
    color: var(--blue-2);
}

#overlay .stand button:hover {
    background-color: var(--dark-blue-2);
}

#overlay .stand button i {
    color: var(--white);
    margin-right: 5px;
}

#overlay .stand .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#overlay .stand .bottom-items {
    padding: 20px;
}

#overlay .stand .d-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

#overlay .stand h2 {
    margin-bottom: 20px;
}

.left-bar .navigation {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin-top: 40px;
}

@media (max-width:1200px) {
    .items {
        grid-template-columns: repeat(3, 1fr);
    }

    .left-bar {
        position: fixed;
        left: -100%;
    }

    .stands {
        grid-template-columns: repeat(2, 1fr);
    }

    #overlay .stand {
        width: 60%;
    }
}

.input-cont {
    width: 100%;
    border: 1px solid #ccc;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

.input-cont:focus-within {
    border: 4px solid #ccc;
}

.input-cont input {
    padding: 10px 10px;
    border: none;
    outline: none;
    width: 100%;
}

#toggle{
    display: none;
}

@media (max-width:960px) {
    .container .bottom-items {
        justify-content: space-between;
        gap: 5px;

    }

    .container .bottom-items p {
        font-size: 10px;
    }

    .items {
        grid-template-columns: repeat(2, 1fr);
    }

    .left-bar {
        position: fixed;
        left: -100%;
    }

    .left-bar.active{
        left: 0;
        z-index: 9999;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    #toggle{
        display: block;
        font-size: 25px;
        cursor: pointer;
        width: fit-content;
    }

    .stands {
        grid-template-columns: repeat(1, 1fr);
    }

    #overlay .stand {
        width: 95%;
    }
}