/* @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", serif;
    letter-spacing: -0.01rem;
}

.first-section{
    width: 90%;
    background-color: #f8f8f8;
    height: auto;
    padding: 3rem;
    margin: 2rem auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d7d7d7;
    border-radius: 1rem;
}

.top-text-container{
    width: fit-content;
    height: auto;
}

.top-text-container h1{
    font-size: 1.2rem;
    color: #444;
}

.add-button-container{
    width: fit-content;
    height: auto;
}

.add-button-container button{
    background-color: #2700ff;
    color: white;
    padding: 1rem 2rem;
    border: none;
    outline: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

.item-section{
    width: 90%;
    height: auto;
    margin: 0 auto;
    padding: 3rem;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: row;
    border-radius: 1rem;
}

.research-item{
    width: 30%;
    height: auto;
    background-color: white;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    border-radius: 0.5rem;
    border: 0.5px solid #d7d7d7;
    justify-content: start;
    align-items: start;
}

.title-and-delete-container{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.title-and-delete-container a{
    color: #444;
    text-decoration: none;
    font-weight: 600;
}

.title-and-delete-container i{
    color: #444;
    cursor: pointer;
}

.description-of-item{
    width: 100%;
    height: auto;

}

.description-of-item p{
    font-size: 0.9rem;
    color: #444445;
}

.modal-overlay{
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    /* height: 100%; */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.modal-overlay-visible{
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    /* width: 100%; */
    /* height: 100%; */
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal{
    width: 30%;
    height: auto;
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;

}

.close-icon-container{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    padding: 1rem 0;
}

.close-icon-container i{
    color: #444;
    font-size: 1rem;
    cursor: pointer;
}

.modal-title-container{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    padding: 0.75rem;
}

.modal-title-container h3{
    font-size: 1rem;
    text-align: center;
}

form{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    justify-content: center;
    align-items: start;
}

.input-group{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    row-gap: 0.5rem;
}

label{
    font-size: 0.8rem;
    font-weight: 500;
    color: #444;
}

input{
    width: 100%;
    height: auto;
    padding: 1rem 2rem 1rem 1rem;
    border: solid 1px #e3e3e3;
    border-radius: 0.5rem;
    outline: none;
    background-color: #f9f9f9;
}

input::placeholder{
    font-size: 0.7rem;
    color: #999;
}

input:focus{
    border: solid 1px blue;
}

textarea{
    width: 100%;
    height: 5rem;
    border-radius: 0.5rem;
    border: solid 1px #e3e3e3;
    outline: none;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    background-color: #f9f9f9;
}

textarea::placeholder{
    font-size: 0.7rem;
    color: #999;
}

textarea:focus{
    border: 1px solid #2700ff;
}

.form-button-container{
    width: 100%;
    height: auto;
}

.form-button-container button{
    background-color: #2700ff;
    color: white;
    width: 100%;
    height: auto;
    padding: 1rem;
    outline: none;
    border: none;
    border-radius: 0.5rem;
} */




@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* Main Container */
.first-section {
    width: 90%;
    background-color: #fff;
    padding: 2rem;
    margin: 2rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-button-container button {
    background-color: #2700ff;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

/* Research Items */
.item-section {
    width: 90%;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    column-gap: 2rem;
    row-gap: 1rem;
    flex-wrap: wrap;
}

.research-item {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    width: 30%;
    flex: 1 1;
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
}

.title-and-delete-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-and-delete-container a {
    color: #2700ff;
    text-decoration: none;
    font-weight: 600;
}

.title-and-delete-container i {
    cursor: pointer;
    color: red;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-overlay-visible {
    display: flex;
}

.modal {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 30%;
}

.close-icon-container {
    text-align: right;
}

.close-icon-container i {
    cursor: pointer;
    font-size: 1.5rem;
    color: #444;
}

.input-group {
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
}

.form-button-container button {
    width: 100%;
    padding: 1rem;
    background-color: #2700ff;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
}
