html {
    width: 100%;
}

header {
    width: 100%;
    height: fit-content;
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-weight: bold;
    font-size: 2rem;
    position: relative;
    #logo {
        margin: auto;
    }
    .aboutLink {
        margin: 3rem;
        color: black;
        text-decoration: none;
        position: absolute;
        right: 0px;
    }
    h1 {
        position: absolute;
        left: 0px;
        margin: 3rem;
		font-size: 3rem;
		max-width: 40vw;
    }
}

footer {
    display: flex;
    justify-content: space-around;
    background-color: white;
    padding: 1rem;
    a {
        width: 5rem;
        height: 5rem;
    }
    img {
        width: 5rem;
    }

    border-radius: 5rem;
}

header, main, footer {
    overflow-x: hidden;
}

img {
  object-fit: contain;
} 

@media only screen and (max-width: 1000px) {
    header {
        flex-direction: column;
        height: 20rem;
        #logo {
            margin-top: 0;
        }
        .aboutLink {
            display: none;
        }
        h1 {
            top: 6rem;
            margin-left: 0;
            width: 100%;
            margin-right: 0;
            text-align: center;
            font-size: 3.5rem;
        }
        
    }
    footer {
        flex-direction: column;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 1rem;
        * {
            margin-top: 1rem;
            margin-bottom: 1rem;
        }
        .aboutLink {
            display: block;
        }
    }
}