@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Montserrat:wght@300;500;600;800&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,800;1,300;1,400;1,500;1,800&display=swap');
html {
    color-scheme: dark;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    background-color: #111111;
    padding: 0;
    margin: 0;
    color: white;
    font-family: 'Open Sans', sans-serif;
    height: 100vh;
    overflow-x: hidden;
}

code {
    font-size: 1.2em;
    background-color: #333333;
    color: white;
    padding-inline: 4px;
    padding-block: 1px;
    border: 2px solid #222222;
    border-radius: 4px;
}

header h1 a {
    padding-inline: 0px;
    text-decoration: none;
    color: white;
}

header h1 {
    font-size: 1.4em;
    font-weight: 500;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

section:nth-of-type(1)>h2:first-child {
    margin-top: 80px;
}

.grid-container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool-grid {
    width: 96%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tool-grid a.tool {
    border: 2px solid white;
    border-radius: 20px;
    width: 350px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
    color: white;
}

.tool-grid a.tool:hover {
    /*Glow Effect*/
    box-shadow: 0px 0px 20px white;
}

@media screen and (max-width: 700px) {
    :root {
        font-size: 0.8em;
    }

    .container {
        padding-inline: 10px;
    }
}