article,
main {
    width: 98%;
    margin: 5rem auto;
}

article {
    text-align: center;
}

nav>ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
    height: 95%;
    margin-left: auto;
    margin-right: auto;
}

nav li {
    list-style-type: none;
    background-color: white;
    width: 25%;
    border-radius: 5px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
}

nav li:hover {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .3);
}

nav>ul a {
    display: block;
    text-decoration: none;
    border: 2px solid blue;
    padding: 1rem;
    height: 100%;
    width: 100%;
}

@media screen and (max-width:1325px) {

    main,
    header {
        width: 100%;
    }

    nav>ul {
        flex-direction: column;
    }

    nav li {
        width: 100%;
    }
}