/*
#DCDCDC grey

#ffffff white

#1E7185 turquoise

#707070 dark grey

font-family: 'Raleway', sans-serif;

font-family: 'Titillium Web', sans-serif;


*/

@import url('https://fonts.googleapis.com/css2?family=Raleway&family=Titillium+Web:ital,wght@0,400;0,600;1,400&display=swap');

html{font-size: 100%;
    box-sizing: border-box;
    font-size:14px;
    min-width: 375px;
}

*, *::before, *::after{
    box-sizing: inherit;
}

body{
   
    margin:0;
    padding:0;
    background-color: #DCDCDC;
    font-family: 'Raleway', sans-serif;
    line-height:1.3;
    font-size: 1rem;
    font-weight: 400;
}

/*
#welcome-section{
    padding-top: 0px; 
    margin-top: 0px;
    display:block;
    height: 100vh;
}
*/
#navbar{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:flex-start;
    align-items:baseline;
    background-color: #1E7185;
    padding: 0 1.5rem;
    margin:0;
    z-index: 1;
}

.nav_links a{
    color: #ffffff;
    text-decoration: none;
    list-style: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .125rem;
}



.mllogo img{
    width: 6rem;
    padding: 0;
    margin:0;
}

/* -------------media for navbar------------------ */

@media screen and (max-width: 375px){
   .mllogo img{
        width: 100%;
        padding: 5% 20% 1rem 20%;

    }

    #navbar{
        padding:0;
        justify-content: center;
        margin: 0;
    }
    #navbar ul{
        margin: 0;
        padding:.45rem;
        justify-content: space-around;
    }   
}

#top{
    height: 100vh;
}

.hero{
    background-image: url("images/mebackground.jpg");
    display: flex;
    flex-direction: column;
    margin: 7.64285714rem 0 .25rem 0; 
    width:100%; 
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 50%;
    
}

.hero-image{
    flex: 0 0 600px;
}



#welcome-section{
    font-size: 1rem;
    color:#1E7185;
    margin: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding:1 rem;
    margin:0 5%;
    line-height: 1.5rem;
}
#welcome-head{
    margin:1rem 5% .5rem 5%;
}

/* ------------------media for hero image---------------------- */

@media screen and (max-width: 375px){
    .hero{
    background-image: url("images/mebackground375px.jpg");
    margin: 18rem 0 .25rem 0;
    }
}

/* -------------media for 768 px-------------------- */

@media screen and (max-width: 768px){
    .hero{
    background-image: url("images/mebackground768px.jpg");
    background-position: center;
    margin: 4rem 0 .25rem 0;
    }
    #navbar ul{
        margin: 0;
        padding:.45rem;
        justify-content: space-between;
}
}


.head{
    padding-top:1rem;
    color:#1E7185;
    font-size: 1.25rem;
    width:100%;
    border-bottom: 3px solid #1E7185;
    text-transform: uppercase;
    letter-spacing: .25rem;
}



.cards{
    margin: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    padding: 1.5rem;
}

@media screen and (max-width: 375px){
	.cards{
        display:flex;
        flex-direction: column;
		gap: 5rem;
	}
}

/* for content */
.box{
    display: flex;
    flex-direction: column;
    flex: 1 0 225px;
    max-width: 300px;
    overflow:hidden;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 3px 2px 14px #707070;
    text-decoration: none;
    font-size: 1rem;
    transition: all 200ms ease-in-out;
}
/* links */
.cards a{
    color:#707070;
}
.cards a:hover{
    color:#DCDCDC;
}
.card_image{
    flex: 0 0 130px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 25%;
}

.card_info{
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1rem;
}

.card_head{
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 .5rem 0;
    color: #1E7185;

}

.photopageimage img{
    
    display:flex;
    flex-direction: column;
    width:100%;
    margin: 0 auto;
    
}




.caption{
    margin:2% 5%;
}