:root {
    /* declare a variable with `--` syntax */
    --textcolor: #fff;
    --radius: 50px;
    --bgcolor1: #13293d;
}
  
body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  background: linear-gradient(#403d52, #9198e5);
}

header {
  display: flex;
  justify-content:center;
  align-items: center;
  padding: 1%;
  background-color: var(--bgcolor1);
  color: #fff;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

code {
    user-select: all;
}

.card {
    width: 30%;
    height:275px;
    border-style: dotted;
    border-width: 1px;
    padding: 20px;
    margin: 20px;
    flex: 0 0 300px;
    box-shadow: 5px 10px 10px #888888;
}

.card:hover {
    box-shadow: 5px 10px 10px salmon;
}

.content {
    display:block;
    color: black;
    background-color: lightgray;
 }

 .card header {
    position:relative;
    top:-40px;
    width:100%;
    height:25px;
    padding: 20px;
    border-radius: 10px;
}
  
.card p {
    text-align: center;
  }


  footer {
    width: 100%;
    bottom: 0;
    padding: 20px;
    text-align: center;
    background:var(--bgcolor1);
    color:white;
    margin-top: auto;
  }