* {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;


}

nav {
    width: 70%;

    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    margin: 15px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

main {
    width: 70%;


    /* height: 100vh; */
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    background-color: aliceblue;
}

.content {

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.card {
    margin: 15px;
    border: 1px solid black;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card img {
    border-radius: 10px;
    width: 300px;
    height: auto;
}

footer {
    width: 70%;

    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer a {
    margin: 15px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

/* image card */
.imgcard {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: start;
    flex-wrap: wrap;
    gap: 10px;
}

.imgcard img {
    width: 500px;
    height: auto;

}

@media (max-width:700px) {

    nav,
    footer {
        width: 100%;
    }

    main {
        width: 100%;
    }

    .content {
        align-items: center;
    }

    .imgcard img {
        width: 100%;
        height: auto;

    }
}