*{
    margin: 0;
    padding: 0;
    border: border-box;
}
html{
    min-height: 100vh;
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background: url(./flat-lay-frame-with-grains-stucco-background.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
footer{
    width: 70vw;
    margin: auto;
}
center{
    color: white;
    font-size: 1.3rem;
    width: 80vw;
    margin: auto;
    background-color: orange;
    border-radius: 10px;
    z-index: 100;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.footer a{
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
}
h1{
    text-align: center;
    font-size: 2.5rem;
    color: white;
    width: fit-content;
    margin: auto;
    margin-top: 10px;
    padding: 20px 0px;
}
.d-flex{
    display: flex;
    justify-content: space-between;
    width: 80vw;
    flex-direction: row;
    margin: auto;
    position: absolute;
    top: 40vh;
    left: 50vw;
    transform: translateX(-50%);
}
.card{
    border: 1px solid black;
    border-radius: 10px;
    padding: 50px;
    background: linear-gradient(160deg, rgba(255, 165, 0, 0.8), rgba(255, 69, 0, 0.6), rgba(255, 99, 71, 0.2));
    text-decoration: none;
    font-size: 1.5rem;
    font-family: cursive    ;
    transition: 0.3s;
    color: white;
    box-shadow: 0px 0px 5px black;
}
.card:hover{
    background: linear-gradient(160deg, rgba(255, 165, 0, 1), rgba(255, 69, 0, 1), rgba(255, 99, 71, 1));
}

@media screen and (max-width: 500px) {
    body{
        font-family: Arial, Helvetica, sans-serif;
        background: url(./flat-lay-frame-with-grains-stucco-background.jpg);
        background-position: top center;
        background-repeat: no-repeat;
        background-size: 100vh;
    }
    .d-flex{
        display: flex;
        flex-direction: column;
        text-align: center;
        position: absolute;
        top: 20vh;
    }
    .card{
        margin-top: 25px;
        margin-bottom: 10px;
        background: linear-gradient(160deg, rgba(255, 165, 0, 0.8), rgba(255, 69, 0, 0.6), rgba(255, 99, 71, 0.2));
    }
    .card:hover{
        background: linear-gradient(160deg, rgba(255, 165, 0, 1), rgba(255, 69, 0, 1), rgba(255, 99, 71, 1));
    }
}
@media screen and (min-width: 500px) and (max-width: 700px) {
    body{
        font-family: Arial, Helvetica, sans-serif;
        background: url(./flat-lay-frame-with-grains-stucco-background.jpg);
        background-position: top center;
        background-repeat: no-repeat;
        background-size: 100vh;
    }
    .d-flex{
        display: flex;
        flex-direction: column;
        text-align: center;
        position: absolute;
        top: 20vh;
    }
    .card{
        margin-bottom: 10px;
        background: linear-gradient(160deg, rgba(255, 165, 0, 0.8), rgba(255, 69, 0, 0.6), rgba(255, 99, 71, 0.2));   
    }
    .card:hover{
        background: linear-gradient(160deg, rgba(255, 165, 0, 1), rgba(255, 69, 0, 1), rgba(255, 99, 71, 1));

    }
}
