body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

}

header {
    background: white;
    color: black;
    padding: 1em;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold; 
}

#logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

#logo img {
    width: auto;
    max-height: 150px;
    margin: 0 10px;
}


nav {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0) 100%), linear-gradient(to right, #4CDE31, #2CA7E1);
    color: white;
    text-align: center;
    padding: 1em;
    height: 20px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav li {
    margin: 0 50px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    transition: font-size 0.3s;
}

nav a:hover {
    color: white;
    font-size: 18px;
}


main {
    flex: 1;
    padding: 20px;
    max-width: 75%;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 0;
    text-align: justify;
    text-align-last: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 3px solid #8b0002;
    border-radius: 8px;
}

main h2 {
    font-size: 24px;
    font-weight: bold;
}

main p {
    display: block;
    font-size: 16px;
    font-weight: normal;
}

main a {
    display: block;
    font-size: 16px;
    color: black;
    text-decoration: underline;
    margin-bottom: 10px;
}

main img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.spacer {
    height: 20px;
}
.italic-text {
    font-style: italic;
}
.bold-text {
    font-weight: bold;
}
.underline-text {
    text-decoration: underline;
}
.underline-bold-text {
    font-weight: bold;
    text-decoration: underline;
}



footer {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 2.5%, rgba(0, 0, 0, 0.2) 5%, rgba(0, 0, 0, 0) 100%), linear-gradient(to right, #4CDE31, #2CA7E1);
    color: white;
    text-align: left;
    padding: 0.5em;
    bottom: 0;
    margin-top: auto;
    z-index: 1;
    position: relative;
}

footer a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

footer a:hover {
    text-decoration: underline;
}


@media screen and (max-width: 900px) {
    nav {
        height: 14px;
    }
    nav a {
        font-size: 14px;
    }
    nav a:hover {
        font-size: 16px;
    }

    nav li {
        margin: 0 25px;
    }
    main h2 {
        font-size: 16px;
        
    }
    
    main p {
        font-size: 14px;
    }
    
    main a {
        font-size: 14px;
        color: black;
    }

    #logo img {
        max-height: 100px;
        margin: 0 25px;
    }
    footer a {
        font-size: 14px;
    }

}
@media screen and (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: center;
        height: 8px;
    }
    nav a {
        font-size: 12px;
    }
    nav a:hover {
        font-size: 14px;
    }

    nav li {
        margin: 5px 1%;
    }

main h2 {
    font-size: 14px;
    
}

main p {
    font-size: 12px;
    
}

main a {
    font-size: 12px;
}

    #logo img {
        max-height: 50px;
        margin: 0 10px;
    }
    footer a {
        font-size: 12px;
    }
}