html,
body {
  min-height: 100vh;
  margin: 0;
  color: white;
  font-family: 'Comfortaa';

}

h1, h2, h3, p {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 1rem;
}

body::before {
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background-color: #0E3F75;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  z-index: -1;
  pointer-events: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.logo {
  width: 100px;
  height: 100px;
  align-self: center;
}

.parent-box {
  display: flex;
  text-align: center;
  gap: 10px;
  width: 90%;
  align-items: center;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.child-box {
  border-style: solid;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-width: 10px;
  border-radius: 50px;
  transition: 0.4s;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 230px;
  background-color: #C12637;
}

.child-box:hover {
  transform: scale(1.03);
}

.button {
  margin-top: auto;
  border-style: solid;
  text-decoration: none;
  color: white;
  padding: 10px;
  border-radius: 50px;
  transition: 0.6s;
  border-color: white;
  display: inline-block;
  width: 50%;
  align-self: center;
  align-content: center;
  text-align: center;
  cursor: pointer;
}

.button:hover {
  background-color: white;
  color: #C12637;
  transform: scale(1.09);
}

.button:active {
  transform: scale(0.9);
}

.image-container {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.img-container img {
  align-self: center;
  padding-top: 10px;
  padding-bottom: 10px;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}


.modal-btn {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
}


.modal {
  width: min(450px, calc(100% - 2rem));
  max-height: 90vh;
  overflow-y: auto;
  position: fixed;
  top: -50%;
  Left: 50%;
  transform: translate(-50%, -50%);
  transition: top 0.5s ease-in-out;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: white;
  z-index: 2;
  background-color: #fff;
}

.modal.active {
  top: 50%;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid #ccc;
  color: black;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.2);
}

#overlay.active {
  display: block;
}

.modal-body-text {
  padding: 20px;
  color: black;
}

.productpagebutton {
  margin-top: auto;
  border-style: solid;
  text-decoration: none;
  color: black;
  padding: 10px;
  border-radius: 50px;
  transition: 0.6s;
  border-color: black;
  display: inline-block;
  width: 50%;
  align-self: center;
  align-content: center;
  text-align: center;
}

.productpagebutton:hover {
  background-color: black;
  color: white;
  transform: scale(1.09);
}