@import url('https://fonts.googleapis.com/css2?family=Revalia&display=swap');

:root {
    --clr--primary: #000000;
    --clr--secondary: #223B3C;
    --clr--secondary2: #021713;
    --ff--primary: "Revalia", sans-serif;
    --transition: ;
}


/* Hero 2 */
.hero2 {
    margin-top: 125px;
    justify-self: center;
    text-align: center;
}

.hero2 img {
    width: 300px;
    margin-bottom: -20px;
}

.hero2-text {
    color: var(--clr--secondary);
    font-size: 24px;
    margin-bottom: 80px;
}

.hero2-text p {
    font-size: 19px;
    margin-top: -25px;
}

/* Price Cards */
.price-cards {
    justify-items: center;
} 

@media only screen and (max-width: 1024px) {
    .hero2 img {
        width: 200px;
    }

    .hero2-text {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .hero2-text p {
        font-size: 15px;
        margin-top: -18px;
    }
    
}

@media only screen and (max-width: 768px) {
    .hero2-text {
        font-size: 15px;
    } 

    .hero2-text p {
        font-size: 12px;
    }
}

@media only screen and (max-width: 431px) {
    .hero2-text {
        font-size: 10px;
    }  

    .hero2-text h1 {
        margin-bottom: 20px;
    }

    .hero2-text p {
        font-size: 8px;
    }
}

.card2 {
    background-color: var(--clr--secondary);
    width: 85%;
    border-radius: 15px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 10px;
}

.card2 img {
    width: 100%;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.card2-text {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-self: center;
    margin-top: -30px;
}

.card2-text span {
    font-size: 18px;
}

@media only screen and (max-width: 768px) {
    .card2 {
        font-size: 14px;
    }

    .card2-text span {
        font-size: 13px;
    }
}

@media only screen and (max-width: 431px) {
    .card2 {
        font-size: 10px;
    }

    .card2 h1 {
        margin-bottom: 20px;
    }

    .card2-text span {
        font-size: 10px;
        position: relative;
        bottom: 5px;
    }
}

/* Transport slides */
.card-transport-slides {
    background-color: var(--clr--secondary);
    width: 85%;
    border-radius: 15px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 10px;
    justify-self: center;
}

.card-transport-slides img {
    width: 100%;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

.card-transport-slides h1 {
    padding: 40px 0px;
}

@media only screen and (max-width: 768px) {
    .card-transport-slides h1 {
        font-size: 15px;
        padding: 0;
    }
}


/* Tax and Back button */
.back {
    justify-self: center;
    text-align: center;
}

.back img {
    display: block;
    width: 40%;
    justify-self: center;
    margin: 60px
}

.back a {
    text-decoration: none;
    background-color: var(--clr--secondary2);
    padding: 22px 45px;
    color: white;
    border-radius: 10px;
    font-size: 18px;
    display: inline-block;
    margin-bottom: 100px;
    transition: color 0.3s ease,
                background-color 0.3s ease;
}

.back a:hover {
    background-color: white;
    color: var(--clr--secondary);
}