@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


header {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
}

.head-name {
    color: blue;
    font-family: 'Montez', cursive;
    font-size: 45px;
}

.sub-name {
    font-family: 'Ubuntu Mono', monospace;
    font-size: 20px;
    color: #561B8B;
}


/* popup */

.popup,
.popup2,
.popup3 {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.popup-content,
.popup2-content,
.popup3-content {
    background-color: #fff;
    padding: 20px;
    margin: 10% auto;
    width: 25%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}



.popup3-content {
    background-color: #fff;
    padding: 20px;
    margin: 3% auto;
    width: 87%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}



.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 35px;
    cursor: pointer;
    color: rgb(133, 131, 131);
    font-weight: bold;
}


#show-popup,
#show-popup2 {
    padding: 8px 25px;
    background-color: blue;
    color: #fff;
    border-color: #fff;
    cursor: pointer;
    text-decoration: none;
    font-size: 20px;
}



#show-popup:hover {
    background-color: #0056b3;
}

hr {
    border-radius: 5px;
}


label {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: left;
    font-size: 18px;
}

input {
    width: 100%;
    padding: 10px 8px;
    margin: 10px 0;
    display: inline-block;
    background-color: rgb(236, 230, 230);
    text-decoration: none;
    border: 0;
}

.popup-heading,
.signin-head,
.create-post-head {
    text-align: left;
    color: rgb(133, 131, 131);
}

#inside-btn-create {
    margin-top: 25px;
    padding: 8px 50px;
    background-color: rgb(38, 122, 38);
    color: #fff;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

input:hover {
    border-color: #0056b3;
}

#inside-btn-signin,
#inside-btn-signup {
    width: 100%;
    margin-top: 25px;
    padding: 8px 25px;
    background-color: rgb(38, 122, 38);
    color: #fff;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
}

.member {
    font-weight: 600;
    margin-top: 25px;
}

#showSignUp {
    font-weight: 600;
    font-style: normal;
}

.card-container {
    width: 100%;
    height: 700px;
    margin: 0;
}

.item {
    width: 40%;
    height: 30%;
    background: linear-gradient(90deg, #fff 23%, #E8E8E8 20%);
    /* background-color: rgb(234, 228, 228); */
    padding: 0.5em 1em 0.5em 1em;
    font-weight: 500;
    /* remove this property  */
    align-items: center;
    /* this is use for font alignment */
    border-radius: 20px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2), 0 10px 10px 0 rgba(0, 0, 0, 0.19);
    display: grid;
    grid-template-columns: 20% 80%;

}

.item:hover {
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.5), 0 10px 30px 0 rgba(0, 0, 0, 0.19);
}

.card-container {
    display: flex;
    justify-content: space-evenly;
    /* align-items: center; */
    flex-wrap: wrap;
}

.card-head {
    color: #7A707D;
    font-size: 25px;
    text-align: center;
}

.que {
    text-align: left;
    margin-left: 25px;
    color: #9C8D90;
    font-size: 20px;
    display: flex;
    justify-content: space-between;

}

.paragraph {
    text-align: left;
    margin-left: 25px;

    overflow: hidden;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

}

.fa-solid {
    cursor: pointer;
    float: right;
}

.dlt-contain{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1;
    }

.delete{
    background-color: white;
    padding: 10px;
    margin: 20% auto;
    width: 23%;
    position: relative;
    text-align: center;   
    /* box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.5), 0 10px 30px 0 rgba(0, 0, 0, 0.19);  */
}

.dlt-que{
    font-size: 20px;
}

.delete-btn{
    justify-content: space-between;
    align-items: center;
    display: flex;
}

#btn-yes{
    background-color: green;
    text-decoration: none;
    border: 0;
    color: white;
    padding: 5px 35px;
}

#btn-no{
    background-color: red;
    text-decoration: none;
    border: 0;
    color: white;
    padding: 5px 35px;
}




.popup,
.popup2,
.popup3 {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0);
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.popup-content,
.popup2-content,
.popup3-content {
    background-color: #fff;
    padding: 20px;
    margin: 10% auto;
    width: 25%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}