* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* body */
body {
    direction: rtl;
    background: #F4F4F4;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* nav */
.navbar {
    background: #f9feffe8;
    position: sticky;
    top: 0px;
    z-index: 1;
    animation: nav 1s ease-in-out;
}

@keyframes nav {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav .logo-n {
    display: inline-block;
    width: 65px;
    margin-left: 15px;
    margin-right: 15px;
}

.navbar-nav a {
    display: inline-block;
    font-size: 21px;
}

.navbar .active {
    text-decoration: dotted underline rgb(48, 35, 227);
}

.navbar-nav a:hover {
    color: rgb(64, 63, 63);
    text-decoration: underline;
}

/* section-1 */
.section-1 {
    margin-top: 3%;
    margin-bottom: 4%;
}

.section-1 .head {
    background-image: linear-gradient(to right,rgba(235, 148, 231, 0.493),#3d6be121);
    width: 100%;
    padding: 20px;
}

/* section-2 */

.section-2 {
    margin-top: 3%;
    margin-bottom: 4%;
}

.section-2 .head {
    background-image: linear-gradient(to right, rgba(235, 148, 231, 0.493), #3d6be121);
    width: 100%;
    padding: 20px;
}

/* items */
.items {
    display: flex;
    justify-content: space-evenly;
    padding: 2%;
    animation: items 2s ease-in-out;
}
@keyframes items{
    0%{
        opacity: 0;
    }100%{
        opacity: 1;
    }
}

.items .item {
    display: grid;
    background-image: linear-gradient(to top, rgba(150, 150, 229, 0.134), #e5e3e53c);
    border-radius: 15px;
    margin-left: 30px;
    padding: 1%;
    border: 1px solid rgba(0, 0, 0, 0.459);
}

.items .item .span {
    display: inline-block;
    background: #000;
    width: 340px;
    height: 250px;
    padding: 2px;
}

.items .item h4{
    margin-top: 7%;
}

.items .item .add{
    display: flex;
    align-items: center;
    width: fit-content;
    margin-top: 20px;
    padding-top: 2px;
    padding-left: 4%;
    padding-right: 3%;
    padding-bottom: 2px;
    background-image: linear-gradient(to right, #9dcaedac, #ef94dd6f);
    font-size: 21px;
    border: 1px solid #000000;
    border-radius: 12px;
} 


.item .add img{
    display: inline-block;
    align-self: center;
    width: 80px;
    height: fit-content;
    margin-right: 5px;
}






/* other-page section-1 list */
#section-1{
    margin-top: 2%;
}

#section-1 .head{
    display: block;
    align-self: center;
    background-image: linear-gradient(to left, rgba(235, 148, 231, 0.493), #3d6be121);
    width: 100%;
    text-align: center;
    padding: 20px;

}

/* edit */
.edit{
    display: flex;
    padding-top: 3%;
    padding-right: 3%;
}

.edit input{
    width: 20%;
    height: 40px;
    margin-right: 20px;
    border: 2px solid rgba(47, 47, 192, 0.543);
}

.edit button{
    width: fit-content;
    height: fit-content;
    margin-right: 20px;
    padding: 0.7%;
    background-image: linear-gradient(to right, #5e9fd164, #ef94dd6a);
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #000000;
    border-radius: 12px;
}

/* view */
hr{
    width: 20%;
    margin-right: 3%;
    border: 1px solid rgba(0, 0, 0, 0.44);
}
#view{
    padding: 3%;
    overflow-x: scroll;
}

#view .delete{
    display: grid;
    /* justify-self: center; */
    font-size: 20px;
    margin-top: 20px;
    padding-top: 3px;
    padding-left: 10%;
    padding-right: 10%;
    padding-bottom: 3px;
    background-image: linear-gradient(to top, #db5236c8, #a8a9a949);
    font-size: 21px;
    border: 1px solid #0f0f0f81;
    border-radius: 10px;
}

/* footer */
footer {
    background: #302F2F;
    color: white;
    width: 100%;
    padding: 2%;
}

footer hr {
    color: #ced0d9;
}

footer a {
    margin-top: 15px;
}

footer .a::after {
    content: "___";
    margin-right: 5px;
    margin-left: 5px;
}




/* responsive */
@media (max-width: 1225px){
    .items {
        overflow-x:scroll
    }
}