@import "../global.css";

button{
  background-color: transparent;
  border: none;
  cursor: pointer;
}

header{
  position: fixed;
  background-color: var(--header-color);
  width: 100%;
  top: 0;
  z-index: 1;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #465058;
  box-shadow: 1px 1px 7px #465058;
}

h2{
  color: var(--headre-text-color);
  font-family: 'Nunito';
}

header a{
  text-decoration: none;
  color: var(--headre-text-color);
}

.btn-home{
  position: absolute;
  left: 10px;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.btnSignout{
  background-color: transparent;
  border: none;
  position: absolute;
  right: 10px;
  top: 0px;
  height: 100%;
  cursor: pointer;
}

.btnSignout svg, .btn-home svg{
  fill: var(--headre-text-color);
}

section{
  margin-top: 60px;
}

.home_content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.home_item{
  min-height: 120px;
  min-width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 0 10px;
  border: 1px solid #bababa;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.6), 0 2px 10px 0 rgba(0, 0, 0, 0.6)!important;
  margin: 7px 10px;
}

.home_screen{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.icon_big_RM{
  font-family: 'RunMasdjid';
  font-size: 60px;
  color: var(--color-main);
  text-align: center;
}

a:link, a:visited{
  color: black;
  text-decoration-line: none;
  flex: 1 1 auto;
}

.item_name{
  font-family: 'Nunito';
  color: black;
  margin: 5px;
  text-align: center;
  font-size: 16px;
}

.modal{
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: #0000007D;
  z-index: 2;
}

.contentModal{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  position: absolute;
  width: calc(100% - 40px);
  max-width: 450px;
  padding: 15px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 15px;
}

.hidden{
  display: none !important;
}

.btn-close{
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  background-color: transparent;
  font-size: 25px;
}

.modalTitre{
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.editDetail{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.editParentImg{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 200px;
  position: relative;
}

.editParentImg p{
  position: absolute;
  bottom: 0;
  margin: 0;
  inline-size: 100%;
  overflow-wrap: break-word;
  text-align: center;
  background-color: #FFFFFF7D;
}

.editSubmit{
  margin: 10px 0;
  width: 100%;
  height: 31px;
  border: none;
  border-radius: 10px;
  background-color: var(--color-edit);
  color: var(--color-in-edit);
  font-size: 18px;
}

.editDetail p{
  margin-top: 10px;
}

#editImg{
  height: 100%;
}

.delete_confirm{
  display: flex;
  flex-direction: row;
  margin: 20px 0;
}

.delete_confirm button{
  flex: 1 1 auto;
  color: var(--color-in-edit);
  font-size: 18px;
  margin: 0 10px;
  border-radius: 5px;
}

.btn_yes{
  background-color: var(--color-edit);
}

.btn_no{
  background-color: var(--color-delete);
}
