@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@500;600&display=swap");

body {
  background-color: #eaeff1;
  font-family: "Raleway", sans-serif;
}

p {
	max-width: 1080px;
}

h3 {
	color: #de2d26;
	margin-bottom: 5px;
}




div img {
  width: 100%;
  border-radius: 12px;
  height: 214px;
  object-fit: cover;
}

div.container {
	margin-top: 5px;
	max-width: 1080px;
	display: flex;
	flex-wrap: wrap;
	align-items: left;
	justify-content: flex-start;
}

div.card {
  /* Change background color */
  margin: 5px 10px 5px 10px;
  background-color: white;
  width: 300px;
  height: 500px;
  /* Add border */
  border: 1px solid #bacdd8;

  /* Add space between the border and the content */
  padding: 8px;

  border-radius: 12px;
 
  display: grid;
}



div.card_image {
		grid-row: 1;
		height: 210px;
}

div.card_tag {
	grid-row: 2;
		height: 20px;
}
		
div.card_name {
	grid-row: 3;
		height: 50px;
}

div.card_details {
	grid-row: 4;
	height: 180px;
}


div.card_tag2{
	grid-row: 5;
	height: 20px;
}

div.card_button {
	grid-row: 6;
	height: 40px;
}


/* Style div elements that have class equal to tag */
.tag {
  padding: 4px 8px;
  border: 1px solid #e5eaed;

  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #788697;
}

.tag2 {
  padding: 4px 8px;
  border: 1px solid #e5eaed;

  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: #990000;
}

/* Style div elements that have class equal to name */
.name {
  font-size: 16px;
  font-weight: 600;

  margin-top: 16px;
}

/* Style p element */
p {
  font-size: 14px;
  color: #222222;
  text-align: justify; 
  line-height: 150%;
}

/* Style button element */
.button {
  width:120px;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;

  font-size: 14px;
  font-weight: 600;
  color: #0077ff;
  background-color: #e0efff;
  text-decoration: none;
  text-align: center; 

	

  /* Button is inline-block element by default, it need to have block display for margin: 0 auto; to work */
  margin: 0 auto;
  display: block;

  /* Button is a clickable element, therefore it should have a pointer cursor */
  cursor: pointer;
}






/* Add style when button is focused or hovered */
.button:focus,
.button:hover {
  background-color: #0077ff;
  color: #e0efff;
}


.announcement-box {
            background-color: #ffcc00;
            color: #000;
            text-align: center;
            padding: 15px;
            border-radius: 10px;
            font-size: 18px;
            font-weight: bold;
            margin: 20px 0;
        }
