body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(250, 250, 250);
    overflow: hidden;
}

.jasson-title {
        display: flex;
        flex-direction: column;
        align-items: center;
}

.jasson-title h1 {
    font-size: 2em;
    padding-top: 4em;
}

.jasson-title a {
    color: black;
    padding:1.5em
}


.jasson-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 2em;
    max-width: 90%;
}

.card {
    border-radius: 8px;
    color: black;
    display: block;
    text-decoration:none;
    max-width: 24vw;
    background-color: white;
    border: solid;
    border-color: black;
    padding: 1em;    
}

.img {
    height: 18vw;
}



.data-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.data-text h1 {
    padding-bottom: .25em;
}

.data-text p {
    padding-bottom: .25em;
}

img{
    width: auto;
    height: auto;
    max-width: 100%;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

@media screen and (max-width: 1100px) {
    .jasson-grid {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: 2em
    }

    .card {
        border-radius: 8px;
        color: black;
        display: block;
        text-decoration:none;
        max-width: 35vw;
        background-color: white;
        border: solid;
        border-color: black;
        padding: 1em;    
    }
    
    .imgc {
        height: 28vw;
        overflow:hidden;
    }
}

@media screen and (max-width: 750px) {
    .jasson-grid {
        display: grid;
        grid-template-columns: auto;
        grid-gap: 2em
    }
    .card {
        border-radius: 8px;
        color: black;
        display: block;
        text-decoration:none;
        max-width: 60vw;
        background-color: white;
        border: solid;
        border-color: black;
        padding: 1em;    
    }
    
    .imgc {
        height: 48vw;
        overflow:hidden;
    }
}