
body {
    margin: 0;
}
html {
    scroll-behavior: smooth;
  }

/* sections */
main {
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 5px;
}

article {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

header {
    background-color: #146C94;
    color: white;
    height: 64px;
    width: 100%;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    z-index: 2;
}

/* objects */
img {
    width: 30%;
    height: 30%;

    border:#2280b6 4px dashed;
    padding: 5px;
    margin-top: 5px;
}

h1 {
    margin: 0px;
    text-indent: 0.25em;
}
h2 {
    margin: 0px;
    background-color: #2280b6;
    color: white;
    width: 100%;
    padding: 5px 0;
    min-height: 1.5em;
    font-size: 1em;
    font-weight: normal;

    text-indent: 0.25em;
}

article p {
    border-bottom: #146C94 4px dashed;
    padding: 15px;
    width: 95%;
    font-size: 1em;
    margin: 0;
}

footer a {
    color: rgb(233, 235, 255);
}

/* nav */
label {
    font-size: 2.5em;
    padding-right: 10px;
}
input {
    display: none;
}
nav {
    height: 100vh;
    width: 50vw;
    position: fixed;
    right: -64vw;
    top: 64px;
    background-color: #1d7cb3;
    transition: right 0.25s ease-in-out;
    z-index: 3;
}
#check:checked + nav {
    right: 0px;
}
ul {
    list-style: none;
    padding-left: 0px;
    margin: 0px;
    width: 100%;
}
li a {
    text-decoration-line: none;
    color: white;
    font-size: 1.25em;
    border-bottom: #146C94 2px solid;
    width: 100%;
    display: block;
    text-indent: 15px;
    padding: 10px;
} li a:hover::before {content: ">> ";} 

/* inline */
b {
    color: #2280b6;
}
footer {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-grow: 1;
    gap: 3px;

    background-color: #1d7cb3;
    color: white;
    min-height: 74px;
}


@media (min-width: 800px) {

    main {
        padding-top: 120px;
    }
    nav {
        width: 100%;
        height: 45px;
        display: block;
        right: 0;
        top: 64px;
        transition: none;
    }
    li a {
        height: 15px;
    }
    nav ul {
        display: flex;
        justify-content: center;
    }
    label {
        display: none;
    }
    article {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    h1 {
        text-align: center;
        width: 100%;
    }
    h2 {
        width: 25%;
        text-align: right;
        height: 50%;
        padding: 25px;
        font-size: 1.75em;
        margin: 5px 0px;
    }
    article p {
        width: 45%;
        border-top:#2280b6 4px solid;
        margin-top: 15px;
        padding: 15px;
        min-height: 13.2em;
    }
    img {
        order: -3;
        border:#2280b6 4px solid;
        padding: 5px;
    }
    .left {
        text-align: left;
        order: -3;
    }
}

@media (min-width: 1150px) {
    main {
        width: 1150px;
        margin: auto;
    }
}