/****** HEADER STYLING ******/
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #334a52;
    color: white;
    padding: 1.5em;
    margin: 0;
    width: 100%;
}

h1 {
    animation: none;
    opacity: 1;
    font-weight: 300;
}

.homeLink {
    color: white;
    text-decoration: none;
    transition: all ease-in-out 300ms;
}

.homeLink:hover {
    color: lightgrey;
}

.homeLink::after {
    content: "";
    background-color: lightgrey;
    display: block;
    position: relative;
    width: 0%;
    height: 1px;
    transition: all ease-in-out 300ms;
}

.homeLink:hover::after {
    content: "";
    background-color: lightgrey;
    display: block;
    position: relative;
    width: 100%;
    height: 1px;
}

/****** BODY STYLING ******/
.main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.left,
.right {
    justify-content: space-evenly;
    max-width: 45%;
    padding: 5em 3em;
    margin: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.right {
    background-color: #f1f1e6;
}

img {
    width: 100%;
    margin: 1em 0;
    border-radius: 5px;
    border: 1px solid lightgrey;
}

.links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-top: 3em;
}

.links a {
    font-size: 1.5em;
    font-weight: 600;
    color: #334a52;
    border: 2px solid #334a52;
    border-radius: 10px;
    padding: 0.5em 1em;
    text-decoration: none;
    transition: 200ms;
}

.links a:hover {
    color: #5f97b9;
    background-color: #f8f8e8;
    border-color: #5f97b9;
}

.textLink {
    color: #334a52;
    text-decoration: none;
    font-weight: 600;
}

.textLink:hover {
    color: #5f97b9;
    text-decoration: none;
}

h3 {
    border-bottom: 1px solid black;
}


/****** FOOTER STYLING ******/
footer {
    padding: 0.25em;
    background-color: #334a52;
    color: white;
    font-weight: 300
}

/****** MEDIA QUERIES ******/

@media all and (max-width: 1000px) {

    .left,
    .right {
        max-width: 90%;
        margin-bottom: 3em;
    }
}