* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* transition: .5s; */
    font-family: Arial, Helvetica, sans-serif;
}
html {
    font-size: 10px;
}


.online_div {
    position: relative;
    width: 98%;
    margin: auto;
    border-radius: 2rem;
    border-bottom: 5px solid gray;
    border-top: 5px solid gray;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.regular_div {
    width: 98%;
    margin: auto;
    margin-top: 5rem;
    border-radius: 2rem;
    padding-top: 2rem;
    border-bottom: 5px solid gray;
    border-top: 5px solid gray;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.distance_div {
    border-bottom: 5px solid gray;
    border-top: 5px solid gray;
    width: 98%;
    margin: auto;
    border-radius: 2rem;
    margin-top: 5rem;
    /* margin-bottom:5rem; */
    padding-top: 2rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.fa-circle-user {
    font-size: 2rem;
    cursor: pointer;
}



#d1,#d2,#d3{
    /* border: 5px solid green; */
    width: 100%;
    position: relative;
}
#d1 {
    top: 5rem;
}
.batch-box {
    /* border: 2px solid red; */
    width: 100%;
    position: relative;
    background: #fff;

}

.heading {
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}

/* .heading::after {
    content: "";
    width: 10%;
    height: .4rem;
    background: blue;
    position: absolute;
    left: 45%;
    top: 1%;
    border-radius: 50%;
} */

/* #regular::after {
    content: "";
    width: 10%;
    height: .4rem;
    background: blue;
    position: absolute;
    bottom: -2px;
    left: 45%;
    top: 1.5%;
    border-radius: 50%;
} */

/* #distance::after {
    content: "";
    width: 10%;
    height: .4rem;
    background: blue;
    position: absolute;
    bottom: -2px;
    left: 45%;
    top: 4.5%;
    border-radius: 50%;
} */

.batch {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;
    /* border: 2px solid red; */
}

.batch .items {
    height: 35rem;
    width: 30%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: .8rem;
    padding: 1rem;
    /* border-top: .2rem solid rgb(56, 56, 160);
    border-bottom: .2rem solid rgb(56, 56, 160); */
    overflow: hidden;
}

.item-cont {
    /* border: 2px solid red; */
    width: 100%;
    height: 100%;
}

.batch a #mg {
    border: 2px solid black;
    width: 100%;
    height: 50%;
    cursor: pointer;
}

.batch a #mg img {
    width: 100%;
    height: 100%;
}

h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 1rem;
    position: relative;
}

.item-cont h3 {
    color: black;
}

.items a div h3::after {
    content: "";
    width: 30%;
    height: .3rem;
    background: red;
    position: absolute;
    bottom: -2px;
    left: 35%;
    top: 100%;
    border-radius: 50%;
}

.item-cont p {
    text-align: center;
    font-size: 1.7rem;
    padding-top: 1rem;
    width: 90%;
    margin: auto;
    color: blue;
    word-break: break-all;
    /* word-wrap: break-word; */
}


/* -------------popup working----------------------------- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 100vh;
    background-color: transparent;
    display: none;
    padding: 2rem;
}

.popup div:first-child {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin: auto;
    padding: 2rem;
    border-radius: 1rem;
}

.popup h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
}

.fa-xmark {
    position: relative;
    font-size: 2rem;
    color: white;
    padding: .5rem;
    border-radius: .5rem;
    background-color: red;
    left: 98%;
    cursor: pointer;
}

.popup table{
    margin-top: 1rem;
    width: 100%;
    border-collapse: collapse;
}
.popup table td{
    width: 50%;
    position: relative;
    padding:1rem 1.5rem;
    /* border: solid 1px red; */
    background:none;
    /* height: 8rem; */
}
.popup table td input[type='text'],.popup table td textarea,.popup table td select{
    width: 100%;
    border-radius: .5rem;
    border: solid 1px gainsboro;
    padding: 1rem;
    font-size: 1.5rem;
    background: none;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    &:focus{
        border: solid 2px black;
    }
    &:focus + label{
        color: black !important;
    }
}
.popup table td label{
    position: absolute;
    font-weight: bold;
    font-size: 1.2rem;
    color: #0000FF;
    background-color: white;
    padding: 0 0.2rem;
    top: .3rem;
    left:3rem;
    visibility: hidden;
}
.popup table td span{
    color: red;
    font-size: 1.2rem;
}

#b3,
#b4 {
    font-size: 1.5rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    color: white;
    font-weight: bold;
    background-color: #19bb9d;
    border: none;
    border-radius: 1rem;
}

#b4 {
    background-color: #ea2d10;
    padding: 1.1rem 1.5rem;
    margin-left: 3rem;
}
.main{
    /* border: solid 1px red; */
    width: 100%;
    padding-top: 5rem;
}

@media screen and (max-width:1269px) {
    html {
        font-size: 55%;
    }

    /* .fa-bars {
        display: block;
        cursor: pointer;
    } */
    /* .upper {
        display: none;
    } */
}

@media screen and (max-width:1151px) {
    /* .rays {
        font-size: 2rem;
        right: 2rem;
        top: 30%;
    } */

    .heading::after {
        content: "";
        width: 10%;
        height: .4rem;
        background: blue;
        position: absolute;
        bottom: -2px;
        left: 45%;
        border-radius: 50%;
        visibility: hidden;
    }
}


@media screen and (max-width:768px) {
    /* .rays {
        font-size: 1.5rem;
        left: 12.5rem;
        top: 25%;
    } */
    .popup table td{
        display: block;
        width: 100%;
    } 
    /* .fa-bars {
        right: 1rem;
    } */
    .batch .items {
        width: 25rem;
        height: 10rem;
    }

    .batch .items a #mg {
        height: 35%;
        object-fit: cover;
    }

    h3 {
        text-align: center;
        font-size: 1.5rem;
    }

    .item-cont p {
        text-align: center;
        font-size: 1.4rem;
        width: 90%;
    }
}

@media screen and (max-width:650px) {
    /* .rays {
        font-size: 2.5rem;
        right: 2rem;
        top: 30%;
    } */

    .batch .items {
        height: 25rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}
/* @media screen and (max-width:600px) {
        html {
            font-size: 35%;
        }
    } */