:root {
    font-family: Inter, sans-serif;
    font-size: 16px;

    --primary: rgba(0, 0, 159, 1);
    --secondary: hsla(240, 100%, 90%, 1);
}

body {
    margin: 0px;
    background-color: hsla(0, 0%, 95%, 1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--secondary);
}

h1 {
    font-size: 46px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 26px;
}

/* Header */

#logo {
    position: absolute;
    display: grid;
    grid-template: auto / auto auto;
    gap: 16px;
    top: 16px;
    left: 32px;
}

#logo img {
    border: 1px solid black;
}

.header {
    height: 64px;
    width: 100vw;
}

#topHeader {
    background-color: var(--secondary);
}

/* Content */

main {
    flex: 1;
    max-width: 1200px;
    margin: auto;
}

section {
    max-width: 600px;
    min-width: 200px;
    margin: 16px 32px;
}

#icons {
    display: grid;
    grid-template: auto / repeat(3, auto);
    margin: 0px 32px;
    text-align: center;
}

#icons a {
    text-decoration: none;
    color: var(--primary);
}

#icons a:hover {
    color: var(--secondary);
}

#icons a svg {
    height: 24px;
    width: 24px;
}

/* Footer */

footer {
    position: relative;
    width: 100vw;
    padding-top: 52px;
}

#ship {
    position: absolute;
    right: 32px;
    top: 0px;
    width: 64px;
    height: 64px;
    color: var(--secondary);
}

#footer {
    display: grid;
    grid-template: auto / repeat(2, auto);
    background-color: var(--secondary);
    padding: 16px 32px;
}

#footer p {
    margin: 0px;
    padding: 0px;
}

#credits {
    text-align: end;
}

/* Breakpoints */

@media only screen and (min-width: 600px) {
    main {
        display: grid;
        grid-template: auto / repeat(2, auto);
    }

    #icons {
        grid-template: auto / repeat(5, auto);
    }

    footer {
        padding-top: 76px;
    }

    #ship {
        height: 96px;
        width: 96px;
    }
}

