/* CSS Reset */
body, header, nav, main, footer, img, h1, ul {
    
    margin: 0;
    padding: 0;
    border: 0;
}

img { 
    max-width: 100%; display: block; 
}

.tab-desk { 
    display: none; 
}

body {
    font-family: 'Raleway', serif;
    text-align: center;
    background-image: url("../images/simple.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    font-size: 1.5em;
    color: #373684;
}

h1, h2, h3, h4 { 
    font-family: 'Bitter', serif; 
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav li {
    display: inline-block;
    font-size: 1.1rem;
}

nav a {
    color: #2b2b2b;
    text-decoration: none;
    display: inline-block;
    padding: 0.5em 0.9em;
    border-radius: 8px;
    transition: background-color .18s ease, color .18s ease, transform .05s ease;
    outline: none;
}

nav a:visited {
    color: #3a2f2a;
}

nav a:hover,
nav a:focus-visible {
    background-color: #e5e9fc;
    color: #373684;
    box-shadow: 0 0 0 2px rgba(55,54,132,.12) inset;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
}

.homepageleft {
    display: block;
    margin: 0 auto;
    width: 60%;
    border-radius: 10px;
}

.homepageright {
    width: 120px;
    display: block;
    margin: 20px auto;
}

.home-images {
    text-align: center;       
    margin: 20px 0; 
}

.home-images img {
    display: inline-block;
    width: 250px;              
    height: auto;              
    margin: 0 10px;        
    border-radius: 10px;       
}

.resources img {
    width: 400px;
    display: block;
    margin: 0 auto 20px;
}

@media screen and (max-width: 900px) {
    .image-row img {
        width: 45%;
  }
}

@media screen and (max-width: 600px) {
    .image-row {
        flex-direction: column;
        align-items: center;
  }

    .image-row img {
        width: 80%;
        margin-bottom: 15px;
  }
}