/* Styling Digital Info Card */

main {
    background-color: #f5f1e6 ;
    background-image: url("background\ card.jpg");
    width: 700px;
    height:fit-content;
    padding: 15px 20px 20px 20px;
    font-family: Arial;
    /* got this from w3 but this adds shadows */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
    transition: 0.3s;
    border-radius: 25px;
}

main:hover {
    /* got this from w3 but this adds a hover interaction */
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.3);
}

header {
    /* this is to make the header content align on the same line */
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    line-height: 30%;
}

img {
    width: 50%;
}

.card {
  /* i wanted my image and info to be side by side so i used a flex container */
  display: flex;
  align-items:stretch;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
  border-radius: 25px;
  /* this hides the shadow on the rounded sides */
  overflow:hidden;
}

.container {
  padding: 2px 16px;
  background-color: white;
  border-radius: 0px 25px 25px 0px;
}

h2 {
    color: white;
}

h3 {
    color: white;
}

h4 {
    text-decoration: underline;
    text-underline-offset: 5px;
    line-height: 24px;
}
