@import url("https://fonts.googleapis.com/css?family=Lato:900");

html {
    background: linear-gradient(rgba(0, 0, 0, 0.541), rgba(65, 65, 65, 0.534)) no-repeat center center fixed, url('../assets/background-order.jpg') no-repeat center center fixed;
    background-size: cover;
    background-position: center;
}

main {
    text-align: center;
}

main h1 {
    margin: 4%;
    font-size: 400%;
    color: gray;
    font-family: 'Lato';
    -webkit-text-stroke: 2px black;
}

.card-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    justify-items: center;
}

.card {
    font-family: 'Roboto', sans-serif;
    width: 600px;
    height: 300px;
    border: solid 6px var(--background);
    border-radius: 10px;
    background: var(--secondary);
    box-shadow: 0 30px 20px -20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    color: var(--text);
    padding: 1%;
    margin-right: 1%;
    margin-left: 1%;
}

.card.deluxe {
    box-shadow: rgba(0, 0, 0, 0.4) -5px 5px, rgba(0, 0, 0, 0.3) -10px 10px, rgba(0, 46, 170, 0.2) -15px 15px, rgba(0, 0, 0, 0.1) -10px 10px, rgba(0, 0, 0, 0.05) -0 0;
    transition: border, 0.4s, ease-in-out;
    animation: 8s card-border infinite;
}

.card.deluxe .container .name {
    font-weight: 700;
    color: rgb(212, 0, 255);
}

.card.deluxe .container .name span {
    color: gold;
}

.card .container {
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.card .container .name {
    font-size: 2rem;
    font-weight: bolder;
    line-height: 1rem;
    margin-top: -3%;
    color: silver;
}

.card .container .price {
    padding: 1rem 0;
    font-size: 2rem;
    font-weight: bold;
    color: chartreuse;
}

.card .container .description p {
    font-size: 1.1rem;
    text-align: center;
    hyphens: auto;
}

.card .container button {
    padding: 0.8em 3em;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1em;
    cursor: pointer;
    margin: 1.4em;
    background-color: var(--accent);
    border: solid 2px var(--primary);
    color: var(--text);
    transition: all 0.4s ease;
}

.card .container button:hover {
    background-color: #1976d2;
    border: solid 2px var(--text);
    color: rgb(70, 69, 69);
}

@keyframes card-border {
    0% {
        border: solid 6px var(--background);
    }

    25% {
        border: solid 6px var(--accent);
    }

    50% {
        border: solid 6px var(--primary);
    }

    75% {
        border: solid 6px var(--accent);
    }

    100% {
        border: solid 6px var(--background);
    }
}