* {
  overflow-x: hidden;
}
body {
  font-family: "Roboto", sans-serif;
  background-color: #ececec;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
h2 {
  margin: 0 !important;
}

.name h2{
margin:0 !important;
}
.name a {
  color: black;
  text-decoration: none;
}
.main {
  display: flex;
  justify-content: center;
}
.center h2,
.center p {
  margin: 0;
}
.center {
  display: flex;
  min-width: 412px;
  /* min-width: 412px; */
  justify-content: space-evenly;
  max-height: 50px;
  align-items: center;
	
}
.container {
  width: 90vw;
  /* height: 100vh; */
  min-width: 320px;
  /* border: 1px black solid; */
  padding: 0px 10px;
}

.app a {
  color: black;
  text-decoration: none;
}
.app p {
  margin: 0px;
  padding: 10px 10px;
}
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
  border-bottom: 2px rgb(212, 212, 212) solid;
  background-color: white;
}

a {
  color: black;
  text-decoration: none;
}
.app {
  position: relative;
  down: 1px;
  right: 1px;
  background-color: #67bed9;
  border-radius: 5px;
  padding: 0px 5px;
  color: white;
  box-shadow: 2px 2px 7px #b0e9fa;
  /* max-height: ; */
}
.app:hover {
  box-shadow: 0px 0px 0px #67bed9;
  cursor: pointer;
  down: 0px;
  right: 0px;
}

.about a {
  color: black;
  text-decoration: none;
}

.about p {
  font-size: 18px;
}
.about:hover {
  border-bottom: 2px black solid;
  cursor: pointer;
  /* background-color: #86c4d7; */
}

.card-post {
  position: relative;
  down: 1px;
  right: 1px;
  margin: 10px 5px;
  border-radius: 20px;
  border: 1px black solid;
  padding: 2.5px 20px;
  background-color: rgb(255, 255, 255);
  box-shadow: 1px 1px 6px rgb(139, 139, 139);
}
.card-post:hover {
  down: 0px;
  right: 0px;
  box-shadow: 0px 0px 0px rgb(177, 177, 177);
  cursor: pointer;
}

#title-post {
  margin-bottom: 0cm;
  font-size: 1.25rem;
}
#date {
  font-size: 0.75rem;
  margin-bottom: 5px;
}

.title {
  border-bottom: 1px black solid;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background-color: white;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.page-btn:hover {
  background-color: #eee;
}

.page-btn.active {
  background-color: #333;
  color: white;
  border-color: #333;
}

.page-btn:disabled {
  color: #ccc;
  cursor: not-allowed;
}

/* Modal (Popup) Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-btn {

  position: fixed;
  top: 50vh;
  right: 20px;
  font-size: 40px;
  color: rgba(255, 0, 0, 0.548);
  font-weight: bolder;
  cursor: pointer;
  border-radius:2px ;
  /* transition: color 0.2s; */
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-title {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: bold;
}

.modal-date {
  font-size: 24px;
  color: #888;
  margin-bottom: 20px;
  display: block;
}

.modal-body {
  line-height: 1.8;
  color: #333;
  font-size: 24px;
}

@media (max-width: 500px) {
  .container {
    width: 412px;
    /* height: 720px; */
  }
  .modal-title {
    font-size: 18px;
  }

  .modal-date {
    font-size: 14px;
  }
  .modal-body {
    font-size: 14px;
  }
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border-radius: 16px;
    width: 70%;
    max-width: 450px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
  }
}
@media (min-width: 720px) {
  .container {
    width: 720px;
    /* height: 720px; */
  }
}
