/* Modal Content */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1005; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modal-content {
  /* background-color: #fefefe; */
   /* background-color: #406280 !important; */
   background-color: #f4e2c3 !important;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  display: grid;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  row-gap: 5px;
  column-gap: 20px;
  
}

.title {
  grid-column: 1 / 2;
  grid-row: 1;
}

.subtitle {
  grid-column: 2 / 3;
  grid-row: 1;
}

.close {
  grid-column: 4 / 5;
  grid-row: 1;
  justify-self: end;
  cursor: pointer;
  font-size: 28px;
  font-weight: bold;
}

.main-text {
  grid-column: 1 / 5;
  grid-row: 2;

}




.logo-row {
  grid-row: 3;
  grid-column: 1 / 5;

 display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: #1fc08e;
  padding: 10px;
  height: 30px;
  /* height: 45px; Set your desired row height */
}




.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Make logo div fill the row height */
  background-color: #1fc08e;
  padding: 10px;
}



.logo img {
  height: 100%;      /* Image fills the logo div vertically */
  width: auto;       /* Maintain aspect ratio */
  display: block;
}




/* .logo {
  grid-row: 3;
  display: inline-block;
  padding: 10px;
  background-color: #1fc08e;
}

.logo img{
  max-width: 100%;
} */


/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.modal-content h2, .modal-content h3 {
  margin-top: 0;
  color: #333;
}

.modal-content ul {
  padding-left: 20px;
}

.modal-content li {
  margin-bottom: 8px;
}
