
body{
    display: grid;
    grid-template-columns: 2fr 1fr;

    /* background: url(../pic/try.png);
    background-size: cover;
        /* background-size: 45%;
        background-repeat: no-repeat;
        background-position: center;
        background-position-y: -40%; */ 

        background: black;
        
}

h2{
    margin-top: 5%;
}

.active{
    z-index: 3;
}

/* This class targets the main white container box of the alert */
    .my-swal-popup {
        border: 3px solid #FAB519; /* Example border: 5px thick, solid, green color */
        /* Optional: you can customize border radius too */
        border-radius: 20px;
    }
    .items{
    padding: 5%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    }

.container{
    /* border: #FAB519 3px solid; */
    position: relative;
    background-color: white;
    min-height: 200px;
    min-width: 150px;
    max-height: 225px;
    max-width: 150px;
    overflow: hidden;
    background: #FAB519;
}

.container:hover{
    transform: scale(0.9);
    transition: 100ms;
    cursor: pointer;
}

.pic{
    height: 150px;
    overflow: hidden;
    background: black;
    padding-bottom: 15px;
}

.container img{
    height: 100%;
    width: 100%;
    object-fit: fill;
    border: #FAB519 2px solid;
    box-sizing: border-box;
}

.container .name{

}

.container p{
    font-size: 15px;
    text-align: center;
}

.container .cate{
    position: absolute;
    top: 0px;
    right: 0px;
    width: 3%;
    height: 3%;
}

.side{
    position: fixed;
    right: 40px;
    top: 7%;
    width: 35%;
}

.side .buttons{
    height: 90vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
    position: absolute;
    background: black;
    padding-bottom: 3%;
}

.side .buttons button{
    padding: 5%;
    width: 200px;
    border: #FAB519 2px solid;
    border-radius: 5%;
    font-size: 20px;
    color: #FAB519;
    background: black;
}

.side .buttons button:hover{
    background: #FAB519;
    color: white;
    cursor: pointer;
    transition: 200ms;
}


.forms{
    border: #FAB519 3px solid;
    background: black;
    height: 78vh;
    position: absolute;
   top: 125px;
    width: 99%;
}

  .forms{
    color: #FAB519;
  }

  .forms > div{
    display: none;
  }

  .forms input, .forms select, .forms textarea{
    width: 80%;
    padding: 4%;
    font-size: 15px;
    background: transparent;
    border-radius: 2%;
    border: #FAB519 1px solid;
    
    color: #FAB519;
  }

  .newF{
    margin: 5%;
    display: none;
  }
  
  .newF form {
      display: grid;
      justify-items: center;
  }
        .newF .info{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            justify-items: center;
        }

        .newF .info > div{
            display: grid;
            gap: 10px;
            flex-direction: column;
            font-size: 22px;
            width: 100%;
        }

        .quest{
            display: flex;
            align-items: center;
        }


    .stores{
     display: grid;
     justify-self: center;
     grid-template-columns: 1fr 1fr 1fr;
     align-items: center;
     justify-items: center;
     width: 80%;
    }

        .stores > div{
            display: grid;
            gap: 10px;
            flex-direction: column;
            font-size: 22px;
            width: 100%;
        }

    .stores input[type="number"]{
        width: 50%;
        padding: 2%;
    }

    .newF button[type="submit"], .newF button[type="reset"]{
       padding: 2%;
       background: transparent;
       border: #FAB519 2px solid;
       border-radius: 5%;
       color: #FAB519;
       width: 30%;
       margin-top: 15%;
    }

    .addBTN{
        display: flex;
        gap: 20px;
        justify-content: center;
        width: 100%;
    }

    .newF button[type="submit"]:hover, .newF button[type="reset"]:hover{
        background: #FAB519;
        color: white;
        cursor: pointer;
        transition: 200ms;
    }

    .ropeForm {
        grid-template-columns: 1fr;
        padding-top: 5%;
        justify-items: center;
        align-items: center;
    }

    .ropeForm > div{
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        font-size: 25px;
        width: 75%;
        padding: 1%;
        margin-top: 3%;
    }

    .ropeForm input{
        padding: 4%;
        font-size: 15px;
        background: transparent;

        border-radius: 2%;
        width: 72%;
        border: none;
        border-bottom : #FAB519 1px solid;
        color: #FAB519;
    }

   input[type="checkbox"]{
       accent-color: #FAB519;

    }

    .ropeForm button{
       padding: 2%;
       background: transparent;
       border: #FAB519 2px solid;
       border-radius: 5%;
       color: #FAB519;
       width: 30%;
       margin-top: 15%;
    }

    .ropeForm button:hover{
        background: #FAB519;
        color: white;
        cursor: pointer;
        transition: 200ms;
    }

    .ropeOutput{
        padding-top: 5%;
    }

        .ropeOutput h1, .ropeOutput h4{
            line-height: 10px;
            text-align: center;
        }

        .resultsContainer{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            padding-top: 10%;
            justify-items: center;
        }

        .resultsContainer div{
            display: grid;
            gap: 10px;
            flex-direction: column;
            font-size: 18px;
            width: 100%;
            padding-left: 15%;
        }

        .resultsContainer input{
            width: 70%;
            padding: 4%;
            padding-left: 2%;
            font-size: 15px;
            background: transparent;
            border-radius: 2%;
            border: none;
            border-bottom: #FAB519 1px solid;
            color: #FAB519;
        }

        .resultsContainer input::placeholder{
            color: #FAB519;
        }

        .resultsContainer button{
            padding: 4%;
            background: transparent;
            border: #FAB519 2px solid;
            border-radius: 5%;
            color: #FAB519;
            width: 40%;
            margin-top: 10%;
        }

        .resultsContainer button:hover{
            background: #FAB519;
            color: white;
            cursor: pointer;
            transition: 200ms;
        }

    .addInventory{
        display: grid;
        justify-items: center;
        align-items: center;
        grid-template-columns: 1fr;
        padding-top: 5%;

        text-align: center;
    }

    .addInventory > div{
        font-size: 25px;
        width: 100%;
        height: 40vh;
        padding: 1%;
        margin-top: 3%;
    }

    .addInventory button{
       padding: 2%;
       background: transparent;
       border: #FAB519 2px solid;
       border-radius: 5%;
       color: #FAB519;
       width: 30%;
       margin-top: 15%;
    }

    .addInventory button:hover{
        background: #FAB519;
        color: white;
        cursor: pointer;
        transition: 200ms;
    }

   @media  (max-width: 1600px) {

        .side{
            position: absolute;
            width: 40%;
            right: 5px;
        }

        .forms{
            top: 0px;
            height: 90vh;
        }

    }







