.top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 5.5%;
}

.top h1 {
    font-size: 4rem;
    width: 100%;
    text-align: center;
}
/* settings for the Cheatsheets */
.rescards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 10% 3.5%;
}

.rescard {
    display: block;
    text-align: center;
    width: 20%;
    background-color: #17263d;
    border: 1px solid #e7dbdb;
    transition: transform 0.5s ease-in-out;
    border-radius: 9px;
    transition: box-shadow 0.2s ease;
}
.rescard:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.rescard dl {
    margin: 0;
    padding: 0 0 5%;
}

.rescard dt {
    padding: 5% 0;
    font-size: large;
}
.rescard dd {
    padding: 0 0 ;
    font-size: small;
}

.rescard a {
    text-decoration: none;
    color: orangered;
}

.rescard .exploits {
    font-size: medium;
    margin: 0 30%;
    text-align: center;
}

.rescard .exploits {
    color: darkred;
}

.cheatsheetstext {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 5.5%;
}

.cheatsheetstext p {
    margin: 0 10% 4%;
}
.cheatsheetstext h2 {
    font-size: xx-large;
}
/* ONLINE TOOLS */
.online-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 90% 5%;
    margin: 0 5%;
    padding-bottom: 30%;
}

.online-tools article {
    background-color: #17263d;
    padding: 10%;
    border: 1px solid #ccc;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.online-tools dt {
    text-align: center;
    align-items: center;
    font-weight: 500;
    font-size: large;
}

.online-tools article:hover .tool-list {
    display: block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.online-tools article:hover dt {
    color :#ff4500;
}

.online-tools article:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}


.tool-list {
    display: none;
    position: absolute;
    background: linear-gradient(to right, #203550, #021933);
    border: 1px solid #ccc;
    width: 99%;
    top: 100%;
    left: 0;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    overflow: auto;
    transition: box-shadow 0.2s ease;
}

.online-tools article .tool-list dd:hover  a{
    background-color: rgb(27, 202, 202);
    color: #021933;
}

.tool-list dd {
    display: flex;
    margin: 0;
    width: 100%;
}

.tool-list dd a{
    width: 100%;
    height: 100%;
    padding: 8px;
    text-decoration: none;
    color: #da2f3d;
    font-weight: 500;
}