/* Place your CSS styles in this file */

h1 {
    text-align: center;
    font-family: "sans-serif", sans-serif;
    color: #fff;
    font-weight: bolder;
}

h2 {
    text-align: center;
    font-family: "sans-serif", sans-serif;
    color: #fff;
    font-weight: bold;
}


h3 {
    text-align: center;
    font-family: "sans-serif", sans-serif;
    color: #fff;
    font-weight: bold;
}

p {
    text-align: center;
    font-family: "sans-serif", sans-serif;
    color: #fff;
    font-weight: light;
}

a {
    text-align: center;
    font-family: "sans-serif", sans-serif;
    color: #435094;
    font-weight: bold;
}

.card {
 width: 35%;
 height: 123%;
 border-radius: 20px;
 background: #171718;
 position: relative;
 padding: 1.8rem;
 border: 2px solid #0c0c0c;
 transition: 0.5s ease-out;
 overflow: visible;
}

.card-details {
 color: rgb(255, 255, 255);
 height: 100%;
 align-content: 30%;
 place-content: top;
}

.card-button {
 transform: translate(-50%, 125%);
 width: 60%;
 border-radius: 1rem;
 border: none;
 background-color: #008bf8;
 color: #fff;
 font-size: 1rem;
 padding: .5rem 1rem;
 position: absolute;
 left: 50%;
 bottom: 0;
 opacity: 0;
 transition: 0.3s ease-out;
}

.text-body {
 color: rgb(255, 255, 255);
}

.text-page {
 text-align: center;
 color: #6978c4;
}

/*Text*/
.text-title {
 font-size: 1.5em;
 font-weight: bold;
}

.card-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  width: 100%;
}

/*Hover*/
.card:hover {
 border-color: #0c0c0c;
 box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card:hover .card-button {
 transform: translate(-50%, 50%);
 opacity: 1;
}