body {
    margin: 0;
    background-image: url("assets/backgroundPhone.jpg");
    background-repeat: no-repeat;
    background-size: cover;

}

article {
    background: var(--articleBG);
    width: 95%;
    margin: auto;
    min-height: 86vh;
    margin-top: 25px;
}

.border {
    flex-direction: row;
    padding-left: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
    box-sizing: border-box;
    position: relative;
    width: auto;
    margin-left: 27px;
    margin-right: 27px;
    top: 29px;
    border: 1px solid var(--primary);
    min-height: 80vh;
}

.card {
    display: grid;
    grid-template-rows: 140px auto 40px;
    justify-items: center;
    background: var(--white);
    width: 100%;
    height: 380px;
    border-radius: 50px;
}

.icecreampicture {
    margin-top: 10px;
    height: 70%;
}

.card > div > p {
    font-size: 16px;
    word-break: break-word;
    white-space: normal;

}

.card > div > h2 {
    font-size: 22px;
}

.card > div {
    width: 80%;
    text-align: center;
}

button {
    border-radius: 50px;
    background: var(--primary);
    border: none;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    height: 70%;
    color: var(--white);
    bottom: 10px;

}
form{
}
button:hover {
    background-color: var(--secondary);
}

.box {
    justify-content: center;
    column-gap: 15%;
    row-gap: 50px;
    overflow: auto;
    flex-wrap: wrap;
    width: auto;
    height: 60vh;
    position: relative;
    display: inline-flex;
}

h1 {
    margin: 0px;
    text-align: center;
    color: var(--primary);
    font-size: 20px;
    font-family: Plaster, serif;
}

h3 {
    padding-top: 5px;
    font-family: Plaster, serif;
    color: var(--primary);
    font-size: 18px;
    text-align: center;
    margin: 0;
}

/* width */
::-webkit-scrollbar {
    width: 20px;
    padding-right: 5px;
}


@media screen and (min-width: 300px) {
    h1{
        font-size: 24px;
    }
    h2{
        font-size: 20px;
    }
    .icecreampicture {
        height: 90%;
    }

}

@media screen and (min-width: 800px) {
    body {
        background-image: url("assets/background.jpg");
        background-size: cover;
    }
    h1{
        font-size: 46px;
    }
    h3{
        font-size: 36px;
    }
    .card{
        width: 210px;
    }

    ::-webkit-scrollbar {
        width: 20px;
        padding-right: 5px;
    }
    .border {
        padding-left: 50px;
    }
    .box{
        height: 62vh;
    }
    /* Track */
    ::-webkit-scrollbar-track {
        box-shadow: inset 0 0 5px grey;
        border-radius: 10px;

    }

    /* Handle */
    ::-webkit-scrollbar-thumb {

        background: var(--primary);
        border-radius: 10px;

    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary);

    }
}