h1 {
    margin-left: 25pt;
}

.home-elements img {
    width: 30%;
    margin-left: 275px;
    float:left;
}

.home-elements p {
    width: 30%;
    margin: none;
    display: inline-block;
    margin-left: 100px;
}

ul {
    list-style: none;
    font-family: verdana-pro, sans-serif;    
    text-decoration: none;
}
.navul {
    line-height: 40px;
    position:absolute;
    top:100px;
    left:0;
    text-align: center;
    border-right: 2px solid #0057ad;
    padding-right: 15px;
}

.navul a:hover {
    color: #0057ad;
    text-decoration: underline;
}

.navulf a:hover {
    color: #0057ad;
    text-decoration: underline;
}

ul a {
    color: black;
    text-decoration: none;
}

p {
    font-family: verdana-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 22px;
    width: 90%;
    padding-top: 20px;
}

h2 {
    font-family: verdana-pro, sans-serif;
}

main {
    width: 40%;
    margin: auto;
    margin-bottom: 40px;
}

#logo img{
    width: 133px;
}

#photos {
    display: flex;
    flex-wrap: wrap;
    width: 650px;
    padding:0;
    object-fit:none;
}

.caption {
    display:none;
    width: 100%;
    height: 100%;
}

#photos img {
    width: 300px;
    height: 200px;
    padding-right:5px;
    object-fit: cover;
}

#photos li {
    position: relative;
}

#photos li:hover img{
    opacity:35%;
}

#photos li:hover .caption {
    display: flex;    
    justify-content: center;
    align-items:center;
    position: absolute;
    bottom: 0;
    left: 0;
}

.caption {
    font-family: 'Alata', sans-serif;
    font-size: 11pt;
    font-weight: 600;
    text-align:center;
}

.text {
    width: 650px;
    margin-bottom: 100px;
}

h1 a {
    color: black;
    text-decoration: none;
}

footer {
    width:100%;
    margin: auto;
    text-align:center;
    padding-top: 30px;
    border-top: 2px solid #0057ad;
}

footer a {
    text-decoration: none;
    font-family: 'Alata', sans-serif;
    font-size: 14pt;
    font-weight: 600;
    color: black;
    display: inline;
    text-align:center;
    margin-right: 30px;
    margin-left: 40px; 
} 

.hamburger {
    display: none;
}



@media (max-width:925px) {

    main {
        width: 75%;
        margin:auto;
    }

    #photos {
        display: block;
    }

    #photos img {
        width: 75%;
        padding:0;
    }

    .text {
        width: 90%;
    }

    .caption {
        width: 75%;
        margin:auto;
    }

    .navul {
        line-height: 40px;
        position: fixed;
        top:40px;
        right:20px;
        left:auto;
        text-align: center;
        border-right: none;
        height: 0;
        overflow:hidden;
        transition: all .5s;
    }

    .navul.open {
        height: 220px;
        z-index: 1000;
        background-color: white;
    }
    
    #logo img{
        margin-left: 10px;
    }

    .home-elements img {
        width: 300px;
        float:left;
        margin-left: 100px;
    }
        
    .home-elements p {
        width: 50%;
        margin: none;
        display: inline-block;
        margin-left: 100px;
    }

    h1 {
        width: 70%;
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 30px;
        right: 100px;
        width: 10px;
    }

    footer {
        text-align: left;
    }
}