#top-banner{
    position: relative;
    display: inline-block;
    height: 64vh;
    width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.page-cover{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background-size: cover;
    background-repeat: none;
    background-position: center;
    animation: fade 15s infinite;
}

.cover-1{
    background-image: url(images//wheat-field-banner.webp);
    animation-delay: 0s;
}

.cover-2{
    background-image: url(images/soybean-banner.webp);
    animation-delay: 5s;
}

.cover-3{
    background-image: url(images/ship-banner.webp);
    animation-delay: 10s;
}

@keyframes fade{
    0% { opacity: 0;}
    14% { opacity: 1;}
    35% { opacity: 1;}
    49% { opacity: 0;}
    100% {opacity: 0;}
}

#cover-slogan{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.24);
    line-height: 2rem;
    padding: 0%;
    margin: 0%;
    width: 80%;
}

#introduction{
    margin-top: 3.5rem;
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
    max-width: 46rem;
    
}

#credibility-card{
    background-image: url(images/cred-bg.webp);
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    margin-top: 1rem;
    min-width: 46rem;
    max-width: 46rem;
    width: 50%;
    height: auto;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#tag{
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

#learn-more{
    height: 3rem;
    font-size: 1.25rem;
    line-height: 2rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    color: white;
    font-weight: bold;
    background-color: #084999;
    border: 1px solid white ;
    border-radius: 0.5rem;
}

#products-summary{
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    padding: 1%;
    width: 50%;
    min-width: 46rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.16);
}

.card-blocks{
    display: inline-block;
    position: relative;
    width: 47%;
    margin: 1%;
}

h2{
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.card-content{
    font-size: 0.85rem;
    line-height: 1.25rem;
}

.card-img{
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.16);
}

.image-title{
    box-sizing: border-box;
    width: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.64), rgba(0,0,0,0));
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 0 0 1rem 1rem;
}

main a:hover{
    transform: translateY(-2px);
    transition: all 0.4s ease-out;
}

@media (max-width: 54rem) {

    #cover-slogan{
        font-size: 1rem;
        line-height: 1.5rem;
    }

    #introduction {
        width: 88%;
        font-size: 0.75rem;
        line-height: 1.25rem;
    }

    #credibility-card {
        width: 92%;
        min-width: 0;
    }

    #products-summary {
        width: 92%;
        min-width: 0;
        flex-direction: row;
        padding: 2%;
    }

    .card-blocks {
        width: 92%;
        margin: 2%;
    }

    .card-content{
        font-size: 0.75rem;
        line-height: 1.25rem;
    }
}

@media (max-width: 27rem){
    #credibility-card {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}